-
1. Re: Two same application on one jboss
nickarls Oct 17, 2009 10:27 PM (in response to mvlach)Do you use a loader-repository in jboss-web.xml?
-
2. Re: Two same application on one jboss
mvlach Oct 18, 2009 2:56 AM (in response to mvlach)Hello,
yes I am.
I have edit the files and till this change the application work good.
Thanks you for the help.
Mila
-
3. Re: Two same application on one jboss
swd847 Oct 19, 2009 12:52 AM (in response to mvlach)Make sure that each app has its own copy of the seam jars, you can't share them between projects.
-
4. Re: Two same application on one jboss
mvlach Feb 4, 2010 10:58 PM (in response to mvlach)Thanks you for help...
But, when I repackage the wars to EJB and using the ear, the scope isolation don'tt works.
I first EAR I have
<?xml version="1.0" encoding="UTF-8"?> <jboss-app> <class-loading java2ClassLoadingCompliance="false"> <loader-repository> seam.jboss.org:loader=etrader-ts.ear <loader-repository-config>java2ParentDelegation=false</loader-repository-config> </loader-repository> </class-loading> </jboss-app>
In second ear
<?xml version="1.0" encoding="UTF-8"?> <jboss-app> <class-loading java2ClassLoadingCompliance="false"> <loader-repository> seam.jboss.org:loader=etrader-demo.ear <loader-repository-config>java2ParentDelegation=false</loader-repository-config> </loader-repository> </class-loading> </jboss-app>
So this file is named jboss-app.xml and is localted in eeeee.ear/META-INF
Thanks for help.
Mila
-
5. Re: Two same application on one jboss
babazs Feb 5, 2010 8:05 AM (in response to mvlach)Hy!
Which version of JBoss do you use?
If you use JBoss 5.1 go deployers/ear-deployer-jboss-beans.xml, and change the isolated property of EARClassLoaderDeployer to true!
-
6. Re: Two same application on one jboss
mvlach Feb 5, 2010 11:31 AM (in response to mvlach)Hello,
I'm using the 4.2.3 JBoss.
When I set the isolation level globally, the application can't run. There is problem with some other classes.
I read the documentation and the above solution (jboss-all.xml) should work.