-
1. Re: Problem with port-component-uri in two ejbs
acxsjones Apr 7, 2005 11:42 AM (in response to acxsjones)Found some more information
I looked at the war file that was generate off of both ejbs. They both gen'd the same jboss-web.xml<?xml version="1.0" encoding="UTF-8"?> <jboss-web> <context-root>/jboss-net</context-root> </jboss-web>
So how do I get two ejbs working that use /jboss-net/services as the base context
one with
/jboss-net/services/helloworld
/jboss-net/services/helloworld2 -
2. Re: Problem with port-component-uri in two ejbs
thomas.diesler Apr 14, 2005 8:30 AM (in response to acxsjones)I think this is aswered here
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=58674 -
3. Re: Problem with port-component-uri in two ejbs
acxsjones Apr 14, 2005 9:33 AM (in response to acxsjones)Actually the only solution I have found is to package the multiple ejbs into the same jar.
I would like to have different jar files for each ejb but have them use the same base context.
/contextA/partB/service123
/contextA/partB/service124
I could not find a way to get the same base context packaged in seperate ejbs. Each ejb generates a war file. Each war file uses just the first part of the context (contextA in my example)
So the last one deployed wins. -
4. Re: Problem with port-component-uri in two ejbs
thomas.diesler Apr 14, 2005 9:41 AM (in response to acxsjones)The last one should not deploy at all.
The security is associated with the context. You cant reuse the context accross deployments.
With normal web apps you can't reuse the context either.