You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ccastle <ch...@gmail.com> on 2011/06/30 22:21:55 UTC

Re: APR Native library on tomcat 6

Hello.

I have the same problem, except that in the log it is not specified what
library is needed. This are the messages in the log:

30-jun-2011 15:13:03 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
30-jun-2011 15:13:04 org.apache.catalina.core.StandardService stop
INFO: Parando servicio Catalina
30-jun-2011 15:13:04 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
30-jun-2011 15:13:04 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
30-jun-2011 15:16:01 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
/usr/java/jdk1.6/jre/lib/i386/server:/usr/java/jdk1.6/jre/lib/i386:/usr/java/jdk1.6/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
30-jun-2011 15:16:01 org.apache.coyote.http11.Http11Protocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
30-jun-2011 15:16:01 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 281 ms
30-jun-2011 15:16:02 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
30-jun-2011 15:16:02 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.0
30-jun-2011 15:16:02 org.apache.catalina.core.StandardHost start
INFO: Desactivada la validaciĆ³n XML
30-jun-2011 15:16:02 org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(/opt/tomcat6/webapps/Recaudacion/WEB-INF/lib/servlet-api.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
30-jun-2011 15:16:02 org.apache.coyote.http11.Http11Protocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
30-jun-2011 15:16:02 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
30-jun-2011 15:16:02 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/41  config=null
30-jun-2011 15:16:02 org.apache.catalina.startup.Catalina start
INFO: Server startup in 847 ms


The bolded part of the message is the error I have. Besides, I'm trying to
use tomcat 6 with a Project that was compiled on tomcat 5.5.7, I can't see
the jsp pages.

Could you help me with this plis?

Thankyou!

Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> lmk,
> 
> On 6/19/2009 9:59 AM, lmk wrote:
>> I complied apr sources, I dont used binnaries.
> 
> If you compiled apr, you're not done: you actually need libtcnative-1.so
> as well as apr. The APR connector is a little misleading in its naming
> because it's libtcnative.so that is required, not libapr.so.
> 
> You can find tcnative in your Tomcat distro under
> CATALINA_HOME/bin/tomcat-native.tar.gz
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAko/1BAACgkQ9CaO5/Lv0PCangCbBvsOD69tpdPieboAxoOgcEK2
> TdwAoKWtCfA1oRaoFE2iOffyzJ/d4EwB
> =uhFj
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/APR-Native-library-on-tomcat-6-tp24107914p31967678.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: APR Native library on tomcat 6

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To whom it may concern,

On 6/30/2011 4:21 PM, ccastle wrote:
> I have the same problem [where APR won't load], except that in the log it is not specified what
> library is needed.

You don't need to read the logs to see what library is needed, you need
to read the documentation:
http://tomcat.apache.org/tomcat-7.0-doc/apr.html

> This are the messages in the log:
>
> The bolded part of the message is the error I have.

Text styles do not come across plain text mailing list posts.

I don't see any error messages at all. Perhaps you are talking about
this INFO message:

> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path:
> /usr/java/jdk1.6/jre/lib/i386/server:/usr/java/jdk1.6/jre/lib/i386:/usr/java/jdk1.6/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib

Are you actually intending to use APR? If you are trying to use APR and
it's not working, then you should tell us what you have done so far.

If you don't care about APR or have no idea what I'm talking about and
are only posting to the list because of the above message, you can
safely ignore the message or disable the AprLifecycleListener in
server.xml to get rid of that message.

> Besides, I'm trying to use tomcat 6 with a Project that was compiled
> on tomcat 5.5.7, I can't see the jsp pages.

Please post to the list under a separate subject if you have another,
unrelated problem.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4M3WIACgkQ9CaO5/Lv0PD6IgCgom3sUXhIKdrHQCFKHWmH5tc1
URQAnjEU4JTDwTi+11NdtmpzzbD9igMa
=mFx7
-----END PGP SIGNATURE-----

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