yeah, changing the error message wont help anyone, especially yourself :)
make sure that your -D parameter actually took in effect, and that you
didn't put it in the wrong place. easiest way to check, have a JSP print
out the system property for you
Filip
David Marshall wrote:
Filip :
Thanks. I didn't literally mean X. The library it won't load is
called Netica. I just changed it to X to be more general. I hope
I'm not just creating confusion for everyone.
thanks
dm
Filip Hanik - Dev Lists wrote:
I believe there is a
-Djava.awt.headless=true
or something like that, so that it doesn't try to load your X windows
environment
Filip
David Marshall wrote:
Using Tomcat 5.5 on Linux.
I've set my environment variable with export
JAVA_OPTS='-Djava.library.path=/path/to/my/sharedobjectfolder'
After restarting tomcat and hitting my servlet (which depends on the
.so file in the folder above) I get an UnsatisfiedLinkError no X
found in java.library.path
I've looked in catalina.out and see a message that says that The
Apache Tomcat Native library cannot be found on java.library.path:
/path/to/my/sharedobjectfolder. So it appears that Tomcat is using
the path at least when it starts up. I've seen other Linux Tomcat
users raising this same problem and not getting any answers.
Within Eclipse I can run Tomcat and configure a VM parameter for
java.library.path and my library is successfully found when the
servlet runs so this issue only pertains to running tomcat directly
from the startup scripts (e.g. /etc/init.d/tomcat start)
What could be wrong?
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]