I can use a JNDI name in my storage_conf.xml file for the standard content delivery database, but. This is great as we can create a single storage file that is used in all environments and remains part of the same deployment package.
We'd seen that this doesn't work when configuring a <storage> element within a <Wrapper> (the new nodes for session preview)
<Wrappers>
<Wrapper Name="SessionWrapper">
<storage />
</Wrapper>
</Wrappers>
we believe that SDL Tridion doesn't support a JNDI name at the moment for this format, which is something I will confirm with SDL Tridion support. In the event this is indeed not supported, I was wondering what work arounds the community has made in an attempt to create a single deployment package (war file) that can be used in all SDL Tridion environments.