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 178330 - None of Java Web (J2EE 1.4) samples run with GlassFish v3 Server
Summary: None of Java Web (J2EE 1.4) samples run with GlassFish v3 Server
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-08 17:29 UTC by davisn
Modified: 2009-12-10 15:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (222.75 KB, text/plain)
2009-12-08 17:30 UTC, davisn
Details
server log file (15.13 KB, text/plain)
2009-12-08 17:31 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2009-12-08 17:29:22 UTC
-When select to run a Java Web sample J2EE 1.4 (eg, JSTLExamples) with GlassFish v3 Domain server, the IDE failed to deploy.
-It was run successfully with Tomcat 6.0.20 server

Steps To Reproduce:
1. Install NB 6.8 
2. Start the IDE -> select File Menu -> New Project -> samples -> Java Web  JSTLExamples -> Next -> Finish
3. Right-click JSTLExamples project, select Properties -> change the Runtime server to GlassFish v3 Domain
4. From JSTLExamples project, select Run menu

BUG:
Starting GlassFish v3 Domain
GlassFish v3 Domain is running.
In-place deployment at E:\Documents and Settings\Administrator\My Documents\NetBeansProjects\JSTLExamples(J2EE1.4)1\build\web
Initializing...
deploy?path=E:\Documents and Settings\Administrator\My Documents\NetBeansProjects\JSTLExamples(J2EE1.4)1\build\web&name=JSTLExamples(J2EE1.4)1&force=true failed on GlassFish v3 Domain
E:\Documents and Settings\Administrator\My Documents\NetBeansProjects\JSTLExamples(J2EE1.4)1\nbproject\build-impl.xml:580: The module has not been deployed.
BUILD FAILED (total time: 35 seconds)
Comment 1 davisn 2009-12-08 17:30:20 UTC
Created attachment 92306 [details]
IDE log file
Comment 2 davisn 2009-12-08 17:31:05 UTC
Created attachment 92307 [details]
server log file
Comment 3 Vince Kraemer 2009-12-08 17:51:59 UTC
Changed the name from JSTLExamples(J2EE1.4) to JSTLExamples and the app deploys and executes correctly.
Comment 4 Vince Kraemer 2009-12-08 18:10:50 UTC
it looks like the '(' and ')' are verboten in in the name of an app deployed via the http adapter...  

the fix is easy, I guess... replace any thing that does not match the pattern with something that will match the pattern in the error message.

I would also file an issue against GF for having a fairly bogus limitation... but that is unlikely to get fixed in the short term.
Comment 5 Vince Kraemer 2009-12-09 09:36:20 UTC
i forgot to grab this one...
Comment 6 Vince Kraemer 2009-12-09 11:28:27 UTC
there are multiple issues in the server related to this also...  I need to file them
Comment 7 Vince Kraemer 2009-12-09 18:02:00 UTC
http://hg.netbeans.org/web-main/rev/169e7015e8a5
Comment 8 Quality Engineering 2009-12-10 15:00:36 UTC
Integrated into 'main-golden', will be available in build *200912101400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/169e7015e8a5
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #178330: some special characters are not valid for the name of a module.