cancel
Showing results for 
Search instead for 
Did you mean: 

BaseTransactionRolledbackLocalException in custom adapter module

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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>

Former Member
0 Kudos

Hi-

Check this thread