How to configure Glassfish Server in Eclipse manually

InCh picture InCh · Aug 8, 2014 · Viewed 118.1k times · Source

I have GlassFish server3.1.2.2 pre installed on my machine. Which I want to use in my Eclipse Luna

How do I manually configure it to use in Eclipse?

When I tried using Eclipse Market Place i got an error No repository found at http://download.oracle.com/otn_software/oepe/luna.

I tried searching through net for which I get pointed to the Oracle Enterprise Pack for Eclipse (OEPE) which is of about 485MB.
Is there an another way round for this?

Answer

Do Nhu Vy picture Do Nhu Vy · Sep 16, 2014

You must use Eclipse WTP (Web Tool Platform), and should use the lastest version is Luna 4.4. Link download: Eclipse IDE for Java EE Developers http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/lunar

Menu Windows\Show view\Other, choose folder Server, click on Servers.

enter image description here

enter image description here

Right click on blank area to use context menu, choose New\Server

enter image description here



Press link "Download additional server adapters"

enter image description here

Choose "GlassFish Tools" from Oracle vendor.

enter image description here

Then, restart Eclipse.