Why do I not have GlassFish option on eclipse? - eclipse

I am trying to get GlassFish server working on my Eclipse Luna (with WTP installed).
However, I do not have a GlassFish Server option in the Download Additional Server Adapters there:
Also, when I try to download a Mojarra library for my JSF project, I don't have an option to install GlassFish either:
How should I install GlassFish server and tools on my Eclipse Luna?

You should install this plugin. Brought up by a simple google search of glassfish plugin eclipse luna

I was facing same problem and found below steps as the solution by installing pulgin..hope this will help:
install Oracle Enterprise Pack for Eclipse (OEPE) from eclipse market place which includes Glassfish support for eclipse.
And remember that when you are installing J2EE SDK you will get the Glassfish in it. you don't need it separately.
And eclipse required plugins to be installed for glasssfish.
Instructions for installing Plugins:
Open Help menu > select Eclipse Market Place.
Write OEPE in search box > select Oracle Enterprise Pack for Eclipse from the List and Press Install button.
After installing this plugins when you choose from server, GlassFish server option will automatically be in the list if you have installed J2ee jdk.

Change your jdk version to jdk8.. it worked for me when I upgraded to 8.

Related

Cannot install Glassfish tools in Eclipse Photon / Eclipse IDE

Eclipse cannot install glassfish tools. under Oracle folder of server there is only options for Webllogic and cloud, The glassfish option appears only ONE time whe I first tried to install it. an after it no longer shows up
I have tried to remove eclipse an re-extartc it again but the same problem still occurs. What's the problem here? does Anyboy have installed glassfish tools on Phtoton successfully?
Go to Help > Install New Software...
Add the GlassFish Tools Update Site
http://download.eclipse.org/glassfish-tools/1.0.0/repository
as repository (or add the URL under Work with: directly) and install the tools via the wizard.
It is a bug in the new eclips. Try eclipse neon instead of your current eclipse and it will work
this will work for Eclips lastest version up to this point:
1-first go to : https://projects.eclipse.org/projects/webtools.glassfish-tools/downloads
2-Install Eclipse Sapphire: https://download.eclipse.org/sapphire/9.1.1/repository/
3-then go to : https://download.eclipse.org/glassfish-tools/1.0.1/repository/
4-copy URL link above.
5-open your eclips : go to help > install new software
6-paste the link that you copied in "Work with" text field and then press ENTER
7-then click on next and follow installation.( your need to restart your eclips after finishing installation )
8-enjoy buddy.
Download the sapphire .zip plugin and install it to eclipse
http://mirrors.xmission.com/eclipse/sapphire/9.1.1/sapphire-repository-9.1.1.zip
Download the glassfish .zip plugin and install it in to eclipse
https://download.eclipse.org/glassfish-tools/1.0.1/gf-tools-repository-1.0.1.201904090220.zip
Download the Glassfish server and add it as a new server to eclipse
http://mirrors.xmission.com/eclipse/glassfish/glassfish-5.1.0.zip
I've tried with Eclipse 2021-03, but it doesn't work.
It seems to be working with Eclipse 2020-12.
Instructions can be found here (including the right Eclipse version): https://projects.eclipse.org/projects/webtools.glassfish-tools/downloads
Hope it can be of some help.
Go to Help-> Install New Software -> Add..
Add this URL to Location, http://download.eclipse.org/glassfish-tools/1.0.0/repository .
Add a Name and proceed
Eclipse GlassFish Tools is archived. The project become inactive and you can not use for new version of Eclipse IDE. You can you Payara Tools instead:
Payara Server is an open-source application server derived from GlassFish Server Open Source Edition, so you can use it for Glassfish as well.
Follow These steps:
Find Payara Tools in Eclipse Marketplace...
When create new server choose payara and in configuration of Payara location add Glassfish server location instead:

Glassfish Tools plugin for Eclipse Luna SR2 not working

I always install Glassfish Tools using Eclipse Marketplace or just downloading additional adapters in Eclipse Servers > New > Server.
For some reason, when moving from Eclipse Luna SR1 to SR2, the new plugin doesn't install the adapter (the "New Server" window doesn't shows Glassfish as an option), and when trying to manually download the Glassfish adapter, clicking at Download additional server adapters..., the Glassfish adapter is not shown.
Is there any bug in this version?
Something has changed in Oracle that the plugin is not available?
Make sure that you are running Eclipse with Java 8. The latest version of GF Tools for Eclipse requires Java 8 to run. You can still compile your projects with an earlier version of Java, if that's necessary.
To check the version of Java that you are running, go to Help -> About -> Installation Details -> Configuration.
To force Eclipse to use a particular JRE install, edit eclipse.ini file and add the following two lines at the start of the file:
-vm
[path-to-jre]

