You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Raffaele Viola <ra...@gmail.com> on 2006/09/28 17:01:36 UTC

problem starting tomcat

Hi all,

I'm trying to start Tomcat but Ihave some problems

This is what I read in the catalina.out, could someone help me?

Thanks a lot
Raffo

28-Sep-2006 16:03:28 org.apache.catalina.core.AprLifecycleListenerlifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.
library.path:
/usr/jre1.5.0_06/lib/sparc/server:/usr/jre1.5.0_06/lib/sparc:/usr/jre1.5.0_06/../lib/sparc::/usr/local/lib:/usr
/local/apache2/lib:/usr/lib
28-Sep-2006 16:03:29 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
28-Sep-2006 16:03:29 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1875 ms
28-Sep-2006 16:03:29 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
28-Sep-2006 16:03:29 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
28-Sep-2006 16:03:29 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
28-Sep-2006 16:03:31 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive CMM_EU.war
28-Sep-2006 16:03:32 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive CMM_PDA.war
28-Sep-2006 16:03:33 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive CMM_TM.war
28-Sep-2006 16:03:34 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive xgui3.war
28-Sep-2006 16:03:35 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
28-Sep-2006 16:03:35 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
28-Sep-2006 16:03:35 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/64  config=null
28-Sep-2006 16:03:36 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
28-Sep-2006 16:03:36 org.apache.catalina.startup.Catalina start
INFO: Server startup in 7035 ms
28-Sep-2006 16:03:36 org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Cannot assign requested address
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        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(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
28-Sep-2006 16:03:36 org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080

Re: Apache Tomcat\Windows XP\"page not found" error

Posted by Steve R Burrus <bu...@swbell.net>.
you might also try, in addition to of course setting the env. variable 
JAVA_HOME correctly, to point your PATH to the bin folder of your Tomcat 
installation and put both the servlet-api.jar and the jsp-api.jar into 
the CLASSPATH env. variable. Hope that helps you.

Frank J Murray wrote:

> Hello,
>
>   This is a new post, and I am a newbie (at least to Apache Tomcat on
> Windows).
>
> I went to the Apache.org website and downloaded and installed the
> Windows executable under Core distributions, i.e.,
>
>        Core:  a.. zip (pgp, md5)  b.. tar.gz (pgp, md5)  c.. Windows 
> Executable (pgp, md5) The install went fine, but when I try to start 
> Apache Tomcat, it just
> gives me the standard error message, "unable to connect."
>
> This happens even after I start the Apache service known as
> "Configure Tomcat" within the Apache Tomcat folder (or directory).
>
> I'm guessing I need to install one or two other important files or apps,
> as well as do some configuring, similar to setting JAVA_HOME, and
> executing (./ in Unix) the startup file (or .bat) in Windows.
>
> Any information is appreciated.  Thanks.
>
> fjm
>
> ---------------------------------------------------------------------
> 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
>
>


---------------------------------------------------------------------
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


Re: Apache Tomcat\Windows XP\"page not found" error

Posted by Mark Thomas <ma...@apache.org>.
Frank J Murray wrote:
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this  makes your new message appear as part
of the old thread. This makes it harder for other users to find
relevant information when searching the lists.

This is known as thread hijacking and is that is frowned
upon on this list. Frequent offenders will be removed from the list.
It should also be noted that many list subscribers automatically
ignore any messages that hijack another thread.

The correct procedure is to create a new message with a new subject.
This will start a new thread.

Mark
tomcat-user-owner

---------------------------------------------------------------------
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


Apache Tomcat\Windows XP\"page not found" error

Posted by Frank J Murray <fj...@comcast.net>.
Hello,

   This is a new post, and I am a newbie (at least to Apache Tomcat on
Windows).

I went to the Apache.org website and downloaded and installed the
Windows executable under Core distributions, i.e.,

        Core: 
  a.. zip (pgp, md5) 
  b.. tar.gz (pgp, md5) 
  c.. Windows Executable (pgp, md5) 
The install went fine, but when I try to start Apache Tomcat, it just
gives me the standard error message, "unable to connect."

This happens even after I start the Apache service known as
"Configure Tomcat" within the Apache Tomcat folder (or directory).

I'm guessing I need to install one or two other important files or apps,
as well as do some configuring, similar to setting JAVA_HOME, and
executing (./ in Unix) the startup file (or .bat) in Windows.

Any information is appreciated.  Thanks.

fjm

---------------------------------------------------------------------
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


Re: problem starting tomcat

Posted by taylan kuecuek <ta...@sit.fraunhofer.de>.
David Delbecq schrieb:

>taylan kuecuek a écrit :
>  
>
>>Raffaele Viola schrieb:
>>
>>    
>>
>>>Hi all,
>>>
>>>I'm trying to start Tomcat but Ihave some problems
>>>
>>>This is what I read in the catalina.out, could someone help me?
>>>
>>>Thanks a lot
>>>Raffo
>>>
>>>28-Sep-2006 16:03:28
>>>org.apache.catalina.core.AprLifecycleListenerlifecycleEvent
>>>INFO: The Apache Tomcat Native library which allows optimal
>>>performance in
>>>production environments was not found on the java.
>>>library.path:
>>>/usr/jre1.5.0_06/lib/sparc/server:/usr/jre1.5.0_06/lib/sparc:/usr/jre1.5.0_06/../lib/sparc::/usr/local/lib:/usr
>>>
>>>/local/apache2/lib:/usr/lib
>>>28-Sep-2006 16:03:29 org.apache.coyote.http11.Http11BaseProtocol init
>>>INFO: Initializing Coyote HTTP/1.1 on http-8080
>>>28-Sep-2006 16:03:29 org.apache.catalina.startup.Catalina load
>>>INFO: Initialization processed in 1875 ms
>>>28-Sep-2006 16:03:29 org.apache.catalina.core.StandardService start
>>>INFO: Starting service Catalina
>>>28-Sep-2006 16:03:29 org.apache.catalina.core.StandardEngine start
>>>INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
>>>28-Sep-2006 16:03:29 org.apache.catalina.core.StandardHost start
>>>INFO: XML validation disabled
>>>28-Sep-2006 16:03:31 org.apache.catalina.startup.HostConfig deployWAR
>>>INFO: Deploying web application archive CMM_EU.war
>>>28-Sep-2006 16:03:32 org.apache.catalina.startup.HostConfig deployWAR
>>>INFO: Deploying web application archive CMM_PDA.war
>>>28-Sep-2006 16:03:33 org.apache.catalina.startup.HostConfig deployWAR
>>>INFO: Deploying web application archive CMM_TM.war
>>>28-Sep-2006 16:03:34 org.apache.catalina.startup.HostConfig deployWAR
>>>INFO: Deploying web application archive xgui3.war
>>>28-Sep-2006 16:03:35 org.apache.coyote.http11.Http11BaseProtocol start
>>>INFO: Starting Coyote HTTP/1.1 on http-8080
>>>28-Sep-2006 16:03:35 org.apache.jk.common.ChannelSocket init
>>>INFO: JK: ajp13 listening on /0.0.0.0:8009
>>>28-Sep-2006 16:03:35 org.apache.jk.server.JkMain start
>>>INFO: Jk running ID=0 time=0/64  config=null
>>>28-Sep-2006 16:03:36 org.apache.catalina.storeconfig.StoreLoader load
>>>INFO: Find registry server-registry.xml at classpath resource
>>>28-Sep-2006 16:03:36 org.apache.catalina.startup.Catalina start
>>>INFO: Server startup in 7035 ms
>>>28-Sep-2006 16:03:36 org.apache.catalina.core.StandardServer await
>>>SEVERE: StandardServer.await: create[8005]:
>>>java.net.BindException: Cannot assign requested address
>>>       at java.net.PlainSocketImpl.socketBind(Native Method)
>>>       at java.net.PlainSocketImpl.bind(Unknown Source)
>>>       at java.net.ServerSocket.bind(Unknown Source)
>>>       at java.net.ServerSocket.<init>(Unknown Source)
>>>       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(Unknown Source)
>>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>Source)
>>>       at java.lang.reflect.Method.invoke(Unknown Source)
>>>       at
>>>org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>>>       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
>>>28-Sep-2006 16:03:36 org.apache.coyote.http11.Http11BaseProtocol pause
>>>INFO: Pausing Coyote HTTP/1.1 on http-8080
>>>
>>>      
>>>
>>Hallo,
>>
>>i am not sure but the cause of this Failure can be the JAVA_HOME.
>>
>>if you didn't use a msi file to install Tomcat then you must to define
>>JAVA_HOME and CATALINA_HOME variables in path.
>>
>>if you have installed tomcat with msi file then this variables will be
>>settet automatically.
>>
>>i have given as JAVA_HOME jdk path not the jre. maybe it can be a
>>problem too.
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>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
>>
>>    
>>
>I don't think there is a relation between java home and a network
>binding exception. Also, i don't think you can install a msi package on
>a SPARC system :)
>
>---------------------------------------------------------------------
>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
>
>
>  
>
:) yes you are right, i have overlooked the directory architecture.

---------------------------------------------------------------------
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


Re: problem starting tomcat

Posted by David Delbecq <de...@oma.be>.
taylan kuecuek a écrit :
> Raffaele Viola schrieb:
>
>> Hi all,
>>
>> I'm trying to start Tomcat but Ihave some problems
>>
>> This is what I read in the catalina.out, could someone help me?
>>
>> Thanks a lot
>> Raffo
>>
>> 28-Sep-2006 16:03:28
>> org.apache.catalina.core.AprLifecycleListenerlifecycleEvent
>> INFO: The Apache Tomcat Native library which allows optimal
>> performance in
>> production environments was not found on the java.
>> library.path:
>> /usr/jre1.5.0_06/lib/sparc/server:/usr/jre1.5.0_06/lib/sparc:/usr/jre1.5.0_06/../lib/sparc::/usr/local/lib:/usr
>>
>> /local/apache2/lib:/usr/lib
>> 28-Sep-2006 16:03:29 org.apache.coyote.http11.Http11BaseProtocol init
>> INFO: Initializing Coyote HTTP/1.1 on http-8080
>> 28-Sep-2006 16:03:29 org.apache.catalina.startup.Catalina load
>> INFO: Initialization processed in 1875 ms
>> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardService start
>> INFO: Starting service Catalina
>> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardEngine start
>> INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
>> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardHost start
>> INFO: XML validation disabled
>> 28-Sep-2006 16:03:31 org.apache.catalina.startup.HostConfig deployWAR
>> INFO: Deploying web application archive CMM_EU.war
>> 28-Sep-2006 16:03:32 org.apache.catalina.startup.HostConfig deployWAR
>> INFO: Deploying web application archive CMM_PDA.war
>> 28-Sep-2006 16:03:33 org.apache.catalina.startup.HostConfig deployWAR
>> INFO: Deploying web application archive CMM_TM.war
>> 28-Sep-2006 16:03:34 org.apache.catalina.startup.HostConfig deployWAR
>> INFO: Deploying web application archive xgui3.war
>> 28-Sep-2006 16:03:35 org.apache.coyote.http11.Http11BaseProtocol start
>> INFO: Starting Coyote HTTP/1.1 on http-8080
>> 28-Sep-2006 16:03:35 org.apache.jk.common.ChannelSocket init
>> INFO: JK: ajp13 listening on /0.0.0.0:8009
>> 28-Sep-2006 16:03:35 org.apache.jk.server.JkMain start
>> INFO: Jk running ID=0 time=0/64  config=null
>> 28-Sep-2006 16:03:36 org.apache.catalina.storeconfig.StoreLoader load
>> INFO: Find registry server-registry.xml at classpath resource
>> 28-Sep-2006 16:03:36 org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 7035 ms
>> 28-Sep-2006 16:03:36 org.apache.catalina.core.StandardServer await
>> SEVERE: StandardServer.await: create[8005]:
>> java.net.BindException: Cannot assign requested address
>>        at java.net.PlainSocketImpl.socketBind(Native Method)
>>        at java.net.PlainSocketImpl.bind(Unknown Source)
>>        at java.net.ServerSocket.bind(Unknown Source)
>>        at java.net.ServerSocket.<init>(Unknown Source)
>>        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(Unknown Source)
>>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>> Source)
>>        at java.lang.reflect.Method.invoke(Unknown Source)
>>        at
>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
>> 28-Sep-2006 16:03:36 org.apache.coyote.http11.Http11BaseProtocol pause
>> INFO: Pausing Coyote HTTP/1.1 on http-8080
>>
> Hallo,
>
> i am not sure but the cause of this Failure can be the JAVA_HOME.
>
> if you didn't use a msi file to install Tomcat then you must to define
> JAVA_HOME and CATALINA_HOME variables in path.
>
> if you have installed tomcat with msi file then this variables will be
> settet automatically.
>
> i have given as JAVA_HOME jdk path not the jre. maybe it can be a
> problem too.
>
>
>
>
> ---------------------------------------------------------------------
> 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
>
I don't think there is a relation between java home and a network
binding exception. Also, i don't think you can install a msi package on
a SPARC system :)

