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.
Created attachment 123404 [details] IDE log. GlassFish server does not start. To reproduce: - download http://download.java.net/glassfish/3.1.2.2/release/glassfish-3.1.2.2.zip - unzip it to C:\Users\jskrivanek\GlassFish_Server - start to create Java Web project - start to add unzipped GlassFish - it prints: GlassFish Server 3.1.2 is known to have serious bug in JAX-WS. This bug may cause NetBeans to stop responding. Click Next if you really want to register remote or custom local domains with broken server. - it is strange because it is the latest GlassFish. There is no info which version is OK - click Finish to add GlassFish - finish new project wizard - run project - it fails to start with message "GlassFish Server 3+ Server start failed. Cant create start process." (see attached messages log for details) Product Version: NetBeans IDE Dev (Build 201208220001) Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Moreover IDE asks for authorization when you start domain outside of IDE and try to expand GlassFish node.
can you attach the server log if it is available?
Server log is not available. It fails to create process.
It may be caused by some changes related to tooling SDK. What environment (OS, JDK, ...) did you use to test it? Version detection code in SDK does not check patch version so it sees 3.1.2.2 as 3.1.2 too. I'll fix this. We did a lot of changes related to Tooling SDK library in the module so I'm expecting some bugs to occur now.
That IDE authorization problem is an old issue of GF module because admin user/password is not persistent and there are no fields to register them in wizards. I know about it and it's in my TODO list for 7.3.
I tested this scenario on my Linux laptop with GF 3.1.2.2 and server started without any problems. So this looks like some windows related issue. Will give it another try on windows box.
changeset: 230806:1455b5371eec summary: Bug# 217228 - GlassFish Server 3.1.2 is known to have serious bug ... message is not shown for GF 3.1.2.2 Added code to distinguish 3.1.2 and 3.1.2.2 to display warning only with GF 3.1.2. Still working on reproducing startup issue.
*** Bug 217395 has been marked as a duplicate of this bug. ***
GlassFish Tooling SDK: ---------------------- changeset: 162:e5c32e72afd8 summary: Bug# 217228 - Removed wrong slash before .exe in windows java executable path builder. NetBeans: --------- changeset: 231004:bd752262d770 summary: Bug# 217228 - Removed wrong slash before .exe in windows java executable path builder.
Verified start (with and without debug) and stop actions on Windows machine. It seems to work fine now. Problem was typo in JDK binary path builder for windows platform where we accidentally added '\' before .exe suffix.
It works (except profiling) when you install IDE and GlassFish from installer. Original test case doesn't work because it is not possible to register GlassFish 3.1.2.2 (bug 217727).
Created attachment 125507 [details] PrtScn from NB 7.3 Beta - can't startup Glassfish 3.1.2.2 instance
It's not working. I just installed NB 7.3 Beta today and I've got the same warning. I just can't start glassfish server 3.1.2.2 from NB. If I start it using asadmin then NB recognizes that the server is running and uses it. I also tried to install a fresh standalone version of Glassfisj 3.1.2.2 and add it to NB but the result was the same as with the embedded version. Product Version: NetBeans IDE 7.3 Beta (Build 201210011125) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows 7 version 6.1 running on x86; Cp1252; en_us (nb) User directory: C:\Users\GeraldoLMR\AppData\Roaming\NetBeans\7.3beta Cache directory: C:\Users\GeraldoLMR\AppData\Local\NetBeans\Cache\7.3beta The same config on NB 7.2 is working perfectly.
It's NOT working. I got the same problem in NB 7.3 Beta, "Glassfish 3.1.2 server start failed. cant create start process". I tried uninstall & reinstall 3 times, got same error. (Windows XP, jdk 7, NB7.3 Beta)
I downloaded the latest Development version of NB 7, 10-6-2012. It's FIXED & WORKING! Thanks NB Team.
Can you please run NetBeans with full logging turned on? Add "-J-Dglassfish.level=0 -J-Dorg.glassfish.tools.ide.level=0" into netbeans_default_options in netbeans.conf This will show information about domain.xml passed arguments and also whole Java execution command will be there followed by server status checks.
Created attachment 128478 [details] could reproduce, logging set to FINEST for both NetBeans IDE and Glassfish Reproduced on: Windows 7 JDK 7 last NetBeans Dev Glassfish 3.1.2.2
FINEST [org.glassfish.tools.ide]: Java VM C:\Program Files\Java\jdk1.7.0\bin\java.exe executable version 0.0.0_0 This looks really crazy to me. I'll try to verify this scenario with last 7.3 dev build and JDK 7 to see what's returned as version in internal check.
It works for me in latest dev build. Please, try to reinstall JDK7 and try again with empty userdir Product Version: NetBeans IDE Dev (Build 201211280002) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b10 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Works for me in Win7, latest dev build (201211280002), tried both GF 3.1.2.2 installed together with NB and external GF 3.1.2. Using JDK7u9
Think in last case we can blame Java version test which was tested with Sun/Oracle Java VMs 6 and 7 but nobody knows how it works with other Java VM 6 and 7 compatible engines. GlassFish Tooling SDK: ---------------------- changeset: 384:c0df22aa8564 summary: Bug# 217228 - Java VM version test changed to try to recognize other Java VMs. GlassFish process will be started even if Java VM test fails.
NetBeans web-main: ------------------ changeset: 240851:faaf5c35dd4a summary: #217228 - Bug fix probe to trace GF Tooling SDK update. I would like to ask Jiri for another set of tests - start GlassFish under different OSes and JDKs to make sure I did not introduce any fatal regression.
Integrated into 'main-golden', will be available in build *201211300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/faaf5c35dd4a User: Tomas Kraus <TomasKraus@netbeans.org> Log: #217228 - Bug fix probe to trace GF Tooling SDK update.
Verified. Product Version: NetBeans IDE Dev (Build 201211300001) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b10 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Çözümü basit domaini silin ve yeniden domain oluşturun netbeans 7.3 win7 ile denedim oldu https://www.java.net//forum/topic/glassfish/glassfish-plugins/serious-trouble-my-netbeans-and-glassfish-server cevabın tamamı burada kolay gelsin arkadaşlar
I am sorry but we are not able to handle Turkish requests. Please, submit a new bug in English with detailed description if you still experience troubles.