hahaha,I have solved the problem. thank u,genman,but u didn't give me some valuable message.
We maybe should offer the answer if we knew,so that it can save many people's time! I need thank the jboss-wiki, http://wiki.jboss.org/wiki/Wiki.jsp?page=DependOnDataSource. That gives me the inspiration! Thus in your admin-doc,JBoss Admin Development Guide(jboss3.2.6), Figure 3.4,didn't offer the depends element. I can find some info in ...docs/dtd/jboss-web_3_2.dtd. but when I wrote this message, I found the Figure 9.1----"The complete jboss-web.xml descriptor DTD", ah... ah... ah.... Reference http://wiki.jboss.org/wiki/Wiki.jsp?page=DependOnDataSource. I modified ...sar/...war/WEB-INF/jboss-web.xml,then run jboss,I have looked up the datasource!!! <jboss-web> jboss.jca:service=LocalTxCM,name=jdbc/test </jboss-web> In the log,I can find these info: 2005-11-08 19:12:49,859 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.web.deployment:war=Crm.war,id=843359960 on jboss.jca:service=LocalTxCM,name=jdbc/test ........... 2005-11-08 19:12:51,046 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.jca:service=LocalTxCM,name=jdbc/test dependent components: [ObjectName: jboss.web.deployment:war=Crm.war,id=843359960 state: CREATED I Depend On: jboss.jca:service=LocalTxCM,name=jdbc/test Depends On Me: ] 2005-11-08 19:12:51,046 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=Crm.war,id=843359960 In more detail,I will offer later on. Thank u jboss.Inc!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906174#3906174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906174 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
