Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ClassPath on a shared server

Status
Not open for further replies.

wgcs

Programmer
Mar 31, 2002
2,056
EC
I'm having basic difficulties in getting servlet's to work on our company's webserver (which is hosted as a virtual server by Radiant.net)

"Hello World" type servlets work well, but when I start trying to use additional libraries ( such as org.apache.soap.* and org.apache.soap.rpc.* ) the server reports "file not found" when I try to activate the servlet through a web browser.

I expect it's because the webserver doesn't have the apache JARs in the CLASSPATH, but I would expect to be able, as a customer maintaining my own website, to be able to somehow add it, but I can't. I've requested Customer Support to do so, and am awaiting their answer, but my question to everyone is: What is a "normal" way for customers to add to the CLASSPATH of a virtual server?

I would expect it to be a directory in the classpath that I could just drop .JAR files in, but I haven't had any success in getting to classes contained in .JAR files unless the CLASSPATH pointed DIRECTLY to the .JAR file instead of simply pointing to the directory the .JAR is in.

If it helps, here are some of the System.getProperties of our webserver:
sun.boot.class.path: /usr/java/j2sdk1.4.0/jre/lib/rt.jar:
/usr/java/j2sdk1.4.0/jre/lib/i18n.jar:
/usr/java/j2sdk1.4.0/jre/lib/sunrsasign.jar:
/usr/java/j2sdk1.4.0/jre/lib/jsse.jar:
/usr/java/j2sdk1.4.0/jre/lib/jce.jar:
/usr/java/j2sdk1.4.0/jre/lib/charsets.jar:
/usr/java/j2sdk1.4.0/jre/classes:/usr/local/jdk/lib/pja.jar

java.library.path: /usr/java/j2sdk1.4.0/jre/lib/i386/client:
/usr/java/j2sdk1.4.0/jre/lib/i386:
/usr/java/j2sdk1.4.0/jre/../lib/i386

sun.boot.library.path: /usr/java/j2sdk1.4.0/jre/lib/i386

Thanks for your consideration of my problems!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top