无法运行正在访问 GlassFish v3 上的 EJB 的应用程序客户端

发布于 2024-10-01 09:42:24 字数 1345 浏览 1 评论 0原文

环境: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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

飘落散花 2024-10-08 09:42:25

我做了什么让它工作 - Windows 7:

  • 在 root 中安装 GlassFish;不在 Program%20Files 中。
  • 设置 Glassfish 安装文件夹的权限(完全控制)。

在 Windows XP 上,您不必设置权限。

What I did to make it work - Windows 7:

  • Install GlassFish in root; not in Program%20Files.
  • Set permissions on Glassfish install folder (Full control).

On Windows XP you don't have to set permissions.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文