Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
381 views
in Technique[技术] by (71.8m points)

jakarta ee - How to install the GlassFish 3 server adapter with Eclipse Helios 3.6

Question as stated in the title: how to install the GlassFish Server Adapter on Eclipse Helios 3.6?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Eclipse Helios 3.6

At the time of writing this (07/26/2010), there are in theory two ways to install the GlassFish Server adapter: via the Eclipse Marketplace or via an update site.

Update: As mentioned by Thorbj?rn in a comment, the adapter is now (09/24/2010) available in the Additional server adapters dialogue (the "normal way").

New Server

There are several ways to do this but one ways is to right-click in the Server view, select New > Server then click the Download additional server adapters link and select the GlassFish adapter.

Marketplace

Go to Help > Eclipse Marketplace... and search for "glassfish". Then click on the Install button of the GlassFish Java EE Application Server Plugin for Eclipse and follow the steps.

Update site

Go to Help → Install New Software, Add the following temporary1 update site: http://download.java.net/glassfish/eclipse/helios. Be sure to uncheck Group items by category and you should see the Oracle GlassFish Server Tools as shown below:

Click on Next and follow the steps.

1 The GlassFish plugin is being moved to the Oracle Enterprise Pack for Eclipse (OEPE) and will be available at http://download.oracle.com/otn_software/oepe/helios/wtp in the future (see Bug 312912).



The problem mentioned above is actually not specific to the GlassFish plugin and is not platform specific. The issue is a p2 bug in Eclipse 3.6 when using a shared install (which is the root cause of the problem) as I discovered after reading this other question on SO and the Bug 322929. The problem is related to a p2 bug which is fixed in Eclipse 3.6 SR1 and after installing Eclipse 3.6 SR1 RC4, things are now indeed working as expected. Yeah!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...