[jboss-user] [JNDI/Naming/Network] - Datasource name binding is behind Web deploy

jashuan do-not-reply at jboss.com
Sat Jan 26 20:00:29 EST 2008


Hi, I am try to deploy an application that was in Weblogic before for testing. I could not make it to work. There is problem I am facing. I tried to add jboss-web.xml to reference the datasources that are defined in *-ds.xml files. and aslo referenced in web.xml too. I did with several tries and binding is OK. 

But the name space is not available during war file deploy. From the start up directory console, I can see that those datasource name binding happen after my war file get deployed. And inside my web application during servlet start up, the code will need to access database to load values for caching. 

Is there a way to force binding happen first before deploy war file.

thank you very much for expertise.

Jashua

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

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



More information about the jboss-user mailing list