Never Mind.  I simply removed the / from in front of com/creditunion and it
found it.  I'm not sure which way is the correct way, but none-the-less, it
works now.

-----Original Message-----
From: Adam Greene [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 11:00 AM
To: Tomcat Users List
Subject: Broken Class Loader in 4.1.12


Here is the configuration:

Under C:\Tomcat4.1.12\common\classes is a central code set for several
different websites.  In the subdirectory /com/creditunion is a file called
"Torque.properties"
Under C:\Tomcat4.1.12\common\lib is the torque.jar file
Under
C:\Tomcat4.1.12\creditunions\creditunionX\WEB-INF\classes\com\creditunion\Cr
editUnionServlet.class
In CreditUnionServlet in the init() is the following line:

InputStream input =
getClass().getClassLoader().getResourceAsStream("/com/creditunion/Torque.pro
perties");

This worked fine under Tomcat 4.1.10, but is now broken under Tomcat 4.1.12.



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to