[jbossts-issues] [JBoss JIRA] (JBTM-809) Replace transactional driver with ironjacamar
Tom Jenkinson (JIRA)
jira-events at lists.jboss.org
Wed Feb 20 05:51:57 EST 2013
[ https://issues.jboss.org/browse/JBTM-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Jenkinson updated JBTM-809:
-------------------------------
Description:
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.
was:Evaluate JCA replacement for transactional jdbc driver and do the work
> Replace transactional driver with ironjacamar
> ---------------------------------------------
>
> Key: JBTM-809
> URL: https://issues.jboss.org/browse/JBTM-809
> Project: JBoss Transaction Manager
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Resource Manager
> Reporter: Tom Jenkinson
> Assignee: Tom Jenkinson
> Fix For: 5.0.0.Final
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list