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 95828 - Ent App deployment fails with secured WS in EJB module
Summary: Ent App deployment fails with secured WS in EJB module
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-16 16:01 UTC by Andrey Yamkovoy
Modified: 2007-02-19 17:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Yamkovoy 2007-02-16 16:01:32 UTC
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.
Comment 1 Andrey Yamkovoy 2007-02-16 16:53:19 UTC
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.
Comment 2 Andrey Yamkovoy 2007-02-16 17:02:04 UTC
It's strange for me but looks like only X509 profile working for this application.
Comment 3 Peter Liu 2007-02-16 17:28:01 UTC
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.

Comment 4 Peter Liu 2007-02-16 18:00:18 UTC
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.
Comment 5 Andrey Yamkovoy 2007-02-19 17:01:09 UTC
Verified.