Strange behavior when deploying new war

2020-04-23 Thread John Larsen
to comment out the above context, start tomcat so the war will deploy, uncomment and then restart tomcat again. John Larsen

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread John Dale
I always appreciate your depth of knowledge, Chris. "hand-wavy device supporting NIO for Java" Could you write us a quick paragraph expanding on this idea? I'm happy to follow a pointer to a well written article (something up to your standards). On 3/31/20, Christopher Schultz wrote: >

RE: OpenSSL config for Tomcat 7

2020-03-03 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
Thank you " You want SSLCertificateChainFile for the intermediate and root CA certs" was the issue. The intermediate and root certs are now being pulled in. -John -Original Message- From: Mark Thomas Sent: Tuesday, March 3, 2020 2:01 AM To: users@tomcat.apache.org S

RE: OpenSSL config for Tomcat 7

2020-03-02 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
Below are the two connector configs I have tested with. -John -Original Message- From: Mark Thomas Sent: Saturday, February 29, 2020 2:12 AM To: users@tomcat.apache.org Subject: Re: OpenSSL config for Tomcat 7 On 29/02/2020 00:22, John Beaulaurier -X (jbeaulau - ADVANCED

RE: OpenSSL config for Tomcat 7

2020-03-02 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco) wrote: > > Hello, > > We're running Tomcat 7 and need to implement SSL. We are using > APR/OpenSSL, but I can't get the intermediate certificates pulled in when > starting Tomcat. The server certifi

OpenSSL config for Tomcat 7

2020-02-28 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
lease let me know. Any insight would be greatly appreciated. Regards -John

Re: Tomcat 8.5.51 >> Use AJP Connector >> 403

2020-02-18 Thread John Larsen
It doesn't work otherwise. Before you guys changed the AJP we always used locahost for host in workers. John Larsen On Tue, Feb 18, 2020 at 9:27 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, &g

Re: Tomcat 8.5.51 >> Use AJP Connector >> 403

2020-02-18 Thread John Larsen
I assumed. That was the case for us when the ajp connector changed. John On Tue, Feb 18, 2020 at 5:59 AM Friderike Hofmeister < friderike.hofmeis...@mbsupport.de> wrote: > Hi John, > > currently we do not make usage of mod_jk and workers.properties. > Does your post mean we

Re: Tomcat 8.5.51 >> Use AJP Connector >> 403

2020-02-18 Thread John Larsen
Worker host also needs to be 127.0.0.1 in your mod_jk workers.properties file. That is if you were using host=localhost previously. John Larsen On Tue, Feb 18, 2020 at 5:36 AM Friderike Hofmeister < friderike.hofmeis...@mbsupport.de> wrote: > Hi, > > for our application we have

Re: what to do with address="::1"?

2020-02-14 Thread John Larsen
Thanks for the info. Will this change be backported to 8.5 and 7? John Larsen On Fri, Feb 14, 2020 at 9:03 AM Mark Thomas wrote: > On 14/02/2020 15:56, John Larsen wrote: > > From my testing. > > > > secretRequired="false" is still needed though docs says its

Re: what to do with address="::1"?

2020-02-14 Thread John Larsen
er acceptance of localhost by default and then add secret for remote ajp servers. John Larsen On Fri, Feb 14, 2020 at 7:37 AM Mark Thomas wrote: > On 14/02/2020 14:21, John Larsen wrote: > > I apologize - coffee started to kick in. The address="::1" portion is > > commented o

Re: what to do with address="::1"?

2020-02-14 Thread John Larsen
I apologize - coffee started to kick in. The address="::1" portion is commented out. Will adding secret="false"? in the server.xml bypass this issue? Thanks, John Larsen On Fri, Feb 14, 2020 at 6:52 AM Mark Thomas wrote: > On 14/02/2020 13:45, John Larsen wrote:

what to do with address="::1"?

2020-02-14 Thread John Larsen
ector will not start unless the secret attribute is configured to a non-null, non-zero length String. (markt)" Or can i just change this to false? What it its purpose? Thanks! John Larsen

Re: cookie configurations for Tomcat 7

