Hi Marcos,
1st thing, R3trans should not be used for JAVA system. As far as I know, it won't work for a JAVA database.
2nd thing, Are you trying to use the same database for JAVA and ABAP ? Did you use Virtual hostname ?
3rd thing, Share logs from work directory of PI.
Regards,
Divyanshu