AW: wrong request.getServerPort value reported on upgraded HTTP/2 connector ?

2016-06-28 Thread Frank Taffelt
i have no other connectors than the one on port 443. -Ursprüngliche Nachricht- Von: Christopher Schultz [mailto:ch...@christopherschultz.net] Gesendet: Dienstag, 28. Juni 2016 17:56 An: Tomcat Users List Betreff: Re: wrong request.getServerPort value reported on upgraded HTTP/2 connector

Re: Runtime Cloning of DataSource for Different DB?

2016-06-28 Thread Mark Thomas
On 29/06/2016 05:12, Terence M. Bandoian wrote: > On 6/28/2016 3:56 AM, Mark Thomas wrote: >> On 27/06/2016 22:35, Jerry Malcolm wrote: >>> 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 l

Re: Memory Leak

2016-06-28 Thread Felix Schumacher
Am 29. Juni 2016 02:26:57 MESZ, schrieb Leo Donahue : >On Jun 28, 2016 4:57 PM, "Roman Gelfand" wrote: >> >> I am running a middleware application in .. tomcat... > >Ok. This is something you wrote and deployed or it is a third party >war >file? > >> >> catalina.out.prob:SEVERE: The web applica

Re: Runtime Cloning of DataSource for Different DB?

2016-06-28 Thread Terence M. Bandoian
On 6/28/2016 3:56 AM, Mark Thomas wrote: On 27/06/2016 22:35, Jerry Malcolm wrote: 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 parm

Re: Memory Leak

2016-06-28 Thread Roman Gelfand
It is third party REST server named espresso. After looking further into memory leaks message, I realized this is a thread that writes to mongodb. I had also found couple of posts relating to leaks mongodb jdbc drivers. On Jun 28, 2016 8:27 PM, "Leo Donahue" wrote: > On Jun 28, 2016 4:57 PM, "Ro

Re: Memory Leak