2020-01-27 Thread John Dale
Over the years I found it more productive to manage my own headers for the most part. The key for us has been keeping the code clean and manageable. John On 1/27/20, Lazar Kirchev wrote: > Hello, > > In Tomcat >= 8 there is the CookieProcessor in which cookie configurations >

RE: Tomcat 7 HTTPS and LDAP authentication issue

2019-10-08 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
The LDAPS authentication is handled by the application using an external file not in Tomcat or the application that contains the credentials for the generic Active Directory account accessing LDAP, the Java keystore location, and the FQDN and port of the LDAPS host. -John -Original

RE: Tomcat 7 HTTPS and LDAP authentication issue

2019-10-08 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
Hi Mark, How are you configuring TLS for the Connector? How are you configuring TLS for LDAP? Do you mean inside Tomcat? Thanks -John -Original Message- From: Mark Thomas Sent: Tuesday, October 8, 2019 11:07 AM To: users@tomcat.apache.org Subject: Re: Tomcat 7 HTTPS and LDAP

Tomcat 7 HTTPS and LDAP authentication issue

2019-10-08 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
? Thank you -John

Re: Password encryption in Tomcat 8.5.35

2019-09-16 Thread John Dale
This is a kind of funny (sorry) "battle of the bulge" problem. Malicious systems administrators (we assume everyone is guilty and it drives this kind of issue) will find the password to your database, and, ignoring everything else on the machine they just exploited, will go and query your

RE: APR libs present but not found

2019-09-10 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
Hi Christopher, I needed to build the APR libs from source as there was no rpm in yum, but the default directory where the libs were place was not in the Java path, and so once I noticed that and added that directory to the path in setenv.sh APR is found and used. Thanks -John

APR libs present but not found

2019-09-06 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
1.4.8-3.el7_4.1 When I test with Tomcat 7.x or 9.x the log notes the APR native libs could not be found in the java library path, when they are in the java library path located at /lib64 and /lib in the OS file system. What am I missing? Regards -John

Re: [ANN] Apache Tomcat 9.0.24 available

2019-08-19 Thread John Dale
Does this get included in the apt framework for ubuntu automatically? John On 8/19/19, Mark Thomas wrote: > The Apache Tomcat team announces the immediate availability of Apache > Tomcat 9.0.24. > > Apache Tomcat 9 is an open source software implementation of the Java > Serv

Re: Redirecting a naked domain to sub domain

2019-08-06 Thread John Larsen
I usually handle the redirect on the webserver side and set the alias in server.xml to the subdomain. John Larsen On Tue, Aug 6, 2019 at 7:11 AM Simon Funnell wrote: > Hi, > > I was going to do a redirect at my dns provider from the naked domain to > the www subdomain.

Re: Invalid HTTP Header - attack?

2019-08-01 Thread John Dale
9.0.16.0 - this is the version installed with apt-get tomcat9 on ubuntu 18.04 Thank you for your feedback. John On 8/1/19, Konstantin Kolinko wrote: > чт, 1 авг. 2019 г. в 22:11, John Dale : >> >> Great feedback. Thanks. >> >> I am the network department. :) &g

Re: Invalid HTTP Header - attack?

2019-08-01 Thread John Dale
Great feedback. Thanks. I am the network department. :) This is a public facing service and shortly after I see this in the log, I get an OOM exception and server shutdown. Twice now this morning. Hmm .. :\ John On 8/1/19, Michael Osipov wrote: > Am 2019-08-01 um 20:36 schrieb Mark Tho

Invalid HTTP Header - attack?

2019-08-01 Thread John Dale
I'm getting this in my logs - is this an attack do you think? How might I determine this? Could this be pushing bytes to the handler and causing a memory issue? Error parsing HTTP request header Aug 1 17:37:58 dom1 tomcat9[9793]: Note: further occurrences of HTTP request parsing errors will

Re: Question regarding tomcat random number seeding and startup times

2019-07-28 Thread John Dale
I changed securerandom.source=file:/dev/random in /jre/lib/security/java.security, changing this to urandom and it vastly improved things. My question is, what will this do? I don't really rely on the tomcat generated session affinity .. On 7/28/19, John Dale wrote: > Greetings; > >

Re: Question regarding tomcat random number seeding and startup times

