cancel
Showing results for 
Search instead for 
Did you mean: 

Problem after creating a module !!!

Shabarish_Nair
Active Contributor
0 Kudos

Hi Experts,

I was trying to put my hands on EJB development and took the help of the paper "Step by step guide to develop a module for reading file name in a sender file adapter" by Krishnakumar Ramamoorthy.

Now that everything was developed and deployed when my file adapter polls for the file this is what i get ....

Sender Adapter v2024 for Party '', Service 'BS_XIPOC':

Configured at 2006-03-14 17:52:23 IST

History:

- 2006-03-14 17:53:20 IST: Retry interval started. Length: 10.000 s

- 2006-03-14 17:53:20 IST: Error: java.lang.ClassCastException

- 2006-03-14 17:53:20 IST: Processing started

- 2006-03-14 17:53:10 IST: Error: java.lang.ClassCastException

- 2006-03-14 17:53:10 IST: Processing started

Can somebody help me out !!!!

Regards,

ShabZ

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Here is the link

Former Member
0 Kudos

Ravishankar,

Take a look at the following thread. Might help you fix the issue..

Regards

krishna

moorthy
Active Contributor
0 Kudos

HI Shabarish,

Make sure that ,SP of the Module processor developed environment and the Adapter environment is on same version or Adapter SP is on lower version.

For e.g if the module processor is in SP9 and XI is in SP10, then it is ok, if it is otherway , then it might give some problems.

Also make sure that your .ear file contains proper jar files.

Regards,

Moorthy

stefan_grube
Active Contributor
0 Kudos

Check your EAR file for additional libraries and delete them if necessary. Only the jar with your classes is allowed to be in the EAR.

Regards

Stefan

MichalKrawczyk
Active Contributor
0 Kudos

hi Shabarish,

if I where to guess I'd say that the name

of your adapter module is not correct (or the path)

check in the Visual Admin - deploy

if your name is correct

or maybe you did not set the name in your

adapter module

<jndi-name>modulename</jndi-name>

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

Shabarish_Nair
Active Contributor
0 Kudos

Well Mike , its the correct one

any other hints ?

MichalKrawczyk
Active Contributor
0 Kudos

hi,

but did you check in VA ?

you can adding: addAuditLogEntry

to see if the module gets invoked but probably it doesn't

Regards,

michal

Former Member
0 Kudos

Hi Michal

I have checked the Jndi Name in Visual Admin(EJB Container > sap.com/<my application>) and as well as in my adapter moduel both are same. But still i am getting the ClassCastException. How to resolve this problem

Best Regards

Ravi Shankar B