tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: forced to constantly restart Tomcat
Date Thu, 02 Nov 2006 20:14:38 GMT
It appears someone mucked up your socket permissions 
inside %TOMCAT_HOME%/conf/catalina.policy check for this SocketPermission grant
grant
{
permission java.net.SocketPermission "localhost:80", "accept,connect,listen,resolve";
}
Martin --
This e-mail communication and any attachments may contain confidential and privileged information
for the use of the 
designated recipients named above. If you are not the intended recipient, you are hereby notified
that you have received
this communication in error and that any review, disclosure, dissemination, distribution or
copying of it or its 
contents

----- Original Message ----- 
From: "Tuomas" <wilDEBeest@mithlond.net>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, November 02, 2006 2:40 PM
Subject: RE: forced to constantly restart Tomcat


>> The catalina files are more likely to have something of interest.  In
>> particular, look during the time period right after you make the browser
>> request.  See if anything like these messages is in there:
> 
> Here is it. I cannot decipher it. Sorry for the lengthy quotation.
> 
> Nov 2, 2006 9:27:42 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 5679 ms
> Nov 2, 2006 9:27:42 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:372)
> at org.apache.catalina.startup.Catalina.await(Catalina.java:615)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
> 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:294)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Nov 2, 2006 9:27:42 PM org.apache.coyote.http11.Http11BaseProtocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-80
> Nov 2, 2006 9:27:49 PM org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path:
> /usr/local/java/jdk1.5.0_09/jre/lib/i386/client:/usr/local/java/jdk1.5.0_09/jre/lib/i386:/usr/local/java/jdk1.5.0_09/jre/../lib/i386
> Nov 2, 2006 9:27:49 PM org.apache.coyote.http11.Http11BaseProtocol init
> SEVERE: Error initializing endpoint
> java.net.BindException: Permission denied:80
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
> at
> org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:138)
> at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
> at
> org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
> at
> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
> 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.load(Bootstrap.java:266)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
> Nov 2, 2006 9:27:49 PM org.apache.catalina.startup.Catalina load
> SEVERE: Catalina.start
> LifecycleException:  Protocol handler initialization failed:
> java.net.BindException: Permission denied:80
> at org.apache.catalina.connector.Connector.initialize(Connector.java:1018)
> at
> org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
> at
> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
> 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.load(Bootstrap.java:266)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
> Nov 2, 2006 9:27:49 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 3235 ms
> Nov 2, 2006 9:27:50 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Nov 2, 2006 9:27:50 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Nov 2, 2006 9:27:50 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Nov 2, 2006 9:27:54 PM org.apache.coyote.http11.Http11BaseProtocol start
> SEVERE: Error starting endpoint
> java.net.BindException: Permission denied:80
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312)
> at
> org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:150)
> at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:75)
> at org.apache.catalina.connector.Connector.start(Connector.java:1089)
> at org.apache.catalina.core.StandardService.start(StandardService.java:459)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> 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:294)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Nov 2, 2006 9:27:54 PM org.apache.catalina.startup.Catalina start
> SEVERE: Catalina.start:
> LifecycleException:  service.getName(): "Catalina";  Protocol handler
> start failed: java.net.BindException: Permission denied:80
> at org.apache.catalina.connector.Connector.start(Connector.java:1096)
> at org.apache.catalina.core.StandardService.start(StandardService.java:459)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> 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:294)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>
Mime
View raw message