如何为 IBM 的 launchclient 制作应用程序客户端 jar 文件
您好,我在部署在 IBM Websphere 6.1 上的旧 ejb 应用程序中遇到了一个错误。以前它运行过,但现在由于某种原因停止了,我必须调查。 我试图让它在我的桌面上本地运行,并且我试图使用 IBM 的 launchclient 应用程序访问会话 bean。我传入 Ear 作为参数(是的,这是 IBM 特有的),耳朵包含 ejb-jar 和 ejb-client.jar(也是 IBM 特有的)。
Launchclient 失败并显示消息:myear 不包含应用程序客户端 jar 文件。这可能是真的,但它确实包含 client-ejb jar 文件,我什至费心用 -CCjar=MyEjbClient.jar 来解决该文件。 我的问题是如何制作应用程序客户端 jar 文件?
我找不到关于 launchclient 的太多信息,我确实有 RAD 7.x 或其他东西,但说实话,我想尽可能远离它,这真的很令人沮丧。
问候,
PS 有人知道 IBM 的一份不错的工作吗?
Hi I'm facing with a bug in old ejb application which is deployed on IBM Websphere 6.1. Previously it ran but now it stopped for some reason which I have to investigate.
I'm trying to get it to run locally on my desktop, and I'm trying to access the session bean with IBM's launchclient application. I pass in the ear as the argument (yes that's IBM specific) and the ears contains both the ejb-jar and the ejb-client.jar (also IBM specific).
Launchclient fails with the message: myear does not contain an Application Client jar file. Which may be true, but it does contain the client-ejb jar file, which I even bothered to address with -CCjar=MyEjbClient.jar.
My question is how can I make an application client jar file?
I cant find much information on the launchclient thing, I do have RAD 7.x or something, but to be honest I want to stay away from it as much as possible and it's getting really frustrating.
regards,
PS someone knows a nice NO IBM job?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
仅有 ejb-client-jar 是不够的,您还需要一个应用程序客户端 JAR。另外,只能为应用程序 jar 指定 -CCjar(如果只有一个应用程序则没有必要)。
要将应用程序客户端 JAR 添加到 EAR,您需要:
将模块添加到 EAR 中的 application.xml 中:
<前><代码><模块>;
MyClient.jar
It is not sufficient to have an ejb-client-jar, you need an application client JAR. Also, -CCjar can only be specified for an application jar (and it's not necessary if you only have one).
To add an application client JAR to an EAR, you need to:
Add the module to application.xml in the EAR: