jboss的wiki,forum等都翻遍了,还是没有找到答案,期待各位!

解决方案 »

  1.   

    jdbc not bound:===================================jdbc驱动没有绑定也就是说你的jdbc驱动是在服务器启动之后才被加载的,因此你在初始化的时候是没有和jdbc绑定的
      

  2.   

    首先谢谢解答。但你的答复应该不对,jdbc not bound:,这里的JDBC应该是指
     <jndi-name>jdbc/test</jndi-name>中的jdbc,因为我曾改为 <jndi-name>test</jndi-name>试过,就报test not bound,何况我看日志里,那个datasource 已经绑定并有效了,绑到指定的JNDI上了。
      

  3.   

    好像在JBOSS-JDBC。XML文件中也得配置,不知道是不是。
      

  4.   

    哈哈,我已搞定这个问题,我已把我在jboss/theserverside forum上发的帖子给回复了.
    下面把解决方法贴出来,是蹩脚的英文,哈哈,大家不要怪我. 可以访问我的blog 
    http://spaces.msn.com/members/zhj-michael/ 是11月9日的blog,the title is "JBOSS,datasource,But In the init() mothod couldn't lookup datasource." my msn:[email protected] the question and answer u can refer to http://www.jboss.com/index.html?module=bb&op=viewtopic&t=70600 http://www.theserverside.com/discussions/thread.tss?thread_id=37016 I have written some words about question and answer there.