[jbossts-issues] [JBoss JIRA] (JBTM-809) Replace transactional driver with ironjacamar

Tom Jenkinson (JIRA) issues at jboss.org
Tue Aug 11 11:29:03 EDT 2015


     [ https://issues.jboss.org/browse/JBTM-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson updated JBTM-809:
-------------------------------
    Fix Version/s:     (was: 6.later)


> Replace transactional driver with ironjacamar
> ---------------------------------------------
>
>                 Key: JBTM-809
>                 URL: https://issues.jboss.org/browse/JBTM-809
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>          Components: Resource Manager
>            Reporter: Tom Jenkinson
>            Assignee: Tom Jenkinson
>
> Supporting the transactional driver source code on the face of it duplicates much effort with the IronJacamar team. Supporting IronJacamar for datasource access should be possible as this is the connection manager in the Application Server and it provides an embedded mode for use outside of the application server.
> There are several bugs open against transactional driver that will be resolved by completing this work.
> The general approach would be along the lines of:
> Startup
> ======
> Embedded embedded = EmbeddedFactory.create();
> embedded.startup();
> embedded.deploy(new File("my-rar.rar").toURI().toURL());
> embedded.deploy(new File("my-ds.xml").toURI().toURL());
> In use
> =====
>         InitialContext initialContext = new InitialContext();
>         UserTransaction ut = (UserTransaction)initialContext.lookup("UserTransaction");
>         DataSource dataSource = (DataSource)initialContext.lookup("java:/"+"TestDS");
> Shutdown
> =======
> embedded.undeploy(new File("my-ds.xml").toURI().toURL()); 
> embedded.undeploy(new File("my-rar.rar").toURI().toURL());
> embedded.shutdown(); // does not work - some threads don't stop
> Problems?
> =========
> JCA transitive dependencies?
> Accessing ds files from war?
> Accessing rar from war?
>   May have to provide these both upfront.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbossts-issues mailing list