2019-07-28 Thread John Dale
Greetings; I found this in the logs where it's hanging-up: 28-Jul-2019 19:05:10.520 WARNING [main] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [212,424] milliseconds. Thoughts? John On 7

Re: Question regarding tomcat random number seeding and startup times

2019-07-28 Thread John Dale
Greetings; On 7/27/19, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, > > On 7/27/19 19:49, John Dale wrote: >> Greetings Everyone; >> >> A quick update to the folks who I have interacted with on the list >

Question regarding tomcat random number seeding and startup times

2019-07-27 Thread John Dale
ise encryption quality? I would like to push back my Java 11 upgrade until I have a good longer term strategy for jax and activation libraries. Thoughts? Glad to have made it through the upgrade .. it really wasn't very painful at all. Sincerely, John Dale DB2

Login Failure /manager.html

2019-07-24 Thread John Garmon
the .xml file from what I can tell. Both the host-manager and manger logs are empty. I am using Ubuntu18.04. I am not sure what I am doing wrong. I appreciate your help. This is my first time using Linux and deploying Tomcat. Regards, John _ John Garmon III

Login Failure /manager.html

2019-07-24 Thread John Garmon
the .xml file from what I can tell. Both the host-manager and manger logs are empty. I am using Ubuntu18.04. I am not sure what I am doing wrong. I appreciate your help. This is my first time using Linux and deploying Tomcat. Regards, John _ John Garmon III

Login Failure /manager.html

2019-07-24 Thread John Garmon
the .xml file from what I can tell. Both the host-manager and manger logs are empty. I am using Ubuntu18.04. I am not sure what I am doing wrong. I appreciate your help. This is my first time using Linux and deploying Tomcat. Regards, John _ John Garmon III

Re: Upgrading .. finally

2019-07-17 Thread John Dale
Moving ahead with Java 11 and Tomcat 9 on ubuntu 18.04. It was simple. Figured out service call for tomcat, too (from my other email). I don't have any questions or issues at this point .. just glad I went to so much effort to make my code portable. Thanks! John On 7/17/19, Christopher

Upgrading .. finally

2019-07-16 Thread John Dale
Greetings; I'm upgrading to Tomcat 9 and (I guess) openjdk 11. Should I consider openjdk 8 instead? John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: error 0 issue

2019-06-26 Thread John Larsen
Why windows - especially from 2003. If app is in java you'll get huge performance boost moving to linux. John Larsen On Wed, Jun 26, 2019 at 11:11 AM Kumar R wrote: > Hi Team, > Is it possible to go for higher version of JDK(64 bit) and Tomcat(64bit) on > 32 bit window 2003 arc

Question regarding SmartOS

2019-06-25 Thread John Dale
Greetings; How is Tomcat 8.x/9.x with SmartOS? John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

how to enable OCSP revocation checking from tomcat 8.5.x using NIO2 w OpenSSL ?

