-
1. Re: Multiple instances of one webapp
wiberto Sep 19, 2007 11:17 AM (in response to stefanstrobl)I just posted an issue I'm having with running multiple apps in one instance. They are not the same application, but they share an ejb module (each getting its own copy of course)
Here's the link to that post:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119052
Thanks,
Jose -
2. Re: Multiple instances of one webapp
pmuir Sep 20, 2007 7:20 AM (in response to stefanstrobl)Ensure you have classloading isolation enabled and that the jndi lookup namespace is different.
-
3. Re: Multiple instances of one webapp
stefanstrobl Sep 20, 2007 7:38 AM (in response to stefanstrobl)hi
thanks for the answer. unfortunately i am really new to jboss and therefore have a little difficulty finding my way around so just to make sure I get it right this time. (I've already spent hours trying to figure it all out)
i guess classloading isolation can be enabled like this:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
for jndi lookup
I have to create a seperate entry into the -ds.xml config file and then have to make the appropriate changes to the persistance*.xml files as well as to the jboss-beans.xml file.
in order to not have conflicting uris i have to probably change the context-root element in the application.xml file
am i missing anything?
thank you for your help
stefan