
Leading the Way: Payara Platform Community 7 Beta Now Fully Jakarta EE 11 Certified
We’re excited to announce that Payara Platform Community 7 Beta application server is now fully certified as Jakarta EE 11 […]
For a long time Payara, a derivative of GlassFish, could be used in Eclipse using the Oracle GlassFish Tools. With the release of Payara 5, a few problems prevented the plug-in from recognizing Payara 5, meaning Payara 5 couldn’t really be used in Eclipse. A new set of tools again makes it possible to use Payara 5 with Eclipse, along with other improvements.
Oracle recently donated the GlassFish Tools to the Eclipse Foundation, and based on those tools, we built our own version – aptly called Payara Tools. The initial development version is similar to GlassFish Tools but Payara Tools do have a few small improvements already. Naturally, it supports Payara 5, but it now also lets you select either the home folder where Payara Server was unzipped (e.g. “payara5”), or as in GlassFish Tools, the Glassfish subfolder (e.g. “payara5/glassfish”).
A somewhat bigger improvement is that it allows a starting and hanging server to be stopped. In GlassFish Tools, the stop button in the progress view was there, but it wasn’t actually implemented in code, so pressing it would not do anything. One had to wait for the startup timeout to elapse. Payara Tools has implemented the code needed to stop a server while starting. Additionally, Payara Tools also lets Eclipse detect sooner that a server instance has been stopped when using the stop button in the server view. In comparison, GlassFish Tools would let the so-called server status job detect this, which only runs every 5 seconds. In Payara Tools, this check is pretty much instant.
Finally, the plug-in mostly uses hi-dpi icons where supported by Eclipse, so people with hi-dpi screens (for instance, retina screens on macOS) will get to see icons that look quite sharp compared to the older ones.
It must be noted that this is a first cut development release and no exhaustive testing has been done yet. Also, the first cut only has a couple of improvements. The plan is to add more Payara specifics features in the first stable release, such as:
How to Install Payara Tools
The current development build can be installed using the following update URL and the instructions outlined below:
Once the repository is loaded, the available features should show up in the table.
Select the desired features and follow the wizard to install them.
The full instructions for installation can be read here as well: https://cdn.rawgit.com/payara/Payara_PatchedProjects/eclipse/payaratools/oxygen/development/
Known Issues with the Plug-in
Please be aware that Payara Server 5.181 as downloaded from the download page may not work as intended when initially started but will work fine the second time. This is already fixed in the latest snapshot builds which can be found at https://www.payara.fish/software/downloads/all-downloads/ .
The plug-in currently may not work correctly if the Payara Platform is installed on Windows using a path that has a space in it. Avoid problems by installing the Payara Platform in a path that doesn’t have a space in it.
{{cta(‘4c7626f5-1e53-418e-90c8-add6e4af19c9′,’justifycenter’)}}
Share:
We’re excited to announce that Payara Platform Community 7 Beta application server is now fully certified as Jakarta EE 11 […]
Enterprise Java applications power global commerce, healthcare, government and countless other industries. These systems must be scalable, secure and […]
As a Java developer, you may not control runtime support contracts, but what you can do is help your team stay […]
Thanks, the plugin is working good in Eclipse Oxygen 3 (4.7.3)
There is still something that is not good related JSF and Eclipse. You can’t choose for JSF 2.3 in the project facets. The last number is 2.2 while the dynamic web module is 4.0
Hi,
The issue with lacking support for JSF 2.3 is not related to the Payara Server plugin but to the general support for Java EE 8 in Eclipse IDE. This needs to be fixed in Eclipse IDE Web Tools Platform project. A new version of Eclipse IDE called Photon has been released in June but I don’t think that Java EE 8 support has been improved in that release. We can’t fix this within the Payara Server plugin itself. We would have to join the Eclipse Web Tools Platform project and contribute to it, for which we don’t have enough experience and workforce currently.
>The last number is 2.2 while the dynamic web module is 4.0
Thanks for the report. I’ll take a look at that before long. I personally use maven projects most of the time so that’s why I might have missed it.
It is not taking JDK10 but takes JDK8. Is there a way to use JDK10 with Payara5
Payara itself is at the moment unfortunately not officially JDK10 compatible. So this isn’t an issue with the Payara Tools connector, but with Payara itself. For questions or requests about JDK 10 it’s best to use the GitHub issues https://github.com/payara/Payara or the forum: https://groups.google.com/forum/#!forum/payara-forum
I have installed the Payara plugins from the market place. When I create the Payara Server, I receive the message ” Specified location is not a valid domain.” for the Domain path (no spaces in the path) C:…payara5.181payara5glassfishdomainsdomain1.
I think that my problems come from the version 10 of Java because asadmin is not working (NullPointerException).
Your link is broken: https://raw.githubusercontent.com/payara/Payara_PatchedProjects/eclipse/payaratools/oxygen/development
The plugin won’t install using Eclipse Marketplace either.
Hi Adam, Open Eclipse and select the Install New Software menu item under the Help menu.
Copy and paste the https://raw.githubusercontent.com/payara/Payara_PatchedProjects/eclipse/payaratools/oxygen/development URL into the Work with text box, then press ENTER.