2019-06-06 Thread John Palmer
What, if anything, needs to be configured to ENABLE (preferably REQUIRE) tomat to do CLIENT certificate revocation checking via OCSP in Tomcat 8.5.38 using Openssl ? (will this work with NIO2 ? ) 1) using Openssl (the tc-native-1.dll binary for Windows, compiled w OCSP support - the X64 dll from

Re: Does Tomcat server printout System.out.print infor?

2019-05-12 Thread John Dale
It is pretty normal. If you don't want to deal with the systems administration of your server, you can lease a tomcat instance and deploy your war file. A host will typically help you with some of the configuration and management, and notify you if you have deployed some naughty code that is

Re: Jmx example for adding or removing users?

2019-05-09 Thread John Dale
You're missing database driven roles based user authentication and authorization. :) I commend you, sir, for attempting the tomcat default user management save button! On 5/9/19, Alex O'Ree wrote: > Well less than perfect. Tomcat out of the box is setup with the users xml > file. What's

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-08 Thread John Dale
This was in the spirit of one of my suggestions and probably how I would approach the problem to save them/me having to create a Tomcat request harness .. encapsulate the service in a static method and call that (cohesive). Have a super day, John On 5/8/19, Christopher Schultz wrote

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
I would trace tomcat and recreate a servlet request .. see if I could hack it in that way (assuming that localhost traffic isn't fast enough). Normalizing on HTTP/TCP will be more maintainable, though? Can somebody suggest a good place for a breakpoint? Any other suggestions? John On 5/6/19

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
} > > @Override > protected void doGet(HttpServletRequest req, HttpServletResponse resp) > throws ServletException, IOException { > // do stuff like use em > resp.setStatus(200); > resp.getWriter().write("Hello World"); &g

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
ave code running in a Tomcat App server which is not > managed by Tomcat and is not initiated by anything within Tomcat. That code > now wants to call a servlet hosted in that very same JVM. Any way to do > that without going out and back in on TCP? > > > On Mon, May 6

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
> my own server socket listener on port 1 running in the Tomcat JVM and > got some request in some propriatary protocol called X. Now I want to call > a Tomcat servlet in the current JVM with some info I got over X without > going out on TCP and back in > > On Mon, May 6,

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
by Tomcat and is not initiated by anything within Tomcat. That code > now wants to call a servlet hosted in that very same JVM. Any way to do > that without going out and back in on TCP? > > > On Mon, May 6, 2019 at 5:14 PM John Dale wrote: > >> Sockets are an imp

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
Sockets are an implementation of TCP/UDP inherently. Perhaps a mountaintop signal fire? ;) John On 5/6/19, Paul Carter-Brown wrote: > lol on the Semaphore Telegraph, > > I can't use a request dispatcher as the request is being initiated from > code that has no context. I

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
-out for you, rather than using .NET, PHP, Python, or some other Java facsimile at best, I recommend using the semaphore telegraph: https://en.wikipedia.org/wiki/Semaphore_telegraph Sincerely, John DB2DOM On 5/6/19, Paul Carter-Brown wrote: > Hi John, > > Thanks for your

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-04-30 Thread John Dale
Another thought .. you can do some request dispatching, but without knowing more about the tools you're using, I can't say for sure if this is the direction you'll want to go. On 4/29/19, Paul Carter-Brown wrote: > Hi > > I'm trying to design a Kafka consumer and producer that will run inside

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-04-30 Thread John Dale
This is one of my favorite things. You'll need to retransmit headers, but by and large it's doable. Management of contexts can be tricky. Don't forget that the target service will have a difference context (database connection context has bitten me in the past on this type of task). I do my

Is there a limit to mod_jk?

2019-04-24 Thread John Larsen
:139932601325312] [error] ajp_service::jk_ajp_common.c (2796): (w314) connecting to tomcat failed (rc=-3, errors=2, client_errors=0). [Thu Apr 25 04:14:07.458 2019] [30178:139932601325312] [info] jk_handler::mod_jk.c (2991): Service error=-3 for worker=w314 I tried updating mod_jk to 1.2.46 John Larsen

Re: unable to serve static files with embedded Tomcat

2019-04-19 Thread John Dale
Tomcat doesn't seem to timeout one its own unless my DBCP is being abused in the code. I'm thinking firewall .. also, double-check your port configuration(s) in server.xml (or context.xml if that's the route you're going). On 4/19/19, Garret Wilson wrote: > Embedding Tomcat 9 (with OpenJDK 11

Re: Wildcard certificates

2019-04-18 Thread John Dale
s.close(); return; } Hope this helps, John On 4/17/19, Sean Dawson wrote: > On Wed, Apr 17, 2019 at 9:20 AM Sean Dawson > wrote: > >> >> Hello, I have a widlcard certificate from GoDaddy. Can I use this with >> Tomcat? (8.5) >> >&g

Re: Wildcard certificates

2019-04-17 Thread John Dale
Exactly .. this is part of the solution. I am having tomcat behave smartly in response to the certificate validation, and I have a nice path to develop some cool tools, similar to HTTPD, around certbot (I love that this is a free service, but I do have some concerns over centralized CSA, so I do

Re: Wildcard certificates

2019-04-17 Thread John Dale
On 4/17/19, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, > > On 4/17/19 10:42, John Dale wrote: >> My understanding is that the folks at SUN really put their backs >> into it from the beginning: >> https://stackove

Re: Wildcard certificates

2019-04-17 Thread John Dale
and a few scripts that use the certbot to do the work. Come to think of it, my certs will need renewal soon. I'll take a pass over what I have and send it out after I renew .. thank you for your patience. John On 4/17/19, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- >

Re: how to enable OCSP for Tomcat w OpenSSL

2019-04-17 Thread John Palmer
ess_client_certificate:certificate verify failed] the Connector part of the server xml.config file is (ip address and server name etc removed): On Thu, Apr 4, 2019 at 7:47 PM John Palmer wrote: > Well, after much research and experimentation I go

