Eclipse Foundation Member
GlassFish Tools

Add this URL to your Eclipse Installation to reach this solution's update site.

Oxygen (4.7)

Neon (4.6)

Mars (4.5)

Luna (4.4)

Kepler (4.3)

Juno (4.2, 3.8)

Learn more...

Details Group Tabs

Installs Last Update: 
Monday, February 19, 2018 - 16:20
tkernstock's picture

Hi Konstantin,

the new versions of payara changed the way the use the validation apis. When I try to change my project from Payara 171 to 174 my projects wont compile because the javax.validation and org.hibernate.validator classes are not found. Checking the Systemclasspath of my Glassfish runtime I can't find the validation-api.jar and hibernate-validator-payara-p1.jar which are in modules. Even if I rename validation-api.jar to bean-validator.jar it is added to zhe classpath!

When I deploy my project on the new server it works perfectly, so I guess this is just a matter of adding the jars to the Glassfish System Classpath.



vorozco7g2's picture

Altough Eclipse Oxygen offers support for Java 9. If this plugin is used in Oxygen 1a install with JDK 9, Glassfish will fail with:

An internal error occurred during: "Stopping GlassFish 4 [domain1]".
Can't find bundle for base name sun.util.logging.resources.logging, locale

I've tested it with Glassfish and Payara, and I also can confirm that it works with JDK 8, however I'm not sure if this is the right place to report the bug, I did it through Eclipse automatic error reporting too.

Glassfish server by itself will indeed run, but you won't be able to see server's log.

kkomissarchik's picture

Thanks for the problem report. We will investigate this issue.

ffrech's picture

Will there be support for Glassfish 5 in the future.

kkomissarchik's picture

Yes, GF 5 support is coming, but there is no concrete timeline that we can share at the moment.

asalvanos's picture

Hello Konstantin,

how are things going. When will you have a timeline? Is it possible to get preliminary versions?

Best Regards,




olippert's picture

The Plugin itself works. But there is one thing that makes docker not working.

As of the Docker-Container is a kind of a remote server, I just specify the lokal glassfish as the environment, and then need to set admin user, admin pw, admin port and debug port. But the Add On just provides the "normal" domain-path setting for "localhost". Then I tryed adding a new hostname to hosts file, but that did not work too. As soon as the Add On knows, that the given domain / IP resolvs to the local host, there is just the one way: Domain path! And that doesn't work with docker.


Would be nice if that would be supported too

spanigrahis05's picture

VM is pointing to jre8. Still GlassFish server not appearing.

rluojge's picture

The adapter can be installed successfully with a problem. Once it is installed, Eclipse restarted, the GlassFish is still not in the list when you try to add GlassFish as a server. My Eclipse Mars2 works fine with WebSphere and JBoss adapters.

kkomissarchik's picture

GlassFish Tools for all recent versions of Eclipse requires Java 8 to run. Unfortunately, the Marketplace does not enforce this, but the Java requirements for all support Eclipse versions is listed in the description.

aguerrero7vq's picture

Hi, i have installed Version: Mars.2 Release (4.5.2). And when i try the Glassfish tools, i have this message from the marketplace:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,,
No repository found containing: org.eclipse.update.feature,,
No repository found containing: osgi.bundle,,
No repository found containing: osgi.bundle,,
No repository found containing: osgi.bundle,,
No repository found containing: osgi.bundle,,

someone else has this problem ?

kkomissarchik's picture

I was able to install GlassFish tools into a Mars.2 Java EE distro just now. This type of error indicates a network issues. Typically these are intermittent as Eclipse was able to get part way through the installation sequence before failing. So try again. If you are seeing this issue consistently, post on the support forum. We will need to gather more information regarding your setup and network configuration.

mcrippa's picture

Same problem here, with Mars.2 Release (4.5.2).

jarndt5i6's picture

I have plug-in 8.5.1 installed. I was able to assign GlassFish Server Open Source Edition 4.1 by selecting ..\glassfish4\glassfish as installation directory. "glassfish4" is not recognized!
Does this solve your problem?

gmisingname8u1's picture

I wasted hours today trying to get Eclipse Mars to work with Glassfish 4.1. I can only reason that the adapter doesn't exist yet for this combination. Thanks Eclipse!

kkomissarchik's picture

Could you post details of issues you are running into on the support forum? GlassFish 4.1 is definitely supported.

ekanat's picture

just a waste of time