how are you trying to get the XML file? make sure you use the correct class loader approach
FIlip -----Original Message----- From: Linda Smith [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 10:07 AM To: [EMAIL PROTECTED] Subject: non-java files inside jar I get a ServletException caused by: java.lang.ExceptionInInitializerError when sending a request from a jsp to a servlet. the odd thing about it is, when I checked the logs, I saw it couldn't find one of the files in a specific jar archive: Caused by: java.lang.RuntimeException: Could not find log configuration file com/sri/oaa2/oaa_log_config.xml at com.sri.oaa2.lib.LibOaa.<clinit>(LibOaa.java:336) it is an .xml type file. the archive is copied correctly to /WEB-INF/lib, and the .xml file is indeed in the jar archive(double checked). actually, the class causing the error runs fine outside tomcat. notes: using tomcat 5.0.19, j2sdk1.4.2_02 same error occurs both in windows (xp) and linux (redhat) thanks for your time __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
