LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-30-2008, 05:44 PM   #1
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Rep: Reputation: 15
Question Tomcat Errors


I'm not certain whether this should be in this forum or the Software forum, but this seemed to be the best fit. My problem is involving a Tomcat error that I am getting. I had Tomcat installed at one point and was setting up TeamCity for my office. I was working on the setup of TeamCity, and for some reason, one day I showed up and whenever I went to any URL located on my tomcat server, I got the error The requested resource is not available, including when I tried going to just the base directory (http://localhost:8111/). I removed the entire setup- tomcat and TeamCity both- and tried to start over, but I am still having the same problem. I am running OpenSuSE 10.3 and I have an Apache server running as well, if that makes a difference. Any help would be greatly appreciated. Thanks!

p.s.- 8111 is the default port for TeamCity, and I checked tomcat- the port is set to 8111 in it's config files.

Last edited by Tyler_H72; 07-30-2008 at 05:46 PM.
 
Old 07-30-2008, 08:14 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
What do your logs indicate if anything?
 
Old 07-31-2008, 10:10 AM   #3
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Original Poster
Rep: Reputation: 15
Post

I knew there was something I forgot to put in here! I have the logs from when I started it up yesterday, as well as the ones from just now when I restarted. In todays logs, there are no error messages- just the standard startup output- yet the problem persists. There are many problems in yesterday's logs, so I will include them for you. Thanks for taking a look!

Code:
Jul 30, 2008 4:29:26 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0.u6-sun-1.6.0.u6/jre/lib/i386/server:/usr/lib/jvm/java-1.6.0.u6-sun-1.6.0.u6/jre/lib/i386:/usr/lib/jvm/java-1.6.0.u6-sun-1.6.0.u6/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Jul 30, 2008 4:29:27 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8111
	at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)
	at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
	at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
	at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
	at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
	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)
Jul 30, 2008 4:29:27 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use:8111
	at org.apache.catalina.connector.Connector.initialize(Connector.java:1060)
	at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
	at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
	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)
Jul 30, 2008 4:29:27 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2050 ms
Jul 30, 2008 4:29:27 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 30, 2008 4:29:27 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Jul 30, 2008 4:29:31 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.
Jul 30, 2008 4:29:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jul 30, 2008 4:29:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Jul 30, 2008 4:29:44 PM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use:8111
	at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)
	at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515)
	at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)
	at org.apache.catalina.connector.Connector.start(Connector.java:1131)
	at org.apache.catalina.core.StandardService.start(StandardService.java:531)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
	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:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jul 30, 2008 4:29:44 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start: 
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.net.BindException: Address already in use:8111
	at org.apache.catalina.connector.Connector.start(Connector.java:1138)
	at org.apache.catalina.core.StandardService.start(StandardService.java:531)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
	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:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jul 30, 2008 4:29:44 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 17147 ms
Jul 30, 2008 4:29:44 PM 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:642)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
	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:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jul 30, 2008 4:29:44 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8111
Jul 30, 2008 4:29:44 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
	at org.apache.jk.server.JkMain.pause(JkMain.java:679)
	at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
	at org.apache.catalina.connector.Connector.pause(Connector.java:1073)
	at org.apache.catalina.core.StandardService.stop(StandardService.java:563)
	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
	at org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
	at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:671)
Jul 30, 2008 4:29:45 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jul 30, 2008 4:29:45 PM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
	at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:162)
	at org.apache.catalina.connector.Connector.stop(Connector.java:1179)
	at org.apache.catalina.core.StandardService.stop(StandardService.java:593)
	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
	at org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
	at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:671)
Jul 30, 2008 4:29:45 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8111
Jul 30, 2008 4:29:45 PM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
Jul 30, 2008 4:44:50 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8111
Jul 30, 2008 4:44:51 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jul 30, 2008 4:44:51 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8111
Jul 30, 2008 4:47:36 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0.u6-sun-1.6.0.u6/jre/lib/i386/server:/usr/lib/jvm/java-1.6.0.u6-sun-1.6.0.u6/jre/lib/i386:/usr/lib/jvm/java-1.6.0.u6-sun-1.6.0.u6/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Jul 30, 2008 4:47:37 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8111
Jul 30, 2008 4:47:37 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6456 ms
Jul 30, 2008 4:47:38 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 30, 2008 4:47:38 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Jul 30, 2008 4:47:49 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.
Jul 30, 2008 4:48:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jul 30, 2008 4:48:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Jul 30, 2008 4:48:09 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8111
Jul 30, 2008 4:48:10 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jul 30, 2008 4:48:10 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/127  config=null
Jul 30, 2008 4:48:10 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 32901 ms
Jul 30, 2008 5:48:53 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0.u6-sun-1.6.0.u6/jre/lib/i386/server:/usr/lib/jvm/java-1.6.0.u6-sun-1.6.0.u6/jre/lib/i386:/usr/lib/jvm/java-1.6.0.u6-sun-1.6.0.u6/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Jul 30, 2008 5:48:53 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8111
	at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)
	at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
	at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
	at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
	at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
	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)
