[ 
https://issues.apache.org/jira/browse/TOMEE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Zowalla resolved TOMEE-263.
-----------------------------------
    Resolution: Auto Closed

Hi there!

We wanted to reach out and let you know that we're currently working on 
cleaning up open issues in Jira that specifically impact unsupported versions, 
including 1.7.x, 7.0.x, and 7.1.x.

If you had previously reported this issue on one of these unsupported versions, 
we kindly ask you to check if the problem still persists and can be reproduced 
on a supported version such as 8.0.x or 9.0.x. If you find that it is indeed 
reproducible on a supported version, you're more than welcome to re-open this 
issue.

Thanks!


> Trunk regression: <Resources> declared via context.xml not imported
> -------------------------------------------------------------------
>
>                 Key: TOMEE-263
>                 URL: https://issues.apache.org/jira/browse/TOMEE-263
>             Project: TomEE
>          Issue Type: Task
>            Reporter: David Blevins
>            Priority: Major
>         Attachments: ResourceTest.war, bug-showcase.tar.gz
>
>
> This works in 1.0.0, but seems to be failing in trunk:
> {panel}
> $ jar tvf /tmp/foo/tomcatresources.war 
>      0 Fri Jun 29 19:19:02 PDT 2012 META-INF/
>     60 Fri Jun 29 19:19:02 PDT 2012 META-INF/MANIFEST.MF
>      0 Fri Jun 29 19:18:30 PDT 2012 WEB-INF/
>    314 Fri Jun 29 19:18:32 PDT 2012 WEB-INF/context.xml
> {panel}
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <Context>
>   <Resource name="jdbc/myDB" auth="Container"
>             type="javax.sql.DataSource" username="sa" password=""
>             driverClassName="org.hsqldb.jdbcDriver"
>             url="jdbc:hsqldb:file:data/hsqldb/hsqldb"
>             maxActive="8"
>       />
> </Context>
> {code}
> Doesn't seem it will be imported and exist in TomEE as a ResourceInfo in the 
> Assembler and therefore not be used.  Instead we'll create a default 
> DataSource and use it for all @Resource refs and persistence.xml files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to