Help! NoClassDefFoundError: com/sap/guid/GUIDGeneratorFactory

Hi,
I create an enterprise application that is a simple servlet application. In the servlet application, I use GUID to generate unique primary keys for database tables.
Compile/build my application works fine. But when I try to run the application, I got "Exception caught java.lang.NoClassDefFoundError: com/sap/guid/GUIDGeneratorFactory ..." error.
I have add a reference to com.sap.base.technology.facade in "application-j2ee-engine.xml" file.
Please help me on this issue. Thanks in advance!
Best regards
James

Hi James,
Why
<i>com.sap.base.technology.facade</i>
why not:
<i>
     <reference
          reference-type="hard">
          <reference-target
               provider-name="sap.com"
               target-type="library">com.sap.guid</reference-target>
     </reference>
</i>
best regards, Maksim Rashchynski.

Similar Messages

  • Error in creating GUID using com.sap.guid API's

    Hi
       i am trying to create GUID using com.sap.guid API's. I've included the guidgenerator.jar in the classpath. I ran the following code. i got the "Caused by: java.lang.NoClassDefFoundError: com/sap/guid/GUIDGeneratorFactory " error.
    the code is
    package com.portal;
    import com.sapportals.portal.prt.component.;*
    import com.sap.guid.GUIDGeneratorFactory;
    import com.sap.guid.IGUID;
    import com.sap.guid.IGUIDGenerator;
    import com.sap.guid.IGUIDGeneratorFactory;
    public class TestCompforGUID extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    *          IGUIDGenerator generator = GUIDGeneratorFactory.getInstance().createGUIDGenerator();*
    *          String guid = generator.createGUID().toString();*
    *          String hexGuid = generator.createGUID().toHexString();*
    *          response.write(guid);*
    *          response.write(hexGuid);*
    can anyone created the GUID's using com.sap.guid API's and help me here.
    Do i need to specify any reference in Portalapp.xml ?
    Thanks,
    Saravanan

    difficult to reproduce. But it might be a data conversion problem.
    e.g. try
    to_char(a.num_tabs)If that's not the error comment out certain lines or xmltags and test which one is the reason for the error.
    Edited by: Sven W. on Sep 9, 2011 3:13 PM - typo correction

  • Java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator

    I have installed this NWDS 2.0.12. When I click on the icon from desktop, I see a splash screen for a second and then immediately an error message saying 'Problem during startup. Check the .log file in .metadata folder of your workspace.'
    Following is the log file
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Jun 29, 2006 16:09:37.302
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.getConstructor(Class.java:1027)
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:709)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
         at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:130)
         at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:167)
         at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:103)
         at org.eclipse.core.internal.runtime.InternalPlatform.loaderGetRunnable(InternalPlatform.java:578)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.eclipse.core.internal.boot.InternalBootLoader.getRunnable(InternalBootLoader.java:471)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:854)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:784)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    Can somebody help me to resolve this? What should be the potential cause for the error?

    java.lang.NoClassDefFoundError: <b>com/sap/tc/logging/Configurator</b>
    Either a missing jar or the classpath is not defined right.

  • SAP Java Connectivity Builder -NoClassDefFoundError com.sap.aii...Reference

    Hi there,
    I'm trying to generate Java Proxies for SAPJCO using the SAP Java Connectivity Builder (JCB). I got it from the NetWeaver 6.20 Release. The tool installs and runs properly but after putting in the connection properties and klicking "next", the application hangs. When activating System output, I get the error shown below.
    I already tried to put all jar files contained in the C:\JBuilder5\lib\ext directiry into the classpath (but none of them contains the class mentioned).
    Which is the right (standalone) tool for generating Java Proxies for a standalone Java application?
    If it is JCB, is there a bug on the version I use (NetWeaver Release 6.20)?
    Any help would be apreciated.
    C:\JBuilder5>java -Dlog.handler.FileLog=FileHandler,log.txt -Dlog.logger.com=ALL,FileLog -cp lib/ext/aii_basis.jar;lib/e
    xt/aii_ifr_core.jar;lib/ext/aii_ifr_jbtool.jar;lib/ext/aii_lcraccess.jar;lib/ext/aii_msg_runtime.jar;lib/ext/aii_proxy_g
    en.jar;lib/ext/aii_proxy_rt.jar;lib/ext/aii_util.jar;lib/ext/aii_util_log.jar;lib/ext/lcrclient.jar;lib/ext/logging.jar;
    lib/ext/SapIdeHelp.jar;lib/ext/SapIdeJBUtil.jar;lib/ext/SapIdeJspInsight.jar;lib/ext/SapIdeTaglibReflection11.jar;lib/ex
    t/SapIdeTracing.jar;lib/ext/SapIdeUtil.jar;lib/ext/SAPJ2EEEngineJBuilderPlugin.jar;lib/ext/sapjco.jar;lib/ext/SAPmdi.jar
    ;lib/ext/servlet.jar;lib/ext/tc_sec_core.jar com.sap.aii.ifr.tool.jbuilder.JBuilderTool
    #0 12:35:37 [main] DEBUG com.sap.aii.util.misc.api.AIIProperties: Initial AIIProperties
            com.sap.aii.client = true
    #1 12:35:37 [main] FINE com.sap.aii.util.misc.api.AIIProperties: changed Property "com.sap.aii.standalone" from "null" t
    o "true"
    #2 12:35:37 [main] FINE com.sap.aii.util.misc.api.AIIProperties: changed Property "com.sap.aii.xml.parserFactory" from "
    null" to "com.inqmy.lib.jaxp.SAXParserFactoryImpl"
    #3 12:35:37 [main] FINE com.sap.aii.util.misc.api.AIIProperties: changed Property "com.sap.aii.xml.transformerFactory" f
    rom "null" to "com.inqmy.lib.jaxp.TransformerFactoryImpl"
    #4 12:35:46 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.upload.client.SAPNavigationPane: New file is C:\Documents and Setti
    ngs\kalkoo1\Desktop\t.jar
    #5 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Client : 010
    #6 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Logon Name : kalkoo1
    #7 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Password : #########
    #8 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Language : EN
    #9 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Host name: bgstsapedai01.s
    t.behr.de
    #10 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for System number : 20
    #11 12:36:08 [AWT-EventQueue-0] INFO com.sap.aii.ifr.upload.client.R3LogonScreen: trying to establish connection
    #12 12:36:08 [AWT-EventQueue-0] FINEST com.sap.aii.ifr.util.IdentityCheck: Looking up identity
    #13 12:36:08 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.util.IdentityCheck: Results of identity check: isIFRServer: false;
    isIFRRMIClient: false; isStandaloneIFR: true
    #14 12:36:08 [AWT-EventQueue-0] FINEST com.sap.aii.ifr.util.IdentityCheck: Checking IdentityCheck.isIFRServer. Result: f
    alse
    #15 12:36:08 [AWT-EventQueue-0] INFO com.sap.aii.ifr.upload.sap.SAPConnection: connecting to system 20 on bgstsapedai01.
    st.behr.de via JCo
    #16 12:36:09 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.upload.sap.SAPUploadSource: init MDI to System bgstsapedai01.st.be
    hr.de (system=20, client=010) (BasisRelease: 620)
    #17 12:36:09 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.upload.UploadBuffer: new UploadBuffer
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sap/aii/ifr/client/editor/Reference
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
            at java.lang.Class.getDeclaredMethod(Unknown Source)
            at java.awt.Component.isCoalesceEventsOverriden(Unknown Source)
            at java.awt.Component.access$100(Unknown Source)
            at java.awt.Component$2.run(Unknown Source)
            at java.awt.Component$2.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Component.checkCoalescing(Unknown Source)
            at java.awt.Component.<init>(Unknown Source)
            at java.awt.Container.<init>(Unknown Source)
            at javax.swing.JComponent.<init>(Unknown Source)
            at javax.swing.JTree.<init>(Unknown Source)
            at javax.swing.JTree.<init>(Unknown Source)
            at com.sap.aii.ifr.navigation.IFRJTree.<init>(IFRJTree.java:84)
            at com.sap.aii.ifr.navigation.IFRTreePane.buildPane(IFRTreePane.java:123)
            at com.sap.aii.ifr.navigation.IFRTreePane.<init>(IFRTreePane.java:33)
            at com.sap.aii.ifr.upload.client.SAPNavigationPane.<init>(SAPNavigationPane.java:43)
            at com.sap.aii.ifr.upload.client.SAPBrowser.setIsConnected(SAPBrowser.java:252)
            at com.sap.aii.ifr.upload.client.SAPBrowser$ConnectAction.actionPerformed(SAPBrowser.java:594)
            at com.sap.aii.ifr.upload.client.SAPBrowser$NextAction.actionPerformed(SAPBrowser.java:536)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
            at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
            at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)

    Hi,
    >> Error :- java.lang.NoClassDefFoundError: com/sap/aii/security/proxy/KeystoreHelp
    1) Can you check the class path  you have mentioned  is correctly
    2) Setting of the Java in your system ( Desk top /Lap top ) check the Proxy settings
    3) Re start the J2EE engine in the server
    Regards
    Agasthuri Doss

  • NoClassDefFoundError:com/sap/tc/webdynpro/modelimpl/dynamicrfc/WDDynamicRFC

    Hi,
    I get a really odd exception, my scenario is as follows.
    WDJ DC "models" contains all my RFC models (1 api public part "api_pp")
    WDJ DC "delegates" contains a pure-java (no WDJ components) abstraction layer (1 api_pp, 1 ***_pp) depends on models (api_pp)
    J2EE server side library "lib/delegates" depends on delegates (***_pp)
    WDJ DC "client" uses delegates (api_pp). WDJ runtime reference towards lib/delegates (defLib).
    When I run the app in client, I get
    java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/modelimpl/dynamicrfc/WDDynamicRFCExecuteException
        at it.sap.fsh.formazione.<Client DC name here>(GestValComp.java:387)
        at it.sap.fsh.formazione.<Client DC name here>(GestValComp.java:220)
    most likely, lib/delegates does not resolve this class.
    I have tried to declare lib/delegates dependency from tc/wd/webdynpro (default) both runtime and buildtime (also separately).
    Something weird happens: buildtime dependency does not resolve issue, runtime dep does not resolve issue AND makes the DC disappear from Visual Admin -> server -> services -> Classloader Viewer -> Libraries, where it is usually correctly listed.
    I am studying also JA340... but without luck
    Can anyone please help?
    Thanks in advance,
    Vincenzo

    Hi Vincenzo,
    I hope you have already created JCo destinations on the server for the RFCs imported in the 'models' Web Dynpro DC project.
    If there is some change in backend RFC, then you will need to restart the server. You will have to re-import model in design time (in NWDS),
    then do a DC Build & Deploy all the dependent DCs in the particular order and lastly DC Build, Deploy New Archive & Run your application.
    Kind Regards,
    Nitin
    Edited by: Nitin Jain on Jan 6, 2009 9:09 AM

  • Java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/adsproxy/types/p1/RpDa

    Hi All,
    I have created and deployed an EJB application in CE7.1,I am using this jars "_webdynpro_pdfobject.jar",for read the xml data in pdf ,For that time i am getting following errors",
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/adsproxy/types/p1/RpDataat com.sap.tc.webdynpro.pdfobject.api.WDPDFObjectFactory.getPDFObject(WDPDFObjectFactory.java:43)
    Plz anyone suggest
    Regards,
    Vinoth Raja.V

    Well, first of all, you should not use a Web Dynpro API in an EJB app. Web Dynpro is a UI technology, EJB implements the business logic.
    Furthermore, the PDFObject API has been deprecated. For more information and guidance, please refer to its [javadoc|http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/pdfobject/api/package-summary.html].
    HTH!
    \-- Vladimir
    P.S.: Please read the [Rules|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], in particular regarding cross-posting.

  • NoClassDefFoundError: com/sap/sql/log/OpenSQLException

    I have developed a Java project. It consists of 2 SQLJ files and then a Java class. When I try to execute the Java program, I get a Java error:
    java.lang.NoClassDefFoundError: com/sap/sql/log/OpenSQLException
         at com.mbb.crrs.business.report.dao.ReportDAO.<init>(ReportDAO.sqlj:23)
         at com.mbb.crrs.business.report.dao.Test.main(Test.java:24)
    Exception in thread "main"
    I notice a similar problem on message: Re: Which jar to include com.sap.sql.log.OpenSQLException
    Is that something that I need to maintain for it to work? Thank you.

    Hi,
    the problem one year ago was that the SQLException class was not available through remote access. I don't know if that might have been changed meanwhile in the latest release.
    I implemented a simple work around: I caught every SQL-exception in the method where it was thrown, wrapped the exception message and any nested exception in a self written exception and threw this new exception. That worked fine.
    Regards, Astrid

  • Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationSe

    I'm using a User defined function "getFGN" to call a Java Class developed in NWDS. the source in NWDS has no errors when it is build. But when i Run the code i get error below.
    Buy using the Debugging facility in NWDS i can see that the problem is this code linie:
    <i>SldApplicationServiceInterface srvContext = (SldApplicationServiceInterface) jndiContext.lookup(SldApplicationServiceInterface.KEY);</i>
    <u><b>NWDS Log</b></u>
    07:50:12 Start of test
    Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[“invoicenumber”, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[“invoicenumber”, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:186)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:186)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface
    at com.danfoss.xi.mapping.util.GenerateFileNumber.getFileGeneratedNumber(GenerateFileNumber.java:53)
    at com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_.getFGN$(_SAP_APPL_Invoice_to_CustomerInvoice_.java:2556)
    ... 29 more
    RuntimeException in Message-Mapping transformation: Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[“invoicenumber”, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]

    Hi,
    Looks like your CLASSPATH is not set properly...Just try to Put the Jar inside "<DOMAIN_HOME>\lib" directory...in that case u need not to alter anything in the Classpath variable...it will be appended at the end of Classpath at the run time, Using Extended Directory ClassLoader.
    by default Classpath settings doesnt take effect if we specify it in the startScript of Servers but we start them using NodeManagers...So if you are using Nodemanagers to start your Servers... then you can follow the below link to set the Classpath & Memory Arguments http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here)

  • Java.lang.NoClassDefFoundError: com/sap/util/monitor/jarm/TaskMonitor

    hi all,
    i was trying to build and try a web service in my project.
    but at runtime it keeps throwing the following error(  log trace)
    i am unable to figure out the source of error.
    is it in the jco or anything else
    thanks in advance
    1.5#001143C809E500470000002E00000B8C00040CBB0F05957C#1139897457152#com.sap.engine.services.httpserver##com.sap.engine.services.httpserver#Guest#2####a9a4e0009d2011dacd42001143c809e5#SAPEngine_Application_Thread[impl:3]_16##0#0#Error#1#/System/Server#Plain###User Guest, IP address
    HTTP request processing failed. HTTP error [401] will be returned. The error is [Cannot authenticate the user.No details available].#
    #1.5#001143C809E500530000001F00000B8C00040CBB0FEBCF9E#1139897472233#com.sap.engine.services.ejb#sap.com/xappsospservicebundle~enterpriseapp#com.sap.engine.services.ejb#I020381E1#1839####b13de9b09d2011da944e001143c809e5#SAPEngine_Application_Thread[impl:3]_24##0#0#Error##Java###
    [EXCEPTION]
    #1#com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method getRelatedReports.
         at com.sap.xapps.osp.orgmgmt.servicebundle.sbejb.OrgMgmtSBLocalLocalObjectImpl10.getRelatedReports(OrgMgmtSBLocalLocalObjectImpl10.java:121)
         at com.sap.xapps.osp.orgmgmt.servicebundle.facade.OrgMgtFacadeBean.getRelatedReports(OrgMgtFacadeBean.java:425)
         at com.sap.xapps.osp.orgmgmt.servicebundle.facade.OrgMgtFacadeLocalLocalObjectImpl10.getRelatedReports(OrgMgtFacadeLocalLocalObjectImpl10.java:103)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NoClassDefFoundError: com/sap/util/monitor/jarm/TaskMonitor
         at com.sap.mw.jco.util.Jarm.getRequestMonitor(Jarm.java:57)
         at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:19069)
         at com.sap.mw.jco.JCO$BasicRepository.getFunctionTemplate(JCO.java:18151)
         at com.sap.xapps.osp.orgmgmt.servicebundle.common.OrgMgmtSBHelper.createFunction(OrgMgmtSBHelper.java:491)
         at com.sap.xapps.osp.orgmgmt.servicebundle.impl.OrgMgmtBusinessDelegate.getRelatedReports(OrgMgmtBusinessDelegate.java:1273)
         at com.sap.xapps.osp.orgmgmt.servicebundle.sbejb.OrgMgmtSBBean.getRelatedReports(OrgMgmtSBBean.java:170)
         at com.sap.xapps.osp.orgmgmt.servicebundle.sbejb.OrgMgmtSBLocalLocalObjectImpl10.getRelatedReports(OrgMgmtSBLocalLocalObjectImpl10.java:103)
         ... 27 more

    hi,
    thanks for the replies.
    well i guess that(user authentication) is not the problem.
    Coz that happens even before i start the web service.
    i guess the problem is that the appl. is not finding the TaskMonitor class ( see the last 10 lines of the log).
    does anyone have a solution for that.
    thanks

  • Java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/clientserver/uielib/st

    Hi everybody,
    I got trouble with my WebDynpro Application. When I deploy an application including a Table without being bound to any context node, the deployment works and the view is rendered properly. As soon as I bind this table to the context in order to fill the columns, I receive the Exception Message in the subject line. I tried running this application on several WEB AS Version from SP 14 to 17, however, I received the same Exception everytime. Is the framework of my NWDS broken or what is going on?
    I'm grateful for every hint that could solve the issue,
    thx and rgds,
    Otto

    Hi Armin,
    here goes the stacktrace.
    java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDAbstractTableColumn
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructors(Class.java:865)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:68)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:486)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:523)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:397)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:619)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:262)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:819)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:359)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    rgds,
    Otto

  • Runtime error.Java.lang.nullPointerException: null at com.sap.guid.GUID.par

    Hi experts.
    My scenario is File --> PI --> File.
    During the message mapping there are a few RFC lockups.
    I have configured an communication component for the RFC destination, and a Receiver communication channel to the RFC system.
    When I am trying to check the message mapping and the operation mapping from the integration builder every thing works just fine.
    In the interface determination i have configured the rfc parameter for the mapping.
    When I am trying to run the hole process i receive an error saying:"Runtime exception from: java.lang.nullPointerException:
    null at com.sap.guid.GUID.parsHEXguid(guid.java:1015)
    reguars Max

    Did you test your operation mapping??
    Did you provide your RFC communication channel name and import parameters value in paramter tab of Operation mappi
    Yes I did.
    I have tested the operation mapping and it runs just fine.
    Also all the parameters are specified.
    And the communication channel is configured.
    Just to make sure the communication channel is configured well.
    Should it be configured as RFC adepter and connected to the system on which the RFCs are located?
    If this is all of the configuration needed i have already done them.
    Any suggestions?
    Regards Max.

  • Resolve Error:NoClassDefFoundError: com/sap/workflow/engine/api/IWorkflow

    Hi,
    I want Create Task in UWL using web dynpro coding .
    i have done some coding using UWL APIs.
    when i run the application i will get an error   java.lang.NoClassDefFoundError: com/sap/workflow/engine/api/IWorkflow
    i think i want to give a some web dynpro references but now i have given reference like
    Library reference =tckmcbc.uwl~api
    Sharing reference = PORTAL:sap.com/com.sap.portal.usermapping
    but i nedd to give some other reference? or how to resolve this error.
    Regards,
    BOOPATHI.M

    HI ,
    My Code is :
    IWDClientUser clientUser = null; 
         IUser creator = null;  
         clientUser =  WDClientUser.getCurrentUser();
         creator = clientUser.getSAPUser();
         IJWFPortalService service = (IJWFPortalService) PortalRuntime.getRuntimeResources().getService(IJWFPortalService.KEY);
         IWorkflow eWF = service.getWorkflowEngineJMS();
         Hashtable taskCtxt = new Hashtable();
         taskCtxt.put("_wfitemtype_","uwl.notification.erp.fyi");
         if(wdContext.currentVnCreateTaskElement().getVaDescription()!=null)
              taskCtxt.put("_wfdescription_",wdContext.currentVnCreateTaskElement().getVaDescription());// "mydescription");     
         else
              wdComponentAPI.getMessageManager().raiseException("Please enter the Description",true);
         taskCtxt.put("_wfpriority_",wdContext.currentContextElement().getCaPriority());//new Integer (0));
         if(wdContext.currentVnCreateTaskElement().getVaAssignedUser()!=null)
         taskCtxt.put("_wftaskassignees_",wdContext.currentVnCreateTaskElement().getVaAssignedUser());//"administrator");
         else
         wdComponentAPI.getMessageManager().raiseException("Please enter the User",true);
         taskCtxt.put("_wftemplatename_","QuickTask");
         taskCtxt.put("_wfduedate_", dateTime);
         Hashtable appCtxt = new Hashtable();
         appCtxt.put("mysystem", "SAP_LocalSystem");
         appCtxt.put("mylaunchcontext", "uwl"); 
         appCtxt.put("myappcontext", "test");
        if(wdContext.currentVnCreateTaskElement().getVaTitle()!=null)
        eWF.createTask(wdContext.currentVnCreateTaskElement().getVaTitle(), creator, taskCtxt,appCtxt);
    Regards,
    Boopathi M

  • Com.sap.guid.GUID com.sap.mw.rfc.engine.GUID

    Hi to All!
    I’ am looking for javadoc for the classes com.sap.guid.GUID and com.sap.mw.rfc.engine.GUID.
    Has anybody a link for me
    Regards
    Hermann

    Hi Nagarjuna,
    You can paste the conection properties?.
    try {
          // Change the logon information to your own system/user
          mConnection =
            JCO.createClient("001", // SAP client
              "<userid>",           // userid
              "****",               // password
              null,                 // language
              "<hostname>",         // application server host name
              "00");                // system number
          mConnection.connect();
          mRepository = new JCO.Repository("ARAsoft", mConnection);
    You need use server router string or simple server hostname??.
    if you need use route string conection, concatenate router string with hostname:
    try {
          // Change the logon information to your own system/user
          mConnection =
            JCO.createClient("001", // SAP client
              "<userid>",           // userid
              "****",               // password
              null,                 // language
              "<router string><hostname>",         // application server host name
              "00");                // system number
          mConnection.connect();
          mRepository = new JCO.Repository("ARAsoft", mConnection);
    get us more details pls,

  • RUNTIME_EXCEPTION NullPointerException: at com.sap.guid.GUID.parseHexGUID

    I have just started testing an end to end process that uses RFC Lookups on PI 7.1 ...
    when testing the mapping from the ESR in both message mapping and operational mapping, it works fine..
    when i run it end to end i get the following error:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">RUNTIME_EXCEPTION</SAP:Code>
      <SAP:P1>Thrown: java.lang.NullPointerException: at com.s</SAP:P1>
      <SAP:P2>ap.guid.GUID.parseHexGUID(GUID.java:1015) at com.</SAP:P2>
      <SAP:P3>sap.guid.GUIDGenerator.parseHexGUID(GUIDGenerator.</SAP:P3>
      <SAP:P4>java:111) at com.sap.aii.utilxi.misc.api.GUIDFac~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during mapping</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    i can take the xml and run it perfectly in the ESR in both OM and MM mapping.....  any suggestions?  i believe all the config is there for the RFC Lookup...

    There was config missing in the interface determination in the ID.  Parameter assigned and tested.

  • Help in com.sap.aii.af.ra.ms.api.DeliveryException

    Hi guys,
    I'm doing a complex RFC to JDBC syncronous select scenario, In my BPM the sync send step is showing an error.
    The message i'm getting in moni is
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The scenario was working fine untill yesterday....Can anyone help me in this regard??
    Thanks
    Varun

    hi varun,
    was new patch applied to the system...?
    check this for your reference
    com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method process ?
    regards
    Ramesh P

Maybe you are looking for

  • Why do I get an error in iTunes that my internet connection is not good when it is not a problem?

    I am trying to use the "Radio" in iTunes and can successfully access all options except the talk shows. When I click on talk shows I get this.  My internet connection is OK. This has been happening for over a week.

  • NSM does not create homedirs in an OES2-Linux-Cluster

    Our situation: The NSM Engine 2.5.1.1 (Jan 12 2010 15:30:55) is running under Netware6.5SP8, on the same server are also a NSM Event Monitor and a NSM Agent. We have a second server under SLES10SP3/OES2a with the Agent and Event Monitor running. Whil

  • First name last name sort order-how to correct on iphone

    hello all. i have mobile me (hate that name) set correctly with the sort order of first name first in my extensive contacts list and the same in my address book on my main mac, yet my new iphone stubbornly refuses to order the contacts correctly, ins

  • Quality of audio question

    Hello there, Watching Nigel's presentation at MAX I've noticed that there was a question about possibility to stream MP3 within the LCCS framework. Nigel, could you elaborate a bit on that (after the Holiday ). For example, wether it's possible to us

  • Saving SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1; in a report

    Hi Experts, The scenario is: When I open a report and set the prefix to 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' then I save it. Then I close that specific report then open that report again. The 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' i