Topic: BES中我的ear为何不能载入?

  Print this page

1.BES中我的ear为何不能载入? Copy to clipboard
Posted by: xfwing
Posted on: 2003-06-13 00:34

错误消息为:
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中就不行。
我是初学者,怎样才能通过错误信息判断问题出在那呢。谢谢

2.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: Big Blue
Posted on: 2003-06-13 07:57

把你的ear用附件贴上来

3.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: xfwing
Posted on: 2003-06-13 09:27

ok,我现在的机器中没有,晚上我贴上来,谢谢。
您是否认为和部署文件有关呀。
我在sun j2ee ri 中部署和调用都可以的

4.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: xfwing
Posted on: 2003-06-13 22:47

我的ear文件帮我看看,谢谢

HelloEjb.ear (21.59k)

5.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: Big Blue
Posted on: 2003-06-14 13:07

没问题,我用的是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

6.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: xfwing
Posted on: 2003-06-14 13:14

部署是没问题,但如图中的不能启动,载入失败有一个红×出现。是为何呢
是否我的bes5.1配置有问题,我不会分析错误信息,请帮我看看

7.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: Big Blue
Posted on: 2003-06-14 13:30

启动也没有问题。你换一台机器再试一下。
你的ejb很简单,BES应该不需要什么配置

8.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: xfwing
Posted on: 2003-06-14 13:41

谢谢,和机器有关吗?我是否要重装呀,:-<
BES的资料太少了,令人苦脑。

9.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: xfwing
Posted on: 2003-06-14 13:52

如果载入成功,是否我在bes中的jndi浏览器中应该看到
改ejb的jndi name 呢?
我只有一台器,不幸我就重装,是否要format呀,
那我可得装一天呀。

10.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: Big Blue
Posted on: 2003-06-14 13:58

xfwing wrote:
如果载入成功,是否我在bes中的jndi浏览器中应该看到
改ejb的jndi name 呢?


是的,可以看到。

你重装一下BES试一下

11.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: Big Blue
Posted on: 2003-06-14 14:00

另外,你单独发布jar文件试一下

12.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: xfwing
Posted on: 2003-06-14 14:13

单独发布jar文件问题依然。
我重装一下吧。
感谢big blue

13.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: xfwing
Posted on: 2003-06-14 16:55

重装安装问题解决了!Big Smile
用JB生成的client调用成功了,
ps:jb我又在ejb中添加了sayThank方法,
不知jb是否有功能可以同步在已经存在的testclient的文件中添入
新的测试方法呀,如果有岂不是很爽呀。

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

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

14.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: Big Blue
Posted on: 2003-06-14 17:24

xfwing wrote:
重装安装问题解决了!Big Smile
用JB生成的client调用成功了,
ps:jb我又在ejb中添加了sayThank方法,
不知jb是否有功能可以同步在已经存在的testclient的文件中添入
新的测试方法呀,如果有岂不是很爽呀。

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


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

欢迎常来交流

15.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: floater
Posted on: 2003-06-17 01:16

Is that osagent running??

16.Re:BES中我的ear为何不能载入? [Re: xfwing] Copy to clipboard
Posted by: yoyochen
Posted on: 2003-07-16 10:48

先從BES的console中把那個ear module給remove掉,再重新部署應該就可以了。
我也遇過這問題,用上面的方法就解決了。
下次遇到不妨試試看。


   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