Re: Wildcard certificates

2019-04-17 Thread John Dale
t; because it is used to extend and maintain itself. Any ideas I'd love to hear them. Have a good one, John On 4/17/19, TurboChargedDad . wrote: > I would have the opposite feeling. I would not want a java process > parked out in the internet. Not saying you're wrong just my pe

Re: Wildcard certificates

2019-04-17 Thread John Dale
I have a really nice process that works great with certbot. Single command to renew all of my certs and I'm finished. I get some piece of mind having a Java process guarding the front door. Seems to be more impervious to overflows. What am I missing? I think what I have might be easily

Re: Wildcard certificates

2019-04-17 Thread John Larsen
We do the same - via mod_jk we utilize apache httpd to handle the SSL. Keeps things simple and works well. John Larsen On Wed, Apr 17, 2019 at 7:44 AM TurboChargedDad . wrote: > We terminated SSL above the tomcat layer using NGINX or Apache to avoid > the complexities that come with ma

Re: Build Dependencies

2019-04-15 Thread John Dale
I neglected to appreciate the volume of communication you guys deal with. Igor - thanks! Chris - noted. Have a good one, John On 4/15/19, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Igal, > > On 4/14/19 13:23, Igal Sapir wrote: >

Re: [ANN] Apache Tomcat 8.5.40 available

2019-04-14 Thread John Dale
Hi Mark; Do you have an artifact depicting the dependencies in Tomcat? I'd like to start building, debugging, and helping-out, but I just like using Ant and using manual methods for dependencies at compile time. Do I have a chance? Sincerely, John Dale, MS MIS DB2DOM.COM Spearfish, SD On 4

Re: connectionInitSqls

2019-04-12 Thread John Dale
Are you using the "*" (splat/star/asterisk) characters below to highlight the configuration entry for our benefit? Are you sure you're putting the connectionInitSqls on the correct Resource element below (noticed you had two)? Try verifying the JNDI lookup in your code with the configuration

Re: Session Persistence Problems

2019-04-11 Thread John Dale
he session management into my (sometimes admittedly advanced and unpredictable) application requirements. Would love to hear your thoughts. Have a good one, John DB2DOM.COM On 4/11/19, Jerry Malcolm wrote: > On 4/11/2019 4:22 PM, Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE--

Re: Session Persistence Problems

2019-04-11 Thread John Dale
I'm looking forward to hearing from the dev folks on this. I suspect it has something to do with the context configuration. A long time ago, I started doing my own session management, but then I don't mind building out the pieces I needed for clustering. In fact, I decided to store session

Re: Using WebSockets with a Tapestry WebApp running on Tomcat

2019-04-08 Thread John Dale
tiate etherial stubs to far off services. Looking forward to hearing about the resources you're trying to have injected into your code. Have a good one, John DB2DOM.COM On 4/8/19, Christopher Dodunski wrote: > Hi team, > > I have developed a web application using the Apache Tape

Re: Sending post from ajax to servlet

2019-04-07 Thread John Dale
Debug pause made your request/db connection/other timeout? On 4/5/19, alejandro.var...@kymsolutions.com wrote: > I have a problem, not always, it happens randomly. Sometimes I send some > data, ~200KB , using jquery ajax, but when I received the request it came > null, but before I debugged in

Re: how to enable OCSP for Tomcat w OpenSSL

2019-04-04 Thread John Palmer
I might be missing, but apparently I'm overlooking it. helpful suggestions are welcomed. On Wed, Apr 3, 2019 at 12:32 PM John Palmer wrote: > I appreciate your response > > > Setting `certificateVerification="require"` on your Connector > > I changed >

Re: how to enable OCSP for Tomcat w OpenSSL

