Re: Tomcat embedded context: Unable to find [java:]

2017-01-19 Thread Tom Eugelink
Took a bit to find time again, but this indeed fixes the problem. Strange registering the ContextFactory didn't. Thanks! On 17-1-2017 20:56, Mark Thomas wrote: On 16/01/2017 09:13, Tom Eugelink wrote: Trying to launch Tomcat 8.0.39 embedded with a datasource configured, I get this error: /

Re: Tomcat embedded context: Unable to find [java:]

2017-01-17 Thread Mark Thomas
On 16/01/2017 09:13, Tom Eugelink wrote: > Trying to launch Tomcat 8.0.39 embedded with a datasource configured, I > get this error: > > /Failed to log into the database: Name [java:/comp/env/myDsName] is not > bound in this Context. Unable to find [java:]./ > > I'm configuring the default Tomcat

Tomcat embedded context: Unable to find [java:]

2017-01-16 Thread Tom Eugelink
Trying to launch Tomcat 8.0.39 embedded with a datasource configured, I get this error: /Failed to log into the database: Name [java:/comp/env/myDsName] is not bound in this Context. Unable to find [java:]./ I'm configuring the default Tomcat ContactFactory. This is the relevant source: