Re: Tomcat's data-source issue with Fork Join Tasks

2018-03-16 Thread Priyam Srivastava
Hi Mark, Many Thanks for your response. I was able to resolve this issue by writing the below code just before JNDI Look Up: Thread l_thread = Thread.currentThread(); l_thread.setContextClassLoader(this.getClass().getClassLoader()); initialContext = new InitialContext(); I have a questions

Tomcat shutdown, webapp vs database pools

2018-03-16 Thread Alex O'Ree
I have a war file that defines a context.xml file, some cxf based web services and a few other background tasks using quartz that are initialized in a servlet context listener. When tomcat shuts down, it appears that tomcat stops the database connection pool before the cxf services or the quartz t

Re: Request attributes

2018-03-16 Thread Mark Thomas
On 16/03/18 19:14, Mark A. Claassen wrote: > I recently discovered some request attributes that I was curious about. Are > these accurate across all connectors? Or are these the defaults for using > something like the NIO connector? > Specifically in my case, I am using the APR connector and

Re: Tomcat's data-source issue with Fork Join Tasks

2018-03-16 Thread Mark Thomas
On 16/03/18 12:06, Priyam Srivastava wrote: > I have a scenario where we have to run some random number of independent > tasks to load data from DB. So I am using Java's fork Join framework to > create those task and then invoke them. See: https://bz.apache.org/bugzilla/show_bug.cgi?id=60620 and t

Request attributes

2018-03-16 Thread Mark A. Claassen
I recently discovered some request attributes that I was curious about. Are these accurate across all connectors? Or are these the defaults for using something like the NIO connector? Specifically in my case, I am using the APR connector and openSSL. Example: Attribute 'org

Re: Binding a non root user to port 443

2018-03-16 Thread Cheltenham, Chris
Thank You Olaf === Thank You; Chris Cheltenham Technology Services The School District of Philadelphia Work # 215-400-5025 Cell # 215-301-6571 - Original Message - From: "Olaf Kock" To: "users" Sent: Friday, March 16, 2018 7:21:26 AM Subject: Re: Bindin

Tomcat's data-source issue with Fork Join Tasks

2018-03-16 Thread Priyam Srivastava
I have a scenario where we have to run some random number of independent tasks to load data from DB. So I am using Java's fork Join framework to create those task and then invoke them. Each task opens its own connection using datasource and closes it. But in Tomcat, I am getting below error at li

Re: Binding a non root user to port 443

2018-03-16 Thread Olaf Kock
Chris, On 15.03.2018 13:34, Cheltenham, Chris wrote: Andre, You probably missed where I had mentioned the infrastructure group poo poo'd altering iptables for whatever reason. Here is what I think are my 5 best choices for running tomcat as a non root user on a privileged port. 1) redirect 4