I downloaded glassfish server from http://glassfish.java.net/downloads/3.1.2.2-final.html and installed in separately.
Now I am trying to add this in Netbeans. But it does not work. I did the below steps
Now it displays the error "Not a valid Glassfish server Installation".
I am new to Netbeans & Glassfish & now don't know how to continue. My glassfish server is running successfully at localhost:8181
Can someone please help?
I had this same issue and was able to fix it by following what was done in the video found here: http://happilyblogging.wordpress.com/2012/10/04/not-a-valid-glassfish-server-installation-netbeans/
Essentially, you must stop the gf3 server and rename the console-core-X.X.X.jar located in \glassfish3\glassfish\lib\install\applications__admingui\WEB-INF\lib to console-core-3.1.2.jar
There is one simpler workaround. Just change the name of the jar in glassfish installation (c:\glassfish3\glassfish\lib\install\applications__admingui\WEB-INF\lib\console-core-3.1.2.jar) Then our server 3.1.2.x will be recognized by the netbeans as version 3.1.2 ;-) Works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With