IBM Support

IV47784: WSRRREPORTVIEWER PRODUCES NOCLASSDEFFOUNDERROR FOR CLASS ORG/ECLIPSE/SWT/BROWSER/BROWSER WHEN STARTING WSRR ON SOLARISSYS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During WSRR server start up, the following exception may be
    raised. And ServiceRegistry application may failed to start:
    [5/6/13 23:31:51:513 PDT] 00000017 webapp E com.ibm.ws.
    webcontainer.webapp.WebApp notifyServletContextCreated
    SRVE0283E:
    Exception caught while initializing context: {0}
    java.lang.NoClassDefFoundError:
    org/eclipse/swt/browser/Browser
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at
    java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.getMethod0(Class.java:2670)
    at java.lang.Class.getMethod(Class.java:1603)
    at
    org.eclipse.birt.report.utility.BirtUtility.getAppClassLoader
    (BirtUtility.java:1458)
    at
    org.eclipse.birt.report.service.ReportEngineService.<init>
    (ReportEngineService.java:204)
    at org.eclipse.birt.report.service.ReportEngineService.
    initEngineInstance(ReportEngineService.java:263)
    at
    org.eclipse.birt.report.service.BirtViewerReportService.
    <init>(BirtViewerReportService.java:83)
    at org.eclipse.birt.report.listener.
    ViewerServletContextListener.contextInitialized
    (ViewerServletContextListener.java:57)
    at com.ibm.ws.webcontainer.webapp.WebApp.
    notifyServletContextCreated(WebApp.java:1651)
    at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize
    (WebAppImpl.java:410)
    at
    com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication
    (WebGroupImpl.java:88)
    at
    com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication
    (VirtualHostImpl.java:169)
    at com.ibm.ws.webcontainer.WSWebContainer.addWebApp
    (WSWebContainer.java:749)
    at
    com.ibm.ws.webcontainer.WSWebContainer.addWebApplication
    (WSWebContainer.java:634)
    at
    com.ibm.ws.webcontainer.component.WebContainerImpl.install
    (WebContainerImpl.java:422)
    at
    com.ibm.ws.webcontainer.component.WebContainerImpl.start
    (WebContainerImpl.java:714)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.start
    (ApplicationMgrImpl.java:1160)
    at com.ibm.ws.runtime.component.DeployedApplicationImpl.
    fireDeployedObjectStart(DeployedApplicationImpl.java:1369)
    at com.ibm.ws.runtime.component.DeployedModuleImpl.start
    (DeployedModuleImpl.java:638)
    at
    com.ibm.ws.runtime.component.DeployedApplicationImpl.start
    (DeployedApplicationImpl.java:967)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.
    startApplication(ApplicationMgrImpl.java:766)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.start
    (ApplicationMgrImpl.java:2153)
    at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start
    (CompositionUnitMgrImpl.java:445)
    at
    com.ibm.ws.runtime.component.CompositionUnitImpl.start
    (CompositionUnitImpl.java:123)
    at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start
    (CompositionUnitMgrImpl.java:388)
    at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.
    access$500(CompositionUnitMgrImpl.java:116)
    at com.ibm.ws.runtime.component.
    CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.
    java:
    994)
    at com.ibm.wsspi.runtime.component.
    WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
    at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659)
    Caused by: java.lang.ClassNotFoundException:
    org.eclipse.swt.browser.Browser
    at
    java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native
    Method)
    at
    java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at
    com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.
    java:198)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at
    com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.
    java:113)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at
    com.ibm.ws.classloader.ProtectionClassLoader.loadClass
    (ProtectionClassLoader.java:62)
    at
    com.ibm.ws.classloader.ProtectionClassLoader.loadClass
    (ProtectionClassLoader.java:58)
    at com.ibm.ws.classloader.CompoundClassLoader.loadClass
    (CompoundClassLoader.java:597)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at com.ibm.ws.classloader.CompoundClassLoader.loadClass
    (CompoundClassLoader.java:597)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 30 more
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of WebSphere Service Registry and Repository v8.0
    running the server on Solaris operating system.
    
    ****************************************************************
    PROBLEM SUMMARY:
    During the WSRRReportViewer application startup a
    java.lang.NoClassDefFoundError exception for class
    org/eclipse/swt/browser/Browser is logged in the
    SystemOut.log. The application appears to have started correctly
    in the WebSphere Application Server console but any usage of the
    application will fail and another java.lang.NoClassDefFoundError
    will be logged.
    

Problem conclusion

  • The code was changed to remove the requirement for the loading
    of the org/eclipse/swt/browser/Browser class.
    
    This fix is targeted for inclusion in WSRR 8.0.0.3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV47784

  • Reported component name

    SERVICE REGISTR

  • Reported component ID

    5724N7200

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-09-02

  • Closed date

    2013-10-16

  • Last modified date

    2013-10-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

    SERVICE REGISTR

  • Fixed component ID

    5724N7200

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSWLGF","label":"WebSphere Service Registry and Repository"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2013