无法运行正在访问 GlassFish v3 上的 EJB 的应用程序客户端
环境:GlassFish 3.0.1、NetBeans 6.9、JDK 6u21
问题:无法运行正在访问 EJB 的应用程序客户端
可在 http://netbeans.org/bugzilla/show_bug.cgi?id=183488 以及相应的教程 < a href="http://netbeans.org/kb/docs/javaee/entappclient.html" rel="nofollow">http://netbeans.org/kb/docs/javaee/entappclient.html 。我现在明白远程接口如何必须位于 Java 类库中。我按照教程的步骤进行了操作,但仍然不起作用。
错误:http://pastebin.com/k8ARGKbX。
根据 http://docs.sun .com/app/docs/doc/820-7700/gjkmx?l=en&a=view,此错误消息的含义是:
ACDEPL112 尝试处理 JAR 文件 {0} 清单中的扩展时出错;忽略它并继续
原因: 当服务器尝试打开 JAR 文件或处理其清单中列出的扩展时,会引发日志文件中列出的异常。
解决方案: 确保 JAR 文件的清单正确列出了 JAR 所依赖的扩展名。
对我来说意义不大,清单文件仅包含 Manifest-Version: 1.0
,我应该在这里添加一些东西吗? :\
类似的讨论可以在 http://forums.netbeans.org/post-86938 下找到。 html 。我还在 NetBeans 社区论坛 http://forums.netbeans.org/viewtopic .php?t=33195,并向编辑发送了一封电子邮件。
任何帮助或想法将不胜感激! 提前致谢, 前轮离地
Environment: GlassFish 3.0.1, NetBeans 6.9, JDK 6u21
Problem: Unable to run app-client that is accessing an EJB
A bugreport can be found under http://netbeans.org/bugzilla/show_bug.cgi?id=183488 with the corresponding tutorial http://netbeans.org/kb/docs/javaee/entappclient.html . I understand now how the Remote interface has to be in a Java Class Library. I walked through the steps of the tutorial, but still, it does not work.
Errors: http://pastebin.com/k8ARGKbX.
According to http://docs.sun.com/app/docs/doc/820-7700/gjkmx?l=en&a=view, this error message means:
ACDEPL112 Error attempting to process extensions from the manifest of JAR file {0}; ignoring it and continuing
Cause:
The exception listed in the log file was thrown as the server tried to open the JAR file or process the extensions listed in its manifest.Solution:
Make sure the manifest of the JAR file correctly lists the extensions on which the JAR depends.
Doesn't mean too much to me, manifest files contain only Manifest-Version: 1.0
, should I add something here? :\
A similar discussion can be found under http://forums.netbeans.org/post-86938.html . I also asked this question at the NetBeans Community Forum http://forums.netbeans.org/viewtopic.php?t=33195, and sent an email to the editors.
Any help or ideas would be appreciated!
Thanks in advance,
wheelie
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我做了什么让它工作 - Windows 7:
Program%20Files
中。在 Windows XP 上,您不必设置权限。
What I did to make it work - Windows 7:
Program%20Files
.On Windows XP you don't have to set permissions.