Anonymous | Login | Signup for a new account | 12-17-2024 10:29 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.21 | Product Version | 4.0.20 | ||||
Product Build | |||||||||
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. |
||||||||
Steps To Reproduce | |||||||||
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 |
||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 27 unique queries executed. |