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 102615

Summary: Cannot create rest services
Product: webservices Reporter: Lukas Jungmann <jungi>
Component: RESTAssignee: Nam Nguyen <nnguyen>
Status: VERIFIED FIXED    
Severity: blocker CC: blaha, vidhya
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 99509    
Attachments: fix

Description Lukas Jungmann 2007-04-26 13:43:27 UTC
-install glassfish
-install swdp-r2 into its domain
-start IDE
-create new web project
-create some entity classes
-create some rest services from entity classes

=> there's a message about missing swdp pack, which is already installed (see
step 2)

WA: move rest related jars from $GLASSFISH_HOME/domains/domain1/lib to
$GLASSFISH_HOME/lib/addons (as it is described in the wiki[1])

Anyway this should work "out of box" in M9

[1]: http://wiki.netbeans.org/wiki/view/CheatSheetForRestJ1Tryingout
Comment 1 Peter Liu 2007-04-26 17:17:44 UTC
Reassigning to Nam.  

Nam, the swdp-r2 installer installs all the jar files in the domains/domain1/lib
directory. Could you first find out why it is putting the jar files there?  As
for our side, we should also check for the rest libraries in the
domains/domain1/lib directory just to make sure.

Comment 2 Nam Nguyen 2007-04-26 20:55:52 UTC
Created attachment 41767 [details]
fix
Comment 3 Vince Kraemer 2007-04-26 21:40:27 UTC
the fix appears to be okay for m9.

Comment 4 Nam Nguyen 2007-04-26 23:06:35 UTC
Checked in to trunk:

/cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/PlatformImpl.java,v
 <--  PlatformImpl.java
new revision: 1.28; previous revision: 1.27
Comment 5 Nam Nguyen 2007-04-26 23:47:55 UTC
Also checked in to release60-m9 branch:

/cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/PlatformImpl.java,v
 <--  PlatformImpl.java
new revision: 1.27.2.1; previous revision: 1.27
Comment 6 Lukas Jungmann 2007-04-27 02:37:58 UTC
v.