Fixes are available
APAR status
Closed as program error.
Error description
Abstract: Attempts to generate a bottom up Web service using JMS binding from an EJB 2.1 session bean might cause the Web service creation wizard fails with a NullPointerException. Problem: Web service generation using JMS binding from an EJB 2.1 session bean fails at the end of the Web service creation wizard. IWAB0014E java.lang.NullPointerException at com.ibm.etools.webservice.was.utils.J2EEUtils.getDeploymentDescr iptorFile(Unknown Source) at com.ibm.ast.ws.rd.operation.UpdateWEBXMLOperation.addServlet(Unk nown Source) at com.ibm.ast.ws.rd.operation.UpdateWEBXMLOperation.executeEJB(Unk nown Source) at com.ibm.ast.ws.rd.operation.UpdateWEBXMLOperation.execute(Unknow n Source) Steps to reproduce the problem: 1. Create a dynamic EAR project following the 1.4 specification and target a WebSphere Application Server 8.0 runtime. 2. Create a session bean called Hello with remote interfaces 3. Add a method called sayName in HelloBean.java which returns the name passed to it 4. Promote the method to remote interface 5. Perform deployment via Java EE ? Prepare Deployment 6. Right click the HelloBean.java ? Web service ? Create Web Service 7. Create bottom up EJB Web service with slider to 'Start' 8. Select JMS binding checkbox 9. Ignore warnings and make the sayName method into a Web service 10. Note the IWAB0014E error with NullPointerException displayed in the Web service wizard Expected results: You would be able to create the Web service from the EJB session bean. Actual results: Web service creation fails because the wizard looks for a deployment descriptor in the Web module, which does not exist. The EAR doesn?t have a WAR module if the user just wants to publish their EJB as a SOAP/JMS service. Local fix: There are two workarounds: 1. Select the checkbox option in the Web service creation wizard to create a HTTP as well as a JMS binding. 2. Move the slider in the Web service creation wizard to the Develop option (bottom most option), rather than the Start option (second from top).
Local fix
Problem summary
If you try to generate a bottom up Web service using JMS binding from an EJB 2.1 session bean then the Web service creation wizard fails with a NullPointerException at J2EEUtils.getDeploymentDescriptorFile.
Problem conclusion
The fix for this APAR is included in Rational Application Developer v8.0.4.3.
Temporary fix
Comments
APAR Information
APAR number
PM89852
Reported component name
RATL APP DEV WI
Reported component ID
5724J1901
Reported release
804
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-05-27
Closed date
2013-10-28
Last modified date
2013-10-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RATL APP DEV WI
Fixed component ID
5724J1901
Applicable component levels
R804 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
28 October 2013