---------------------------------------------------------------------
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


Re: problem starting tomcat

Posted by taylan kuecuek <ta...@sit.fraunhofer.de>.
Raffaele Viola schrieb:

> Hi all,
>
> I'm trying to start Tomcat but Ihave some problems
>
> This is what I read in the catalina.out, could someone help me?
>
> Thanks a lot
> Raffo
>
> 28-Sep-2006 16:03:28 
> org.apache.catalina.core.AprLifecycleListenerlifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal 
> performance in
> production environments was not found on the java.
> library.path:
> /usr/jre1.5.0_06/lib/sparc/server:/usr/jre1.5.0_06/lib/sparc:/usr/jre1.5.0_06/../lib/sparc::/usr/local/lib:/usr 
>
> /local/apache2/lib:/usr/lib
> 28-Sep-2006 16:03:29 org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 28-Sep-2006 16:03:29 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1875 ms
> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> 28-Sep-2006 16:03:31 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive CMM_EU.war
> 28-Sep-2006 16:03:32 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive CMM_PDA.war
> 28-Sep-2006 16:03:33 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive CMM_TM.war
> 28-Sep-2006 16:03:34 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive xgui3.war
> 28-Sep-2006 16:03:35 org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> 28-Sep-2006 16:03:35 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 28-Sep-2006 16:03:35 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/64  config=null
> 28-Sep-2006 16:03:36 org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> 28-Sep-2006 16:03:36 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 7035 ms
> 28-Sep-2006 16:03:36 org.apache.catalina.core.StandardServer await
> SEVERE: StandardServer.await: create[8005]:
> java.net.BindException: Cannot assign requested address
>        at java.net.PlainSocketImpl.socketBind(Native Method)
>        at java.net.PlainSocketImpl.bind(Unknown Source)
>        at java.net.ServerSocket.bind(Unknown Source)
>        at java.net.ServerSocket.<init>(Unknown Source)
>        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(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> 28-Sep-2006 16:03:36 org.apache.coyote.http11.Http11BaseProtocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
>
Hallo,

i am not sure but the cause of this Failure can be the JAVA_HOME.

if you didn't use a msi file to install Tomcat then you must to define 
JAVA_HOME and CATALINA_HOME variables in path.

if you have installed tomcat with msi file then this variables will be 
settet automatically.

i have given as JAVA_HOME jdk path not the jre. maybe it can be a 
problem too.




---------------------------------------------------------------------
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


Re: problem starting tomcat

Posted by Raffaele Viola <ra...@gmail.com>.
I solved the problem.

The server had a incorrect LOOPBACK interface settings

Thanks
Raffo

Re: problem starting tomcat

Posted by David Smith <dn...@cornell.edu>.
The shutdown port is always bound to the localhost interface (127.0.0.1) 
for security reasons.  There is no chance of changing that.  Does your 
system have a valid localhost interface?  Also what OS are you working with?

--David

Raffaele Viola wrote:
>    1) port 8005 is not available on the machine (not allowed to that user
>    or used by another application already), free it or change it in
> server.xml
>
>        I try to change the port but I still have the problem
>
>    2) you have changed tomcat configuration on a perhaps multi ip machine
>    to bind only on a specific interface (specific ip) and this interface
>    does not exist on the machine
>    (for example, you have configured the 8005 connector to bind to
>    192.168.0.15:8005 but the server is 192.168.0.150)
>
>    Where can I modify the IP address to bind?
>


