Re: classloader issue on jboss3.2.2 for tomcat4.1

2005-09-16 Thread Steve Dodge
It doesn't see any classes in any of your jars? I was using JBoss 3.2.2 back in 2003 and had the same issue. Once I set the web loader to false, I realized that some utility classes were getting loaded from jars deployed in other wars. Effectively, now each webapp has its own classloader.

classloader issue on jboss3.2.2 for tomcat4.1

2005-09-16 Thread lio tomcat
Hello world, For some reason, i had to change default conf of my jboss 3.2.2 in order to avoid the use of jboss class loader. It's now set in [jboss]\deploy\jbossweb- tomcat41.sar\META-INF\jboss-service.xml in this way : false The problem is now my webapp does not even see/load my jars in my

TC and RMI ClassLoader issue

2005-05-28 Thread Nikola Milutinovic
Hi all. I'm having problems with ClassLoader. I have a RMI client that calls a RMI server. What I keep getting as an error is a ClassCastException. This is the code: Object obj = Naming.lookup(url); search = (SearchRMI) obj; And the exception is: java.lang.ClassCastException at co

Re: ClassLoader issue

2002-12-09 Thread Ola Berg
> have you looked at tomcat's classloader document? > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html > > Charlie Yes, and it basically talks about the class loaders that Tomcat uses. But I want to be able to load classes from an jar file at an arbitrary URL specified

RE: ClassLoader issue

2002-12-09 Thread Cox, Charlie
have you looked at tomcat's classloader document? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html Charlie > -Original Message- > From: Ola Berg [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 8:15 AM > To: Tomcat Users List >

ClassLoader issue

2002-12-09 Thread Ola Berg
Could anyone describe how to load classes within a servlet using a URLClassLoader in Tomcat, or reference to a link somewhere? /O -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Classloader issue

2000-12-16 Thread Craig R. McClanahan
Try using ClassLoader.getResourceAsStream() instead of ClassLoader.getSystemResourceAsStream().  The method you are using says "go use the system class loader", and bypasses any resources that are in your jar file under WEB-INF/lib. Craig McClanahan     Juergen Baumann wrote: I try to load file

Classloader issue - additional info

2000-12-16 Thread Juergen Baumann
I use Tomcat 3.2 under Windows2000 Pro. - Original Message - From: Juergen Baumann To: [EMAIL PROTECTED] Sent: Friday, December 15, 2000 12:36 PM Subject: Classloader issue I try to load files in an InputStream (using ClassLoader) in the init() method of a Servlet that is loaded

Classloader issue

2000-12-16 Thread Juergen Baumann
I try to load files in an InputStream (using ClassLoader) in the init() method of a Servlet that is loaded on startup. The files reside in a .jar file that contains all the classes as well. Using ClassLoader works fine in a stand-alone application, however, as soon as I try to make it work t