JAVA涂鸦
关于JAVA的点点滴滴
posts - 50,  comments - 689,  trackbacks - 0
正文内容
posted on 2005-12-26 19:32 千山鸟飞绝 阅读(3915) 评论(7)  编辑  收藏

FeedBack:
# re: 图解eclipse+myelcipse开发EJB
2006-02-25 22:06 | XX
AAAAA  回复  更多评论
  
# re: 图解eclipse+myelcipse开发EJB
2006-03-07 13:02 | li
hhjk jhkhhggffnjuiiphbv  回复  更多评论
  
# re: 图解eclipse+myelcipse开发EJB
2006-03-07 13:02 | li
fjhkkk; jhjh  回复  更多评论
  
# re: 图解eclipse+myelcipse开发EJB
2006-03-08 10:53 | supertj
跟你一样做下来.报错.请问为什么啊?

javax.naming.NameNotFoundException: Unable to resolve 'ejb.HelloWorld'. Resolved 'ejb' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'ejb.HelloWorld'. Resolved 'ejb']; remaining name 'HelloWorld'
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:191)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:315)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:250)
at weblogic.jndi.internal.ServerNamingNode_900_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:374)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:362)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.EJBTest.main(EJBTest.java:28)
Caused by: javax.naming.NameNotFoundException: Unable to resolve 'ejb.HelloWorld'. Resolved 'ejb'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1123)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:250)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:204)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:212)
at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:503)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:389)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:903)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
  回复  更多评论
  
# re: 图解eclipse+myelcipse开发EJB
2006-03-08 13:56 | supertj
有回答请顺便发送到我的邮箱,supertj@163.com

:D谢谢  回复  更多评论
  
# re: 图解eclipse+myelcipse开发EJB
2006-06-10 18:01 | 王凯
请问,我用的jboss,总出现这个问题:
jwas.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jaws PUBLIC "-//JBoss//DTD JBOSS 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss_2_4.dtd">

<jaws> //错误提示 :Element type "jaws" must be declared.
<debug>false</debug> //错误提示 :Element type "debug" must be declared.

<enterprise-beans>

</enterprise-beans>/*错误提示: The content of element type "enterprise-beans" is incomplete, it must match "(session|entity|message-driven)+".*/
</jaws>

是什么原因?盼解答!  回复  更多评论
  
# re: 图解eclipse+myelcipse开发EJB
2006-11-01 13:28 | victor[匿名]
javax.naming.NameNotFoundException: While trying to lookup 'ejb.HelloWorld' didn't find subcontext 'ejb' Resolved [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'ejb.HelloWorld' didn't find subcontext 'ejb' Resolved ]; remaining name 'ejb/HelloWorld'
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
at weblogic.jndi.internal.ServerNamingNode_812_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:343)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:336)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.EJBTest.main(EJBTest.java:28)
Caused by: javax.naming.NameNotFoundException: While trying to lookup 'ejb.HelloWorld' didn't find subcontext 'ejb' Resolved
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:858)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:225)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:154)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:188)
at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


请教楼主:我的环境没什么问题可为什么报这个错误呢?
  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航:
 
正在阅读:



<2005年12月>
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

常用链接

留言簿(35)

随笔档案

文章分类

文章档案

好友的blog

我的其他blog

老婆的Blog

搜索

  •  

积分与排名

  • 积分 - 773026
  • 排名 - 56

最新评论

阅读排行榜

评论排行榜