on 05-07-2007 6:46 AM
Hi ,
I am getting the following adapter monitor error message when i used my custom module to retrieve a<i> list of files in a remote directory </i>by using<b> apache commons</b> net library.
<i>
- 2007-05-07 07:46:27 CEST: Retry interval started. Length: 6.000 s
- 2007-05-07 07:46:27 CEST: Error: BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
- 2007-05-07 07:46:24 CEST: Processing started
- 2007-05-07 07:46:21 CEST: Error: BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
- 2007-05-07 07:46:18 CEST: Processing started</i>
When i traced, I get the exception exactly for the following line of code
<b>FTPFile files[] = ftp.listFiles();</b>
What could be the reason for a rollback exception???
Thanks
krishna
Hi,
I am not able to guess the exact reason.
After deploying Ur module try to restart the XI Server.
We had a line of code(We used a java API for encryption) in Module which would throw exception when Server is not restarted after module deployment.
Also use Audit Log entry and add the Message of the exception(e.getMessage) to the Audit Log and check the Audit log in Adapter Monitoring from RWB.
Regards,
Sudharshan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Found a workaround for the issue by changing the method listFiles() to listNames();Still wondering why listFiles() threw an exception
FTPFile files[] = ftp.<b>listNames();</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.