Re: Context class loader of worker thread got null (using parallelStream)

2017-11-30 Thread Johan Compagner
Why do you depend on the context classloader inside that? Op 1 dec. 2017 04:41 schreef "Xueheng Wu" : > Johan, thanks a lot. > > This way could be a huge project, because parallelStream is used > everywhere. > Maybe we got wrong usage from the beginning. > > > > On 30 Nov 2017, at 19:23, Johan Co

Re: Context class loader of worker thread got null (using parallelStream)

2017-11-30 Thread Xueheng Wu
Johan, thanks a lot. This way could be a huge project, because parallelStream is used everywhere. Maybe we got wrong usage from the beginning. > On 30 Nov 2017, at 19:23, Johan Compagner wrote: > > I think tomcat has nothing todo with this. > > This is the Threadpool that parallelStream() use

Re: unable to set the "secure="true" flag on server.xml

2017-11-30 Thread Coty Sutherland
On Thu, Nov 30, 2017 at 1:39 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Naga, > > On 11/30/17 12:29 PM, Naga Ramesh wrote: >> Thanks Chris.. >> >> See the below output and here not showing the secure. >> >> < HTTP/1.1 200 OK < Set-Cookie: >> JSESSIONID=D

Re: unable to set the "secure="true" flag on server.xml

2017-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Naga, On 11/30/17 12:29 PM, Naga Ramesh wrote: > Thanks Chris.. > > See the below output and here not showing the secure. > > < HTTP/1.1 200 OK < Set-Cookie: > JSESSIONID=D14ACAB7CADB83FAD5C11296C75A09DB; Path=/; HttpOnly < > X-Frame-Options: DENY

Looking for a migration assessment tool

2017-11-30 Thread Mohamed Abdallah Omar
Hello, One of our clients(Fin Tech) is moving an enterprise eco system to cloud (and micro services) from a monolithic architecture of enterprise apps(ear files) deployed on Weblogic . Knowing the code is tighly coupled with Weblogic libs and configuration files. I was searching for a tool

RE: unable to set the "secure="true" flag on server.xml

2017-11-30 Thread Naga Ramesh
Thanks Chris.. See the below output and here not showing the secure. < HTTP/1.1 200 OK < Set-Cookie: JSESSIONID=D14ACAB7CADB83FAD5C11296C75A09DB; Path=/; HttpOnly < X-Frame-Options: DENY < X-Content-Type-Options: nosniff < X-XSS-Protection: 1; mode=block < Content-Type: text/html;charset=ISO-8859

Re: unable to set the "secure="true" flag on server.xml

2017-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Naga, On 11/30/17 12:11 PM, Naga Ramesh wrote: > I have configured the tomcat8 version & used the AWS ELB, but I > have set the “secure="true" flag on tomcat8/conf/server.xml file > end, after that service started and login page came but I am unable

unable to set the "secure="true" flag on server.xml

2017-11-30 Thread Naga Ramesh
All, I have configured the tomcat8 version & used the AWS ELB, but I have set the “secure="true" flag on tomcat8/conf/server.xml file end, after that service started and login page came but I am unable to login the application and getting the oops session expired error message coming. Pleas

Re: Understanding tomcat + apache and I/O

2017-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 11/29/17 3:16 PM, TurboChargedDad . wrote: >>> So now all you have to do is upgrade to Tomcat 8.0 or, even >>> better, Tomcat 8.5 :) > That's the plan but it's kind of like pulling teeth. > >>> Can you expand on the "weir

Re: Context class loader of worker thread got null (using parallelStream)

2017-11-30 Thread Johan Compagner
I think tomcat has nothing todo with this. This is the Threadpool that parallelStream() uses. So this is a problem of the streaming api of java The threadpool needs to set the context classloader on its created threads.. So you need to use i think your own ThreadPool, i think that is doable: http

Re: getting some cookie & security related issues.

2017-11-30 Thread Mark Thomas
On 30/11/17 08:25, Naga Ramesh wrote: > I have tried this way (secure="true") also, but application is working fine > but we are unable to login the application & getting the oops session > expired error message, so I have reverted this parameter. OK. For this to work you need Tomcat to be able

RE: getting some cookie & security related issues.

2017-11-30 Thread Naga Ramesh
Thanks Olaf.. There's one piece of information that looks suspicious to me: HTTPS from AWS to Tomcat, port 8080. While it's possible that you're doing this, 8080 is typically used to handle http requests, while 8443 would be a default choice in the 8000+ range of ports for handling https. Please c

Re: getting some cookie & security related issues.

2017-11-30 Thread Olaf Kock
On 30.11.2017 08:52, Naga Ramesh wrote: User > AWS > Tomcat (HTTPS)(HTTPS) User-HTTPS request> AWS-ELB(https-443) re-direct to tomcat connector port-8080 What is the (expected) path when the user makes an HTTPS request? Is it: User > AWS > T