tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EDMOND KEMOKAI" <ekemo...@gmail.com>
Subject Re: forced to constantly restart Tomcat
Date Thu, 02 Nov 2006 19:50:31 GMT
Is there a reason you can't use something like netbeans? which comes bundled
with tomcat, that way your don't have to fiddle with the settings. Looks
like you may be starting multiple instances of tomcat and the port is
already in use.

On 11/2/06, Tuomas <wilDEBeest@mithlond.net> wrote:
>
> > 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
>
>


-- 
"talk trash and carry a small stick."
PAUL KRUGMAN (NYT)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message