"ProductAPP.ejbgrpx": Spaces in the temporary directory path may cause WebLogic EJBC utility to produce fatal compile errors.
上面的警告信息也可能是你的工程文件所在的目录引起的,你可将目录
C:/Documents and Settings/Administrator/jbproject/EJBFirst
改为C:/jbproject/EJBFirst试一试weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: ejbPool could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
可能是你没有在Weblogic中正确设置JNDI:ejbPool.

解决方案 »

  1.   

    它警告的意思是:目录名称中有空格,部署时可能出错。
    C:/Documents and Settings/Administrator/jbproject/EJBFirst/ProductAPP.jar
                ~~  ~~
      

  2.   

    郁闷
    我照你说的将工程文件名改为C:/jbproject/EJBFirst后,
    出现的问题一模一样
      

  3.   

    将Documents and Settings改称"Documents and Settings"也就是说如果目录由空格那么就必须用引号标记,这样系统才会识别
      

  4.   

    建议把所有带空格的目录都改为不带空格的目录
    包括系统的temp目录 ...
    自己建一个不带空格的目录,做为系统temp目录 ...
      

  5.   

    另外,你的ejb也没有发布成功呀???
      

  6.   

    的确我的数据源有问题,请大伙帮忙看一下这个问题:
    http://expert.csdn.net/Expert/topic/1493/1493561.xml?temp=.6157648