Anyone else have experience of using Tomcat6 with eclipse 3.5?
Oh. that %$#%$#!!! Eclipse WTP Server thing again.
I hate the WTP server plugin. It selectively copies parts of your tomcat conf directory into a private location, then mucks around with the copies. I have been so frustrated with it that I've been launching an external Tomcat and using remote debugging on it instead. I much prefer the sysdeo plugin. It was much more well-behaved with Tomcat. Unfortunately, it didn't work with Ganymede, so I switched to WTP and almos immediately regretted it. I've seen hints that maybe sysdeo has been updated since then. I was afraid it was no longer being supported.
Most likely your config changes are not being propagated into WTP's copy of the conf files. You sometimes have to manually force them. So, in other words, you think you're running under a "jdbc/dsn" naming scheme, but actually it's still stuck using the "dsn" naming schem.
Joined: Aug 18, 2006
Got it working Tim.
After you lastest comments, I found the docs for the WTP Tomcat adaptor.
The default behaviour of the Server Configuration is that ignores the META-INF/context.xml file.
The setting 'Publish module contexts to separate xml files' is the one that enables this.
And hey presto, it's working with jdbc/ now.
FWIW I remember using the sysdeo plugin years ago myself and had forgotten about it. It looks as though it does support 3.5 now.
Thanks very much for you your time and inspiration, Tim.