What I see in the start.log file is:
2012-04-05 15:28:04,557 [main] INFO
org.apache.coyote.http11.Http11BaseProtocol - Initializing Coyote
HTTP/1.1 on http-8080
2012-04-05 15:28:04,560 [main] INFO
org.apache.catalina.startup.Catalina - Initialization processed in
1062 ms
2012-04-05 15:28:04,727 [main] INFO
org.apache.catalina.core.StandardService - Starting service Catalina
2012-04-05 15:28:04,731 [main] INFO
org.apache.catalina.core.StandardEngine - Starting Servlet Engine:
Apache Tomcat/5.5.27
2012-04-05 15:28:04,743 [main] INFO
org.apache.catalina.core.StandardHost - XML validation disabled
2012-04-05 15:28:06,229 [main] INFO
org.apache.catalina.loader.WebappClassLoader -
validateJarFile(/opt/repgen/servlet/WEB-INF/lib/servlet.jar) - jar not
loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
2012-04-05 15:28:06,312 [main] INFO
org.apache.coyote.http11.Http11BaseProtocol - Starting Coyote HTTP/1.1
on http-8080
2012-04-05 15:28:06,423 [main] INFO
org.apache.jk.common.ChannelSocket - JK: ajp13 listening on
/127.0.0.1:8009
2012-04-05 15:28:06,425 [main] INFO  org.apache.jk.server.JkMain - Jk
running ID=0 time=0/15  config=null
2012-04-05 15:28:06,453 [main] INFO
org.apache.catalina.storeconfig.StoreLoader - Find registry
server-registry.xml at classpath resource
2012-04-05 15:28:06,514 [main] INFO
org.apache.catalina.startup.Catalina - Server startup in 1954 ms

Here is mention ajp13. It is not correct one, right?

Is it possible that during the shutting down of tomcat5 stopping
operation will take more then 2 minutes?
When I am commented out Listener section then during the stopping
tomcat5 Failed is not mentioned
but in stop.log file Exception is still there. How to avoid that
Exception message will not be there?

best reagrds
Petr

Dne 5. dubna 2012 14:19 Konstantin Kolinko <knst.koli...@gmail.com> napsal(a):
> 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
>



-- 
Best Regards / S pozdravem
Petr Hracek

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

Reply via email to