2019-04-03 Thread John Palmer
gt; Hi, > > On Mon, Apr 1, 2019 at 3:30 PM John Palmer wrote: > > > What, if anything, needs to be configured to ENABLE (preferably REQUIRE) > > tomat to do CLIENT certificate revocation checking via OCSP in Tomcat > > 8.5.38 using Openssl ? > > > Setting `c

Re: Monitoring resources comsumption at context level

2019-04-03 Thread John Dale
stress that enough if you aren't already doing that. :) Be the John Henry of software code, John On 4/2/19, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Fellipe, > > On 4/2/19 17:04, Fellipe Theophilo wrote: >> Hi everyone, I'm trying

how to enable OCSP for Tomcat w OpenSSL

2019-04-01 Thread John Palmer
What, if anything, needs to be configured to ENABLE (preferably REQUIRE) tomat to do CLIENT certificate revocation checking via OCSP in Tomcat 8.5.38 using Openssl ? I'm sure I'm missing something simple and obvious (once pointed out) but I've been struggling with this all morning). 1) using

Question about the longevity of Java ..

2019-03-25 Thread John Dale
. Sincerely, John Dale, MS MIS/Entrepreneurship PS: Have a great week everyone. Think hard this week (that's what she said). - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: 2 instance of ParallelWebAppClassLoaders in Tomcat JVM

2019-03-16 Thread John Dale
Are you running a debugger? On 3/15/19, Mark Thomas wrote: > On 15/03/2019 17:51, Shankar P S wrote: >> @Mark Thanks for the tip. I compared the 2 heap dumps. For the same >> server.xml config, 8.5.38 version of Tomcat creates 3 StandardContext >> instances. I see that these 3 objects have their

Re: Tomcat doesn't restart

2019-03-16 Thread John Dale
How big had your log files gotten in that period? On 3/14/19, Louis Zipes wrote: > Hi Experts, > Running Tomcat 7.0.54 on Windows 2012 > > Our morning process is to fire a stop of the Tomcat Windows Service and then > an immediate restart. This is more due to the 3rd party application that is >

Re: Tomcat 9 Nio2+OpenSSL problem (very likely a bug)

2019-03-13 Thread John Palmer
I'm testing to see if this might be an issue on a new tomcat 8.5.38 upgrade I'm doing (using NIO2 and OpenSSL) before I promote this to our Production environment :) (Windows Server 2008R2, Java (javaC.exe) version is 1.8.0_191) .. after some missteps (had to add some imports to get it to

Re: What is `tomcat7/common/` for?

2019-03-12 Thread John Larsen
Tomcat 8 uses tomcat/lib instead of tomcat/common/ you'll need to adjust your script. John Larsen On Tue, Mar 12, 2019 at 7:43 AM Joel Griffith wrote: > I'm upgrading a webapp server from Tomcat 7 to Tomcat 8 on Ubuntu 16.04. > At installation, Tomcat 7 creates a directory `/var/lib/t

Re: Followup2: Changed behaviour of Tomcat Deployment/Context/Lifecycle Manager concerning symbolic links

2019-03-09 Thread John Dale
Nice investigative work, Guido. Curious, are you debugging the source code? Downloading any nightly builds? If you're connected to the repo somehow you could get users named on the commit logs and read commit messages? Again - nice work! Sincerely, John On 3/8/19, Jäkel, Guido wrote

Re: Tomcat 8.5.13 - random issue with HTTPS (blank page) - working good with HTTP

2019-03-06 Thread John Dale
e end of the file for unix. > > > > -Original Message- > From: John Dale [mailto:jcdw...@gmail.com] > Sent: Wednesday, March 06, 2019 1:44 PM > To: Tomcat Users List > Subject: Re: Tomcat 8.5.13 - random issue with HTTPS (blank page) - working > good with HTTP >

Re: Http/2 : Tomcat NIO2 fails on large number of POST request with payload

2019-03-06 Thread John Dale
ed, Mar 6, 2019 at 6:18 PM John Dale wrote: > >> Have you upgraded to the most recent release of your major version? >> >> If so, and if this issue still persists, it is something that the core >> development team might want to look at assuming they can replicate the >&g

Re: Get startTime of coyoteRequest object from RequestFacade

