have you set JAVA_HOME ?

-----Original Message-----
From: Dominic Clay [mailto:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to