Glassfish 3.1.2 和 Eclipse Indigo 插件

我新安装的带有新 Glassfish 3.1.2 插件的 Eclipse Indigo SR2 在每次启动时都会创建一个新的内部 GlassFish 3.1.2"服务器.

My freshly installed Eclipse Indigo SR2 with the new Glassfish 3.1.2 Plugin creates on every start a new "Internal GlassFish 3.1.2" Server.

如何防止这种行为?有人已经在使用这个配置了吗?

How can I prevent this behavior? Does somebody already use this configuration?

推荐答案

我遇到了同样的问题,我的解决方法是从 Eclipse 中卸载Glassfish 3.1.2 Application Server Runtime".请先对我们的 Eclipse 进行完整备份.

I've faced the same issue and my workaround is uninstall the "Glassfish 3.1.2 Application Server Runtime" from the Eclipse. Please make a full backup for our Eclipse first.

可以通过以下步骤完成:-

It can be done by the following step: -

  1. 转到帮助"菜单--->关于 Eclipse".
  2. 点击安装详情"按钮.
  3. 系统将显示Eclipse Installation Details"窗口.
  4. 转到已安装的软件"标签.
  5. 在列表中找到Glassfish 3.1.2 Application Server Runtime"并单击它.请注意,它是按字母顺序排列的.
  6. 点击卸载..."按钮
  7. 将显示卸载"窗口,请查看并单击完成"按钮进行卸载.
  1. Go to "Help" menu ---> "About Eclipse".
  2. Click "Installation Details" button.
  3. The system will display the "Eclipse Installation Details" windows.
  4. Go to "Installed Software" tab.
  5. Find the "Glassfish 3.1.2 Application Server Runtime" in the list and click it. Please note it is sorted alphabetically.
  6. Click "Uninstall..." button
  7. The "Uninstall" windows will display, please review and click the "Finish" button for uninstalling.

我们需要在 Eclipse 卸载后使用clean"选项启动它.

We need to start the Eclipse with "clean" option after it is uninstalled.

我从 这里 下载 Glassfish 3.1.2 开源版并安装到我的机器上.然后将新安装的 Glassfish 3.1.2 注册到 Eclipse.

I download the Glassfish 3.1.2 Open Source Edition form here and install to my machine. Then register the new installed Glassfish 3.1.2 to the Eclipse.

在我看来,如果我在 Eclipse 插件/工作区文件夹之外使用 Glassfish 会很好.

Regarding to my opinion, I thought that it would be nice if I use the Glassfish out side the Eclipse plugin / workspace folder.

相关文章