facebook

tomcat problem

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #309014 Reply

    Riadh
    Member

    hi,
    i have a problem with starting Tomcat web server in my eclipse
    when i run one of examples on demands,the JSFLOGINEXAMPLE,
    i click on the project , and click on run RUN AS MYECLIPSE SERVER APPLICATION
    the followed message was presented,

    1 juin 2010 13:06:32 org.apache.catalina.core.AprLifecycleListener init
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\administrateur\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Users\administrateur\AppData\Local\Genuitec\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_8.5.0.me201003121946\tomcat\bin
    11 juin 2010 13:06:32 org.apache.coyote.http11.Http11Protocol init
    GRAVE: Erreur à l’initialisation du point de contact
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:177)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:518)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
    11 juin 2010 13:06:32 org.apache.catalina.startup.Catalina load
    GRAVE: Catalina.start

    with more exceptions

    i do’nt know how to fix the problem , please help me

    #309036 Reply

    support-joy
    Member

    riadhben,

    Can you answer few queries for me to get to the root cause?

    1. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details.
    2. How did you install MyEclipse? Meaning all-in-one installer / pulse / archived update site on top of eclipse classic?

    3. Have you setup any other software to use port 8080?
    The Netstat command can list currently used ports, which might be helpful if you suspect an application is clashing with another one on an active port. Use the -an switch to show all connections and listening ports in numeric form. This would give you PID. Next use the windows task manager to check which program is using this port.
    Alternatively, you can configure your tomcat to run on a different port. If you are using sandbox tomcat, you can change the port number of tomcat here – open MyEclipse IDE, from menu options click on Window > Preferences > MyEclipse > Servers > Integrated Sandbox > MyEclipse Tomcat and change the port number on the right hand pane.
    In case you have configured Tomcat 5 / 6 to change the port number please refer http://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/

    Let me know how this works for you.

    Best.

    #309045 Reply

    Riadh
    Member

    thank you for your answer
    1. the installation details :

    *** Date:
    lundi 14 juin 2010 10 h 45 GMT+01:00

    ** System properties:
    OS=WindowsVista
    OS version=6.0.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.5
    Build id: 8.5-20100319

    *** Eclipse details:
    MyEclipse for Spring

    Version: 8.5.0

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\MyEclipse for Spring 8.5\myeclipseforspring.exe
    -name
    Myeclipseforspring
    –launcher.library
    C:\MyEclipse for Spring 8.5\../Users/administrateur/AppData/Local/Genuitec/Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    C:\MyEclipse for Spring 8.5\../Users/administrateur/AppData/Local/Genuitec/Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    C:/MyEclipse for Spring 8.5
    -configuration
    configuration
    -vm
    C:/Users/administrateur/AppData/Local/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

    2. i instaled myeclipse by ALL IN ONE Installer

    3. about the port 8080 , i installed ORACLE 10G XE, when i taped http://127.0.0.1:8080 the page of the licence of Oracle XE was presented

    #309049 Reply

    support-joy
    Member

    riadhben,

    Thank you for the details. Since Oracle XE is using port 8080, it shows

    1 juin 2010 13:06:32 org.apache.catalina.core.AprLifecycleListener init
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\administrateur\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Users\administrateur\AppData\Local\Genuitec\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_8.5.0.me201003121946\tomcat\bin
    11 juin 2010 13:06:32 org.apache.coyote.http11.Http11Protocol init
    GRAVE: Erreur à l’initialisation du point de contact
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)

    Either you stop Oracle XE and run tomcat or configure tomcat to a different port as mentioned above –

    Alternatively, you can configure your tomcat to run on a different port. If you are using sandbox tomcat, you can change the port number of tomcat here – open MyEclipse IDE, from menu options click on Window > Preferences > MyEclipse > Servers > Integrated Sandbox > MyEclipse Tomcat and change the port number on the right hand pane.
    In case you have configured Tomcat 5 / 6 to change the port number please refer http://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/

    Best.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: tomcat problem

You must be logged in to post in the forum log in