-
1. Re: deploy of different versions of the same EAR
juhalindfors Feb 19, 2003 8:38 PM (in response to jova73)You need to change the <jndi-name> mappings in jboss.xml to bind the different versions under different names. Also you need to declare separate classloader repositories in your jboss-app.xml file, see the <loader-repository> tag in jboss-app_3_0.dtd (any valid object name string will do).
-
2. Re: deploy of different versions of the same EAR
jova73 Feb 20, 2003 3:33 AM (in response to jova73)Thank you for your reply.
But what if I really needed to deploy two different versions of the same application (i.e. production and test version)?
Of course I'd like to mantain the same JNDI name; should I use two different JBoss installation?
Thanks!!
Andrea -
3. Re: deploy of different versions of the same EAR
juhalindfors Feb 20, 2003 6:01 AM (in response to jova73)you can't bind two versions under the same global name in one server (how would the client know which version to invoke?), also you'd probably want to configure two different datasources for your entity beans (test and production databases). Setting up two servers is the best thing to do.