IBM Support

PK56614: XMLACCESS WAR CLASSLOADER ISSUE WITH PREDEPLOYED APPLICATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With predeployed portlets a ClassNotFoundException could occur
    when using xmlaccess during the deployment class introspection
    
    Sample exception:
    
    EJPAG1012E: XML file RegisterPreDeployedEAR.xml failed to
    import.
    com.ibm.portal.WpsException: EJPAG1012E: XML file
    RegisterPreDeployedEAR.xml failed to import.
    . . .
    
    EJPEB0002E: An exception occurred.
    com.ibm.wps.command.CommandFailedException: EJPEB0002E: An
    exception occurred. at
    com.ibm.wps.command.xml.XmlCommand.execute(XmlCommand.java:189)
    at
    com.ibm.wps.portlets.importxml.actions.DoImportXMLAction.importX
    MLFileFromFormFile(DoImportXMLAction.java:254) at
    . . .
    EJPXA0043E: An error occurred while creating or updating the
    resource.
    com.ibm.wps.command.xml.XmlCommandException: EJPXA0043E: An
    error occurred while creating or updating the resource. [web-app
    uid=predeploy.abc.web-app] at
    com.ibm.wps.command.xml.UpdateEngine.execItem(UpdateEngine.java:
    260) at
    com.ibm.wps.command.xml.UpdateEngine.processItem(UpdateEngine.ja
    va:189)
    . . .
    EJPPF0015E: Error occurred while reading portlet application
    test.Predeploy_AbcPortlet.1a4bf59451. Load of class
    test.Predeploy_AbcPortlet failed.
    com.ibm.wps.command.applications.AppWarFileException:
    EJPPF0015E: Error occurred while reading portlet application
    test.Predeploy_AbcPortlet.1a4bf59451.
    . . .
    EJPPF0015E: Error occurred while reading portlet application
    test.Predeploy_AbcPortlet.1a4bf59451. Load of class
    test.Predeploy_AbcPortlet failed.
    com.ibm.wps.pe.mgr.exceptions.WarClassNotFoundException:
    EJPPF0015E: Error occurred while reading portlet application
    . . .
    
    java.lang.NoClassDefFoundError: abc/ABCLib
    java.lang.NoClassDefFoundError: abc/ABCLib at
    java.lang.ClassLoader.defineClass0(Native Method) at
    . . .
    

Local fix

Problem summary

  • xmlaccess war classloaded issue with predeployed application,
    the issue is the result of portletClass =
    classLoader.loadClass(className); throwing a ClassNotFound
    exception in DeploymentManagerStandardImpl.java when checking
    for resources
    

Problem conclusion

  • Fixed the DeploymentManagerStandardImpl, checking will not
    take place when not necessary.
    
    Failing Module(s):
       Portlet Deplyoment
    
    Affected Users:
       All users using predeployment
    
    Version Information:
        Portal Version(s): 6.0.0.1
         Pre-Requisite(s): PK38647
          Co-Requisite(s): ---
    
        Portal Version(s): 6.0.1.0
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
        Portal Version(s): 6.0.1.1
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
    
    Platform Specific:
       This fix applies to all platforms.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK56614

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-11-15

  • Closed date

    2008-01-22

  • Last modified date

    2008-01-22

  • 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 PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R601 PSY

       UP

  • R60A PSY

       UP

  • R60E PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
22 January 2008