why my wmsap package is partial?

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

can anyone tell me ?thank you

fang

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

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

Improper CLASSPATH settings.

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