[jboss-user] [Installation, Configuration & Deployment] - Classloader problems
viniciuscarvalho
do-not-reply at jboss.com
Tue Apr 24 20:54:22 EDT 2007
Hi there! I'm having a few problems with the UCL and jboss seam :(
I have two applications with different jsf versions, so I need classloading isolation (using jboss-app.xml for that). So far things were ok.
I also have a sar deployment (jbpmConfiguration).
So both applications have classloading isolation. and both ships with their own jbpm-lib. The sar has its own as well, and all of 'em on the same version (3.2 btw)
The problem is that one of the applications do a jndi lookup on a jbpmconfiguration registred by the sar application.
And when I cast : ClassCastException org.jbpm.JbpmConfiguration can not be cast to org.jbpm.JbpmConfiguration
It was ok, since they have have different classloaders right?
So I've put the jbpm libs under the server/lib, and remove them from all the applications. The classloader isolation was kept because the jsf libs problem...
Well I was hopping that even with different classloaders, the root classloader would be the same hence it would work. Well, it did not :(
How can I solve this?
Regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040403#4040403
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040403
More information about the jboss-user
mailing list