-
1. Re: Multiple JBoss instances vs. one
jaikiran Oct 28, 2009 3:17 AM (in response to icordoba)"icordoba" wrote:
as far as I know there is no way to enable isolated class loading without enabling "CallByValue"... is there?
Ignacio
There is :
http://www.jboss.org/community/wiki/ClassLoadingConfiguration
http://www.jboss.org/community/wiki/JBossClassLoadingUseCases -
2. Re: Multiple JBoss instances vs. one
icordoba Oct 28, 2009 3:11 PM (in response to icordoba)Hello,
thanks for the links. I had of course read them before posting but, sorry, I can't find definite information there about having to activate CallByValue. I'm sure I'm missing something.
In my scenario I have to deploy two .ears and two .wars. I use classloading configuration for 2 different repositories in jboss-web.xml and jboss-app.xml
I need to do this as I cannot include the war's inside the .ears.
In JBoss I am activating isolation in ear-deployer-jboss-beans.xml but deactivating CallByValue. I also deactivate CallByValue in jboss-service.xml
In war-deployers-jboss-beans.xml I deactivate java2ClassLoadingCompliance, as well as in jboss-app.xml and jboss-web.xml
This should enable isolation while not activating CallByValue.
I'll make checks with both apps. If anybody knows any configuration file I might me missing please point me to any direction.
Thanks,
Ignacio