tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laird Nelson <>
Subject Re: Putting data source into local container?
Date Mon, 20 Apr 2009 18:07:26 GMT
Hey, this gets weirder.

I found this:

Now, this indicates that what you can do is set up your InitialContext, then
*throw it away*, then create a *new* InitialContext without
*any*properties, and look up your data source in

I tried it and it works, but boy does it creep me out.  :-)

Any ideas as to why I need to create a new InitialContext with no arguments
after my initialization code to get the subsequent lookup to work?

Cheerfully baffled,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message