无法运行在GlassFish v3上访问EJB的应用程序客户端 [英] Unable to run app-client that is accessing an EJB on GlassFish v3

查看:170
本文介绍了无法运行在GlassFish v3上访问EJB的应用程序客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

环境:GlassFish 3.0.1,NetBeans 6.9,JDK 6u21
$ b

问题:无法运行应用 - 访问EJB的客户端



可以在 http://netbeans.org/bugzilla/show_bug.cgi?id=183488 与相应的教程 http://netbeans.org/kb/docs/javaee/entappclient.html 。我现在理解Remote接口如何在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 ,并发送电子邮件给编辑。



任何帮助或想法,将不胜感激!
在此先感谢,
wheelie

解决方案

/ p>


  • 在root中安装GlassFish;不在 Program%20Files 中。

  • 设置Glassfish安装文件夹的权限(完全控制)。


在Windows XP上,您无需设置权限。


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

解决方案

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.

这篇关于无法运行在GlassFish v3上访问EJB的应用程序客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