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.
The appclient project requires the AMClientProvider ProviderConfig info to be available in sun-acc.xml. This information is available in domain.xml which works for HTTP container related projects. Since appcontainer requires this, the needed change has to happen from the AM runtime. Until then the user needs to add certain lines to the appclient projects sun-acc.xml before deploying it.
You need to add the following xml fragment to the <message-security-config> element in the sun-acc.xml under your <asroot>/domains/domain1/config directory. <provider-config class-name="com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule" provider-id="AMClientProvider" provider-type="client"> <request-policy auth-source="content"/> <response-policy auth-source="content"/> <property name="providername" value="wsc"/> </provider-config>
This would require restart of appserver. But ofcourse the advantage is this will be a one time only thing. Is there also a workaround to change it at project level?
No, this doesn't require a restart of the appserver. We can programmatically create a modified copy of the sun-acc.xml before starting the appclient container. This should only be a last resort if the AM team does not enhance their installer to do this.
Added "as is" to NB Enterprise Pack Release Notes 5.5.1 Beta (http://nbstaging.czech.sun.com/community/releases/55/1/entpack_relnotes.html#95729). Clarification required.
No Objections in 48 hours. Waived.
Removed Beta EP551_WAIVER_APPROVED keyword - we are going forward to FCS.
Just verified with this version of the sdk, java_app_platform_sdk-5_03-fcs-bin-b24-windows-nojdk-06_aug_2007, ths sun-acc.xml is not properly configured by the AM to support appclient security.