Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004712 [Resin] minor always 08-16-11 07:51 08-16-11 12:13
Reporter stoty View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.20
Summary 0004712: When using ResinBeanContainer the persistence provider can't find the DataSource definied in META-INF/beans.xml
Description I have an issue, that seems related to 0004502.
My setup is similar to the one described there, except I use ResinBeanContainer.

When I define the DataSource in META-INF/beans.xml, the persistence provide can't find that datasource, and throws an exception at ResinBeanContainer.init().

If I put an empty beans.xml in META-INF, then add a separate beans.xml file with addBeansXml(), then persistence.xml will use the defined datasource.
Additional Information I have atteched to complete eclipse projects, one demonstrates the workaround, the other is the version that should work, but does not.

Attached Files  shoudlwork.tgz [^] (3,665 bytes) 08-16-11 07:51
 workaround.tgz [^] (3,721 bytes) 08-16-11 07:52

- Relationships

- Notes
(0005445)
ferg
08-16-11 12:13

env/0e82
 

- Issue History
Date Modified Username Field Change
08-16-11 07:51 stoty New Issue
08-16-11 07:51 stoty File Added: shoudlwork.tgz
08-16-11 07:52 stoty File Added: workaround.tgz
08-16-11 12:13 ferg Note Added: 0005445
08-16-11 12:13 ferg Assigned To  => ferg
08-16-11 12:13 ferg Status new => closed
08-16-11 12:13 ferg Resolution open => fixed
08-16-11 12:13 ferg Fixed in Version  => 4.0.21


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