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 49174 - Not able to get hold of webservices.xml from Plugin
Summary: Not able to get hold of webservices.xml from Plugin
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-16 20:50 UTC by Rajeshwar Patil
Modified: 2006-05-31 18:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajeshwar Patil 2004-09-16 20:50:34 UTC
Following JSR88 api is failing for webservices.xml
Always returning null.
       DeployableObject.getDDBeanRoot(String);

What's failing ?
Plugin not able to fetch required defaults from
webservices.xml


Possible reason --
Map (DD location string -> DDRoot) maintained in
ModuleDeploymentSupport has no entry for
webservices.xml

This is a regression; used to work before switch
to release40_beta2
Comment 1 Nam Nguyen 2004-09-16 21:17:27 UTC
Support for secondary descriptor is not in beta2 branch.  We need to
create a temporary tag in j2eeserver for j2ee build use.  We don't
expect activities in j2eeserver for EA1 so a temporary branch is fine.
Comment 2 _ ludo 2004-09-16 21:19:21 UTC
we should us the promoe_dev branch I think
Comment 3 Roderico Cruz 2004-09-17 06:50:49 UTC
This also results in an IllegalArgumentException when a web service is
created. When a property change event is fired from the web service DD
beans, it is directed to web.xml resulting in the exception. 
Comment 4 _ ludo 2004-09-17 16:36:12 UTC
Rajeshwar: can you implement a temp workaround asap for this:
all servlet names starting with "WSServlet_" should have a as8.1 uri
defined in sun-web.xml. Easy rule to check for, no need to access
webservices.xml for EA1.

This way, you don't need a branch yet.
We'll remove the patch for EA2.
Let me know as soon as you can,
Ludo
Comment 5 Roderico Cruz 2004-09-17 16:49:05 UTC
We still need the fix that Nam put in ModuleDeploymentSupport. That
fix solved the problem where ModuleDeploymentSupport.getDDBeanRoot
always returned the root of web.xml. This results in an
IllegalArgumentException whenever a new web service is created because
the property change event (for a webservices.xml property) is being
directed to web.xml.
Comment 6 _ pcw 2004-09-17 18:33:38 UTC
In addition, we need to update the default properties for a
sun-web-app/service-ref element to include predefind port-info objects
for all the ports.  This easy to do with access to webservices.xml and
impossible without.
Comment 7 Rajeshwar Patil 2004-09-18 00:46:21 UTC
this is resolved after switching j2eeserver to trunk
verfied the resolution


Comment 8 Petr Blaha 2004-10-13 10:39:48 UTC
Remove all issues from temporary component.
Comment 9 Petr Blaha 2004-10-15 09:32:43 UTC
see comment above