Skip to Content
avatar image
Former Member

Error: java.lang.ClassCastException: class com.sun.proxy.$Proxy3286:sap.com/XMLEncryptionEAR

I am developing Adapter User-Module to Encrypt XML Elements in Process Integration 7.31 using the document of William Li .As

I have deployed  adapter module  inside PI server and  added adapter module in the file communication channel sender and receiver, But sender channel showing this error .

Error: java.lang.ClassCastException: class com.sun.proxy.$Proxy3286:sap.com/XMLEncryptionEAR

adapter module.JPG (171.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 17, 2014 at 11:49 AM

    Hi Pradeep,

    This seems to be missing Jar file. There is one portion in Williams blog itself.

    Putting it for your reference and if required you can take help from your basis team.

    In order to develop the user-module locally on the NW Developer Studio on your laptop, some PI libraries will be required. These libraries must be included in the java classpath during development.

    The libraries, or jar files, have to be taken from an existing SAP PI installation. Find the library files in following folders:

    com.sap.aii.af.cpa.svc.api.jar: <bin>/services/com.sap.aii.af.cpa.svc/lib

    com.sap.aii.af.lib.mod.jar: <bin>/ext/com.sap.aii.af.lib\lib

    com.sap.aii.af.ms.ifc_api.jar: <bin>/interfaces/com.sap.aii.af.ms.ifc/lib

    com.sap.aii.af.svc_api.jar: <bin>/services/com.sap.aii.af.svc/lib

    sap.com~tc~logging~java~impl.jar: /system

    Regards

    Abhay

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Abhay ,

      I have uploaded all those jar file which mentioned by you , But i am still facing error  that error .

      Regards

      pradeep