IBM Support

PM98444: FAST TRACK DEPLOYMENT METHOD USES OLD JDKSOURCELEVEL

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When deploying an application using the administrative
    console's "fast track" method, if the "Precompile JSPs" option
    is enabled, the server will include the jdkSourceLevel
    attribute into the generated ibm-web-ext.xmi set to "13". As
    this is different than the default value for modern JVMs, it
    will cause unexpected compile-time errors.
    

Local fix

  • use the detailed deployment option and set the source level to
    the desired value
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server version 7.0.                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: When an application containing a Java   *
    *                      Enterprise Edition (Java EE) 5 web      *
    *                      module is installed with the            *
    *                      Precompile JavaServer Page files        *
    *                      option enabled, the JDK source level    *
    *                      has 13 as the default value.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When an application containing a Java EE5 web module is
    installed with the Precompile JavaServer Page (JSP) files
    option enabled, the JDK Source Level field has 13 as the
    default value in the step to provide option to compile JSPs.
    

Problem conclusion

  • The code has been modified to allow the user to set the system
    property
    com.ibm.websphere.management.application.client.JSPCompile.javaE
    E5.jdkSourceLevel on the JVM to override the default JDK
    Source Level value for a EE5 web module. This property is
    available only on WebSphere Application Server version 7.0.
    Starting with version 8.0, the JDK Source Level field has 15
    as the default value when a Java EE5 web module is detected.
    
    1) To enable the system property in the Administrative Console:
    
    a) In a Network Deployment environment, the system property is
    set on the Deployment Manager. System administration -->
    Deployment manager --> Java and Process Management --> Process
    definition --> Java Virtual Machine --> Custom properties
    
    Name :
    com.ibm.websphere.management.application.client.JSPCompile.javaE
    E5.jdkSourceLevel
    
    Value : true
    
    b) In a Base environment, the system property is set on
    server1. Servers --> WebSphere application servers --> server1
    --> Java and Process Management --> Process definition -->
    Java Virtual Machine --> Custom properties
    
    Name :
    com.ibm.websphere.management.application.client.JSPCompile.javaE
    E5.jdkSourceLevel
    
    Value : true
    
    2) To enable the system property in wsadmin it must be set as
    an option when starting wsadmin or in the wsadmin.properties
    file.
    
    a) To set the system property when starting wsadmin do the
    following:
    
    wsadmin -javaoption
    "-Dcom.ibm.websphere.management.application.client.JSPCompile.ja
    vaEE5.jdkSourceLevel=true"
    
    b) To set the system property in the wsadmin.properties file,
    found at profiles/<profileName>/properties directory, add
    the following line:
    
    com.ibm.websphere.management.application.client.JSPCompile.javaE
    E5.jdkSourceLevel=true
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.33.  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

    PM98444

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-03

  • Closed date

    2014-01-16

  • Last modified date

    2014-01-16

  • 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

  • R700 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 7.0

Reference #: PM98444

Modified date: 16 January 2014