jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Köll (JIRA) <j...@apache.org>
Subject [jira] Commented: (JCR-743) XA Transaction Recovery
Date Thu, 15 Feb 2007 15:55:05 GMT

    [ https://issues.apache.org/jira/browse/JCR-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473406
] 

Claus Köll commented on JCR-743:
--------------------------------

I have tested more with this behaviour.
For more information my environment in detail:
Websphere 5.1.1 and Jackrabbit as J2C Resource Adapter
My Workspace configuration:
    <PersistenceManager class="org.apache.jackrabbit.core.state.db.JNDIDatabasePersistenceManager">
       <param name="dataSourceLocation" value="jdbc/JCR"/>
       <param name="schema" value="oracle"/>
       <param name="schemaObjectPrefix" value="${wsp.name}_"/>
       <param name="externalBLOBs" value="false"/>
    </PersistenceManager>
The DataSource jdbc/JCR is a oracle.jdbc.pool.OracleConnectionPoolDataSource. I have also
tested a oracle.jdbc.xa.client.OracleXADataSource
but then i get a Exception on commit @see JCR-744
I have a SessionBean where i make some calls to to Jackrabbit within a Transaction.

I made a clean start. (starting my Server and Jackrabbit to a a empty repository). 
If i add a node to the repository within transaction there are no problems. 
Now i stop the server and restart it and i get  always the Nullpointer Exception. First i
thought that is only if a make a Rollback but that is not so.
I try to find out why Websphere try to recover the transaction ...


> XA Transaction Recovery
> -----------------------
>
>                 Key: JCR-743
>                 URL: https://issues.apache.org/jira/browse/JCR-743
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jca
>    Affects Versions: 1.2.1
>         Environment: J2C Resource Adapter on Websphere
>            Reporter: Claus Köll
>
> If i add a node to the repository i get a XAException because i run into a Timeout ...

> I see the Warn Message: Transaction rolled back because timeout expired.
> The default Timeout is set to 5 sec and i dont know how to set it to a higher value
> The Problem is if i restart my server websphere has a RecoveryManager and he try to recover
this Transaction
> and then i get a NullpointerException in JCAManagedConnectionFactory. createManagedConnection
beacuse the given 
> ConnectionRequestInfo is null.
> So i dont know why the RecoveryManager tries to recover the Transaction ? The only solution
for me is to delete the Tran-Log Files wich keep Websphere to recvoer
> XA Trasnactions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message