Is it possible to make it say what library it missing?
many thanks for your help.


Kobe wrote:
> 
> i think its shortening long path for display with "..."
> I changed the paths to standard locations (using LD_LIBRARY_PATH).
> I still get the same error:
> 
> 
> Oct 26, 2011 8:48:12 AM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /usr/java/jdk1.6.0_21/jre/lib/i386/server:/usr/java/jdk1.6.0_21/jre/lib/i386:/usr/java/jdk1.6.0_21/jre/../lib/i386:/usr/local/apache-tomcat/apr-connector/lib:/usr/local/apache-tomcat/apr/lib:/usr/local/lib:/lib::/usr/java/packages/lib/i386:/lib:/usr/lib
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: java.lang.UnsatisfiedLinkError:
> org.apache.tomcat.jni.Pool.create(J)J
>         at org.apache.tomcat.jni.Pool.create(Native Method)
>         at
> org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613)
>         at
> org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
>         at
> org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
>         at
> org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
>         at
> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786)
>         at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
>         at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
>         ... 6 more
> 
> 
> 
> Daniel Mikusa-2 wrote:
>> 
>> I see "java.library.path" is set to "/opt/asdasdasd/app/bin/../lib",
>> which looks a little funky.  Have you tried setting it to
>> "/opt/asdasdasd/app/lib"?  I'm assuming this is the location of the
>> compiled library files, please confirm.
>> 
>> Dan
>> 
>> 
>> On Wed, 2011-10-26 at 04:30 -0700, Kobe wrote:
>>> i have tomcat6 with APR connector built for jdk6. When i start server I
>>> get
>>> unsatisfied link error.
>>> I try static linking for APR but no luck. can anyone help me plz...
>>> 
>>> 16-Dec-2010 16:13:27 org.apache.catalina.core.AprLifecycleListener init
>>> INFO: The APR based Apache Tomcat Native library which allows optimal
>>> performance in production environments was not found on the
>>> java.library.path: /opt/asdasdasd/app/bin/../lib
>>> java.lang.reflect.InvocationTargetException
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>         at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>         at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>>         at
>>> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
>>>         at
>>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>>> Caused by: java.lang.UnsatisfiedLinkError:
>>> org.apache.tomcat.jni.Pool.create(J)J
>>>         at org.apache.tomcat.jni.Pool.create(Native Method)
>>>         at
>>> org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613)
>>>         at
>>> org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
>>>         at
>>> org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
>>>         at
>>> org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
>>>         at
>>> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786)
>>>         at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
>>>         at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
>>>         ... 6 more
>>> 
>>> 
>>> my connector config is
>>> 
>>> 
>>>  <Connector port="8080"
>>>                protocol="org.apache.coyote.http11.Http11AprProtocol"
>>>                connectionTimeout="11000"
>>>                redirectPort="443"
>>>        />
>>> 
>>> 
>>> same for https also.
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/s-tp32723372p32725411.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to