IBM Support

PK91049: Main class not found when running WAS 6.1 J2EE app client

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    
     - Product name (Build ID or version/patch level): IBM Rational
    Application Developer v7.0.0.8
    Reproducible Y/N: Y
    
    Description of problem:
    
    
    When trying to run a J2EE application client for WAS 6.1 having
    different source and output folders, the following error is rais
    ed:
    WSCL0100E: Exception received: java.lang.ClassNotFoundException:
     Main
     at java.net.URLClassLoader.findClass(URLClassLoader.java:492)
     at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader
    .java:132)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:604)
     at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader
    .java:87)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
     at com.ibm.ws.client.applicationclient.ApplicationClientMetaDat
    a.getApplicationMainClass(ApplicationClientMetaData.java:574)
    
    Steps to reproduce:
    
    1) create a J2EE application client project with one Main class
    2) change the output folder on the properties of the project
    3) clean and rebuild
    4) right-click on the project and select Run As..Run
    5) create a new WAS 61 application client configuration
    6) click on Run
    
    Workaround:
    There is no error if the source and output folders are the same
    or if the project is added to the classpath on the Run configura
    tion.
    

Local fix

Problem summary

  • See Error Description
    

Problem conclusion

  • Fix delivered in Rational Application Developer 7.0.0.10
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK91049

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-10

  • Closed date

    2009-11-20

  • Last modified date

    2009-11-20

  • 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

  • R700 PSN

       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":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
20 November 2009