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 - WS security can't be configured due to exception
Summary: WS security can't be configured due to exception
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Srividhya Narayanan
URL:
Keywords:
Depends on: 91622
Blocks: 89517
  Show dependency tree
 
Reported: 2007-01-26 12:51 UTC by Andrey Yamkovoy
Modified: 2007-02-19 16:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
1st time exception stack trace (3.04 KB, text/plain)
2007-01-26 12:52 UTC, Andrey Yamkovoy
Details
other times exception stack trace (2.69 KB, text/plain)
2007-01-26 12:53 UTC, Andrey Yamkovoy
Details

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