Fixes are available
8.0.0.1: WebSphere Application Server V8.0 Fix Pack 1
8.0.0.2: WebSphere Application Server V8.0 Fix Pack 2
8.0.0.3: WebSphere Application Server V8.0 Fix Pack 3
8.0.0.4: WebSphere Application Server V8.0 Fix Pack 4
8.0.0.5: WebSphere Application Server V8.0 Fix Pack 5
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
APAR status
Closed as program error.
Error description
When ejb-jar.xml is upgraded from 3.0 to 3.1, the resulting XML is no longer accepted by ejbdeploy. The following error can occur: ADMA5018I: The EJBDeploy program is running on file C:\Documents and Settings\Administrator\Local Settings\Temp\app4137001232618553935.ear. Starting workbench. EJB Deploy configuration directory: c:\WAS\WAS80.d1115.28\deploytool\itp\configuration/ framework search path: c:\WAS\WAS80.d1115.28\deploytool\itp\plugins build:RAD802-I20110226_2148 Creating the project. An unexpected exception was thrown. Halting execution. Shutting down workbench. Error executing deployment: org.eclipse.emf.common.util.WrappedException. Error is org.xml.sax.SAXParseException: cvc-complex-type.3.1: Value '3.1' of attribute 'version' of element 'ejb-jar' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '3.0'.. org.eclipse.emf.common.util.WrappedException: org.xml.sax.SAXParseException: cvc-complex-type.3.1: Value '3.1' of attribute 'version' of element 'ejb-jar' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '3.0'.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server version 8.0 using the EJBDeploy * * command. * **************************************************************** * PROBLEM DESCRIPTION: The EJBDeploy function will fail when * * a module's deployment descriptor * * version does not match the * * schema. * **************************************************************** * RECOMMENDATION: * **************************************************************** WebSphere Application Server will run the EJBDeploy command for any deployed application that contains at least 1 EJB 2.x module; however, some EJB 3.0 modules that should be recognized as EJB 3.1 are not properly handled by the WebSphere Application Server. These error cases cause EJBDeploy to fail when it attempts to open the module. Some examples of attributes that may cause an EJB 3.0 module to be treated as an EJB 3.1 module are: * Including @Singleton annotations * Including @Resource annotations with the lookup attribute employed (i.e. @Resource{lookup="..."}. WebSphere Application Server tracks the version of an EJB 3.0 module so that it can be 'upgraded' or 'promoted' when EJB 3.1 content is detected. In the case of an EJB 3.0 Module with an explicitly-provided META-INF/ejb-jar.xml and EJB 3.1 content, WebSphere Application Server modifies the META-INF/ejb-jar.xml resource by changing the version to 3.1; however, you do not have to specify any updates during deployment and the version should not changed. The META-INF/ejb-jar.xml resource should only be updated during deployment when requested by the user. This includes a user's request to have WebSphere Application Server set metadata-complete during deployment (Details here: http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/topic/com. ibm.websphere.nd.multiplatform.doc/info/ae/ae/urun_rapp_metadata _lockdd.html?resultof=%22%6d%65%74%61%64%61%74%61%2d%63%6f%6d%70 %6c%65%74%65%22%20).
Problem conclusion
The internal component for handling Java 2 Enterprise Edition modules was updated to no longer modify the original META-INF/ejb-jar.xml in an EJB JAR module. A similar update was applied to ensure that explicit WEB-INF/web.xml and WEB-INF/ejb-jar.xml descriptors do not have a similar problem for Web Applications. There is no work-around available for this problem. This problem is only resolved by applying a code update. The fix for this APAR is currently targeted for inclusion in fix pack 8.0.0.1. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM38244
Reported component name
WEBSPHERE APP S
Reported component ID
5724J0800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-05-03
Closed date
2011-06-17
Last modified date
2011-06-17
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
WEBSPHERE APP S
Fixed component ID
5724J0800
Applicable component levels
R800 PSY
UP
Document Information
Modified date:
27 October 2021