tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Torsten.Ro...@teliasonera.com>
Subject RE: Problem to install APR Tomcat Native Library
Date Sat, 01 Nov 2008 01:38:41 GMT
Hi Rainer,

I got it sorted out with ldd as suggested here on the list but it is certainly good to know
about truss - thank you!

Torsten 

-----Original Message-----
From: Rainer Jung [mailto:rainer.jung@kippdata.de] 
Sent: 30. oktober 2008 23:16
To: Tomcat Users List
Subject: Re: Problem to install APR Tomcat Native Library


Torsten.Romer@teliasonera.com schrieb:
> Yes, it is set to something like
> LD_LIBRARY_PATH=/opt/app/libtcnative/lib:/opt/app/apr/lib:$LD_LIBRARY_PATH
> 
> 
> The files are all world readable and even owned by the user running
> Tomcat.
> 
> I just want to mention that I compiled both libs with another prefix
> than where I have copied them to now - because those directories
> don't exist on the build machine and I don't have root permissions.
> But that shouldn't matter since I include the locations of the libs
> in the LD_LIBRARY_PATH?
> 
> Is it not possible to get Tomcat to log some more details about
> loading these libs? Could be interesting to see some
> UnsatisfiedLinkError or so.

On Solaris you can use truss:

truss -f -o OUTPUTFILE TOMCATSTARTSCRIPT

It will e.g. show, which shared object files were tried to load and from
which places.

Regards,

Rainer

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


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


Mime
View raw message