2016-06-28 Thread Leo Donahue
On Jun 28, 2016 4:57 PM, "Roman Gelfand" wrote: > > I am running a middleware application in .. tomcat... Ok. This is something you wrote and deployed or it is a third party war file? > > catalina.out.prob:SEVERE: The web application [] appears to have started a > thread named [cluster-ClusterI

Re: Memory Leak

2016-06-28 Thread David Kerber
On 6/28/2016 5:57 PM, Roman Gelfand wrote: I am running a middleware application in the tomcat environment described, below. After rebooting the server, the memory consumption is couple of gigs. Couple of weeks later, I get a message, I am out of memory. Moreover, I need to bounce the whole ser

Memory Leak

2016-06-28 Thread Roman Gelfand
I am running a middleware application in the tomcat environment described, below. After rebooting the server, the memory consumption is couple of gigs. Couple of weeks later, I get a message, I am out of memory. Moreover, I need to bounce the whole server to start fresh. Here, the log. I am qui

Re: Need help setting up SSL on Tomcat 8

2016-06-28 Thread Daniel Savard
2016-06-28 16:24 GMT-04:00 Sean Son : > > as for the output to the keytool command: > > Isnt the output to that command, confidential information? > > No, there isn't anything confidential from the output of a simple -list. It doesn't display the private key or anything like that. It will just s

Re: [OT] External XML Entities with relative pathnames

2016-06-28 Thread Konstantin Kolinko
2016-06-28 18:53 GMT+03:00 Christopher Schultz : > I'm trying to build an XML file that includes several smaller XML > files using XXE, like this: > > bar.xml: > > > > ]> > > &foo; > > > The files "foo.xml" and "bar.xml" are in the same directory. > > This works great when the CWD of the pr

Re: Need help setting up SSL on Tomcat 8

2016-06-28 Thread Sean Son
Here is the complete configuration as for the output to the keytool command: Isnt the output to that command, confidential information? Thanks On Tue, Jun 28, 2016 at 4:06 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESS

Re: Need help setting up SSL on Tomcat 8

2016-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sean, On 6/28/16 2:31 PM, Sean Son wrote: > Hey Philip > > So i was able to get the page to connect with SSL but I noticed > that when I clicked on the little icon that looks like a lock next > to https:// in the address bar, I saw this certificate

Re: Tomcat graceful shutdown inquiry

2016-06-28 Thread Coty Sutherland
Fantastic. Thanks! :) On Tue, Jun 28, 2016 at 2:43 PM, Mark Thomas wrote: > On 28/06/2016 19:39, Coty Sutherland wrote: >> Hello all, >> >> I've been poking around with the Fedora distribution of tomcat and >> noticed that systemd isn't allowing tomcat to gracefully shutdown (it >> sends an immed

Re: Tomcat graceful shutdown inquiry

2016-06-28 Thread Mark Thomas
On 28/06/2016 19:39, Coty Sutherland wrote: > Hello all, > > I've been poking around with the Fedora distribution of tomcat and > noticed that systemd isn't allowing tomcat to gracefully shutdown (it > sends an immediate SIGKILL after the Boostrap stop is called). That > isn't your issue, but in t

Tomcat graceful shutdown inquiry

2016-06-28 Thread Coty Sutherland
Hello all, I've been poking around with the Fedora distribution of tomcat and noticed that systemd isn't allowing tomcat to gracefully shutdown (it sends an immediate SIGKILL after the Boostrap stop is called). That isn't your issue, but in trying to mediate the issue so that session persistence w

Re: Need help setting up SSL on Tomcat 8

2016-06-28 Thread Sean Son
Hey Philip So i was able to get the page to connect with SSL but I noticed that when I clicked on the little icon that looks like a lock next to https:// in the address bar, I saw this certificate error: Certificate Error There are issues with the site's certificate chain (net::ERR_CERT_COMMON_NAM

Re: Need help setting up SSL on Tomcat 8

2016-06-28 Thread Sean Son
Thank you for your reply Philip yes I have and it still failed.. I can try again and let you know what errors I am running into. Thanks! On Tue, Jun 28, 2016 at 2:15 PM, Philip Hachey wrote: > Have you tried following the steps found here?: > https://tomcat.apache.org/tomcat-8.0-doc/ssl-howt

Re: Need help setting up SSL on Tomcat 8

2016-06-28 Thread Philip Hachey
Have you tried following the steps found here?: https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Need help setting up SSL on Tomcat 8

2016-06-28 Thread Sean Son
Hello all I am stuck trying to set up SSL on Tomcat 8. I have tried all sorts of advice and still I cannot get it to work. I attempted to use the method describe on this website: https://sysengineers.wordpress.com/2011/03/16/tomcat-automatic-redirect-https/ but I started to see the following er

Re: Deploy with white screen

2016-06-28 Thread Jeffrey A Trimble
I started with a fresh copy. The only change was to use Java7. I don’t have a stanza in my server.xml. I do have a context.xml file. —Jeff Jeffrey Trimble, MLS William F. Maag Library Youngstown State University 330.941.2483 (Office) jatrim...@ysu.edu http://www.maag.ysu.edu http://digital.ma

Re: Deploy with white screen

2016-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 6/25/16 11:40 AM, Jeffrey A Trimble wrote: > I've just deployed tomcat 7.0.70 on a test server, but I'm seeing > something very strange and I'd like some advice to point me to a > solution. I'm running DSpace software. > > When I go

Re: wrong request.getServerPort value reported on upgraded HTTP/2 connector ?

2016-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frank, On 6/28/16 11:02 AM, Frank Taffelt wrote: > Calling the method request.getServerPort() returns 80 on http/2 > upgraded requests for the https connector. I would expect that > this method should return 443 in these calls. My current > workarr

[OT] External XML Entities with relative pathnames

2016-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm trying to build an XML file that includes several smaller XML files using XXE, like this: bar.xml: ]> &foo; The files "foo.xml" and "bar.xml" are in the same directory. This works great when the CWD of the process is the same as f

wrong request.getServerPort value reported on upgraded HTTP/2 connector ?

2016-06-28 Thread Frank Taffelt
Calling the method request.getServerPort() returns 80 on http/2 upgraded requests for the https connector. I would expect that this method should return 443 in these calls. My current workarround is to disable the APR Listener as this results in correct value for the https connector. So is this

Re: Runtime Cloning of DataSource for Different DB?

2016-06-28 Thread Mark Thomas
On 27/06/2016 22:35, Jerry Malcolm wrote: > 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, crea