Tools for developing applications for GlassFish.
- Integrates with Eclipse Web Tools.
- Supports open source GlassFish 5, 4 and 3.1.
- Support the latest Eclipse GlassFish 5.1, the reference implementation of the Jakarta EE specification
Download latest Eclipse GlassFish Tools from: https://projects.eclipse.org/projects/webtools.glassfish-tools
These features are also part of Oracle Enterprise Pack for Eclipse (OEPE).
IMPORTANT: Please consult the following table regarding the minimum version of Java required to run GlassFish Tools.
- Photon - Java 8
- Oxygen - Java 8
- Neon - Java 8
- Mars - Java 8
- Luna - Java 8
- Kepler - Java 7
- Juno - Java 6
Even if the correct version of Java is installed, Eclipse may find an earlier version upon launch, if it exists somewhere else on the system. To verify the version of Java that Eclipse is using, go to Help -> About -> Installation Details -> Configuration.
If you find that Eclipse is using a wrong Java install, edit eclipse.ini file and add the following two lines to the start of the file:
-vm [path-to-jre]
Categories: Application Server
Additional Details
Eclipse Versions: 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8)
Platform Support: Windows, Mac, Linux/GTK
Organization Name: Oracle
Development Status: Production/Stable
Date Created: Friday, May 1, 2015 - 12:05
License: EPL
Date Updated: Thursday, February 11, 2021 - 15:56
Submitted by: Konstantin Komissarchik
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
September 2024 | 335/547 | 6 | 2 |
August 2024 | 348/641 | 20 | 14 |
July 2024 | 333/663 | 24 | 9 |
June 2024 | 364/681 | 22 | 16 |
May 2024 | 347/682 | 27 | 159 |
April 2024 | 429/687 | 15 | 21 |
March 2024 | 356/694 | 31 | 9 |
February 2024 | 380/687 | 22 | 20 |
January 2024 | 371/691 | 24 | 10 |
December 2023 | 363/671 | 26 | 13 |
November 2023 | 459/686 | 12 | 15 |
October 2023 | 386/673 | 23 | 17 |
Reviews Add new review
use this URL 2023
Submitted by Markus Blumrich on Tue, 10/24/2023 - 22:10
Install New Software ->
download.oracle.com/otn_software/oepe/12.2.1.8/oxygen/repository/dependencies/
Photon
Submitted by Brandon Butler on Wed, 12/06/2023 - 18:36
In reply to use this URL 2023 by Markus Blumrich
Thanks for your help! I would also note that the latest compatible version is Photon which can be found at this URL instead: https://download.oracle.com/otn_software/oepe/12.2.1.10/photon/reposito…
Bad p2 repository
Submitted by Stephane Talbot on Tue, 10/13/2020 - 11:23
The repository used in the marketplace to install the Glassfish plugin is outdated.
The repository used is http://download.eclipse.org/glassfish-tools/1.0.0/repository/ which will install the plugin for the old Oracle Glassfish version.(Glassfish 5.0 -- Java EE 8)
In order to use Glassfish 5.1 (the Jakarta EE 8 version), you have to install a newer version of the Glassfish plugin which is in another p2 repository: http://download.eclipse.org/glassfish-tools/1.0.1/repository/
Problems with glassfish 5.1
Submitted by Stephane Talbot on Fri, 03/22/2019 - 09:38
The Glassfish-tools plugin defines incomplete glassfish system libraries with Glassfish 5.1
JavaEE api jars have been renamed in Glassfish 5.1
for example:
Gassfish 5.0 Gassfish 5.1 javax.ejb-api.jar jakarta.ejb-api.jar javax.el.jar jakarta.el.jar javax.persistence.jar jakarta.persistence.jar ... ...The Glassfish tools plugin, however, use the same glassfish System Librairies (javax.persistence.jar) for Glassfish 5.0 and Glassfish 5.1.
In consequence eclipse JavaEE projects targeting Glassfish 5.1 don't have a correct build classpath (most of the javaEE api jar are missing...)
I guess someone should modify the GlassFishInstall.java file
Re: Problems with glassfish 5.1
Submitted by Stephane Talbot on Tue, 04/09/2019 - 08:32
In reply to Problems with glassfish 5.1 by Stephane Talbot
Classpath problem has been corrected in plugin the last version (1.0.1)
GF 5 support
Submitted by Prateek Tripathi on Tue, 01/08/2019 - 01:04
Hi,
I don't see GF 5 support available in eclipse.Please let me know when would it be available or is there any work around ?
Re: GF 5 support
Submitted by Danny Ju on Thu, 01/31/2019 - 00:42
In reply to GF 5 support by Prateek Tripathi
Glassfish 5 support is availale in latest release, which can be downloaded at:
https://projects.eclipse.org/projects/webtools.glassfish-tools
Re: GF 5 support
Submitted by Peter MOUEZA on Wed, 01/29/2020 - 13:50
In reply to GF 5 support by Prateek Tripathi
Idem
glassfish tools for glassfish 2-1
Submitted by Shimon Doodkin on Sun, 11/04/2018 - 04:55
found there is oracle archive for bundles of all Oracle tools for eclipse.
the last version that supports glassfish 2.1 - is 12.1.1.2.1 - March 2013.
http*s://www.oracle*.com/technetwork/devel*oper-tools/eclipse/downl*oads/oepe-ar…
remove star from url
I downloaded oepe-12.1.1.2.1-kepler-repository.zip then in to the new version of eclipse 2018-09 - 4.9 I installed from the repository only glass fish tools - and it worked
Im trying to add the plugin
Submitted by Maayke Wellink on Mon, 07/30/2018 - 11:25
Im trying to add the plugin in eclipse photon, but I got an error: "the following solutions are not available: Glassfish Tools" and I dont know what is going wrong
Re: Im trying to add the plugin
Submitted by Shawn Qiu on Sat, 09/22/2018 - 22:09
In reply to Im trying to add the plugin by Maayke Wellink
I met the same problem too! Are there any solutions?
Re: Im trying to add the plugin
Submitted by Alessandro Volcich on Tue, 10/23/2018 - 18:53
In reply to Im trying to add the plugin by Maayke Wellink
I'm having the same problem. Quits unexpectedly. I'm using Eclipse for Java EE 4.9
Please troubleshoot!
Payara 4.1.173+
Submitted by Thomas Kernstock on Tue, 11/21/2017 - 12:16
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.
br
Thomas
Plugin does not work on Java 9
Submitted by Victor Orozco on Tue, 11/07/2017 - 15:55
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.
Re: Plugin does not work on Java 9
Submitted by Konstantin Kom… on Wed, 11/08/2017 - 12:42
In reply to Plugin does not work on Java 9 by Victor Orozco
Thanks for the problem report. We will investigate this issue.
Re: Plugin does not work on Java 9
Submitted by Joaquin Gayoso… on Mon, 02/26/2018 - 12:08
In reply to Plugin does not work on Java 9 by Victor Orozco
I have the same problema as you. I can't log my glassfish.
Glassfish 5 Support
Submitted by Florian Frech on Thu, 10/05/2017 - 06:42
Will there be support for Glassfish 5 in the future.
Re: Glassfish 5 Support
Submitted by Konstantin Kom… on Wed, 11/08/2017 - 12:43
In reply to Glassfish 5 Support by Florian Frech
Yes, GF 5 support is coming, but there is no concrete timeline that we can share at the moment.
Re: Re: Glassfish 5 Support
Submitted by Alexander Salvanos on Thu, 11/16/2017 - 05:26
In reply to Re: Glassfish 5 Support by Konstantin Kom…
Hello Konstantin,
how are things going. When will you have a timeline? Is it possible to get preliminary versions?
Best Regards,
Alex
No Docker-Support
Submitted by Oliver Lippert on Fri, 05/05/2017 - 03:56
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
Not listed in Sever after installation
Submitted by Snehashish Panigrahi on Mon, 03/20/2017 - 14:34
VM is pointing to jre8. Still GlassFish server not appearing.
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/../jre/lib/server/libjvm.dylib
Problem with Mars2 JDK7
Submitted by Robin Luo on Thu, 05/05/2016 - 23:06
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.
GlassFish Tools for all
Submitted by Konstantin Kom… on Mon, 05/09/2016 - 12:16
In reply to Problem with Mars2 JDK7 by Robin Luo
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.
Problem with Glassfish tools installation
Submitted by Alejandro Guerrero on Wed, 03/23/2016 - 16:49
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,oracle.eclipse.tools.glassfish,8.6.1.201603011333
No repository found containing: org.eclipse.update.feature,oracle.eclipse.tools.glassfish,8.6.1.201603011333
No repository found containing: osgi.bundle,oracle.eclipse.tools.glassfish.ui,8.6.1.201603011333
No repository found containing: osgi.bundle,oracle.eclipse.tools.javaee.doc.integration,8.6.1.201603011333
No repository found containing: osgi.bundle,oracle.eclipse.tools.util,8.6.1.201603011333
No repository found containing: osgi.bundle,oracle.eclipse.tools.util.jver,8.6.1.201603011333
someone else has this problem ?
Problem with Glassfish tools installation
Submitted by Mario Crippa on Sun, 03/27/2016 - 09:57
In reply to Problem with Glassfish tools installation by Alejandro Guerrero
Same problem here, with Mars.2 Release (4.5.2).
I was able to install
Submitted by Konstantin Kom… on Tue, 03/29/2016 - 15:33
In reply to Problem with Glassfish tools installation by Alejandro Guerrero
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.
Installation is working
Submitted by Joerg Arndt on Sat, 01/30/2016 - 16:10
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?
Adapter for Mars
Submitted by gbarnard Mising name on Tue, 12/15/2015 - 15:10
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!
Could you post details of
Submitted by Konstantin Kom… on Thu, 12/17/2015 - 10:29
In reply to Adapter for Mars by gbarnard Mising name
Could you post details of issues you are running into on the support forum? GlassFish 4.1 is definitely supported.
https://community.oracle.com/community/java/java_development_tools/appl…
problematic
Submitted by ebuzer taha kanat on Sun, 07/12/2015 - 20:32
just a waste of time