Glassfish 3.1.2 和 Eclipse
我刚刚下载了 Glassfish 版本 3.1.2,这还不是正式版本。 我需要这个版本,因为我的 Web 应用程序正在使用 websockets。 我现在遇到的问题是 Eclipse 的 Glassfish 插件,他无法识别新的 Glassfish 版本。 使用 Eclipse 中的 Glassfish 版本 3.1.1 一切正常。 我正在使用 Oracle 的 Oracle Glassfish Server Tools(Eclipse 插件)版本 2.0.0.20111104904(我可以下载的最后一个版本)。 如果我尝试在 Eclipse 中为 Glassfish 3.1.2 添加新的服务器运行时环境,则会收到错误消息: 指定目录中没有有效的 GlassFish 安装... 我需要一切才能在 Eclipse 中调试我的 Web 应用程序。
有人知道插件在检查什么吗? 有任何更改可以欺骗插件,因此也可以与 Glashfish 3.1.2 一起运行吗?
I just downloaded the Glassfish version 3.1.2, this is not yet an official release.
I need this version because my web application is using websockets.
The problem I have now is with the Glassfish plugin for eclipse, he is not recognizing the new Glassfish Version.
With the Glassfish Version 3.1.1 in Eclipse everything works fine.
I am using Oracle Glassfish Server Tools (Eclipse plugin ) version 2.0.0.20111104904 from Oracle(last version I could download).
If I try to add a new Server Runtime Environment in Eclipse for the Glassfish 3.1.2 I get the error:
There is no valid GlassFish installation in the specified directory...
I need everything to be able to debug my web application in Eclipse.
Anyone know what the plugin is checking ?
There is any change to trick the plugin so will run with Glashfish 3.1.2 too ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用此处的插件(对于 Indigo):http://dlc.sun.com.edgesuite.net /glassfish/eclipse/indigo/
Helios 插件不支持 3.1.2。
如果您必须忍受 Oracle 所祝福的部分或继续使用 Helios,那么您可以尝试以下技巧:
Use the plugin from here (for Indigo): http://dlc.sun.com.edgesuite.net/glassfish/eclipse/indigo/
The plugin for Helios does not support 3.1.2.
If you have to live with the bits the are blessed by Oracle or keep using Helios, then you can try the following trick:
如果您使用的是 Helios,则可以尝试以下操作:
虽然插件说的是 indigo,但它在 Helios 中也适用于我。它提供了 Glassfish 3.1.1 和 3.1.2 服务器的选项(名称更改前和后)。
请注意,它会下载 Glassfish 本身,并安装内部服务器。如果您想要使用现有的服务器(就像我所做的那样),您可以删除该服务器,然后安装您自己的服务器(“新服务器...”)。
HTH。
If you are on Helios, you can try the following:
Though the plugin says indigo, it is also working for me in Helios. And it gives options for both Glassfish 3.1.1 and 3.1.2 servers (pre and post name changes).
Note that it downloads Glassfish itself, and installs an internal server. You can delete that one, and install your own server ("New server...") if you have an existing server you want to work with (as I did).
HTH.