[jboss-user] [JCA/JBoss] - Re: late data source initialization

sshrestha do-not-reply at jboss.com
Tue Mar 13 17:38:33 EDT 2007


I have added depends element in the jboss-web.xml, no change in results:
here is my jboss-web.xml file:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">
  | 
  | <jboss-web>
  |    <context-root>/</context-root>
  |    <virtual-host>xxx.mydomain.com</virtual-host>
  | 
  |    <resource-ref>
  |       <res-ref-name>jdbc/connAs400</res-ref-name>
  |       <jndi-name>java:/connAs400</jndi-name>
  |    </resource-ref>
  |    
  |    <resource-ref>
  |       <res-ref-name>jdbc/connMySql</res-ref-name>
  |       <jndi-name>java:/connMySql</jndi-name>
  |    </resource-ref>
  | 
  | <depends>jboss.jca:service=DataSourceBinding,name=connAs400</depends>
  | <depends>jboss.jca:service=DataSourceBinding,name=connMySql</depends>
  | 
  | </jboss-web>
  | 

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

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



More information about the jboss-user mailing list