Troubleshooting: Error occurs when the VM argument is misspelled or omitted

An error occurs when you misspell or omit the VM argument when running the Data Load utility.

Problem

The following error occurs when running data load with an misspelled or unspecified VM argument.
An error occurred when attempting to end the business context service request. The error was: null
java.lang.NoClassDefFoundError: com.ibm.ffdc.Manager
at com.ibm.ws.naming.util.RasUtil.logException(RasUtil.java:164)
at com.ibm.ws.naming.util.RasUtil.logException(RasUtil.java:72)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:362)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:421)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:123)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:798)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:450)
at com.ibm.ivj.ejb.runtime.AbstractAccessBean.lookupAndCacheHome(AbstractAccessBean.java:224)
at com.ibm.ivj.ejb.runtime.AbstractAccessBean.getGlobalHome(AbstractAccessBean.java:216)
at com.ibm.ivj.ejb.runtime.AbstractAccessBean.getHome(AbstractAccessBean.java:249)
at com.ibm.commerce.common.objects.StoreGroupAccessBean.ejbHome(StoreGroupAccessBean.java:99)
at com.ibm.commerce.common.objects.StoreGroupAccessBean.findAll(StoreGroupAccessBean.java:67)
at com.ibm.commerce.registry.StoreRegistry.loadAllStoreGroupIDs(StoreRegistry.java:405)
at com.ibm.commerce.registry.StoreRegistry.<init>
(StoreRegistry.java:107)
at com.ibm.commerce.registry.StoreRegistry.initializeRegistry(StoreRegistry.java:448)
at com.ibm.commerce.registry.StoreRegistry.singleton(StoreRegistry.java:379)
at com.ibm.commerce.foundation.internal.server.services.businesscontext.ClassicCommerceContextServiceImpl.validateInputParameters(ClassicCommerceContextServiceImpl.java:532)
at com.ibm.commerce.foundation.internal.server.services.businesscontext.ClassicCommerceContextServiceImpl.startRequest(ClassicCommerceContextServiceImpl.java:356)
at com.ibm.commerce.foundation.dataload.AbstractBusinessObjectLoader.initializeBusinessContextProperties(AbstractBusinessObjectLoader.java:614)
at com.ibm.commerce.foundation.dataload.AbstractBusinessObjectLoader.init(AbstractBusinessObjectLoader.java:329)
at com.ibm.commerce.foundation.dataload.BusinessObjectLoader.init(BusinessObjectLoader.java:65)
at com.ibm.commerce.foundation.dataload.DataLoaderMain.execute(DataLoaderMain.java:423)
at com.ibm.commerce.foundation.dataload.DataLoaderMain.main(DataLoaderMain.java:212)
Caused by: java.lang.ClassNotFoundException: com.ibm.ffdc.Manager
at java.lang.ClassNotFoundException.<init>
(ClassNotFoundException.java:76)
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:345)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
... 25 more 

Solution

Ensure that you set your VM argument to "true" as shown:


-Dj2se=true