Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java EE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) [Re:TopCool]
TopCool

Miracle

CJSDN高级会员


发贴: 253
积分: 10
于 2003-06-11 09:06 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
hehe谢谢,已经没有这个问题了,但是又有了一个问题
D:\Temp\jboss\testejb\client>java InterestClient
Got context
javax.naming.NameNotFoundException: comp not bound

09:09:48,799 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.6/server/
default/deploy/testejb.jar

看,我得ejb么已经部署上去了

这是我得jboss.xml
<?xml version="1.0" encoding="UTF-8"?>
<jboss>
<enterprise-beans>
<session>
<ejb-name>Interest</ejb-name>
<jndi-name>interest/Interest</jndi-name>
</session>
</enterprise-beans>
</jboss>

这是ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>

<ejb-jar>
<description>JBoss Interest Sample Application</description>
<display-name>Interest EJB</display-name>
<enterprise-beans>
<session>
<ejb-name>Interest</ejb-name>
<home>org.jboss.docs.interest.InterestHome</home>
<remote>org.jboss.docs.interest.Interest</remote>
<ejb-class>org.jboss.docs.interest.InterestBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>

comp是什么意思,请教~~




话题树型展开
人气 标题 作者 字数 发贴时间
13833 有人熟悉jboss么? (javax.naming.NoInitialContextException) TopCool 2652 2003-06-09 17:53
12252 Re:有人熟悉jboss么? ww77721 53 2003-06-09 17:55
12897 Re:有人熟悉jboss TopCool 261 2003-06-11 12:01
12314 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) ww77721 229 2003-06-11 12:15
13059 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) TopCool 151 2003-06-11 12:37
12989 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) TopCool 203 2003-06-11 12:41
12051 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) jhlqab 136 2003-06-28 00:52
12165 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) jhlqab 27 2003-06-28 01:13
13319 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) TopCool 939 2003-06-10 14:30
12012 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) ww77721 63 2003-06-10 15:17
12896 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) TopCool 654 2003-06-10 15:34
12098 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) ww77721 866 2003-06-10 15:56
12953 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) TopCool 971 2003-06-10 16:09
12095 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) ww77721 256 2003-06-10 17:58
13097 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) TopCool 1143 2003-06-11 09:06
12057 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) ww77721 307 2003-06-11 09:25
13480 Re:有人熟悉jboss么? (javax.naming.NoInitialContextException) TopCool 4730 2003-06-11 11:59

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923