Reputation: 465
We have a java application on netbeans that's using Glassfish server 4.1. We recently conducted a scan we got recommendation that we should update Glassfish server to the latest version because v4.1 has vulnerability issues. I download Glassfish server 5.0 which in zip, I unzipped and navigate inside the folders. I'am able to reach the admin console localhost:4848
but when I tried adding Glassfish server from tools in netbeans it tells me that not a valid Glassfish server installation. Checked everywhere online couldn't find a solution to this, I don't know how to go about this, could anybody help please???
Upvotes: 0
Views: 15345
Reputation: 17363
Rather than research and guess what your specific problem might be, it is far easier just to start over since the entire process of downloading and configuring Glassfish 5 in NetBeans 8.2 only takes a couple of minutes.
Step 1:
Select GlassFish Server, enter a suitable name in the Name field and click Next >
Step 2
Navigate to your existing Glassfish 5 installation and select the top level directory, and click Choose.
Step 3
Step 4
Step 5
Now open Tools > Servers and select the server you just added. The screen should look similar to this:
I just tried this and it worked fine using NetBeans 8.2, Oracle Glassfish 5 and JDK 8.
Upvotes: 2