2019-03-06 Thread John Dale
I would have to defer to someone else who is elbow deep in that code at the moment). Thoughts? John On 3/6/19, Helena Carbajo wrote: > >are you looking to measure request handling time? > >>if so, startTime will not give you what you need since threads get >>reused by

Re: Http/2 : Tomcat NIO2 fails on large number of POST request with payload

2019-03-06 Thread John Dale
ue, Mar 5, 2019 at 10:00 PM John Dale wrote: > >> How many orders of magnitude slower are the post requests? >> >> On 3/5/19, Santhosh Kumar wrote: >> > I was testing in the localhost >> > >> > On Tue, Mar 5, 2019 at 9:32 PM John Dale wrote: >>

Re: Get startTime of coyoteRequest object from RequestFacade

2019-03-06 Thread John Dale
are you looking to measure request handling time? if so, startTime will not give you what you need since threads get reused by many requests. Sincerely, John On 3/6/19, Helena Carbajo wrote: > >I want to know how much time my requests have to wait before they are > handle, but

Re: Tomcat 8.5.13 - random issue with HTTPS (blank page) - working good with HTTP

2019-03-06 Thread John Dale
> the tomcat config to get more usefull logs > > Thanks in advance, > Youness > > > > > > > -Original Message- > From: John Dale [mailto:jcdw...@gmail.com] > Sent: Tuesday, March 05, 2019 9:25 PM > To: Tomcat Users List > Subject: Re: Tomcat 8.5.1

Re: Tomcat 8.5.13 - random issue with HTTPS (blank page) - working good with HTTP

