Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4712 | minor | always | 08-16-11 07:51 | 08-16-11 12:13 | |
|
|||||
Reporter: | stoty | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.20 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.21 | ||
|
|||||
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. |
||||
Relationships | |||||
Attached Files: |
shoudlwork.tgz [^] (3,665 bytes) 08-16-11 07:51 workaround.tgz [^] (3,721 bytes) 08-16-11 07:52 |
Notes | |||||
|
|||||
|
|