---------------------------------------------------------------------
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


Re: problem starting tomcat

Posted by Raffaele Viola <ra...@gmail.com>.
    1) port 8005 is not available on the machine (not allowed to that user
    or used by another application already), free it or change it in
server.xml

        I try to change the port but I still have the problem

    2) you have changed tomcat configuration on a perhaps multi ip machine
    to bind only on a specific interface (specific ip) and this interface
    does not exist on the machine
    (for example, you have configured the 8005 connector to bind to
    192.168.0.15:8005 but the server is 192.168.0.150)

    Where can I modify the IP address to bind?

Re: problem starting tomcat

Posted by David Delbecq <de...@oma.be>.
Several possibilities

1) port 8005 is not available on the machine (not allowed to that user
or used by another application already), free it or change it in server.xml
2) you have changed tomcat configuration on a perhaps multi ip machine
to bind only on a specific interface (specific ip) and this interface
does not exist on the machine
(for example, you have configured the 8005 connector to bind to
192.168.0.15:8005 but the server is 192.168.0.150)
3) you have fallen in that jvm bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6206527, which is
supposed to be fixed by sun, upgrade jvm if possible

Raffaele Viola a écrit :
> Hi all,
>
> I'm trying to start Tomcat but Ihave some problems
>
> This is what I read in the catalina.out, could someone help me?
>
> Thanks a lot
> Raffo
>
> 28-Sep-2006 16:03:28
> org.apache.catalina.core.AprLifecycleListenerlifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal
> performance in
> production environments was not found on the java.
> library.path:
> /usr/jre1.5.0_06/lib/sparc/server:/usr/jre1.5.0_06/lib/sparc:/usr/jre1.5.0_06/../lib/sparc::/usr/local/lib:/usr
>
> /local/apache2/lib:/usr/lib
> 28-Sep-2006 16:03:29 org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 28-Sep-2006 16:03:29 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1875 ms
> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> 28-Sep-2006 16:03:31 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive CMM_EU.war
> 28-Sep-2006 16:03:32 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive CMM_PDA.war
> 28-Sep-2006 16:03:33 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive CMM_TM.war
> 28-Sep-2006 16:03:34 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive xgui3.war
> 28-Sep-2006 16:03:35 org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> 28-Sep-2006 16:03:35 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 28-Sep-2006 16:03:35 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/64  config=null
> 28-Sep-2006 16:03:36 org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> 28-Sep-2006 16:03:36 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 7035 ms
> 28-Sep-2006 16:03:36 org.apache.catalina.core.StandardServer await
> SEVERE: StandardServer.await: create[8005]:
> java.net.BindException: Cannot assign requested address
>        at java.net.PlainSocketImpl.socketBind(Native Method)
>        at java.net.PlainSocketImpl.bind(Unknown Source)
>        at java.net.ServerSocket.bind(Unknown Source)
>        at java.net.ServerSocket.<init>(Unknown Source)
>        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(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> 28-Sep-2006 16:03:36 org.apache.coyote.http11.Http11BaseProtocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
>


---------------------------------------------------------------------
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


Re: problem starting tomcat

Posted by David Smith <dn...@cornell.edu>.
In addition to what others have suggested, I remember a thread 
concerning binding to an IPv4 address on a system that only accepted 
IPv6 bindings.  Search the archives for that case.

--David

Raffaele Viola wrote:
> Hi all,
>
> I'm trying to start Tomcat but Ihave some problems
>
> This is what I read in the catalina.out, could someone help me?
>
> Thanks a lot
> Raffo
>
> 28-Sep-2006 16:03:28 
> org.apache.catalina.core.AprLifecycleListenerlifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal 
> performance in
> production environments was not found on the java.
> library.path:
> /usr/jre1.5.0_06/lib/sparc/server:/usr/jre1.5.0_06/lib/sparc:/usr/jre1.5.0_06/../lib/sparc::/usr/local/lib:/usr 
>
> /local/apache2/lib:/usr/lib
> 28-Sep-2006 16:03:29 org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 28-Sep-2006 16:03:29 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1875 ms
> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
> 28-Sep-2006 16:03:29 org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> 28-Sep-2006 16:03:31 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive CMM_EU.war
> 28-Sep-2006 16:03:32 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive CMM_PDA.war
> 28-Sep-2006 16:03:33 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive CMM_TM.war
> 28-Sep-2006 16:03:34 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive xgui3.war
> 28-Sep-2006 16:03:35 org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> 28-Sep-2006 16:03:35 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 28-Sep-2006 16:03:35 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/64  config=null
> 28-Sep-2006 16:03:36 org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> 28-Sep-2006 16:03:36 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 7035 ms
> 28-Sep-2006 16:03:36 org.apache.catalina.core.StandardServer await
> SEVERE: StandardServer.await: create[8005]:
> java.net.BindException: Cannot assign requested address
>        at java.net.PlainSocketImpl.socketBind(Native Method)
>        at java.net.PlainSocketImpl.bind(Unknown Source)
>        at java.net.ServerSocket.bind(Unknown Source)
>        at java.net.ServerSocket.<init>(Unknown Source)
>        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(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> 28-Sep-2006 16:03:36 org.apache.coyote.http11.Http11BaseProtocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
>


---------------------------------------------------------------------
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