2019-03-05 Thread John Dale
I do not typically use that log file .. have you searched other log files in the tomcat/logs/* directory? On 3/5/19, youness.dakk...@bnpparibasfortis.com wrote: > /logs/stderr.log > > -Original Message- > From: John Dale [mailto:jcdw...@gmail.com] > Sent: Tuesday, March 0

Re: Http/2 : Tomcat NIO2 fails on large number of POST request with payload

2019-03-05 Thread John Dale
How many orders of magnitude slower are the post requests? On 3/5/19, Santhosh Kumar wrote: > I was testing in the localhost > > On Tue, Mar 5, 2019 at 9:32 PM John Dale wrote: > >> Are you running your test client (h2load) on the same machine, same >> network, or is i

Re: Http/2 : Tomcat NIO2 fails on large number of POST request with payload

2019-03-05 Thread John Dale
. Will let you know if I have any other ideas. On 3/5/19, Santhosh Kumar wrote: > Bytes > > On Tue, Mar 5, 2019 at 9:28 PM John Dale wrote: > >> 1000-1500 MB or KB? >> >> On 3/4/19, Santhosh Kumar wrote: >> > As per the documentation, >> > &g

Re: Http/2 : Tomcat NIO2 fails on large number of POST request with payload

2019-03-05 Thread John Dale
1000-1500 MB or KB? On 3/4/19, Santhosh Kumar wrote: > As per the documentation, > https://tomcat.apache.org/tomcat-9.0-doc/config/http.html#SSL_Support_-_SSLHostConfig > > this connector supports maxPostSize, by default the limit is set to 2MB > > On Tue, Mar 5, 2019 at 5:09 A

Re: Tomcat 8.5.13 - random issue with HTTPS (blank page) - working good with HTTP

2019-03-05 Thread John Dale
practice to configure the tomcat in a more efficient way ? > > > Do you want the HTTPS config we have ? from Tomcat configuration JAVA tab ? > > > -Original Message- > From: John Dale [mailto:jcdw...@gmail.com] > Sent: Monday, March 04, 2019 6:45 PM > To: Tomcat Users

Re: Http/2 : Tomcat NIO2 fails on large number of POST request with payload

2019-03-04 Thread John Dale
Does anyone know if this connector supports maxPostSize parameter? On 3/4/19, Santhosh Kumar wrote: > Hi, > > We have a tomcat instance which is http2 enabled and it needs to serve > large number of requests using multiplexing, so we have configured our > instance as follows, > >

Re: How to display the current In-Use Stack Size

2019-03-04 Thread John Dale
gt; I have seen those as well. I was hoping someone knew if there was a way to > view the Java Stack in particular. > > On 3/4/19, 11:16 AM, "John Dale" wrote: > > I found this in some old code .. not sure if it works. Let me know. > > //Getting the runtime

Re: Tomcat 8.5.13 - random issue with HTTPS (blank page) - working good with HTTP

2019-03-04 Thread John Dale
We need some more information .. what are you using to log? Do you wait to see if there will be a timeout, after which something more meaningful might appear in the logs? Memory/resource leak would be my guess. Uses all the threads, none of which seem to be properly reclaimed, so it eventually

Re: How to display the current In-Use Stack Size

2019-03-04 Thread John Dale
I found this in some old code .. not sure if it works. Let me know. //Getting the runtime reference from system Runtime runtime = Runtime.getRuntime(); //Print used memory out.println("Used Memory: " + ((runtime.totalMemory() -

Re: Http/2 : Tomcat NIO2 fails on large number of POST request with payload

2019-03-04 Thread John Dale
Nice test case. Is the JVM able to garbage collect fast enough? Are you releasing the resources properly in your components as early as possible? Java VM's achieve a steady-state after a certain period of time, but I've found in some cases garbage collection doesn't keep-up with my load tests

Re: AW: Parallel Tomcat Instances On Same Server

2019-02-22 Thread John Dale
I'm going to say that you'll need two services. Isn't there a 1-1 mapping between services and processes? As such, two processes, two services? Anyone else want to weigh-in? I haven't used windows in sooo long! John On 2/22/19, Jerry Malcolm wrote: > Thanks Johann, > > One

Re: [OT] Tomcat Apache 7.0.79 upgrade to Latest version

2019-02-22 Thread John Dale
Saturday morning in case there is something specific I can help out with. Good luck and again .. welcome to Tomcat, John On 2/21/19, Nitin Kadam wrote: > Hello , > > Thanks for the reply. > Yes having the plan to remediate same on weekend, ALready informed them > about Challeng

Re: Logging web applications with log4j 1.2

2019-02-21 Thread John Dale
1 - DevOps can alleviate this issue .. implicit in the model. 2 - exploded directory deployment would allow you to change log4j assuming log4j is configured to reload its configuration on change I'm not sure how classpath contexts are assigned to war files .. but I'm sure there is way. Anyone

Re: [OT] Tomcat Apache 7.0.79 upgrade to Latest version

2019-02-21 Thread John Dale
for > upgrading the version 7.0.79 to the latest version > need to figure out this ASAP > > Apps are hosted in Web apps folders and there are few D3 apps > which connected with SQL for database > > > > > On Wed, Feb 20, 2019 at 9:45 PM John Dale wrote: > >> Witho

Re: [OT] Tomcat Apache 7.0.79 upgrade to Latest version

2019-02-20 Thread John Dale
AGE- > Hash: SHA256 > > John, > > On 2/20/19 10:58, John Dale wrote: >> Points taken .. I have a great deal from my cloud provider on a >> wheezy instance, so I have to see if I can negotiate to keep my >> rate. I do a lot of custom MVC and security checks so things are

Re: Tomcat Apache 7.0.79 upgrade to Latest version

2019-02-20 Thread John Dale
a couple of years back that was still on Java 1.6 and that's the way they liked it. :) Did you see the road map for Java 10? Seems like we're moving a little too fast sometimes .. On 2/20/19, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, >

Re: Tomcat Apache 7.0.79 upgrade to Latest version

2019-02-20 Thread John Dale
the current version and then upgrade directly > with the latest version? > > > > Regards > Nitin > > > On Wed, Feb 20, 2019 at 7:28 PM Olaf Kock wrote: > >> >> On 20.02.19 14:47, Nitin Kadam wrote: >> > Thanks John for reply.. >> > >&

Re: Tomcat Apache 7.0.79 upgrade to Latest version

2019-02-20 Thread John Dale
! John On 2/20/19, Nitin Kadam wrote: > Thanks John for reply.. > > is there any documentation walkthrough for this upgrade available? > i am new to Tomcat and doing this 1st time, It will be great help if anyone > provide same. > > On Wed, Feb 20, 2019 at 6:4

<    1   2   3   4   5   6   7   8   9   10   >