tag:blogger.com,1999:blog-3195885170348729753.post1757065964533411992..comments2023-11-29T17:45:50.424+01:00Comments on Java mon amour: OSB move remote file with JCA FTP AdapterUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3195885170348729753.post-37157286526733496242012-01-21T18:11:17.781+01:002012-01-21T18:11:17.781+01:00somehow you are FTP'ing in a transaction where...somehow you are FTP'ing in a transaction where also SOADataSource_ohsdomain is enrolled as a participant <br /><br />If you activate the WebLogic debug flag JTA you should have plenty of info about TX in the logs... but even without it, on the Server/Monitoring/JTA console you should see all the resources enrolled in your active transaction while you are FTP'ing...vernettohttps://www.blogger.com/profile/00289134594764720847noreply@blogger.comtag:blogger.com,1999:blog-3195885170348729753.post-68972067670479570102012-01-21T18:06:39.230+01:002012-01-21T18:06:39.230+01:00But if it's an ftp adapter, how I can change d...But if it's an ftp adapter, how I can change de XA datasource?; in other web pages I read about "SOADatasource" but I don't understand if I need change the values of XA and timeout in this datasource because I'm using the FTP Adapter.idavistrohttps://www.blogger.com/profile/17947560330804303467noreply@blogger.comtag:blogger.com,1999:blog-3195885170348729753.post-66871032236579392232012-01-21T10:55:17.539+01:002012-01-21T10:55:17.539+01:00"The XID is not valid" is typically a DB..."The XID is not valid" is typically a DB transaction Timeout... the transaction has been rolled back on the DB due to a Distributed Timeout, and when you try to commit it from the Transaction coordinator (WebLogic JTA) the transaction is no longer there on the DB.<br /><br />I would suggest you to <br />- either avoid using a XA datasource for the access to the DB in this specific interface<br /><br />- or increasing the default distributed timeout at DB level (talk to a DBA for this)vernettohttps://www.blogger.com/profile/00289134594764720847noreply@blogger.comtag:blogger.com,1999:blog-3195885170348729753.post-35859646191884270252012-01-21T02:06:13.842+01:002012-01-21T02:06:13.842+01:00Hi, I follow your post but I have a trouble when I...Hi, I follow your post but I have a trouble when I move big files, the error message is:<br /><br />Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'readEBS' <br />failed due to: The IO operation failed. The IO operation failed. The "OPER[NOOP][NONE]" IO operation for "/tmp/TestLogSOA/DetalleCostos3333333.dvd" <br />failed. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. <br /><br />java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on <br />resource 'SOADataSource_ohsdomain': XAER_NOTA : The XID is not valid oracle.jdbc.xa.OracleXAException at <br />oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1532) at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:321) at <br />weblogic.jdbc.wrapper.VendorXAResource.start(VendorXAResource.java:51) at weblogic.jdbc.jta.DataSource.start(DataSource.java:722) at <br />weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1228) at <br />weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1161) at ...<br /><br />When I'm moving small files everything it's OK except when the files are more than 50 MB.<br /><br />Thanks!!idavistrohttps://www.blogger.com/profile/17947560330804303467noreply@blogger.com