-
Task
-
Resolution: Done
-
Major
-
None
-
None
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.
- incorporates
-
JBTM-531 com.arjuna.ats.internal.jdbc.DynamicClass.shutdownDataSource(XADataSource) is never called
- Closed
-
JBTM-764 ConnectionImple/RecoverableConnection leak in ConnectionManager because of the pooling
- Closed
-
JBTM-789 XA connections leak when no modifier available
- Closed
-
JBTM-1856 Provide a transactional driver quickstart
- Closed
-
JBTM-529 Provide a way to disable connection pooling within a transaction
- Closed
- is blocked by
-
JBTM-2042 Produce a standalone quickstart that uses IronJacamar and Hibernate
- Closed
-
JBTM-764 ConnectionImple/RecoverableConnection leak in ConnectionManager because of the pooling
- Closed
-
JBTM-1479 Create a quickstart to show how to use IronJacamar and JBTM inside tomcat
- Closed