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 93301

Summary: WS security can't be configured due to exception
Product: serverplugins Reporter: Andrey Yamkovoy <kaktus>
Component: IdentityAssignee: Srividhya Narayanan <vidhya>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 91622    
Bug Blocks: 89517    
Attachments: 1st time exception stack trace
other times exception stack trace

Description Andrey Yamkovoy 2007-01-26 12:51:20 UTC
Steps to reproduce:
- Create Web Application (Java EE version 5).
- Create web service in this application.
- Invoke 'Edit Web Service Attributes' context menu item on web service node.
- In appeared dialog select 'Security' TAB, enable message level sedcurity and
press OK button.
- Exception occured (see attach). Fist time we have one exception and the other
times we have another one.
Comment 1 Andrey Yamkovoy 2007-01-26 12:52:23 UTC
Created attachment 37715 [details]
1st time exception stack trace
Comment 2 Andrey Yamkovoy 2007-01-26 12:53:05 UTC
Created attachment 37716 [details]
other times exception stack trace
Comment 3 Srividhya Narayanan 2007-01-26 17:29:43 UTC
This is realted to the use of jdk 1.6. I have added a dependency bug on websvc
that will fix this issue. But for now there is a workaround.

In the netbeans.conf file add this 
-J-Djava.endorsed.dirs=$progdir/../ide8/modules/ext/jaxws20/endorsed

Create an endoresed dir under $progdir/../ide8/modules/ext/jaxws20/

Add the two jar files  jaxws-api.jar and jaxb-api.jar in endorsed dir

Now restart the IDE and the problem should be gone. You could get the jars under
$progdir/../ide8/modules/ext/jaxws20/ and copy them over to endorsed.
Comment 4 Srividhya Narayanan 2007-01-26 17:30:32 UTC
Redusing it to P2 since there is a workaround
Comment 5 Srividhya Narayanan 2007-01-26 17:38:07 UTC
Rico just pointed to the blog from Vivek. Its
here:http://weblogs.java.net/blog/vivekp/archive/2007/01/running_jaxws_2.html

This gives the background for the workaround.
Comment 6 Srividhya Narayanan 2007-02-15 18:09:30 UTC
The dependent issue is resolved
Comment 7 Andrey Yamkovoy 2007-02-19 16:23:02 UTC
Verified.