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 111773

Summary: Secured WS not working at all > exceptions
Product: serverplugins Reporter: Andrey Yamkovoy <kaktus>
Component: IdentityAssignee: Peter Liu <petertliu>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: This exception throws while deploying WSC.
This exception throws while executing servlet.

Description Andrey Yamkovoy 2007-08-02 15:54:54 UTC
Configuration:
JavaEE SDK: java_app_platform_sdk-5_03-fcs-bin-b23-windows-nojdk-26_jul_2007
NB: netbeans-6.0-nightly-200708011200-full-windows

Steps to reproduce:
- Create WebApplication 1, create WS in it.
- Enable AM security for WS with some profile and deploy WebApplication 1.
- Create WebApplication 2, create WSC in it.
- Create Servlet and add WS invocation code in it.
- Enable AM security for WSC with the same security profile as for WS.
- Deploy WebApplication 2 and run Servlet.
- Notice that servlet not invoked WS successfully and thows exceptions in the AS log.

See attachemnts for the exceptions stack trace.
Comment 1 Andrey Yamkovoy 2007-08-02 15:56:56 UTC
Created attachment 46072 [details]
This exception throws while deploying WSC.
Comment 2 Andrey Yamkovoy 2007-08-02 15:57:26 UTC
Created attachment 46073 [details]
This exception throws while executing servlet.
Comment 3 Peter Liu 2007-08-03 22:58:26 UTC
This might be due to some change to the ProviderConfig api. I need to download the latest ee sdk to confirm.
Comment 4 Peter Liu 2007-08-06 21:10:43 UTC
Fix checked in nb6 trunk:

IDE:-------------------------------------------------
IDE: [8/6/07 1:09 PM] Committing "ProviderConfigurator.java" started
Checking in ProviderConfigurator.java;
/cvs/identity/profileapi/src/org/netbeans/modules/identity/profile/api/configurator/ProviderConfigurator.java,v  <-- 
ProviderConfigurator.java
new revision: 1.7; previous revision: 1.6
done
IDE: [8/6/07 1:09 PM] Committing "ProviderConfigurator.java" finished

Comment 5 Jaroslav Pospisil 2007-08-24 16:39:40 UTC
VERIFIED