[jboss-user] [JNDI/Naming/Network] - Deployment dependencies

jcsf do-not-reply at jboss.com
Tue Sep 19 01:30:23 EDT 2006


Hi -

I have never posted here for fear of being flamed, so please go gently on me :)

I'm using JBoss 4.0.4 GA

I have an EAR file which currently contains just a HAR (Hibernate) service, but which will contain more services for deployment shortly.

The Hibernate MBean is currently configured to find its Datasource in JNDI at java:/MagicDS.

On most servers this is fine - the relevant datasource is bound to that name. On some servers however, it is bound to java:/SpiritDS for legacy reasons.

Is there a mechanism by which I can deploy exactly the same EAR file to all servers, and create a "filter" of some kind, which would allow me to place the Datasource JNDI address in a file outside the EAR? Or is there another solution I am blatently overlooking?

Many thanks
JCS 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972481#3972481

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972481



More information about the jboss-user mailing list