Re: Bean Shell with WebLogic

Patrick Niemeyer <[email protected]> Fri, 4 Mar 2005 09:44:01 -0600
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
On Mar 2, 2005, at 10:44 AM, David Winslow wrote:

> I am developing a web app using WebLogic 7sp4 and have come across a 
> problem when deploying my application as a war file.  My bean shell 
> scripts import classes that are in the war file but I end up with a 
> classnotfound error because beanshell can not find the classes in the 
> war file.  Is there a way to fix this?

What version of BeanShell are you using?  I'm not sure if that version 
of Weblogic has the old version of BeanShell bundled inside the 
weblogic.jar or not.  If it does then you may need to upgrade it to get 
webapps with BeanShell to work properly.

   http://beanshell.org/weblogic.html

BeanShell versions 1.2b3 and later should properly use the context 
classloader and be able to see classes deployed inside the war file.


Pat



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click