无法运行在GlassFish

无法运行在GlassFish

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

问题描述

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

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



可以在与相应的教程。我现在理解Remote接口如何在Java类库中。我完成了本教程的步骤,但仍然无法正常工作。



错误:。

根据,此错误消息表示:

对我来说,这并不意味着太多,清单文件只包含 Manifest-Version:1.0
,我应该在这里添加什么? :\



类似的讨论可以在。我还在NetBeans社区论坛上提出了这个问题:,并发送电子邮件给编辑。



任何帮助或想法,将不胜感激!
在此先感谢,
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:

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的应用程序客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 18:48