on 12-06-2006 6:40 PM
Guys,
Felix Jeyareuben had an excellent blog on how to copy a binary file with XI.
/people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-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
History:
- 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
Hi,
btw, it can be done without module after SP14 onwards with the option of Adapter Specific Properties-
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
btw for the error this SAP note may give some hints- 746393 and also this thread has got the answer
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My mistake, I accidently overwrote the following section:
<home>com.sap.aii.af.mp.module.ModuleHome</home>
<remote>com.sap.aii.af.mp.module.ModuleRemote</remote>
<local-home>com.sap.aii.af.mp.module.ModuleLocalHome</local-home>
<local>com.sap.aii.af.mp.module.ModuleLocal</local>
Thanks a lot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it means that XI cnanot find your adapter module
(maybe incorrct jndi name)
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Michal,
In my adapter I have the following:
1) localejbs/xi_file_module/ReadBinaryBean (LocalEnterpriseBean)
2) localejbs/CallSapAdapter (LocalEnterpriseBean)
And in my ejb-j2ee-engine.xml file I have this:
<enterprise-bean>
<ejb-name>ReadBinaryBean</ejb-name>
<jndi-name>xi_file_module/ReadBinaryBean</jndi-name>
<session-props/>
</enterprise-bean>
This should be correct, shouldn't it?
Any other tip?
Thanks a lot,
Viktor
> 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.
Regards
Stefan
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.