Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002648 [Resin] minor always 05-05-08 06:50 05-08-08 11:31
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0002648: hibernate/webbeans init order
Description (rep by wesley)

I've set logging to "finer" and found datasource being initialized after
AmberContainer parsing persistence.xml.

After some tracing, I think the issue is also an order problem.

After resin server initialized, it began to init the webapp, at the order
below:

1. Look at persistence.xml and try to init an AmberContainer.
2. Parse resin-web.xml to init DataSource, JCA connectors, EJBs and
Singletons.

Note, at the first step method getJtaDataSource() of
com.caucho.amber.cfg.PersistenceUnitConfig will be
called. It tried to find a DataSource in JNDI and failed,
because a DataSource will be available in JNDI until the
2nd step finished.

Additional Information
Attached Files

- Relationships

- Notes
(0003035)
ferg
05-08-08 11:31

jpa/2135
 

- Issue History
Date Modified Username Field Change
05-05-08 06:50 ferg New Issue
05-08-08 11:31 ferg Note Added: 0003035
05-08-08 11:31 ferg Assigned To  => ferg
05-08-08 11:31 ferg Status new => closed
05-08-08 11:31 ferg Resolution open => fixed
05-08-08 11:31 ferg Fixed in Version  => 3.1.7


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