没有找到指定的jndi
把你的web.xml;ejb-jar.xml,程序掉用的地方拿来看看.
把你的web.xml;ejb-jar.xml,程序掉用的地方拿来看看.
解决方案 »
- tomcat Context 配置问题
- MYsql 权限
- Weblogic9.2 Error 404--Not Found
- 请问大家一个关于网站后台管理的问题
- 客户端无法写入cookie 奇怪问题
- 高手请进~(hibernate)
- 怎样将数据库中的数据在每天规定时间取出来,写入到一个文本文件中啊?
- http://localhost:8080/web-console/页面中<frame id="left" name="left" src="applet.jsp"文件不显示
- 求:J2EE1.4非SUN公司官方下载版..速度难以忍受...
- 问个问题,有没有连接上数据库,可以把数据库中的表的数据,转成xml文件,只需要指定选项就可以了!
- JAVA中如何实现GBK到Unicode的转换
- jndi问题呀呀呀呀
<enterprise-beans>
<session>
<display-name>GameManager</display-name>
<ejb-name>GameManager</ejb-name>
<local-home>com.sumit.lottery.database.GameManagerLocalHome</local-home>
<local>com.sumit.lottery.database.GameManagerLocal</local>
<ejb-class>com.sumit.lottery.database.GameManagerBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<ejb-local-ref>
<description />
<ejb-ref-name>Game</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.sumit.lottery.database.GameHome</local-home>
<local>com.sumit.lottery.database.Game</local>
</ejb-local-ref>
</session>
Bind Name: GameManager
Object Class:
Object Hash Code:
Object To String:
还有应用的地方我看看。
<weblogic-enterprise-bean>
<ejb-name>GameManager</ejb-name>
<reference-descriptor>
<ejb-local-reference-description>
<ejb-ref-name>Game</ejb-ref-name>
<jndi-name>Game</jndi-name>
</ejb-local-reference-description>
</reference-descriptor>
<local-jndi-name>GameManagerLocal</local-jndi-name>
</weblogic-enterprise-bean>
<weblogic-enterprise-bean>
<ejb-name>Game</ejb-name>
<entity-descriptor>
<persistence>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
<type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
</persistence-use>
</persistence>
</entity-descriptor>
<local-jndi-name>Game</local-jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>谢谢