Re: BeanShell and Class: x not in namespace

"Rebel Geek" <[email protected]> Sat, 17 Jun 2006 23:54:00 -0400
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <[email protected]>
Florin,

Getting JP2 may be a solution if the classloading problems are
resolved. Let me explain a little about our environment:

I work for a fortune 100 (maybe a fortune 10) company run by a very
large mouse (I dare not give out the name of the company <smile>). We
have a portal and a SOA environment that provides content to the
portal. The portal communicates with the SOA environment via WSRP (Web
Services for Remote Portlet). The infrastructure guys provided us with
some Ant scripts that will automagically (because our company is built
on magic <more smiles>) builds a session bean that acts as a web
service interface to our application. So if I just have a JSP
accessing a database, the build scripts will "wrap" a web service
layer around it. This is the reason why I have my WAR file in an EAR.

I have gotten JP3 to work in our version of JBoss 3.2 using the
following article

 http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

especially the section titled " The Web Container". Though JP3 loads
and finds bsh it cannot find Groovy for some reason and the action
only "see" that classes that JBoss loads from the deploy folder or
what's in the server/all/lib folder of JBoss.

Hope this serves to give somebody in this group an epiphany. Thanks
all for your help and insight.

Regards,


On 6/16/06, Florin T.PATRASCU <[email protected]> wrote:
>
>
>
> On 16-Jun-06, at 12:16 PM, Lateef Jackson wrote:
>
>
> What reasons are you using JPublish for? You may not be loosing
>
> anything but depends on what you like about JPublish.
>
> I subscribe to Lateef's question. If you're not using JP3 in a very specific
> way I may send you a new JP2 (I hope I'll commit it soon to the 2-0 branch
> in the CVS) which is cleaned a bit, some errors are fixed, the access to the
> page components are cached through a pluggable mechanism and all the
> libraries are updated to their latest versions; bsh, groovy, RHINO, etc.
>
> JPublish is a very reliable piece of software (I am biased, of course:) and
> the version I am using (based on 2.0 and I am still working on it) is very
> reliable and efficient, here are my old notes:
> http://weblog.flop.ca/2005/03/12/1110656258000.html, since
> then I added few more changes, such as: groovy support. Currently I am
> working to finalize the DWR support for AJAX and the support for page
> localization based on properties files, a very common i18n specific
> practice.
>
> You can use JP with Spring if you want and from there ... sky's the limit :)
> Here is a small jump-start if you want to try:
> http://www.flop.ca/links/sjp.html
>
> I'll be glad to hear more about your experience.
>
> -florin
>
>
>
> _______________________________________________
> Jpublish-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jpublish-developer
>
>
>


-- 
Rebel Geek
[email protected]
954-839-6234