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 110597

Summary: Can't deploy JAX-RPC web service in EJB module
Product: serverplugins Reporter: Jaroslav Pospisil <jpospisil>
Component: Sun Appserver 9Assignee: _ pcw <pcw>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log

Description Jaroslav Pospisil 2007-07-23 14:07:25 UTC
Build 200707230000-FULL,JDK1.6.0_02,Vista

1)Start IDE with new userdir
2)Create new J2EE 1.4 EJB module
3)Add web service and operation
4)Deploy web module
ERROR: Compilation fails.
Attaching messages.log
Comment 1 Jaroslav Pospisil 2007-07-23 14:08:38 UTC
Created attachment 45523 [details]
messages.log
Comment 2 Roderico Cruz 2007-07-24 08:18:37 UTC
A plugin regression. The Endpoint Address URI is not specified. To workaround this:
1) Expand Configuration files.
2) Open sun-ejb-jar.xml
3) Expand Web Service Endpoints
4) In Endpoint Address URI field, enter the same value as that in PortComponent Name, eg., NewWebService

Changing to P2 as there is a workaround.
Comment 3 Roderico Cruz 2007-07-26 06:54:46 UTC
There is a regression in the sun-ejb-jar.xml for J2EE 1.4 web services. The Endpoint Address URI is not automatically
filled up like in previous releases. Reassigning to server plugin. Peter, kindly reassign to the correct person. Thanks.
Comment 4 _ pcw 2007-07-27 07:29:24 UTC
Same problem as issue 109246.  The system for automatically configuring resource properties is not enabled yet.  Due to
J2eeServer and Merged DD Provider changes in 6.0 it had to be redesigned from scratch.

Rather than mark this as a dup, I will leave this open since a different field is involved.  But I am currently working
on both simultaneously.
Comment 5 _ pcw 2007-08-24 16:28:31 UTC
*** Issue 113728 has been marked as a duplicate of this issue. ***
Comment 6 _ pcw 2007-08-25 05:37:54 UTC
Fixed.

New ejb hosted webservice endpoints in J2EE 1.4 should get a default endpoint URI equal to the web service name.

Note: Existing broken projects will not be "automatically fixed".  But future adjustments to webservices.xml (such as
deleting or adding new ports or new webservice descriptors) should resolve correctly.
Comment 7 Jaroslav Pospisil 2007-09-03 12:34:09 UTC
VERIFIED