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 - Cannot create rest services
Summary: Cannot create rest services
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks: 99509
  Show dependency tree
 
Reported: 2007-04-26 13:43 UTC by Lukas Jungmann
Modified: 2007-04-27 02:37 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
fix (2.50 KB, patch)
2007-04-26 20:55 UTC, Nam Nguyen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.