webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  why my wmsap package is partial?

    Posted Thu August 17, 2006 04:24 AM

    After i install the sap adapter 6.5,the package named wmsap is partial,why?

    can anyone tell me ?thank you

    fang


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 2.  RE: why my wmsap package is partial?

    Posted Fri August 18, 2006 05:07 AM

    Hi Fang,

    please click on the “WmSAP” link under “Packages → Management”.

    On this screen there is section with the detailed messages what did not load and why.

    regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 3.  RE: why my wmsap package is partial?

    Posted Mon August 28, 2006 11:46 PM

    pub.sap.transaction:delete java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    pub.sap.transaction:setCacheParameter java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    pub.sap.client:getStructureDefinition java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    wm.sap.Bapi:getBAPIDefinition java.lang.NoClassDefFoundError: com/wm/adk/error/LoggableException
    wm.sap.Cache:clear java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    wm.sap.Rfc:handleRfcXmlPost java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    pub.sap.rfc:encode java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    wm.sap.Admin:createConnectionNode java.lang.NoClassDefFoundError: com/wm/adk/WmAdapter
    wm.sap.Transaction:getMessageBody java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    wm.sap.Cbr:unregisterService java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    wm.sap.Rfc:invoke java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    wm.sap.Cache:listALEMappings java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    wm.sap.Bapi:listObjects java.lang.NoClassDefFoundError: com/wm/adk/error/LoggableException
    wm.sap.Admin:listConnections java.lang.NoClassDefFoundError: com/wm/adk/WmAdapter
    wm.sap.Cache:removeStructure java.lang.NoClassDefFoundError: com/wm/adk/error/AdapterServiceException
    wm.sap.Admin:listListeners java.lang.NoClassDefFoundError: com/wm/adk/WmAdapter

    why can cause it?

    regards


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: why my wmsap package is partial?

    Posted Wed July 16, 2008 03:05 PM


  • 5.  RE: why my wmsap package is partial?

    Posted Thu May 20, 2010 07:45 AM

    Hi Fang,
    From the error you’ve shown, it looks like there’s issue in the loading of the classes. Have you edited the classpath in server.bat?

    Have you tried to reload the package? If yes and if you’ve seen an error which reads “The class that has an instance of the shared library has already been loaded and the package cannot be reloaded.”, please move classes which load native libraries up the heirarchy, to be either in a parent package or to be loaded in the server class loader (lib/jars).

    Also, class changes made inside a package class loader will take effect by just reloading the package. Thus, server restarts are not need needed unless If a package class loader contains native JNI code, then the server will need to be restarted because a package containing native JNI code can not be reloaded.

    Class loaders load from the following (in order):
    (package_name)/code/classes.zip
    If this file exists

    (package_name)/code/jars
    All .jar and .zip from this directory of each package if it exists.

    (package_name)/code/classes
    Includes files in this directory if it exists

    (package_name)/resources
    Includes files in this directory if it exists

    During runtime, the precedence when searching for a class is:
    Resources (eg. .properties files)
    jars
    classes

    Thanks,
    WM


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB