When adding a Glassfish Server, the following shows
It seems to be a new problem since I can't find anyone else with the same issue. Anyone else with this problem?
It might be because you have downloaded the Netbeans without the Glassfish server. You can get the Netbeans with the Glassfish server from this link.
you can easily resolve this problem by changing the port number of glassfish. Go to glassfich configuration File domain. xml which is located under GlassFish_Server\glassfish\domains\domain1\config . replace 8080 by 9090 for example, then save file and run glassfish again.
Follow these instructions to add the GlassFish Server to NetBeans IDE. Select Tools -> Servers to open the Servers dialog. Click Add Server. Under Choose Server, select GlassFish v3 and click Next. Under Server Location, browse the location of your GlassFish Server installation and click Next. Under Domain Location, select Register Local Domain.
Under Choose Server, select GlassFish v3 and click Next. Under Server Location, browse the location of your GlassFish Server installation and click Next. Under Domain Location, select Register Local Domain. Click Finish. Previous: To Install NetBeans IDE without GlassFish Server
However, there is a simple workaround: First, download Glassfish directly from the GlassFish download page. Then specify the folder containing the download of GlassFish as the Installation Location in the Add Server Instance screen. And avoid this issue. For example "java EE bundle" or "All bundle"
Right-click on the project name Sales Processing System. Select the option Deploy from the drop-down menu. After this, the GlassFish Server will start (if it has not started already), and the application will be deployed: How it works... NetBeans starts the server and deploys the application in the build\web folder of the project.
Updated 4/19/18:
I raised a bug report for this issue: NETBEANS-997 Unable to download and create GlassFish server. It is fixed in NetBeans 11.0.
Also see NETBEANS-997 Fix for unable to download and create GlassFish server / support for installing GF 4.1.2 & GF 5.0
(End of update)
I can replicate your problem when downloading GlassFish as part of the process of adding the GlassFish server. In my case, this is what happened:
So this looks like a bug in NetBeans: if there is an error during the process of downloading GlassFish then NetBeans renames your Installation Location folder, and incorrectly reports Download & Install completed....
In your case, check to see whether NetBeans renamed your Installation Location folder as E:Users\Wouter\Glassfish_Server1.
Since this issue is occurring on Oracle's 8.x version of NetBeans, and NetBeans has now been handed over to Apache, I doubt that the problem will be fixed. However, there is a simple workaround:
Another options is install a different Netbeans 8.2 bundle here
And avoid this issue. For example "java EE bundle" or "All bundle"
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