Re: Apache Portable Runtime not found on the java.library.path

2005-12-20 Thread FTP
I face the same problem with:

Tomcat 5.5.12
jdk: 1.5.06

and cannot find the library you suggest in order to include it!

Any hint why?

Thanks

George

On Tue, Dec 20, 2005 at 11:23:11AM -0500, Adam Constabaris wrote:
> William Claxton wrote:
> >Running Java JDK 1.4.  After upgrading to Tomcat 5.5 I get this error.  
> >I have also installed the compatability upgrade for the Java Runtime.
> >
> >"The Apache Portable Runtime which allows optimal performance in 
> >production environments was not found on the java.library.path."
> >
> >Any suggestion on how to resolve this?
> 
> add the following to CATALINA_OPTS:
> 
> -Djava.library.path=/path/to/lib
> 
> The path you should use is the directory that actually contains 
> libtcnative-1.so
> 
> This is only documented in the BUILDING file in jni/native in the 
> tomcat-native directory tree.
> 
> HTH
> 
> AC
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache Portable Runtime not found on the java.library.path

2005-12-21 Thread FTP
just for the records, indeed disabling the APR listener is solving the problem.

Just tried out and it works.

Thanks very much for your support

George

On Tue, Dec 20, 2005 at 01:46:55PM -0500, Adam Constabaris wrote:
> FTP wrote:
> >I face the same problem with:
> >
> >Tomcat 5.5.12
> >jdk: 1.5.06
> >
> >and cannot find the library you suggest in order to include it!
> 
> APR integration isn't yet fully part of the Tomcat distribution, as far 
> as I can tell (I think it's misleading of them to enable the APR 
> listener on startup, because it makes you think you're supposed to use 
> it).
> 
> I'm not sure how stable the Tomcat developers consider the APR 
> integration, so if you're at all concerned about that, it's probably 
> easier to just comment out the Listener instead.
> 
> If you want to use the APR libraries, first read 
> http://tomcat.apache.org/tomcat-5.5-doc/apr.html to see if there are 
> precompiled binaries for your platform (Windows only, AFAICT).  If not,
> 
> (a) install APR (http://apr.apache.org); if you use Linux, your 
> distribution may ship the APR in a package.
> 
> (b) compile libtcnative-1.so by unpacking 
> $TOMCAT_HOME/bin/tomcat-native.tar.gz and following (most of) the 
> instructions there; NOTE if you don't need openSSL support, be warned 
> that --without-ssl switch did not work for me with tomcat-native-1.1.0 
> (ships with 5.5.12; 1.1.1 with 5.5.14-beta did honor that switch).
> 
> HTH
> 
> AC
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]