Uninstalling Oracle WebLogic plugin from Eclipse Galileo

I believe that installing the Eclipse plugin for WebLogic changes the Eclipse behavior somewhat based on my experience with SSL handshake errors due to untrusted certs. I am trying to uninstall the Oracle WebLogic plugin from my Galileo installation. Here is the problem:
I see the Oracle WebLogic plugins and features when i click on help->InstallNewSoftware->Already Installed in the tabs named "plug-ins" and "features".
Those two tabs do not have the uninstall option/button at the bottom, but I do not see any listing for Oracle Enterprise and/or WebLogic plugin in the 'installed software' tab. This is the only place from where I can safely uninstall the plugin instead of just manually removing the plugin and features from the eclipse corresponding folders.
Is there some other entity managing the downloads from Oracle? is anyone else trying to do the same and finding similar problems? if you have any hints/pointers that'll be great -- Thanks.
I just deleted the plugins and features for Oracle tools and WebLogic included, from the corresponding Eclipse folders, and started eclipse with -clean. Everything is executing fine so far.
I have installed the Oracle WebLogic Server Tools in the following way:
In the Servers view "New Server"->"Download additional server adapters"->"Oracle WebLogic Server Tools". Then when I want to uninstall I cannot find it in the installed plugin or features list, just like you.
Then I tried to search "Oracle WebLogic Server Tools" in Eclipse Marketplace, I can find "Oracle WebLogic Server Tools" with the option "Uninstall".
I believe this way of uninstallation is safe.

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?
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!
Eclipse Helios 3.6 M6
With the Eclipse 3.6 M6 Java EE bundle, if you try to install the GlassFish v3 server adapter via the New Server dialog and then click on the Download Additional server adapters, Eclipse contacts remote sites but fail at showing any adapter:
This issue is actually captured by Bug 305636. Using the Update Site instead of the New Server Wizard allows to workaround the issue:
Install a new Eclipse Helios M6 (get the Eclipse IDE for Java EE Developers package).
Install the latest GlassFish server adapter, today that is 1.0.52:
Open Help > Install New Software
Add the GlassFish update site URL: https://ajax.dev.java.net/eclipse
Install the GlassFish Java EE 5, Java EE 6 plugin
Restart when prompted
Open the New > Server wizard and add your GlassFish v3 Java EE 6 server.
I get the following when I try this:
Cannot complete the install because one or more required items could not be found.
Software being installed: GlassFish Java EE 5, Java EE 6 1.0.54 (com.sun.enterprise.jst.server.sunappsrv.feature.feature.group 1.0.54)
Missing requirement: GlassFish Java EE 5, Java EE 6 1.0.54 (com.sun.enterprise.jst.server.sunappsrv.feature.feature.group 1.0.54) requires 'org.eclipse.platform.feature.group [3.5.0,3.6.0)' but it could not be found
Eclipse Helios already have the correct source to download the glassfish plugin but, the site is not available yet.
The site will be available at the end of july according to this https://bugs.eclipse.org/bugs/show_bug.cgi?id=312912
You can use a development update site to install a rc version of the glassfish plugin for helios witch is:
http://download.java.net/glassfish/eclipse/helios
Add this to your update sites and then uncheck the option "Group items by category" and you will see and be able to install the Glassfish Plugin in Helios
The above URL did not work for me (I am using final release of Helios).
I had to do
help -> eclipse market place -> [then select glassfish plugin from the 'search' tab]
On the new Eclipse (JUNO):
Help --> Install New Software...
Then, insert http://download.java.net/glassfish/eclipse/juno inside the URL field, and press ENTER.

How to add GlassFish Server to Eclipse Oxygen?

I am using Eclipse Oxygen for Java EE. I have installed the Java EE 7 Web Profile SDK Update 3, that includes GlassFish Open Source Edition Web Profile 4.1.2.
When I do File >> New >> Server, the GlassFish does not appear on the server type list.
I already have seen this answer to this question, but it didn't help me because in Eclipse Oxygen I don't know where is the option to download additional server adapters.
How can I add GlassFish to Eclipse Oxygen?
I solved this problem by just installing GlassFish Tools through Marketplace.
What you have to do is drag the Install button in this link GlassFish Tools
and drop in your workspace, it may take a few minutes but after reboot your eclipse you will be able to add a GlassFish server