I just downloaded the Glassfish version 3.1.2, this is not yet an official release.
I need this version because my web application is using websockets.
The problem I have now is with the Glassfish plugin for eclipse, he is not recognizing the new Glassfish Version.
With the Glassfish Version 3.1.1 in Eclipse everything works fine.
I am using Oracle Glassfish Server Tools (Eclipse plugin ) version 2.0.0.20111104904 from Oracle(last version I could download).
If I try to add a new Server Runtime Environment in Eclipse for the Glassfish 3.1.2 I get the error:
There is no valid GlassFish installation in the specified directory...
I need everything to be able to debug my web application in Eclipse.
Anyone know what the plugin is checking ?
There is any change to trick the plugin so will run with Glashfish 3.1.2 too ?
Use the plugin from here (for Indigo): http://dlc.sun.com.edgesuite.net/glassfish/eclipse/indigo/
The plugin for Helios does not support 3.1.2.
If you have to live with the bits the are blessed by Oracle or keep using Helios, then you can try the following trick:
create a couple files....
${glassfish.rootdirectory}/modules/jsf-impl.jar and
${glassfish.rootdirectory}/modules/jstl-impl.jar
These files were renamed between 3.1.1 and 3.1.2...
You may be able to get the 3.1.2 to mascarade as 3.1.1 by just
creating empty files with the above names. If that doesn't do it,
make copies of the following files should do it.
The new name for jstl-impl.jar is
gf312/glassfish/modules/javax.servlet.jsp.jstl.jar
The new name for jsf-impl.jar is
gf312/glassfish/modules/javax.faces.jar.
If you are on Helios, you can try the following:
uninstall the Glassfish 3.1.1 plugin (and all associated runtimes and servers).
go to "Install new software" and type in (for the URL): http://download.java.net/glassfish/eclipse/indigo
Though the plugin says indigo, it is also working for me in Helios. And it gives options for both Glassfish 3.1.1 and 3.1.2 servers (pre and post name changes).
Note that it downloads Glassfish itself, and installs an internal server. You can delete that one, and install your own server ("New server...") if you have an existing server you want to work with (as I did).
HTH.
Related
Developing a JIRA Plugin and would like to use the QuickReload feature. However I am using the 5.0.x SDK and that uses Java 7. QuickReload appears to need Java 8. Is there a way to get this working for java 7?
I have successfully used QuickReload with Java 7 on JIRA standalone releases as far back as JIRA 6.1 (without regard to the Plugin SDK version in use).
To get this to work, you can download the QuickReload sources, build it as a JAR with atlas-mvn package, and then upload the JAR as a plugin to JIRA. Then add a quickreload.properties to the root of your JIRA install directory and everything should work as expected.
(I suppose it's possible that newer versions of quickreload might require a higher version of Java, but this worked fine as of commit a8e25f30fbd.)
I have Intellij IDEA and I cannot connect it to Glassfish 4.
When I try to Debug, the error message that I get is:
Artifact exploded: Server is not connected. Deploy is not available.
I've started Intellij using JDK 8.
I don't know what can I do to be able to debug directly from Intellij.
I have set up the Glassfish 4 Server in IDEA and put the domain URL and the credentials. Then I've set the war as exploded and set the URL to localhost:8082
It's working with Glassfish 3.
Glassfish 4 is the problem.
I have the last version, 4.1.1, of Glassfish
Here is what I did to get a simple Java web application running in Glassfish 4.1.1 inside IntelliJ 15.0.4 with ultimate license running on JDK 1.8 on a Mac.
Install Maven brew install maven
Install Glassfish brew install glassfish
Create a simple web application through Maven in shell
cd
mvn archetype:generate -DgroupId=so36290127-org -DartifactId=so36290127-app -DarchetypeArtifactId=maven-archetype-webapp
cd so36290127-app
mvn install
Import so36290127-app into IntelliJ as a Maven project. File, New, Project from Existing Sources, choose so36290127-app/pom.xml. Accept all the defaults
In Intellij, go to Run, Edit Configurations
Click +
Choose "more...", GlassFish Server, Local
Click Configure button
Enter the path to the GlassFish libexec directoy, /usr/local/opt/glassfish/libexec in my case.
Set Server Domain to default domain1
Click Deployment
Click +, choose Artifact
Choose so36290127-app:war exploded
Click Ok
Go to Run, Debug and then Hello, World! opens in my browser
Thank you Kirby,
Actually is still not working.
I am using IDEA 14.1.5 on a Windows 8 64-bit
Glassfish version is 4.1.1
I put the JDK / JRE 8 in the Glassfish configuration in IDEA.
I also set IDEA_JDK to point to Java JDK 8 in System Environment variables.
Do you think that I should switch to IDEA 15 and try again?
Or there are some special configuration that have to be done on the Glassfish side?
Best regards,
When I add a new Application Server IntelliJ, pointing to the home path of the Wildfly 9.0.0.Final, IntelliJ shows me this warning:
"The selected directory is not a valid Jboss home"
Is this a question of Wildfly configuration someone from Wildfly team must fix or it is a question of too old IntelliJ or maybe the 'Jboss integration plugin' needs to be updated?
This is a a result of too old version of Intellij IDEA.
Or as you point out jboss integration plugin, which is bundled with IDEA itself.
There is also a trick to make IDEA belive it still supports newer version of WildFly.
We had it in place for some time in WildFly distro but was later removed as IDEA got official support for wildfly.
in short, this is the workaround https://github.com/wildfly/wildfly/blob/8.x/build/build.xml#L1551
all you need to do is to go to WILDFLY_HOME/modules/system/layers/base/org/jboss/as/version/main/ folder
and make copy of wildfly-version-xx.jar and rename the copy to jboss-as-version-xx.jar
where xx is the version of the wildfly.
Somehow, at some point, I installed this version of the Eclipse Glassfish Plugin for Juno:
Oracle GlassFish Server Tools 2.0.1.201207240829
I'm trying to help a co-worker install it too. But the latest version from the marketplace is
Oracle GlassFish Server Tools 2.0.1.201201241920
I think I must have gotten it from here which is referenced in this accepted anser but that site is now dead. That site is also referenced in this question
Does anyone know what the heck is going on with Eclipse Glassfish Plugin for Juno and Glassfish 3.1.2.2, and/or a different place from where we can get the version I seem to have?
Or else, tell me where I can report this problem to the team that maintains this plugin other than SO?
Oracle is currently migrating the GlassFish plugins - see
https://blogs.oracle.com/piotrik/entry/migration_of_eclipse_plugins_java
for details.
The old update site http://dlc.sun.com.edgesuite.net/glassfish/eclipse/juno/ is working again (despite appearing empty when you open the URL in your web browser).
I'd like to upgrade my Helios installation of Eclipse to Indigo. When I do, I get the following message:
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse IDE for Java EE Developers 1.4.2.20120213-0813 (epp.package.jee 1.4.2.20120213-0813)
Software currently installed: Oracle GlassFish Server Tools 1.6.1.201009290929 (oracle.eclipse.tools.helios.glassfish.feature.group 1.6.1.201009290929)
So my first thought was to simply uninstall GlassFish. For the life of me, I can't figure out how and where to go to do this. I went to Help->About Eclipse...->Installation Details. The only place that it looks like I can uninstall stuff is in the "Installed Software" tab. I do not see the Oracle Glassfish package anywhere. If I go to "Feature" or "Plug-ins", I can find it just fine, but there is no option to uninstall.
So my next thought was to upgrade Glassfish. So I put the indigo repo in there, but I still get the same message when trying to update. Any ideas?
There is no mechanism within Eclipse to permanently and physically uninstall a feature and its plug-ins. The process to physically and permanently remove an undesirable feature and its plug-ins is a manual process that should be done when Eclipse is not running. In order to do, you will have to manually remove the files there associated with the feature from the eclipse/features directory and its plug-ins from the eclipse/plugins directory.
D:\Softwares\eclipse-standard-kepler-R-win32\eclipse\plugins\eclipse\
-plugins
-features