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.
Steps to reproduce: - Create Enterprise Application with EJB module. - Create WS in EJB module. - Enable message level security for WS. - Deploy Enterprise Application. - Deployment fails with following output: ... am-init: D:\Temp2\EnterpriseApplication7\nbproject\build-impl.xml:174: The following error occurred while executing this line: D:\Temp2\EnterpriseApplication7\EnterpriseApplication7-ejb\nbproject\am-deploy.xml:28: Must set user properties file BUILD FAILED (total time: 8 seconds) - Notice that actually application was deployed.
Change priority to P1 because of deployed secured web service can not be invoked due to exception: 'Cannot validate rfequest'. If disable message level security then web service invocation works fine but deployment is still 'build failed'. Actually if try to deploy this application with enabled security many times and try to invoke WS then sometimes invokation will be done without errors. So, looks like deployment or runtime is unstable in this situation.
It's strange for me but looks like only X509 profile working for this application.
user properties file for an ejbmodule is derived from the netbeans.user property specified in nbproject/private/private.properties. This is taken into account in amdeploy.xml.
Fix checked into release551 branch. IDE:------------------------------------------------- IDE: [2/16/07 9:57 AM] Committing "am-deploy.xsl" started Checking in am-deploy.xsl; /cvs/identity/profileui/src/org/netbeans/modules/identity/profile/ui/support/resources/am-deploy.xsl,v <-- am-deploy.xsl new revision: 1.1.2.8.4.4; previous revision: 1.1.2.8.4.3 done IDE: [2/16/07 9:57 AM] Committing "am-deploy.xsl" finished Note that you need to bring up the ws attribute editor so the am-deploy.xml file can be update with the change.
Verified.