This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241204 - cannot start GlassFish from NB 8.0, Windows XP
Summary: cannot start GlassFish from NB 8.0, Windows XP
Status: VERIFIED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 8.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-31 01:47 UTC by Ed888
Modified: 2014-02-17 05:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed888 2014-01-31 01:47:13 UTC
I tried the new NetBeans 8.0 Beta and the nightly build 20140123. I got the same issue - I cannot start GlassFish server 4.0 that is bundled with NB 8.0. I cannot start the old GlassFish 3.1.2.2 either that already installed with NB 7.3. This is from my Windows XP PC. I got a home PC running Windows 8.1. It appears working on Windows 8.1 with 64-bit JDK 7.

I understand that Windows XP (with SP3) is not GlassFish 4.0, or JEE 7 supported environment. But I haven't seen any document mentioned that XP is not NB 8.0 supported environment. Also the issue is I cannot start any GlassFish version (4.0 or 3.1.2.2) from NB 8.0. I believe it’s due to the same issue.

When I tested NB 8.0 from my Windows XP PC, I noticed that the GlassFish sever is actually started when I click "Start" server from NB. But even the GF is started and I can access admin console at 4848, as well as 8080 web page, the NB still pops up an error message saying "GlassFish 4.0 start failed. Please check the server admin user name and password properties. Also please check the server log file for other possible causes". There is no error in the server log at all. The server log entries are the same as the ones when GF is started successfully from NB 7.4.

Interesting! The issue is only found with NB 8.0 beta and one nightly build (20140123) I tried. GF 4.0 is working perfectly with NB 7.4 on a Windows XP pc. I even deleted the GF 4.0 that is shipped with NB 7.4 and then reinstalled GF 4.0 that is shipped with NB 8.0 beta or the nightly build 20140124. I CAN start, stop, deploy any version of GF 4.0, as well as GF 3.1.2.2 from NB 7.4 without any problem at all. I can change the admin password with asadmin utilities and use the new password to start, stop any version of GF 4.0 from NB 7.4.

Due to some reasons, I cannot get a Windows 7 or Windows 8 PC, probably in the next 12 months. So, I have to stick with NB 7.4 until the issue with NB 8.0 is resolved, or until I can get a new Windows 7, 8 PC.

As XP is not GF 4.0 supported environment, I understand that this may not be accepted as a defect. But I just hope it can be fixed if it won't take too much efforts. Also, ideally the new NB 8.0 should have backwards compatibility with old versions of GF, like GF 3.1.2.2. This is not working at the moment probably due to the same reason.
Comment 1 Ed888 2014-02-11 04:41:00 UTC
I found a workarround -

Go to Tools -> Options -> Proxy Settings, and tick "No Proxy". Then the server can start as per normal.

I found this while I am testing new jdbc data source. If I have either "Use System Proxy Settings" or "Manual Proxy Settings" ticked, I got error to connect an external jdbc data source, enven if I got "Testing Connection" of my proxy settings successful.

I saw some postings on the web about unchecking the "Use IDE's proxy setting" checkbox from server properties window. Tried that, no luck.
Comment 2 Ed888 2014-02-17 05:19:40 UTC
I noticed that I have IPv6 installed on my XP (with SP3) PC . Just uninstalled IPv6 completely (disable IPv6 doesn't help). Tested it again with "Use System Proxy Settings" and "Use IDE's proxy setting".

I can now start GF from NB 8.0 with all those different proxy setting. So, IPv6 on my XP pc is to blame.