Hi guys,

I'm a bit puzzled:

I'm running a few TC-instances, all of them using TC-native and APR.

I'm used to that, once the APR is loaded, there's a line in the logs
stating that the APR is being used , or, if mis-configured, that the
APR cannot be found.

On my Tomcat 6 on Debian this works like charm:

catalina.out:INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
catalina.out:INFO: APR capabilities: IPv6 [true], sendfile [true],
accept filters [false], random [true].


However, on my Tomcat 5.5, also running on Debian, I don't find *any*
information.

I've specified the APRLifeCycleListener in server.xml, and even in the
connector I specified an option which is only available if the APR is
being used.

Some snippets from my server.xml:

<Server port="8005" shutdown="somePass">
  <Listener className="org.apache.catalina.core.AprLifecycleListener" />

  [...]
   <Service name="Catalina">
  [ ... ]
    <Connector port="8080" maxHttpHeaderSize="8192"
               emptySessionPath="true"
               useSendfile="true"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true"
address="127.0.0.1"/>


I have to say that I'm using mod_jk on the TC 5.5-installation being
fronted by Apache HTTPD. Actually, it doesn't make sense using the APR
here, however, I want to shift and run Tomcat only.

tomcat.log.INFO says the following:

2009-01-29 16:34:42,672 INFO                    [main]: Initializing
Coyote HTTP/1.1 on http-127.0.0.1-8080
2009-01-29 16:34:42,678 INFO                    [main]: Initializing
Coyote AJP/1.3 on ajp-127.0.0.1-8009
2009-01-29 16:34:42,678 INFO                    [main]: Initialization
processed in 1261 ms
2009-01-29 16:34:42,842 INFO                    [main]: Starting
service Catalina
2009-01-29 16:34:42,855 INFO                    [main]: Starting
Servlet Engine: Apache Tomcat/5.5.26
2009-01-29 16:34:43,325 INFO                    [main]: XML validation disabled
2009-01-29 16:34:45,686 INFO                    [main]: Deploying web
application archive WebDemoEN.war
2009-01-29 16:34:46,037 INFO                    [main]: Deploying web
application archive WebDemoDE.war
2009-01-29 16:34:46,682 INFO                    [main]: Deploying web
application archive WebMailer.war
2009-01-29 16:34:47,267 INFO                    [main]: Starting
Coyote HTTP/1.1 on http-127.0.0.1-8080
2009-01-29 16:34:47,346 INFO                    [main]: Starting
Coyote AJP/1.3 on ajp-127.0.0.1-8009
2009-01-29 16:34:47,485 INFO                    [main]: Find registry
server-registry.xml at classpath resource
2009-01-29 16:34:47,680 INFO                    [main]: Server startup
in 5001 ms

So what am I missing here? Now is APR loaded or not? How can I find
any indicator telling me that the APR is loaded?
If the APR is not loaded - any suggestions on what I might have missed?

TIA

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

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

Reply via email to