You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Adam Greene <ag...@romulin.com> on 2002/09/26 15:59:44 UTC
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Discovered Problem with " Broken Class Loader in 4.1.12"
Posted by Adam Greene <ag...@romulin.com>.
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:agreene@romulin.com]
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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>