-
1. Re: multiple seam apps on tomcat (w/ embeded jboss)
matt.drees Jul 15, 2007 12:56 AM (in response to matt.drees)Or at least put a note on the wiki (http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedAndTomcat)
-
2. Re: multiple seam apps on tomcat (w/ embeded jboss)
bill.burke Jul 17, 2007 3:48 PM (in response to matt.drees)This is a seam problem because they refuse to be bootstrapped by the embedded container. Go bug Gavin.
-
3. Re: multiple seam apps on tomcat (w/ embeded jboss)
gavin.king Jul 17, 2007 6:21 PM (in response to matt.drees)Nonsense, this is of course nothing to do with how we bootstrap. It's to do with the fact that you have a global registry for components that is not partitioned by WAR.
-
4. Re: multiple seam apps on tomcat (w/ embeded jboss)
nkhilnani Sep 6, 2007 12:43 PM (in response to matt.drees)Hi,
At the company i work at, we typically deploy one application per tomcat server, but in the development env (local dev computers and dev servers for integration) we usually have more than one application on a tomcat.
Looks like the JIRA issue was closed out as minor.
So is it correct to assume that Embedded JBOSS will intentionally not support more than one seam application per tomcat server?
Nik -
5. Re: multiple seam apps on tomcat (w/ embeded jboss)
robjellinghaus Nov 2, 2007 1:00 AM (in response to matt.drees)It's correct to assume that Bill and Gavin can't get along, and Tomcat support for EJB3 suffers as a result :-(
Of course, getting Tomcat support for EJB3 right is totally against JBoss's business interests, so it makes sense that it's not a priority to resolve the issue properly. -
6. multiple seam apps on tomcat (w/ embeded jboss)
pabloc2112 Nov 8, 2007 2:51 PM (in response to matt.drees)Was this issue resolved? If not, would you guys reconsider. Running multiple seam apps under one tomcat with jboss embedded instance is key in some development/test environments. Please don't leave us tomcat users hanging. We also want to upgrade to seam 2.0 an enjoy its 301 new features.
thanks
pablo -
7. Re: multiple seam apps on tomcat (w/ embeded jboss)
skanky78 Nov 13, 2007 5:10 AM (in response to matt.drees)hi,
it's important for our project to have multiple seam apps under one tomcat. please consider to solve this problem :)
cheers,
sven -
8. Re: multiple seam apps on tomcat (w/ embeded jboss)
adrian.brock Mar 10, 2008 10:37 PM (in response to matt.drees)I don't see what this has to do with either embedded or seam.
The issue looks to me to be with ejb3 embedded deployment
not implementing getApplication()
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/embedded/EJB3StandaloneDeployment.java?revision=70239&view=markup
to return a unique name based on the name of the war deployed in Tomcat. -
9. Re: multiple seam apps on tomcat (w/ embeded jboss)
logicicle Apr 2, 2008 11:00 AM (in response to matt.drees)It is possible to have multiple Seam applications running on the embedded JBoss server simultaneously, hint: it's all about classloaders.
You need to enable classloader isolation (per .ear), which is not enabled by default.
Here's how:
1. Stop your server.
2. Find the ear-deployer.xml file in the deploy directory of the JBoss configuration that you are using.
3. Edit this line: false by changing the value to "true" e.g. true.
You will be able to deploy multiple seam apps now. -
10. Re: multiple seam apps on tomcat (w/ embeded jboss)
logicicle Apr 2, 2008 11:12 AM (in response to matt.drees)Sorry about the re-post, my inserted xml got swallowed or something...
It is possible to have multiple Seam applications running on the embedded JBoss server simultaneously, hint: it's all about classloaders.
You need to enable classloader isolation (per .ear), which is not enabled by default.
Here's how:
1. Stop your server.
2. Find the ear-deployer.xml file in the deploy directory of the JBoss configuration that you are using.
3. Edit this line: <attribute name="Isolated">false</attribute> to be like this
<attribute name="Isolated">true</attribute>
You will be able to deploy multiple seam apps now. -
11. Re: multiple seam apps on tomcat (w/ embeded jboss)
luxspes Jul 4, 2008 12:28 AM (in response to matt.drees)"logicicle" wrote:
You need to enable classloader isolation (per .ear), which is not enabled by default.
Here's how:
1. Stop your server.
2. Find the ear-deployer.xml file in the deploy directory of the JBoss configuration that you are using.
3. Edit this line: <attribute name="Isolated">false</attribute> to be like this
<attribute name="Isolated">true</attribute>
You will be able to deploy multiple seam apps now.
I cannot find ear-deployer.xml in my tomcat6+embeddedJboss... any hints or where to configure this?