I've seen this problem before when trying to use Struts with JRun, I
definitely understand the classloader issues there.  If I move the
Struts.jar file into one of the server/.../lib directories then it works.
This time I'm dealing with the .jar file containing the remote and home
interfaces for an EJB which my JSP is calling.

Cheers

-----Original Message-----
From: Scott "M." Stirling [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 10:03 PM
To: JRun-Talk
Subject: Re: WEB-INF/lib directory


Hey, NetNumina, you guys wrote the SpaceExchange app we used at JavaOne.
Nice work!

The description below is correct, i.e., this works in JRun.  Not sure
why it isn't working for you.  Are you doing Class.forName() to load
classes from the jar?  If so, you need to specify the classloader you're
loading the classes from (the web-app classloader).  If you're just
expecting the classes to be in the scope of the other classes in the
web-app, then that should work.  I'd need a little more info, and can
provide more info, for understanding why this seems broken to you and
how to fix it.

Scott Stirling
West Newton, MA

On 08 Jan 2001 20:58:41 -0500, Jay Walters wrote:

> I am running JRun 3.0 SP1 on Windows 2000.
> 
> My expectation (based on reading the Servlet 2.2 Specification) is that by
> putting a jar file into the WEB-INF\lib directory of a web application it
> will get put on the classpath of the web application, however this does
not
> seem to be the case with JRun.  Will this be fixed in Sp2?
> 
> Cheers
> Jay Walters
> NetNumina Solutions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to