Please help. Whenever I start the server it gives me the following error and it terminates itself:
Os name Identified SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. C:\NewGenLibFiles\HibernateConfig\dbconnection.xml 26:8:2011:10:32:3: java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Singapore",offset=28800000,dstSavings=0,useDaylight=false,transitions=9,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2011,MONTH=8,WEEK_OF_YEAR=40,WEEK_OF_MONTH=5,DAY_OF_MONTH=26,DAY_OF_YEAR=269,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=4,AM_PM=0,HOUR=10,HOUR_OF_DAY=16,MINUTE=44,SECOND=0,MILLISECOND=359,ZONE_OFFSET=28800000,DST_OFFSET=0] 26:8:2011:16:44:0: Sep 26, 2011 10:32:03 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs Sep 26, 2011 10:32:03 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory examples Sep 26, 2011 10:32:03 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory OCClient Sep 26, 2011 10:32:03 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory resources Sep 26, 2011 10:32:03 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT Sep 26, 2011 10:32:03 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory yui Sep 26, 2011 10:32:03 AM org.apache.coyote.http11.Http11Protocol start SEVERE: Error starting endpoint java.net.BindException: Address already in use: JVM_Bind <null>:8080 at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549) at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:565) at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203) at org.apache.catalina.connector.Connector.start(Connector.java:1095) at org.apache.catalina.core.StandardService.start(StandardService.java:540) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at java.net.ServerSocket.<init>(ServerSocket.java:150) at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50) at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538) ... 12 more Sep 26, 2011 10:32:03 AM org.apache.catalina.core.StandardService start SEVERE: Failed to start connector [Connector[HTTP/1.1-8080]] LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080 at org.apache.catalina.connector.Connector.start(Connector.java:1102) at org.apache.catalina.core.StandardService.start(StandardService.java:540) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Sep 26, 2011 10:32:03 AM org.apache.jk.common.ChannelSocket init INFO: Port busy 8009 java.net.BindException: Address already in use: JVM_Bind Sep 26, 2011 10:32:03 AM org.apache.jk.common.ChannelSocket init SEVERE: Can't find free port 8009 8009 Sep 26, 2011 10:32:03 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=null Sep 26, 2011 10:32:03 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 9948 ms Sep 26, 2011 10:32:03 AM org.apache.catalina.core.StandardServer await SEVERE: StandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at org.apache.catalina.core.StandardServer.await(StandardServer.java:406) at org.apache.catalina.startup.Catalina.await(Catalina.java:676) at org.apache.catalina.startup.Catalina.start(Catalina.java:628) 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.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Sep 26, 2011 10:32:03 AM org.apache.coyote.http11.Http11Protocol pause ....and so on and so forth... Please tell me what I can do to solve this. :-(
-------------------------------------------------
With great knowledge comes great responsibility. |
The error says that port 8080 is already bound. There are 2
possibilities
1. Either you are starting apache tomcat for the second time with out properly terminating the first one 2. Or another application has been installed that is using port 8080 Please restart the system and try to start the Apache tomcat server again On 09/26/2011 08:07 AM, pedroparkero [via NewGenLib] wrote: Please help. Whenever I start the server it gives me the following error and it terminates itself:
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Thanks! It seems that the server is running in the background without a cmd window. (Because it was set in WinXP's scheduled tasks to open at a certain time). I needed to restart the computer so I can initiate a new instance.
In cases like this, can I stop the server without a cmd window? What processes in the task manager should I end?
-------------------------------------------------
With great knowledge comes great responsibility. |
In the Task Manager
Close, java.exe (Tomcat) Close, javaws.exe (NGL Application) On 10/03/2011 12:41 PM, pedroparkero [via NewGenLib] wrote: Thanks! It seems that the server is running in the background without a cmd window. (Because it was set in WinXP's scheduled tasks to open at a certain time). I needed to restart the computer so I can initiate a new instance.
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Free forum by Nabble | Edit this page |