[jbossts-issues] [JBoss JIRA] (JBTM-809) Provide instructions for using ironjacamar as well as transactional driver

Tom Jenkinson (JIRA) issues at jboss.org
Thu Jul 21 10:21:01 EDT 2016


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

Tom Jenkinson closed JBTM-809.
------------------------------


> Provide instructions for using ironjacamar as well as transactional driver
> --------------------------------------------------------------------------
>
>                 Key: JBTM-809
>                 URL: https://issues.jboss.org/browse/JBTM-809
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>          Components: Resource Manager
>            Reporter: Tom Jenkinson
>            Assignee: Gytis Trikleris
>             Fix For: 5.3.3.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 was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbossts-issues mailing list