2012/4/5 Petr Hracek <phrac...@gmail.com>:
> Dear all,
>
> I now that I am using pretty old version of tomcat5, but I have a
> tricky problem.
> On the server is run apache2.2.21 and tomcat5 together. tomcat5 is
> used only as servlet container and not web server.
> Both are connected together over AJP1.3 interface.
>
> In configuration file of apache2 is mentioned:
> ProxyPass /appl1 ajp://localhost:8009/appl1
> ProxyPassReverse /appl1 ajp://localhost:8009/appl1
>
> During the stopping of tomcat5 I can see in log files:
> /var/log/tomcat5/base/catalina.out:
> 2012-04-05 11:56:17,492 [main] INFO
> org.apache.coyote.http11.Http11BaseProtocol - Pausing Coyote HTTP/1.1
> on http-8080
> 2012-04-05 11:56:18,495 [main] INFO
> org.apache.catalina.core.StandardService - Stopping service Catalina
> 2012-04-05 11:56:18,520 [main] INFO
> org.apache.coyote.http11.Http11BaseProtocol - Stopping Coyote HTTP/1.1
> on http-8080
> 2012-04-05 11:56:18,521 [main] INFO
> org.apache.catalina.core.AprLifecycleListener - Failed shutdown of
> Apache Portable Runtime

Tomcat-Native shared library failed to shut down.
I do not know why. Did it start? Do you use Apr versions of Tomcat
connectors? (You will see that when Tomcat starts).  If you no not
need it you can comment away the "AprLifecycleListener" in server.xml.
I do not remember whether there were some specific issues in 5.5.29 -
you may look at the changelog.

The message really does not matter much if you shut down Tomcat as a whole.

>
> /var/log/tomcat5/base/stop.log
>  Using CATALINA_BASE:   /srv/www/tomcat5/base/
> Using CATALINA_HOME:   /usr/share/tomcat5
> Using CATALINA_TMPDIR: /srv/www/tomcat5/base//temp
> Using JRE_HOME:       /usr/lib/jvm/java
> 2012-04-05 11:56:19,282 [main] ERROR
> org.apache.catalina.startup.Catalina - Catalina.stop:
> java.net.ConnectException: Connection refused

Attempt to stop Tomcat that is already stopped (and thus do not listen
on the shutdown port anymore).

>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at java.net.PlainSocketImpl.doConnect(Unknown Source)
>        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>        at java.net.PlainSocketImpl.connect(Unknown Source)
>        at java.net.SocksSocketImpl.connect(Unknown Source)
>        at java.net.Socket.connect(Unknown Source)
>        at java.net.Socket.connect(Unknown Source)
>        at java.net.Socket.<init>(Unknown Source)
>        at java.net.Socket.<init>(Unknown Source)
>        at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
>        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.stopServer(Bootstrap.java:344)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)
>
> in server.xml file are used tags:
>  <Listener className="org.apache.catalina.core.AprLifecycleListener" />
>  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
>  <Listener 
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
> />
>  <Listener 
> className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
>
>  <Connector port="8080" maxHttpHeaderSize="8192"
>              maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>               enableLookups="false" redirectPort="8443" acceptCount="100"
>               connectionTimeout="20000" disableUploadTimeout="true" />
>  <Connector port="8009"
>               enableLookups="false" redirectPort="8443"
> protocol="AJP/1.3" address="127.0.0.1" />
>
> Where I could have a problem?

Any other problem besides those two messages that I commented?


Best regards,
Konstantin Kolinko

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

Reply via email to