On Aug 22, 2008, at 4:30 PM, Dain Sundstrom wrote:
On Aug 20, 2008, at 6:47 PM, David Blevins wrote:
When webbaps boot, we export all the Tomcat configured resources as
OpenEJB <Resource> objects so they are available for injection.
What we don't do is log a message when we do that which would be
really handy right now.... at least I don't think we do (maybe on
debug?)
I'll implement that this weekend when I take a look at the other
Tomcat bugs.
Implemented. Here is an example message from the openejb.log file:
2008-08-23 16:01:28,113 - INFO - Importing a Tomcat Resource with id
'UserDatabase' of type 'org.apache.catalina.UserDatabase'.
As for the other problem.... we are only importing global resources.
It is a bit more tricky to import application level resources, because
Tomcat does not differentiate between actual resource instances and
references to global resources. I'll take a look at that next week,
unless someone else beats me to it.
-dain