tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sumit.ra...@rhodesgroup.org
Subject RE: environmental variables
Date Thu, 31 Jan 2002 14:35:00 GMT
have you set JAVA_HOME ?

-----Original Message-----
From: Dominic Clay [mailto:dominic.clay@europrospectus.com]
Sent: Thursday, January 31, 2002 7:49 AM
To: Tomcat-User (E-mail)
Subject: environmental variables


Hi,
 
Can anyone tell me how can I write a debugging page to see what the values
in my environmental variables (CLASSPATH, TOMCAT_HOME etc) are according to
Tomcat4.
 
I have been getting an error saying: 
 
java.lang.UnsatisfiedLinkError: no XXXXXXXX in java.library.path
 
This occurs as soon as I reference a class in a specific JAR file (other
JARs and classes are fine...)  This class is from a third party and is
associated with a .so file which is referenced via the LD_LIBRARY_PATH
variable.
I think this must be to do with either:
 
1. the .jar file that the referenced class is contained in. (which is in the
/<webapp>/WEB-INF/lib directory *and* in the classpath!).
2. the .so file that is referenced by an LD_LIBRARY_PATH variable.
3. something else!!!
 
If I create a java class instead of the jsp page and run it from a location
contained within the CLASSPATH, the code works...  Its only when I run it as
a jsp page I get the error.
Anyone point me in the right direction.... Please!
 
Cheers,
Dominic
 
The information contained in this e-mail and any files transmitted with it
may be privileged and confidential.  If the reader of this message,
regardless of the address or routing, is not an intended recipient, you are
hereby notified that you have received this transmittal in error and any
review, use, distribution, dissemination or copying is strictly prohibited.
If you have received this message in error, please delete this e-mail and
all files transmitted with it from your system and notify the sender by
reply e-mail or by calling 1-888-338-6076. 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message