Jul 30, 2008 5:48:53 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use:8111
	at org.apache.catalina.connector.Connector.initialize(Connector.java:1060)
	at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
	at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
	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)
Jul 30, 2008 5:48:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1767 ms
Jul 30, 2008 5:48:53 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 30, 2008 5:48:53 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Jul 30, 2008 5:48:57 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.
Jul 30, 2008 5:49:05 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jul 30, 2008 5:49:05 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Jul 30, 2008 5:49:08 PM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use:8111
	at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)
	at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515)
	at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)
	at org.apache.catalina.connector.Connector.start(Connector.java:1131)
	at org.apache.catalina.core.StandardService.start(StandardService.java:531)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
	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:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jul 30, 2008 5:49:08 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start: 
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.net.BindException: Address already in use:8111
	at org.apache.catalina.connector.Connector.start(Connector.java:1138)
	at org.apache.catalina.core.StandardService.start(StandardService.java:531)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
	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:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jul 30, 2008 5:49:08 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 15032 ms
Jul 30, 2008 5:49:08 PM 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:642)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
	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:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jul 30, 2008 5:49:08 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8111
Jul 30, 2008 5:49:08 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
	at org.apache.jk.server.JkMain.pause(JkMain.java:679)
	at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
	at org.apache.catalina.connector.Connector.pause(Connector.java:1073)
	at org.apache.catalina.core.StandardService.stop(StandardService.java:563)
	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
	at org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
	at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:671)
Jul 30, 2008 5:49:09 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jul 30, 2008 5:49:09 PM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
	at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:162)
	at org.apache.catalina.connector.Connector.stop(Connector.java:1179)
	at org.apache.catalina.core.StandardService.stop(StandardService.java:593)
	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
	at org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
	at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:671)
Jul 30, 2008 5:49:09 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8111
Jul 30, 2008 5:49:09 PM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
 
Old 07-31-2008, 02:09 PM   #4
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Original Poster
Rep: Reputation: 15
Quick update, I just tried to hit that site with TeamCity shut down, and that also produced the same error, so I'm pretty sure that it's a tomcat error (didn't really make sense to me that that could cause the problem, but I thought I might as well check).
 
Old 07-31-2008, 02:21 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Looking at the logs and not totally familiar with TeamCity, seems to me that there's already a process listening on port 8111. If so, the prior process could be hung and needs to be killed. Then maybe a restart will fix the issue.

Do a netstat -lpn | grep 8111 and see if there is a process listening on the port it runs on, if so, grab the PID, kill it, then restart tomcat, test.
 
Old 07-31-2008, 02:29 PM   #6
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Original Poster
Rep: Reputation: 15
I just took a look, and there was something listening on 8111 (it didn't say what, but when I shut off the tomcat server it stopped, so it must have been that).
 
Old 07-31-2008, 02:40 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by Tyler_H72 View Post
I just took a look, and there was something listening on 8111 (it didn't say what, but when I shut off the tomcat server it stopped, so it must have been that).
Could have been a hung tomcat session, which from my experience is fairly common.
 
Old 07-31-2008, 02:49 PM   #8
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Original Poster
Rep: Reputation: 15
But when I shut off tomcat, the process died, and when I started tomcat back up, the process was back, and the problem was still there. Not to mention that I tried rebooting the system and the problem persisted.
 
Old 07-31-2008, 03:09 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Unless you've checked other logs, the logs you provided pretty much tell me ther was issues where the port was already in use when it was started.
 
Old 07-31-2008, 03:51 PM   #10
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Original Poster
Rep: Reputation: 15
Do you have any advice as to how to solve this problem?
 
Old 07-31-2008, 04:20 PM   #11
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by Tyler_H72 View Post
Do you have any advice as to how to solve this problem?
Not sure, not without more information.
 
Old 07-31-2008, 04:22 PM   #12
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Original Poster
Rep: Reputation: 15
Well, thanks for the help anyways.
 
Old 07-31-2008, 05:14 PM   #13
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Original Poster
Rep: Reputation: 15
I recently made a new discovery- I had forgotten that in the interval over which this issue cropped up, I installed Selenium and SeleniumRC. I don't know what all I had to change for that, and I know that those are not shown as using those ports when I check them, but it seems almost impossible that the problem could have originated elsewhere, because as far as I can remember, that is the ONLY change that was made to this system from the time that it was working until the time that it was not.
 
  


Reply

Tags
tomcat



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors on tomcat Server startup and shutdown log tanveer Linux - Server 3 07-16-2008 01:07 AM
fresh tomcat 5.5 install not showing tomcat homepage laggerific Linux - Software 0 10-26-2007 03:28 PM
apache-tomcat and jakarta-tomcat shifter Programming 1 07-28-2007 10:36 PM
How to make Tomcat 4.0.1 and Tomcat 5.0.28 coexist in one server? g18397 Linux - Software 0 05-16-2006 03:16 AM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration