| Author |
Message |
|
|
Post subject: MyEclipse and port conflicts
Posted: Sep 25, 2008 - 07:42 PM
|
|
Joined: Jun 24, 2008
Posts: 24
|
|
Hi All,
I installed MyEclipse on a linux machine that already has a Tomcat running.
I need the Report feature of MyEclipse, that's why I decided to install it.
I specified the port 8380 for the MyEclipse embedded Tomcat, but there is still a conflict because it's also trying to connect to the port 8005 (already in use).
Is there another solution to run my report on this machine ?
thanks for your help. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: MyEclipse and port conflicts
Posted: Sep 26, 2008 - 02:16 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5659
|
|
Can you paste the conflict error message here for me.
Also, can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 26, 2008 - 02:40 PM
|
|
Joined: Jun 24, 2008
Posts: 24
|
|
When I try to start the MyEclipse Tomcat Server, I have this message in the console :
| Code: | Sep 26, 2008 9:35:46 AM 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: /usr/jdk1.5.0_07/bin:/home/me/install/eclipse/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_6.5.0.zmyeclipse650200806/tomcat/bin
Sep 26, 2008 9:35:46 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 26, 2008 9:35:46 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 762 ms
Sep 26, 2008 9:35:46 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 26, 2008 9:35:46 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
Sep 26, 2008 9:35:50 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 26, 2008 9:35:50 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 26, 2008 9:35:50 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/44 config=null
Sep 26, 2008 9:35:50 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4299 ms
Sep 26, 2008 9:35:50 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:630)
at org.apache.catalina.startup.Catalina.start(Catalina.java:590)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) |
here is the installation log :
| Code: | *** Date:
Friday, September 26, 2008 9:37:32 AM EDT
** System properties:
OS=Linux
OS version=2.4.21-40.ELsmp
Java version=1.5.0_07
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.1 GA
Build id: 6.5.1-GA-20080715
*** Eclipse details:
Eclipse SDK
Version: 3.3.2
Build id: M20080221-1800
Eclipse Project SDK
Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800
Eclipse Platform
Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800
Eclipse Java Development Tools
Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800
Eclipse Graphical Editing Framework
Version: 3.3.2.v20080129
Build id: 20080221-1602
Eclipse RCP
Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800
Eclipse Plug-in Development Environment
Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800
Eclipse startup command=-os
linux
-ws
gtk
-arch
x86
-showsplash
/home/me/install/eclipse//plugins/org.eclipse.platform_3.3.3.r33x_r20080129/splash.bmp
-launcher
/home/me/install/eclipse/eclipse
-name
Eclipse
--launcher.library
/home/me/install/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.3.R33x_v20080118/eclipse_1023.so
-startup
/home/me/install/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-vm
/usr/jdk1.5.0_07/bin/../jre/lib/i386/client/libjvm.so |
|
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 26, 2008 - 10:18 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5659
|
|
| Can you go to Windows > Prefs > MyEclipse > Servers > Integrated SandBox > Tomcat and hit the Restore button. Now change the port and check if it helps. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 29, 2008 - 01:37 PM
|
|
Joined: Jun 24, 2008
Posts: 24
|
|
After doing this, I still have this message when I try to launch the server :
| Code: | Sep 29, 2008 8:33:51 AM 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: /usr/jdk1.5.0_07/bin:/home/me/install/eclipse/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_6.5.0.zmyeclipse650200806/tomcat/bin
Sep 29, 2008 8:33:51 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8380
Sep 29, 2008 8:33:51 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1153 ms
Sep 29, 2008 8:33:51 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 29, 2008 8:33:51 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
Sep 29, 2008 8:33:55 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8380
Sep 29, 2008 8:33:55 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 29, 2008 8:33:55 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/142 config=null
Sep 29, 2008 8:33:55 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4131 ms
Sep 29, 2008 8:33:55 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:630)
at org.apache.catalina.startup.Catalina.start(Catalina.java:590)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
|
|
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 29, 2008 - 07:29 PM
|
|
Joined: Jun 24, 2008
Posts: 24
|
|
| I finally modified the server.xml file in the workspace/.metadata folder by changing 8005 in 8305 and all is working fine. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 29, 2008 - 07:45 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5659
|
|
| Glad you got it to work. Thanks for letting us know. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|