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 146834 - Unable to deploy an application on glassfish v3
Summary: Unable to deploy an application on glassfish v3
Status: VERIFIED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 18:51 UTC by Petr Dvorak
Modified: 2008-09-23 12:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (2.42 KB, text/plain)
2008-09-10 18:52 UTC, Petr Dvorak
Details
server log (5.43 KB, text/plain)
2008-09-10 18:52 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dvorak 2008-09-10 18:51:14 UTC
Product Version: NetBeans IDE Dev (Build 200809101401)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

Whenever I attempt to deploy an application to Glassfish V3, I get following exception.
Comment 1 Petr Dvorak 2008-09-10 18:52:17 UTC
Created attachment 69564 [details]
stacktrace
Comment 2 Petr Dvorak 2008-09-10 18:52:37 UTC
Created attachment 69565 [details]
server log
Comment 3 Petr Dvorak 2008-09-10 18:55:33 UTC
I used sample applications from http://qa.netbeans.org/modules/webapps/promo-h/TS_65_JavaScriptDebugger.html
Comment 4 _ pcw 2008-09-10 19:16:30 UTC
Odd.  Are there downloadable applications from that page?  If so, which one did you use?  (I didn't see any, FWIW)

Or are these projects created from scratch according to the instructions on that page.
Comment 5 Petr Dvorak 2008-09-10 20:42:34 UTC
There are 2 demo application (see the first "Comment" section on the page): FishEye and MishMash.

(After some experimenting, I was finally able to debug these applications for a while, I don't exactly know the pattern
of what I did to make it work, but I think that I succeeded when I started server manually right after I started IDE.
But after a while, this problem was back...)
Comment 6 _ pcw 2008-09-10 22:04:18 UTC
I don't know what happened yet.  The string "stop-domain?null" should not be possible.  I'm looking at the possibility
of a JDK change between different versions of java.net.URI to explain that.

Yet, the server (at least on my machine) accepts that string anyway (as it should) and stops, and in your server log,
the server stopped as well.

I did find one bug in the way we implemented <Start In Debug> that I will fix today but it doesn't look related to what
you are reporting.

I think a viable work around is to stop the server manually, then run the <Debug> action from the project menu.  This
should always start the server in debug mode and bind to it correctly.
Comment 7 _ pcw 2008-09-10 23:05:10 UTC
See possibly related issue 146858 which I found while investigating this and just fixed.
Comment 8 _ pcw 2008-09-11 20:31:19 UTC
"stop-domain?null" was just a display artifact.  I fixed it but it's irrelevant.

Could you upgrade to the latest nightly build ( http://bits.netbeans.org/dev/nightly/latest/ ).  This has the fix for
146858 which may be related to your difficulties.

Let me know if that makes this go away and if not, if you can give more specific steps to reproduce.

Comment 9 Quality Engineering 2008-09-18 17:55:54 UTC
Integrated into 'main-golden', will be available in build *200809181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3b27e5e65b0e
User: pcw@netbeans.org
Log: #146834 fixed incorrect command url being displayed.
Comment 10 Petr Dvorak 2008-09-23 12:42:44 UTC
OK, I made it working with latest dev (I also removed GF3 server in IDE and reinstalled it using the Download button in
the Add Server wizard). Thanks for the help... WORKSFORME
Comment 11 Petr Dvorak 2008-09-23 12:43:36 UTC
Verified