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

您没有登录

» Java开发网 » Application Server  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 BES中我的ear为何不能载入?
xfwing



发贴: 0
积分: 0
于 2003-06-13 00:34 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
错误消息为:
Error type: com.borland.enterprise.management.api.AgentException

Thread: Thread[Action Invoker class com.borland.jafa.state.ActionStart,6,main]

Stack trace:

com.borland.enterprise.management.api.AgentException: Load of J2EE module D:/BES/var/servers/xfee/partitions/jbuilder/ears/HelloEjb.ear to service ejbcontainer failed: com.borland.enterprise.server.partition.service.DeploymentException: Failed to deploy the module. Please look at log for details....

  at com.borland.enterprise.management.api.impl.CORBAAgentTransport.loadEar(CORBAAgentTransport.java:930)

  at com.borland.enterprise.management.api.impl.Partition.enableEar(Partition.java:472)

  at com.borland.enterprise.management.api.impl.DeployedArchive.enable(DeployedArchive.java:127)

  at com.borland.management.state.ModuleStateManageable.start(ModuleStateManageable.java:83)

  at com.borland.jafa.state.ActionStart.execute(ActionStart.java:46)

  at com.borland.jafa.action.FwAction.performAction(FwAction.java:157)

  at com.borland.jafa.action.FwAction$1.run(FwAction.java:64)

  at java.lang.Thread.run(Thread.java:479)

我在sun j2ee 中部署调用成功,用jb重新部署到BES5.1中就不行。
我是初学者,怎样才能通过错误信息判断问题出在那呢。谢谢



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
Big Blue



版主


发贴: 601
积分: 121
于 2003-06-13 07:57 user profilesend a private message to usersend email to Big Bluesearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
把你的ear用附件贴上来


作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
xfwing



发贴: 0
积分: 0
于 2003-06-13 09:27 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
ok,我现在的机器中没有,晚上我贴上来,谢谢。
您是否认为和部署文件有关呀。
我在sun j2ee ri 中部署和调用都可以的



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
xfwing



发贴: 0
积分: 0
于 2003-06-13 22:47 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
我的ear文件帮我看看,谢谢

HelloEjb.ear (21.59k)



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
Big Blue



版主


发贴: 601
积分: 121
于 2003-06-14 13:07 user profilesend a private message to usersend email to Big Bluesearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
没问题,我用的是bes 5.2.1

Generating stubs for HelloEjb.ear
Compiling 14 files (using javac)
Stubs successfully generated
Merging archive contents: _bes_stubs.jar
Merging archive contents: HelloEjb
Verifying D:\BES\tmp\console\tmpbes_14619\HelloEjb.ear
Verifying application module HelloEjb.ear [role=deployer]
...verifying ejb module HelloEjb.jar in HelloEjb.ear
...verifying jndi definitions module META-INF/jndi-definitions.xml in HelloEjb.ear
...verifying library module _bes_stubs.jar in HelloEjb.ear
0 errors, 0 warnings
Deploying modules to partition standard
Deploying HelloEjb to bes://bigsea/standard
Enabling modules in partition standard
Deployment completed



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
xfwing



发贴: 0
积分: 0
于 2003-06-14 13:14 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
部署是没问题,但如图中的不能启动,载入失败有一个红×出现。是为何呢
是否我的bes5.1配置有问题,我不会分析错误信息,请帮我看看



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
Big Blue



版主


发贴: 601
积分: 121
于 2003-06-14 13:30 user profilesend a private message to usersend email to Big Bluesearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
启动也没有问题。你换一台机器再试一下。
你的ejb很简单,BES应该不需要什么配置



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
xfwing



发贴: 0
积分: 0
于 2003-06-14 13:41 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
谢谢,和机器有关吗?我是否要重装呀,:-<
BES的资料太少了,令人苦脑。



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
xfwing



发贴: 0
积分: 0
于 2003-06-14 13:52 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
如果载入成功,是否我在bes中的jndi浏览器中应该看到
改ejb的jndi name 呢?
我只有一台器,不幸我就重装,是否要format呀,
那我可得装一天呀。


xfwing edited on 2003-06-14 13:54

作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
Big Blue



版主


发贴: 601
积分: 121
于 2003-06-14 13:58 user profilesend a private message to usersend email to Big Bluesearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
xfwing wrote:
如果载入成功,是否我在bes中的jndi浏览器中应该看到
改ejb的jndi name 呢?


是的,可以看到。

你重装一下BES试一下



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
Big Blue



版主


发贴: 601
积分: 121
于 2003-06-14 14:00 user profilesend a private message to usersend email to Big Bluesearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
另外,你单独发布jar文件试一下


作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
xfwing



发贴: 0
积分: 0
于 2003-06-14 14:13 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
单独发布jar文件问题依然。
我重装一下吧。
感谢big blue



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
xfwing



发贴: 0
积分: 0
于 2003-06-14 16:55 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
重装安装问题解决了!Big Smile
用JB生成的client调用成功了,
ps:jb我又在ejb中添加了sayThank方法,
不知jb是否有功能可以同步在已经存在的testclient的文件中添入
新的测试方法呀,如果有岂不是很爽呀。

感谢版主帮助,不知你是如何通过log判断问题的。

(缩略图,点击图片链接看原图)



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
Big Blue



版主


发贴: 601
积分: 121
于 2003-06-14 17:24 user profilesend a private message to usersend email to Big Bluesearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
xfwing wrote:
重装安装问题解决了!Big Smile
用JB生成的client调用成功了,
ps:jb我又在ejb中添加了sayThank方法,
不知jb是否有功能可以同步在已经存在的testclient的文件中添入
新的测试方法呀,如果有岂不是很爽呀。

感谢版主帮助,不知你是如何通过log判断问题的。


我觉得许多时候是靠经验和感觉。

欢迎常来交流



作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2003-06-17 01:16 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
Is that osagent running??


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code
作者 Re:BES中我的ear为何不能载入? [Re:xfwing]
yoyochen



发贴: 0
积分: 0
于 2003-07-16 10:48 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
先從BES的console中把那個ear module給remove掉,再重新部署應該就可以了。
我也遇過這問題,用上面的方法就解決了。
下次遇到不妨試試看。




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