cancel
Showing results for 
Search instead for 
Did you mean: 

custom module throwing casting exception

former_member200339
Participant
0 Kudos

Dear All,

I have developed and deployed a custom module adapter to read an excel file. It is plugged in with Sender File Adapter. The deployment is successful but in the channel it is showing the following error.

Error: java.lang.ClassCastException: Cannot cast class com.sun.proxy.$Proxy3612 to interface com.sap.aii.af.lib.mp.module.ModuleLocal

Any idea know why it is happening.

Thanks and Regards,

Rana Brata De

SAP PI Consultan.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member200339
Participant
0 Kudos

Dear All,

The problem is resolved by making the correction in JNDI Name. Thanks to all for the co-operation.

Rana Brata De

iaki_vila
Active Contributor
0 Kudos

Hi Rana,

Have you used the NWDS specific for you PI and your PI SP?, have you checked that you are using the same JVM that your Pi?

According with Raghuraman suggestion could you share your modules sequence configuration?

Regards.

engswee
Active Contributor
0 Kudos

Can you share the contents of your ejb-jar.xml?

former_member186851
Active Contributor
0 Kudos

Hello Rana,

Did you place this custom module before the standard module in the channel.

former_member200339
Participant
0 Kudos

yes, it is placed before the standard module in the channel