Skip to Content
avatar image
Former Member

Copy a file with same filename using XI - module experts please help!


Felix Jeyareuben had an excellent blog on how to copy a binary file with XI.


It is a shame by the way that such a simple thing has to be this complicated in XI, but that's another question...

So after I created the EAR file and successfully deployed the modules on our XI server, I got the following file adapter error, when I was trying to use it:

Sender Adapter v2727 for Party '', Service 'BS_TA_XI_DEV':

Configured at 2006-11-30 14:04:15 EST


- 2006-11-30 14:10:00 EST: Error: java.lang.ClassCastException

- 2006-11-30 14:10:00 EST: Processing started

Can you give me any clues what could have gone wrong?

This is the first module I deployed so I might have messed up something simple, but I cannot figure this out.

Also how can I debug this?

Your help would be much appreciated.

Thanks a lot,

Viktor Varga

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 06, 2006 at 06:52 PM


    btw, it can be done without module after SP14 onwards with the option of Adapter Specific Properties-


    btw for the error this SAP note may give some hints- 746393 and also this thread has got the answer

    Module Processor : Module exception java.lang.ClassCastException



    Add comment
    10|10000 characters needed characters exceeded

  • Dec 06, 2006 at 07:09 PM


    it means that XI cnanot find your adapter module

    (maybe incorrct jndi name)




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

    Add comment
    10|10000 characters needed characters exceeded

    • > Moorthy,

      > My issue is not so much about the filename, but an

      > encrypted (binary) file that I just want to copy from here to there.

      Do it like in the mentioned blog, but don't do any mapping. That will be fine.

      > Michal,

      > In my adapter I have the following:

      > 1) localejbs/xi_file_module/ReadBinaryBean

      > (LocalEnterpriseBean)

      > ) localejbs/CallSapAdapter

      > (LocalEnterpriseBean)

      > ine.xml file I have this:

      > <enterprise-bean>

      > <ejb-name>ReadBinaryBean</ejb-name>

      > <jndi-name>xi_file_module/ReadBinaryBean</jndi-name>

      > <session-props/>

      > enterprise-bean>

      Check your EAR if there are any libs from the adapter framework and delete them if necessary.

      After deployment check in your visual administrator if your EAR is available.



  • avatar image
    Former Member
    Dec 15, 2006 at 06:20 PM

    My mistake, I accidently overwrote the following section:





    Thanks a lot!

    Add comment
    10|10000 characters needed characters exceeded