Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004160 [Resin] minor always 08-04-10 11:21 08-16-10 13:00
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0004160: connection and transaction in ResinBeanContainer
Description (rep by Michael Barker)

2) In a couple of our services we don't really need the web server functionality of Resin, but I would like to reuse Resin's connection pool and transaction manager in an embedded manner. Is this possible, if so is there any documentation that relates to doing this. The only documentation I can find about embedding is related to the Web/Servlet engine and Resin 3.1. Ideally I would like to be able to wire the connection pool and transaction manager into our code via Java/Spring.

Additional Information
Attached Files

- Relationships

- Notes
(0004726)
ferg
08-16-10 13:00

env/11k0

beans = new ResinBeanContainer();
beans.addModule("file:/tmp/caucho/qa/beans");
beans.addBeansXml("file:/tmp/caucho/qa/context.xml");
beans.start();

request = beans.beginRequest();
try {
  ... normal XA and connection here
} finally {
  request.close();
}

The syntax of the context.xml is the same as resin.xml.
 

- Issue History
Date Modified Username Field Change
08-04-10 11:21 ferg New Issue
08-16-10 13:00 ferg Note Added: 0004726
08-16-10 13:00 ferg Assigned To  => ferg
08-16-10 13:00 ferg Status new => closed
08-16-10 13:00 ferg Resolution open => fixed
08-16-10 13:00 ferg Fixed in Version  => 4.0.10


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker