-
1. Re: Multiple deployments of same application
adrian.brock Jan 28, 2002 5:16 AM (in response to larsbj)This is ok.
You seem to have a handle on what changes you need to
make.
Here's a link if you don't already know about it.
http://www.jboss.org/online-manual/HTML/ch07.html
You need to avoid sharing jndi names, the caching/pooling
is done per application.
Regards,
Adrian -
2. Re: Multiple deployments of same application
pepito Feb 19, 2002 11:55 AM (in response to larsbj)I am having problems with this type of setup too.
I have an entety bean that is confusing data and that is saving itself to 2 databases...
I am trying different things in my code to make sure I am not the one screwing up.... but I am starting to think there might be a bug or something.... -
3. Re: Multiple deployments of same application
agentblueuk Sep 27, 2006 12:51 PM (in response to larsbj)has anyone got this to work ? we want to do the exact same thing to allow us to provide our application as a hosted solution for our clients without the need for multiple jboss instances
-
4. Re: Multiple deployments of same application
trebiani Oct 16, 2006 3:11 AM (in response to larsbj)hi!
this seems to be an unresolved problem. i ran into the same problem with my application and could not find a "clean" (or perfect) solution for it.
right now i'm running multiple instances of jboss - which is quite memory consuming :-(
the other option would be a different jndi names for all ejb's, datasources, security context, etc. - but a new ear for _every_ customer? i'm thinking of modifying my xDoclet build process to change every jndi name during build. but here is the next problem: think about a small bug and hundreds of installations: then i have to make hundreds of ear files with different jndi names ......
any help would be appreciated!
treb -
5. Re: Multiple deployments of same application
trebiani Oct 16, 2006 9:45 AM (in response to larsbj)"trebiani" wrote:
this seems to be an unresolved problem. i ran into the same problem with my application and could not find a "clean" (or perfect) solution for it.
well, i found a lot of postings: i searched for postings from agentblueuk ;-)
it is definitely not so easy to solve and should be addressed while designing the application. it's quite hard to change the application design afterwards.
i will try it with xDoclet and ANT Properties substitution and will post the results here.