Glassfish 4(development build) + eclipse juno - eclipse

I am trying some of the new features which are only available in Glassfish4(development build).
My current eclipse plugin does not allow me to connect to glassfish4 - there's no 4.x version in the list.
Is there any way I can make it work? I would like to deploy/start the app from eclipse.

If you are using an Eclipse that is older than Juno... you cannot work with GlassFish 4.
If you have Juno, you can install a plugin that allows you to register GlassFish 4 server run-times. BE SURE TO READ https://blogs.oracle.com/piotrik/entry/new_version_of_glassfish_eclipse before you attempt to update your current GlassFish plugin. If you do not have a GlassFish plugin installed in Juno, you can probably ignore almost all of the content of that page.
If you have Kepler M6 installed, you can try out the GlassFish server adapter (GFSA) and the GlassFish 4 run-time plugin (GF4RTP). The GFSA is available here: http://download.java.net/glassfish/eclipse/kepler
The latest update of the GFSA for Kepler should play nicely with the Java EE 7 features that got integrated into Kepler's milestone 6 release.
The GF4RTP is available here:
http://download.java.net/glassfish/eclipse/kepler/runtime
NOTE: all the bits available under download.java.net/glassfish/eclipse/* are developer stream bits. They are not 'production quality' and are being made available to get feedback from users willing to give them a try. If you have to do something critical, you may want to wait for bits that will be integrated into the Oracle Enterprise Pack for Eclipse.

Related

Eclipse kepler SR 2 and Websphere

I have installed webspehere Application Server on my machine.
I have also installed Eclipse kepler SR 2.
I want to create a websphere profile, however in Eclipse I don't see 'Websphere' under Windows->Preferences->Servers-> ?
I am not sure if I am missing any plugin?
You need to download WebSphere Developer Tools to your Eclipse. WDT support 3 latest versions of Eclipse, so at this moment (17.10) - Mars, Neon and Oxygen, although it usually works with older also. You will need Eclipse for Java EE developers.
The easiest way is either start from this page Download Liberty in Eclipse or just find WDT via Eclipse Marketplace.
If you plan to develop for traditional WebSphere you will find server tools here - WebSphere Developer Tools for Eclipse Oxygen.

Eclipse Luna + WildFly 9

Can I use Eclipse Luna with WildFly 9 server ? Or should I move to Eclipse Mars ? I'm asking because I can't create a WildFly 9 server on my Eclipse but I can create a WildFly 8 server. I checked my Jboss Tools plugin which seems to be up to date (version 4.2.6). On Eclipse Mars a 4.3.0 version is available.
As you see below links, all informations show JBoss Tools 4.3.0 Final release is not appropriate for Eclipse Luna.
Check JBoss Tools column on JBoss Tools Download Overview.
Check installation part in Blog Announcement of JBoss Tools for Eclipse Mars.
Check server section on Documentation of JBoss Tools 4.3.0 Final.
If there is no any policy or another, moving Eclipse Mars is better choice to work stable and prevent future conflicts. Lastly, I have tried to download the bundle and install it manually but process is blocked by Eclipse Luna.
The JBoss Tools Download site claims that the current 4.3 release can be installed into Eclipse Luna.
You may need to download the bundle and install it manually.
That said, if you are not constrained by some policy or another then you should consider upgrading to Eclipse Mars.

My eclipse plugin is showing on eclipse marketplace web site, but not in eclipse marketplace client

I uploaded a plugin I developped to eclipse marketplace platform, following the steps described at https://marketplace.eclipse.org/quickstart.
Now I can find my plugin on their web site (https://marketplace.eclipse.org), and I can install it from there (by dragging and dropping the install button).
The problem is I can't find it using eclipse marketplace client (the one inside eclipse, that opens using Help / Eclipse Marketplace...).
What could be wrong...? Maybe the development stage (now beta) ? Maybe eclipse compatible versions have to be specified ? (I said luna but maybe there is a format or something)
I have not put links to my plugin because I wasn't sure about SO policy. I can put them / send them by mail if it can be helpful.
Thanks in advance !
Well it works now !
I changed several things so I'm not sure which one was the good one :
- Changed development stage from "alpha" to "beta"
- Added a version for the plugin ("1.1.0", this is just a text field)
- Added a version for eclipse ("Luna", this is just a text field)
I think the missing information was the Eclipse version. Without that, the Marketplace Client in your Eclipse install doesn't know if the connector is compatible with that version of Eclipse.
For example, the JBoss Tools and Red Hat Developer Studio marketplace connectors have several different versions of tooling in it, each targeting a different version of Eclipse.
4.5 / 11 -> Eclipse Oxygen (4.7)
4.4 / 10 -> Eclipse Neon (4.6)
4.3 / 9 -> Eclipse Mars (4.4)
4.2 / 8 -> Eclipse Luna (4.3)
So, depending on the version of Eclipse you're using, you'll get a different version of tooling from the connector, as it links to a different update site for each version.

How to deploy on JBoss AS 7 from Eclipse Juno?

I'm using Eclipse Juno and want to test my Java web app in JBoss AS 7. How do I configure Eclipse so that it starts JBoss AS 7 and deploys the war? Also remote debugging should work. It seems I can't use JBoss Tools as they are only released for the previous Eclipse versions (Indigo and Helios).
Any pointers?
It seems that the current stable releases of JBoss Tools supports Eclipse Indigo (3.7.2) and Helios (3.6.x) as detailed here :
Is there a Beta Update site for Juno ?
This page has the details of the update site for Juno :
Instructions will be posted after the first Juno-compatible milestone
is available.
Until then, just point your Eclipse 4.2 (Juno) installation at this
site to install the latest nightly build. Note that there is no
guarantee of quality with a nightly, nor do we guarantee it won't set
your computer on fire.
Update site : JBoss Tools - Core - Nightly Build Update Site
It bears repeating, that the above is unstable at the moment.
Stability of JBoss Tools Beta for Juno ?
From this page:
Since the first version of Eclipse Juno is arriving soon it is worth
mentioning that JBoss Tools from its updatesite can be installed on
top of Juno.
It is though not guaranteed everything works, we know that especially
Hibernate Dali/JPT integration have issues since here the API has
changed greatly.
But if you are a Juno early-adopter then do please try run JBoss Tools
on it and if you find issues let us know in the forum or on JIRA.
Also, this might be of interest :
Our latest Beta, soon coming CR1 runs on Eclipse Juno (3.8/4.2) except for the Eclipse Dali/JPA integration
I use Eclipse Juno and I installed Jboss Tool for helios version.
Works like a charm.
This stable version of JBoss Tools 4.0.0 works well with Eclipse 4.2 (Juno).
Steps :
Add this URL 'JBoss Tools - Core - Stable Release Update Site ' to site URL's
(Help > Install New Software > Add )
Select the features to install, or click the Select All button.
Click Next, agree to the license terms, and install.
Note : You can also download JBoss Tools as individual zips for offline installation.
Refer :JBoss Tools 4.0.1.Final Stable Release
Please find the below steps to add JBoss Tools for Eclipse Juno
Go to Help -> Eclipse Marketplace
Type JBoss Tools in the Find text box
You can see the JBoss Tools (Juno) icon in the listed items with install button
Click on the install button
Restart your Eclipse to reflect.

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.