Service Virtualization

Expand all | Collapse all

I am getting errors while trying to hit the SAP application server using "SAP IDoc Sender" component.

  • 1.  I am getting errors while trying to hit the SAP application server using "SAP IDoc Sender" component.

    Posted Apr 04, 2019 02:26 PM

    I am getting errors while trying to hit the SAP application server using "SAP IDoc Sender" component. Though i have placed the sapidoc3.jar, sapjco3.jar and sapjco3.dll in DEV test lib and hotDeploy.

    Can anyone please help on that or share any thoughts on the resolutions?

     

    Error Details:

     

    Verifying Asset
    Unexpected error: Could not initialize class com.ca.sv.protocol.jcoidoc.LisaDestinationAndServerDataProvider
    java.lang.NoClassDefFoundError: Could not initialize class com.ca.sv.protocol.jcoidoc.LisaDestinationAndServerDataProvider
    at com.itko.lisa.esb.sap.SAPUtils.getDestination(SAPUtils.java:251)
    at com.itko.lisa.esb.sap.JCoDestinationAsset.createInstance(JCoDestinationAsset.java:244)
    at com.itko.lisa.esb.sap.JCoDestinationAsset.createInstance(JCoDestinationAsset.java:55)
    at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:2336)
    at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1555)
    at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:819)
    at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:166)
    at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:123)
    at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:114)
    at com.itko.lisa.asset.AssetUtils.verifyRuntimeAsset(AssetUtils.java:1291)
    at com.itko.lisa.asset.ui.AssetEditor$5.run(AssetEditor.java:306)
    at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:142)
    at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:100)
    at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at javax.swing.SwingWorker.run(SwingWorker.java:334)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)



  • 2.  Re: I am getting errors while trying to hit the SAP application server using "SAP IDoc Sender" component.
    Best Answer

    Broadcom Employee
    Posted Apr 05, 2019 01:56 AM

    Hi,

     

    Did you check the links below?
    SV for SAP - SAP Connectivity Troubleshooting

    SV for SAP - SAP JCo Connection Settings in Detail

    In these links, there are PDF format files which include the explanation for setting of DevTest for conneccting SAP.

    For example, the location of the the sapidoc3.jar, sapjco3.jar and sapjco3.dll files are explained below:
    -----------------------------------------------------------------------------------------------------------
    It is recommended to add SAP JCo libraries to following locations of the DevTest installation:
    • sapjco3.jar, sapidoc3.jar to LISA_HOME/lib/shared,
    • (Windows) sapjco3.dll to LISA_HOME/bin
    and to restart the DevTest services.
    -----------------------------------------------------------------------------------------------------------

     

    Thank you,



  • 3.  Re: I am getting errors while trying to hit the SAP application server using "SAP IDoc Sender" component.

    Posted Apr 18, 2019 07:13 AM

    thanks Yusuke, it worked for me.