tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: create[8005]: java.net.BindException: error occured while starting tomcat on Ubuntu Plateform
Date Wed, 24 Nov 2010 10:34:12 GMT
Hi.

In the logs below, I see references to "JK2".
That seems to be a reference to the mod_jk2 connector, which to my knowledge is old, not 
developed or maintained anymore.
If that's the case, then you should change your configuration to use mod_jk1.x, of which 
the current version is downloadable at http://tomcat.apache.org/ (see Connectors).

Also, it seems that you are using Tomcat 4.1.
That is pretty much the same thing.  You should be using a more recent version, that one 
is probably 10 years old or so.

What I am saying is that you will not get much help with these versions.  Most people here

are too young to even remember them.
See : http://tomcat.apache.org/whichversion.html


ikhan wrote:
> I have exatly same error in my tomcat, and I am getting it in every 10
> minutes, I added localhost entry in the hosts file, but still the issue is
> happening, please help me
> Following is the crash...
> 
> INFO: Creating MBeanServer
> Nov 17, 2010 1:10:05 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8800
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27-LE-jdk14
> HTTP Message Charset: utf-8
> SNMP Encoding: ISO8859_1
> Starting DashBoard !!!!!
> Local time zone US/Mountain
> Loading Managed Object Base...
> Nov 17, 2010 1:10:22 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Nov 17, 2010 1:10:22 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> Nov 17, 2010 1:10:23 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
> returnNull=true
> Nov 17, 2010 1:10:24 PM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8800
> Nov 17, 2010 1:10:24 PM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8802
> Nov 17, 2010 1:10:24 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=2/303 
> config=/opt/bmc/PATROL_DashBoard/tomcat/conf/jk2.properties
> StandardServer.await: create[8801]: java.net.BindException: Cannot assign
> requested address
> java.net.BindException: Cannot assign requested address
> 	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:510)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:521)
> 	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> 	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> 	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.main(Bootstrap.java:203)
> Stopping service Tomcat-Standalone
> DashBoard is about to shutdown.
> Waiting for current actions to end...
> Waiting for client servlets to end...
> Saving unsaved information on disk ...
> java.lang.NullPointerException
> 	at
> perform.janet.servlets.admin.GenericAdminServlet.stopActivities(GenericAdminServlet.java:665)
> 	at
> perform.janet.servlets.admin.DashboardContextListener.run(DashboardContextListener.java:115)
> 	at java.lang.Thread.run(Thread.java:619)
> PATROL DashBoard is still running.
> CompilerOracle: unrecognized line
>   "exclude oracle/sql/NUMBER _isPositive
> "
>   Unrecognized text after command: 
> CompilerOracle: unrecognized line
>   "exclude com/inprise/vbroker/IIOP/ProtocolConnection receive_reply
> "
>   Unrecognized text after command: 
> CompilerOracle: unrecognized line
>   "exclude oracle/xml/parser/v2/Step matchPattern
> "
>   Unrecognized text after command: 
> CompilerOracle: unrecognized line
>   "exclude perform/dm/core/topology/resolution/validation/SwitchesJoining
> getCommonEntry
> "
>   Unrecognized text after command: 
> CompilerOracle: unrecognized line
>   "exclude
> perform/dm/core/topology/resolution/validation/ValidationCriterium
> sortForwardings
> "
>   Unrecognized text after command: 
> CompilerOracle: unrecognized line
>   "exclude perform/util/log/FileQueryHandler prepareFilter
> "
>   Unrecognized text after command: 
> Nov 17, 2010 1:20:05 PM org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> Nov 17, 2010 1:20:05 PM org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> Nov 17, 2010 1:20:06 PM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Nov 17, 2010 1:20:07 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8800
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27-LE-jdk14
> HTTP Message Charset: utf-8
> SNMP Encoding: ISO8859_1
> Starting DashBoard !!!!!
> Local time zone US/Mountain
> Loading Managed Object Base...
> Nov 17, 2010 1:20:21 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Nov 17, 2010 1:20:21 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> Nov 17, 2010 1:20:22 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
> returnNull=true
> Nov 17, 2010 1:20:23 PM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8800
> Nov 17, 2010 1:20:23 PM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8802
> Nov 17, 2010 1:20:23 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=1/201 
> config=/opt/bmc/PATROL_DashBoard/tomcat/conf/jk2.properties
> StandardServer.await: create[8801]: java.net.BindException: Cannot assign
> requested address
> java.net.BindException: Cannot assign requested address
> 	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:510)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:521)
> 	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> 	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> 	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.main(Bootstrap.java:203)
> Stopping service Tomcat-Standalone
> DashBoard is about to shutdown.
> Waiting for current actions to end...
> Waiting for client servlets to end...
> Saving unsaved information on disk ...
> java.lang.NullPointerException
> 	at
> perform.janet.servlets.admin.GenericAdminServlet.stopActivities(GenericAdminServlet.java:665)
> 	at
> perform.janet.servlets.admin.DashboardContextListener.run(DashboardContextListener.java:115)
> 	at java.lang.Thread.run(Thread.java:619)
> PATROL DashBoard is still running.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message