on 05-09-2007 7:48 AM
Hi
I have done one adapter module example which i got from SDN blogs("Step by Step guide to develop a module for reading file name in a sender file adapter" )
All steps i have done successfully. But XI server is not picking up the file from source directory. I have checked in audit log their i got the following error
<b>Attempt to process file failed with ClassCastException</b>
I have checked in Adapter monitor also their i got following error
<b>2007-05-09 12:09:05 GMT+05:30: Retry interval started. Length: 5.000 s
- 2007-05-09 12:09:05 GMT+05:30: Error: java.lang.ClassCastException
- 2007-05-09 12:09:05 GMT+05:30: Processing started
- 2007-05-09 12:09:00 GMT+05:30: Error: java.lang.ClassCastException
- 2007-05-09 12:09:00 GMT+05:30: Processing started</b>
I have checked the JNDI names in my program and in Visual Administrator > EJB Container both are same.
Can anyone please tell me how to resolve this problem...
Best Regards
Ravi Shanakar B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Hi
Thanks for ur replay. Now i am not getting the ClassCastException error. But When i am testing my scenario i havent fine any difference between source and destination files. I have to get host name in destination. XI server is picking the file from source and its placing into the destination. But i am not getting any host name in target file.
I have checked in audit log nothing is displaying there. How to check whether my module conatain any error or not?
can any please resolve my problem
Thanks & Regards
Ravi Shankar B
<quote>
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.
</unquote>
Regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try catching the exception and print its stacktrace like
e.printStackTrace(System.err);
this will print the whole stack trace in the defaultTrace file where you can understand the exact location of the line where it failed. you can ask for this file to your basis team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joshi
I have checked in defalut trace i got the following exception there
<b>
Thread is not associated with any transaction context.##
#1.5#00111120E6DB00480000297600000EF800042FF01BB1D535#1178608210140#com.sap.engine.services.ts##com.sap.engine.services.ts#J2EE_GUEST#0##sapep.quinnox.com_QN7_9661150#Guest#a7de37e1fcff11dbcb3700111120e6db#XI AF File2XI[:MyBusinessSystem:Source_CC]##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.ts.exceptions.BaseIllegalStateException: Thread is not associated with any transaction context.
at com.sap.engine.services.ts.jta.impl.TransactionManagerImpl.rollback(TransactionManagerImpl.java:474)
at com.sap.aii.adapter.file.File2XI.processFileList(File2XI.java:1759)
at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java:650)
at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:450)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
#</b>
Best Regards
Ravi Shankar B
Message was edited by:
RaviShankar B
User | Count |
---|---|
85 | |
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.