Re: Runtime Cloning of DataSource for Different DB?

2016-06-27 Thread David Kerber
On 6/27/2016 1:07 AM, Jerry Malcolm wrote: On 6/26/2016 8:27 PM, David Kerber wrote: On 6/26/2016 1:32 AM, Jerry Malcolm wrote: I have a webapp that runs on a single host. It has one primary database. But it has many secondary databases. There is one secondary database for each of my

Re: Runtime Cloning of DataSource for Different DB?

2016-06-27 Thread Jerry Malcolm
Mark, On 6/27/2016 1:07 PM, Mark Thomas wrote: On 27/06/2016 17:44, Jerry Malcolm wrote: I'm assuming that context.lookup(...) simply locates the "jdbc/myDB" tag in the context.xml file, pulls all of the parms out of that tag, creates a DataSource object utilizing the parms, and returns it.

Re: Runtime Cloning of DataSource for Different DB?

2016-06-27 Thread Mark Thomas
On 27/06/2016 17:44, Jerry Malcolm wrote: > I'm assuming that context.lookup(...) simply locates the "jdbc/myDB" > tag in the context.xml file, pulls all of the parms out of > that tag, creates a DataSource object utilizing the parms, and returns > it.If that's the case, couldn't I create a

Re: Runtime Cloning of DataSource for Different DB?

2016-06-27 Thread Jerry Malcolm
On 6/27/2016 1:03 AM, Mark Eggers wrote: Jerry, On 6/26/2016 10:07 PM, Jerry Malcolm wrote: On 6/26/2016 8:27 PM, David Kerber wrote: On 6/26/2016 1:32 AM, Jerry Malcolm wrote: I have a webapp that runs on a single host. It has one primary database. But it has many secondary databases.

Re: Runtime Cloning of DataSource for Different DB?

2016-06-27 Thread Anthony Biacco
On Sun, Jun 26, 2016 at 11:07 PM, Jerry Malcolm wrote: > > On 6/26/2016 8:27 PM, David Kerber wrote: > >> On 6/26/2016 1:32 AM, Jerry Malcolm wrote: >> >>> I have a webapp that runs on a single host. It has one primary >>> database. But it has many secondary databases.

NPE in tomcat because of WebSocket API and Lambdas

2016-06-27 Thread Steffen Heil (Mailinglisten)
Hi I just got the following NPE in tomcat: java.lang.NullPointerException at org.apache.tomcat.websocket.Util.getGenericType(Util.java:217) at org.apache.tomcat.websocket.Util.getMessageType(Util.java:171) at

Re: How to configure SPNEGO authentication with fallback to FORM auth?

2016-06-27 Thread Andrei Ivanov
Hi André, In my case, our form has a connection to the AD and a backup, where it performs the authentication. I would also be interested to get this sort of setup working to get seamless authentication with a fallback to form. On Sun, Jun 26, 2016 at 1:05 PM, André Warnier (tomcat)

Re: Runtime Cloning of DataSource for Different DB?

2016-06-27 Thread Mark Eggers
Jerry, On 6/26/2016 10:07 PM, Jerry Malcolm wrote: > > On 6/26/2016 8:27 PM, David Kerber wrote: >> On 6/26/2016 1:32 AM, Jerry Malcolm wrote: >>> I have a webapp that runs on a single host. It has one primary >>> database. But it has many secondary databases. There is one >>> secondary