[英]Unable to run app-client that is accessing an EJB on GlassFish v3
Environment : GlassFish 3.0.1, NetBeans 6.9, JDK 6u21 环境 :GlassFish 3.0.1,NetBeans 6.9,JDK 6u21
Problem : Unable to run app-client that is accessing an EJB 问题 :无法运行正在访问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 . 可以在http://netbeans.org/bugzilla/show_bug.cgi?id=183488下找到错误报告,并提供相应的教程http://netbeans.org/kb/docs/javaee/entappclient.html 。 I understand now how the Remote interface has to be in a Java Class Library.
现在,我了解了Java类库中必须具有Remote接口。 I walked through the steps of the tutorial, but still, it does not work.
我已经完成了本教程的步骤,但是仍然无法正常工作。
Errors: http://pastebin.com/k8ARGKbX . 错误: http : //pastebin.com/k8ARGKbX 。
According to http://docs.sun.com/app/docs/doc/820-7700/gjkmx?l=en&a=view , this error message means: 根据http://docs.sun.com/app/docs/doc/820-7700/gjkmx?l=zh-CN&a=view ,此错误消息表示:
ACDEPL112 Error attempting to process extensions from the manifest of JAR file {0};
ACDEPL112尝试处理JAR文件{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.
原因:服务器尝试打开JAR文件或处理清单中列出的扩展名时,引发了日志文件中列出的异常。
Solution: Make sure the manifest of the JAR file correctly lists the extensions on which the JAR depends.
解决方案:确保JAR文件的清单正确列出了JAR依赖的扩展名。
Doesn't mean too much to me, manifest files contain only Manifest-Version: 1.0
, should I add something here? 对我来说并不意味着太多,清单文件仅包含
Manifest-Version: 1.0
,我应该在这里添加一些内容吗? :\\ :\\
A similar discussion can be found under http://forums.netbeans.org/post-86938.html . 在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.
我还在NetBeans社区论坛http://forums.netbeans.org/viewtopic.php?t=33195上问了这个问题,并向编辑发送了电子邮件。
Any help or ideas would be appreciated! 任何帮助或想法,将不胜感激! Thanks in advance, wheelie
在此先感谢,特技
What I did to make it work - Windows 7: 我做了什么才能使其正常工作-Windows 7:
Program%20Files
. Program%20Files
。 On Windows XP you don't have to set permissions. 在Windows XP上,您无需设置权限。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.