RE: Fwd: Tomcat-embed-core-9.0.12.jar bug about Content-Length Corrupting Parsing logic for Subsequent Request

2019-02-07 Thread Caldarale, Charles R
> From: Bhavesh Mistry [mailto:mistry.p.bhav...@gmail.com] > Subject: Re: Fwd: Tomcat-embed-core-9.0.12.jar bug about Content-Length Corrupting > Parsing logic for Subsequent Request > I am stating following when you have request/response on the same TCP > connection. for example, > My

RE: Tomcat 8 runs under Java 7, but not Java 8

2018-12-18 Thread Caldarale, Charles R
> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > Subject: Re: Tomcat 8 runs under Java 7, but not Java 8 > Excerpt from the relevant time period, catalina.2018-12-18.log: > > 18-Dec-2018 20:18:55.419 SEVERE [main] org.apache.catalina.core.StandardServer.await > >

RE: Translation help wanted

2018-11-13 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Translation help wanted > There is no need to have an en-BR, en-US and eu-AU when simply "en" will work. Might need an en-EastEnders or en-Yorkshire though... - Chuck THIS COMMUNICATION MAY CONTAIN

RE: Translation help wanted

2018-11-13 Thread Caldarale, Charles R
> From: André Warnier (tomcat) [mailto:a...@ice-sa.com] > Subject: Re: Translation help wanted > Ok, I take it back. I don't think there's an AI smart enough to translate this one : > "The attribute directive (declared in line [{1}] and whose name attribute is [{0}], the > value of this

RE: Handling empty Host in HTTP Header

2018-10-27 Thread Caldarale, Charles R
> From: Mani [mailto:mani.chandraseka...@protonmail.com.INVALID] > Subject: Handling empty Host in HTTP Header > May I know, when is the next official tomcat release planned? Releases for Tomcat versions under active development (including the 8.5 leg) normally occur in the first week of each

RE: Cookie Header Not Being Parsed

2018-10-20 Thread Caldarale, Charles R
> From: Durand, Dustin [mailto:dustin_dur...@intuit.com] > Subject: Cookie Header Not Being Parsed > I've been attempting to track down an issue where the cookies aren't being > parsed out of the cookie header in rare cases. We're using a java service > that utilizes JSession, so this causes

RE: Tomcat Clustering Support

2018-10-10 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Tomcat Clustering Support > Thread A is in the middle of processing a request. It is evaluating some > EL which requires access to the view map which in turn causes the > ViewMap to update the session. >

RE: Contexts: can there be a hierarchy?

2018-08-23 Thread Caldarale, Charles R
> From: Jäkel, Guido [mailto:g.jae...@dnb.de] > Subject: RE: Contexts: can there be a hierarchy? > why do you call it not really a hierachy? If you name the deployments e.g. > ROOT.war > foo.war > foo#bar.war > then the "expected" will happen: The longest context path will

RE: Contexts: can there be a hierarchy?

2018-08-22 Thread Caldarale, Charles R
> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > Subject: Contexts: can there be a hierarchy? > Suppose we have a Tomcat 8 server Let's hope that's Tomcat 8.5, since 8.0 has reached EOL. > Is there a way to set up contexts in a hierarchy, such that requests for >

RE: Servlet Threads Changing Instance Data

2018-08-15 Thread Caldarale, Charles R
> From: Jerry Malcolm [mailto:techst...@malcolms.com] > Subject: Re: Servlet Threads Changing Instance Data > I'm not sure what you mean by typically there is only one servlet > object.  There's one class.  But a new instance is created on each > request, right? No - there's only one instance

RE: Problem with CATALINA_OPTS in setenv.sh

2018-08-02 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Problem with CATALINA_OPTS in setenv.sh > > "With the -XX:+AlwaysPreTouch option the JVM touches every single > > byte of the max heap size with a '0', resulting in the memory being > > allocated in the physical

RE: Problem with CATALINA_OPTS in setenv.sh

2018-08-02 Thread Caldarale, Charles R
> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > Subject: Problem with CATALINA_OPTS in setenv.sh > I've been experimenting with some CATALINA_OPTS changes, as recommended > by our webapp developer, and one of them is causing Tomcat to "crash on > takeoff" with stacktraces like

RE: Tomcat JDBC Pool memory leak when using StatementFinalizer interceptor

2018-07-14 Thread Caldarale, Charles R
> From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] > Subject: Re: Tomcat JDBC Pool memory leak when using StatementFinalizer interceptor > Am 11.07.2018 um 16:22 schrieb Martin Knoblauch: > > Now it might be, that we are just using the StatementFinalizer in a wrong > > manner.

RE: Re: Tomcat 5.5.17 migration to 6

2018-07-14 Thread Caldarale, Charles R
> From: David Babooram [mailto:david.baboo...@digicelgroup.com] > Subject: Re: Re: Tomcat 5.5.17 migration to 6 > But by decision was based on what was presented in the Apache site. In that, upgrade from > 5.5 was known to only go to 6. Seriously, don't even think about "upgrading" to another

RE: Getting the Manager app running on localhost.. Please help

2018-07-12 Thread Caldarale, Charles R
> From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] > Subject: Re: Getting the Manager app running on localhost.. Please help > FYI, I'm on MacOS (Sierra 10.12.6). I just now > 1) installed apache-tomcat-8.5.32 > 2) added these two lines to tomcat-users.xml > > > Note that such

RE: Is it possible and how

2018-02-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Is it possible and how > On 2/28/18 11:12 AM, M. Osama Alghwell wrote: > > I have a Java application that run on windows and using to Tomcat > > (unfortunately it is Tomcat 4.5 and I an assigned to upgrade it).

RE: Running as user tomcat

2018-02-23 Thread Caldarale, Charles R
> From: Peter@Kreuser-Online [mailto:l...@kreuser.name] > Subject: Re: Running as user tomcat > Am 23.02.2018 um 18:36 schrieb Cheltenham, Chris : > > I am trying to run tomcat as a non root user. > > It will start as the tomcat user but it will not bind to

RE: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6?

2017-12-22 Thread Caldarale, Charles R
> From: Eric Robinson [mailto:eric.robin...@psmnv.com] > Subject: RE: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6? > if JVM instance "A" is configured as follows on server 1 under tomcat6/jdk 1.6, then > instance "A" on server 2 is configured the same, except it is running

RE: Trying to understand How Tomcat uses Keystore for SSL

2017-12-03 Thread Caldarale, Charles R
> From: Don Flinn [mailto:fl...@alum.mit.edu] > Subject: Re: Trying to understand How Tomcat uses Keystore for SSL > Attached is a first cut at setting up SSL for Tomcat.  It is in MicroSoft Word. Most attachments are automatically stripped by the mailing list server. You can either send it in

RE: [SECURITY] CVE-2017-12617 Apache Tomcat Remote Code Execution via JSP upload

2017-10-03 Thread Caldarale, Charles R
> From: Baron Fujimoto [mailto:ba...@hawaii.edu] > Subject: Re: [SECURITY] CVE-2017-12617 Apache Tomcat Remote Code Execution via JSP upload > I haven't seen an announcement for 8.0.47, nor does the Apache Tomcat > website seem to reference it yet, but it appears to be available in the >

RE: Trouble using SSL with Tomcat 9

2017-09-27 Thread Caldarale, Charles R
> From: Don Flinn [mailto:fl...@alum.mit.edu] > Subject: Re: Trouble using SSL with Tomcat 9 > I installed a new download of tomcat 9, established one application with > php/java bridge (need php and java access). Set the SSL port to an unused > port, 443, and ran my app who's only out put is an

RE: More, Re: This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT

2017-09-07 Thread Caldarale, Charles R
> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > Subject: More, Re: This is weird (cross-posted to Tomcat and Debian Lists): > Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT > If I remember right, Linux file systems can have not only symbolic links > to files, but also

RE: Performance issue 8.5.20 (metaspace related?)

2017-08-29 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Performance issue 8.5.20 (metaspace related?) > > > That sounds like a healthy behavior to me. That means GC is > > > occurring and Metaspace is getting cleaned up. Why do you think > > > Metaspace is the problem?

RE: Refreshing webapps slows server

2017-08-23 Thread Caldarale, Charles R
> From: Jerry Malcolm [mailto:techst...@malcolms.com] > Subject: Refreshing webapps slows server > I have a very weird situation. Actually, it's fairly common. > This is somewhat circumstantial.  But TC will run fine for days and > never hits OutofMemory situations.  But as soon as I start

RE: This is weird: can't bind to 443

2017-08-02 Thread Caldarale, Charles R
> From: Igal @ Lucee.org [mailto:i...@lucee.org] > Subject: Re: This is weird: can't bind to 443 > I agree about the "one more thing to go wrong", but fronting Tomcat with > a Web Server gives a performance hit? I mean, sure, now requests for > Tomcat have another step to go through, but all

RE: This is weird: can't bind to 443

2017-08-02 Thread Caldarale, Charles R
> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > Subject: Re: This is weird: can't bind to 443 > > Binding on ports < 1024 on Linux require elevated permissions, no? > If so, somebody please elaborate. That's a Linux restriction/feature - must be superuser to use the low port

RE: RemoteEndpoint.Async sendText blocking

2017-06-29 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: RemoteEndpoint.Async sendText blocking > When the BIO connector is in use, you end up with weird things like > this. I would switch to BIO if you want to use async. Might want to rephrase that... Presumably Chris

RE: [Tomcat 8.5] Cannot obtain singleton resource with startStopThreads > 1

2017-06-10 Thread Caldarale, Charles R
> From: MrChuoi [mailto:mrch...@gmail.com] > Subject: Re: [Tomcat 8.5] Cannot obtain singleton resource with > startStopThreads > 1 > OK. I will put the resource in the context of each webapp to see what is > going on, but what I don't understand is why this configuration works when > I start

RE: [Tomcat 8.5] Cannot obtain singleton resource with startStopThreads > 1

2017-06-10 Thread Caldarale, Charles R
> From: MrChuoi [mailto:mrch...@gmail.com] > Subject: Re: [Tomcat 8.5] Cannot obtain singleton resource with > startStopThreads > 1 > Hi Mark, Don't top-post. Follow the mailing list guidelines published here: http://tomcat.apache.org/lists.html#tomcat-users > And to simplify the declaration

RE: Under system account, Tomcat starts even with shutdown port conflict

2017-06-08 Thread Caldarale, Charles R
> From: Igor Cicimov [mailto:icici...@gmail.com] > Subject: Re: Under system account, Tomcat starts even with shutdown port > conflict > If you are trying to run it on port <1024 you need authbind enabled Read the original message. The OP is running on Windows, not Linux, so there are no

RE: Tomcat 8.5.4 and LegacyCookieProcessor

2017-05-18 Thread Caldarale, Charles R
> From: jared.paul.wal...@gmail.com [mailto:jared.paul.wal...@gmail.com] On > Behalf Of Jared Walker > Subject: Tomcat 8.5.4 and LegacyCookieProcessor > We are migrating to the version of tomcat identified in the subject Before exposing an almost year-old version to the nasty real world, you

RE: CLOSE_WAIT between Application (Tomcat) and Apache HTTPD

2017-05-11 Thread Caldarale, Charles R
> From: Adhavan Mathiyalagan [mailto:adhav@gmail.com] > Subject: Re: CLOSE_WAIT between Application (Tomcat) and Apache HTTPD What part of do not top-post do you not understand? > The Application port is configured in the catalina.properties file > HTTP_PORT=8030 > JVM_ROUTE=dl360x3805.8030

RE: changing tomcat default password

2017-03-31 Thread Caldarale, Charles R
> From: Theresa Whitney [mailto:theresa.whit...@nisd.net] > Subject: changing tomcat default password > I am trying to address a security vulnerability notification for several > servers. We have tomcat6 installed. Right there is your biggest security problem - Tomcat 6 has reached end of life

RE: Migration

2017-03-21 Thread Caldarale, Charles R
> From: M. Osama Alghwell [mailto:malghw...@gmail.com] > Subject: Migration > I have been asked by a company to update their existing working tomcat 5 > application, which is working on an old Windows 2003 platform and accessing > SQL 2005. The new servers are Windows and SQL 2012. I downloaded

RE: getRealPath is a bad idea?

2017-03-10 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: getRealPath is a bad idea? > I would use a well-known location for the file. Maybe the application > can be installed anywhere, but the config file needs to be in >

RE: Re:[OT] get NPE from NamingContextListener in app moved from TomEE to Tomcat

2017-03-10 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re:[OT] get NPE from NamingContextListener in app moved from TomEE > to Tomcat > > name="jdbc/tst36" not id=... > Hmm. When 'name' is null we should have a better behavior than NPE. :( It gets your attention... -

RE: Apache Tomcat 9

2017-03-09 Thread Caldarale, Charles R
> From: pina.freder...@gmail.com [mailto:pina.freder...@gmail.com] > Subject: Apache Tomcat 9 > I'm trying to teach myself Java Web App Development but can't seem to get > this issue resolved. > Mar 09, 2017 5:44:17 PM org.apache.catalina.core.StandardServer await > SEVERE:

RE: getRealPath is a bad idea?

2017-03-09 Thread Caldarale, Charles R
> From: Berneburg, Cris J. - US [mailto:cberneb...@caci.com] > Subject: RE: getRealPath is a bad idea? > How do you all configure the location of a special folder that is not part of > the > deployment package itself? A site-specific config file perhaps? Take a look at this:

RE: CVE-2017-6056.

2017-02-24 Thread Caldarale, Charles R
> From: Paralos Trainings [mailto:paralostranin...@gmail.com] > Subject: CVE-2017-6056. > I'd like to know if the latest version of Tomcat 7 and Tomcat 8 are > affected by CVE-2017-6056. Real Tomcat releases (downloaded from tomcat.apache.org) are not affected. Some 3rd-party repackaged

RE: I want hide apache-coyote1.1 infomation on my tomcat 5.0.28

2017-02-12 Thread Caldarale, Charles R
> From: grkim [mailto:gr...@injeinc.co.kr] > Subject: I want hide apache-coyote1.1 infomation on my tomcat 5.0.28 > I saw "apache-coyote1.1" information on my tomcat reply when I use curl - > I IP:PORT on my tomcat 5.0.28. > I want to hide this for security reason. Seriously? By running such

RE: Getting "Invalid message received with signature xxxxx" messages in catalina.out

2016-11-18 Thread Caldarale, Charles R
> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > Subject: Re: Getting "Invalid message received with signature x" messages > in catalina.out > > No, 8009 is the default port for communication between httpd and Tomcat. > > 8005 is > > the default shutdown port. > > If

RE: Getting "Invalid message received with signature xxxxx" messages in catalina.out

2016-11-18 Thread Caldarale, Charles R
> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > Subject: Re: Getting "Invalid message received with signature x" messages > in catalina.out > This is interesting: > > Isn't 8009 some sort of backchannel control port, perhaps the one used > for controlled shutdown of

RE: war file incompletely deployed

2016-11-07 Thread Caldarale, Charles R
> From: Christoph P.U. Kukulies [mailto:k...@kukulies.org] > Subject: Re: war file incompletely deployed > This makes sense somehow, but wouldn't a local move or copy from within > the server's filesystem have the same complications? No, a local mv or rename in a modern file system simply

RE: war file incompletely deployed

2016-11-07 Thread Caldarale, Charles R
> From: Christoph P.U. Kukulies [mailto:k...@kukulies.org] > Subject: war file incompletely deployed > I started developing a webapp (Windows 7, tomcat 7/x64). I generate a > WAR file using eclipse/maven. Once built I copy over the war file > to a network share on the tomcat server. The share

RE: MaxInactiveInterval

2016-11-04 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: MaxInactiveInterval > On 04/11/2016 15:07, André Warnier (tomcat) wrote: > > A log message in an application running under Tomcat 8 mentions the > > "MaxInactiveInterval" setting, saying that it is a bit short.. > > > > I think that I

RE: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

2016-10-27 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself > On 10/27/16 1:45 PM, Dustin Delage wrote: > > Looks like the app is now slated for redevelopment. Thanks > > everyone. > I still think this has nothing to

RE: Single sign on

2016-10-11 Thread Caldarale, Charles R
> From: Linux Support [mailto:ossuppor...@gmail.com] > Subject: Single sign on > Using 8.5.5 on solaris. Can you please point me in the direction of some > documentation/link/blog for how to set up the SSO for a application > deployed. Start here.

RE: Host appBase vs. Context docBase

2016-10-07 Thread Caldarale, Charles R
> From: Igal @ Lucee.org [mailto:i...@lucee.org] > Subject: Host appBase vs. Context docBase > Suppose that I have an application at C:\WebApps\App1 Suppose you tell us your Tomcat version. > > > > > > > Both of the above are incorrect. It is highly unlikely that you want the

RE: apache-tomcat-9.0.0.M10: Change Context-Path in META-INF/context.xml not working

2016-09-20 Thread Caldarale, Charles R
> From: Maik Brauer [mailto:m...@brauer.nrw] > Subject: apache-tomcat-9.0.0.M10: Change Context-Path in META-INF/context.xml > not working > I have a standard Tomcat9 installation. I just put a helloworld.war in the > webapps folder > and inside the META-INF I put the context.xml with a

RE: Apache TomCat 5.5

2016-09-14 Thread Caldarale, Charles R
> From: Pham, Mary (NIH/OD/ORS) [E] [mailto:maryp...@mail.nih.gov] > Subject: Apache TomCat 5.5 > We have been using one of the old Apache TomCat on windows server 2008R2, IIS > 7. Firstly, it's Tomcat, not TomCat. > We need to apply a header directive in Apache "Strict-Transport-Security" so

RE: Trouble setting TOMCAT_USER

2016-08-29 Thread Caldarale, Charles R
> From: Jorge Alfonso [mailto:jo...@qbex.com] > Subject: RE: Trouble setting TOMCAT_USER > In order to setup the users for Tomcat you have to edit the file > tomcat-users.xml That has absolutely nothing to do with what the OP is asking about. The tomcat-users.xml file is the toy control

RE: Tomcat 8.5 Resource Setting Says it's being ignored but documentation shows it is supported

2016-08-17 Thread Caldarale, Charles R
> From: McKenzie, Mitch [mailto:mmcken...@markelcorp.com] > Subject: Tomcat 8.5 Resource Setting Says it's being ignored but > documentation shows it is supported > Seeing the following warning for all of my datasources when tomcat 8.5.4 > starts up : > Ignoring unknown property: value of

RE: Set up postgresql on tomcat7

2016-08-17 Thread Caldarale, Charles R
> From: Andrew Davis [mailto:drsockmon...@gmail.com] > Subject: Re: Set up postgresql on tomcat7 > Its a redhat .. i don't think tomcat 7 or later will run on this. Stop top posting; read the rules here: http://tomcat.apache.org/lists.html#tomcat-users The distributor of your OS is completely

RE: Unable to access Manager App, Host Manager and Server Status urls

2016-08-13 Thread Caldarale, Charles R
> From: Andrew M [mailto:bluemind2...@yahoo.com.INVALID] > Subject: Unable to access Manager App, Host Manager and Server Status urls > I have added these three lines in my tomcat-users.xml file: > > And did you remove the comment markers that bracket that area of the file? - Chuck THIS

RE: Native Library Error using Context forward in server.xml

2016-08-12 Thread Caldarale, Charles R
> From: Pietag, Tobias (Enterprise Security Services) > [mailto:tobias.pie...@hpe.com] > Subject: RE: Native Library Error using Context forward in server.xml > We are using the Context in the server.xml to change the root application to > a > different webapp. That's a really, really bad

RE: tomat8.5 write logs with incorret os permission

2016-08-04 Thread Caldarale, Charles R
> From: 韭菜 [mailto:jiu...@qq.com] > Subject: tomat8.5 write logs with incorret os permission > When using tomcat8.0, it starts and write logs as follows: > (apache-tomcat-8.0.x) -rw-rw-r-- 1 app app 873710 Aug 4 20:08 catalina.log > When using tomcat8.5.x (include tomcat 9.0.x), it starts

RE: Internal Error 500

2016-08-04 Thread Caldarale, Charles R
> From: André Warnier (tomcat) [mailto:a...@ice-sa.com] > Subject: Re: Internal Error 500 > On 04.08.2016 11:15, Syed Mudassir Ahmed wrote: > > What are the various reasons for the tomcat server to throw internal server > > error 500? > In general, search Google for : http status codes Note

RE: Tomcat 8 RemoteIpValve Issues

2016-08-01 Thread Caldarale, Charles R
> From: Kasa, Nubli [mailto:mmohd...@iu.edu] > Subject: RE: Tomcat 8 RemoteIpValve Issues > This doesn't seem to be the case with a fresh new install on Tomcat 8 on > Ubuntu. Our sysadmin > also did a fresh install on Redhat with the same result. Install of what? A real Tomcat from

RE: Issue with Tomcat7

2016-08-01 Thread Caldarale, Charles R
> From: Olaf Kock [mailto:tom...@olafkock.de] > Subject: Re: Issue with Tomcat7 > If you want 1:1 attention, go the paid route. If you want community > support: State your problem. If you want free community 1:1 attention: > Good luck - state explicitly that this is what you're looking for and >

RE: Tomcat 7.0.70 War Redeployed every few minutes

2016-07-04 Thread Caldarale, Charles R
> From: Andrew Moore [mailto:andrew.mo...@petcircle.com.au] > Subject: Tomcat 7.0.70 War Redeployed every few minutes > We noticed that we were getting Connection Refused when trying to connect > to port 8080 remotely. And then we could see this was being caused by the > war redeploying

RE: Servlet overridden by Apache Tomcat welcome page?

2016-07-03 Thread Caldarale, Charles R
> From: Mark Eggers [mailto:its_toas...@yahoo.com.INVALID] > Subject: Re: Servlet overridden by Apache Tomcat welcome > page? > I just played with Eclipse Neon (newest release). It does copy over a > Tomcat configuration into your workspace, and then runs Tomcat from that > (sort of like

RE: Servlet overridden by Apache Tomcat welcome page?

2016-07-03 Thread Caldarale, Charles R
> From: Paul Roubekas [mailto:paul@orthogroup.holdings] > Subject: Re: Servlet overridden by Apache Tomcat welcome > page? > After making the above suggested changes the desired behavior goes > away. Now instead of my application's landing page I get the tomcat > welcome page. You appear to

RE: Configuring Tomcat to support TLSv1.2

2016-06-24 Thread Caldarale, Charles R
> From: Daniel Savard [mailto:daniel.sav...@gmail.com] > Subject: Re: Configuring Tomcat to support TLSv1.2 > > The SSL_VERSION parameter was already defined by the vendor. > I still would delete the SSL_VERSION from the catalina.sh or comment it at > least and adopt the suggested approach to

RE: Updating Apache Tomcat to a current version

2016-06-12 Thread Caldarale, Charles R
> From: paul.greene.va [mailto:paul.greene...@verizon.net] > Subject: Re: Updating Apache Tomcat to a current version > when you drop the WAR file into the webapps directory, does tomcat > automatically > expand the contents of the file? Depends on how you have configured Tomcat; look at the

RE: Remove Port from Https URL || SSL Port Issue || Important

2016-06-10 Thread Caldarale, Charles R
> From: Christoph Nenning [mailto:christoph.nenn...@lex-com.net] > Subject: Re: Remove Port from Https URL || SSL Port Issue || Important > ports below 1024 are privileged ports and can be opened by root only. Of > course you don't want to run tomcat as root. There are several ways to > open

RE: Unable to update or delete Windows Service

2016-05-16 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Unable to update or delete Windows Service > I've got a Windows service called "foo" and I'm able to edit the > configuration successfully by running the following command: > C:\> %CATALINA_HOME%\bin\tomcat8w.exe

RE: Order of attributes significant in zipfileset?

2016-04-26 Thread Caldarale, Charles R
> From: Dave Glasser [mailto:dglas...@pobox.com] > Subject: Order of attributes significant in zipfileset? > If you have a element with both a dir and a file attribute, it > will produce > different results depending on the order in which those attributes appear. Not surprising. > I want to

RE: OT if/else or not if/else

2016-04-26 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: OT if/else or not if/else > Unless the JIT can prove that there are no side-effects, it's not > going to perform any speculative computations for a possible branch. True, but due to inlining of many methods, the

RE: OT if/else or not if/else

2016-04-25 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: OT if/else or not if/else > If you use else-less-if, then there is never an opportunity for > parellelization, since the program is going to assume that those > predicates are (a) independent and (b) ordered in a

RE: OT if/else or not if/else

2016-04-25 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: OT if/else or not if/else > > Actually, a good compiler should generate the same code for switch > > and if ... else if, assuming the boolean expressions used with the > > ifs are compatible with a switch operand.

RE: OT if/else or not if/else

2016-04-22 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] > Subject: OT if/else or not if/else > I was wondering if using if/else is not actually slowing down your code. > Lets say I have three possible conditions, A, B and C, which are exclusive. > My native approach would be: > if (A){...} > if

RE: OT if/else or not if/else

2016-04-22 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: OT if/else or not if/else > But I would add that if the conditions can be reduced to enumerations, a > Switch would be even faster. Actually, a good compiler should generate the same code for switch and if ... else if, assuming

RE: context root with relative path

2016-04-20 Thread Caldarale, Charles R
> From: Dimitar Valov [mailto:dimitar.va...@gmail.com] > Subject: Re: context root with relative path > System.out.println(new File("C:").exists()); prints true, so I guess it > works okay. Depends on the definition of "okay"; that only tells us that the C drive's current directory is present.

RE: context root with relative path

2016-04-19 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: context root with relative path On 19/04/2016 19:38, Dimitar Valov wrote: > All static resources such as index.html will not be found when application > is added with , for example tomcat > is put inside the application's META-INF.

RE: Information about incident ID 2205106170494020972

2016-04-04 Thread Caldarale, Charles R
> From: Yin, Ivan [mailto:ivan@sap.com] > Subject: Information about incident ID 2205106170494020972 > When I tried to click one button in the web application deployed in Tomcat 7, > it throws > an error message as below: > This page can't be displayed. Contact support for additional

RE: Tomcat 8.5.0 and 9.0.0 M4

2016-03-28 Thread Caldarale, Charles R
> From: Lulseged Zerfu [mailto:zlulse...@hotmail.com] > Subject: Tomcat 8.5.0 and 9.0.0 M4 > I was trying to test HTTP/2 and tried versions 8.5.0 and 9.0.0.M4. I was not > able to start these releases because I get NoClassDefFoundError. > Caused by: java.lang.NoClassDefFoundError: > Class

RE: Why the tomcat source code uses obsolete ant build configuration? why not maven or gradle?

2016-03-28 Thread Caldarale, Charles R
> From: George Sexton [mailto:geor...@mhsoftware.com] > Subject: Re: Why the tomcat source code uses obsolete ant build > configuration? why not maven or gradle? > In my opinion (and it's probably not shared by many, but I don't care), > Maven sucks. +many to that Another "solution" in

RE: contextDestroyed() method not called

2016-03-19 Thread Caldarale, Charles R
> From: Daniel Savard [mailto:daniel.sav...@gmail.com] > Subject: Re: contextDestroyed() method not called Read the mailing list rules: don't top post. http://tomcat.apache.org/lists.html#tomcat-users > I'm running it on Window 2012 Server as well as Linux RHEL. Ok, good to know. > And no, I

RE: contextDestroyed() method not called

2016-03-19 Thread Caldarale, Charles R
> From: Daniel Savard [mailto:daniel.sav...@gmail.com] > Subject: contextDestroyed() method not called > I noticed a problem with one of my web applications which requires > some cleanup when shutdown. It seems this cleanup isn't happening even > if everything has been put in the

RE: Tomcat 8 Hung State

2016-03-19 Thread Caldarale, Charles R
> From: Theo Sweeny [mailto:theo.swe...@avios.com] > Subject: Tomcat 8 Hung State > yesterday Tomcat 8 went into a hung state, because an external API went > offline. > Eventually the external service was restored but Tomcat was unable to > recovery from it. > When a new connection is sent

RE: Idle Thread high CPU

2016-03-10 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Idle Thread high CPU > My version of 'top' (Debian Linux) doesn't show thread ids. :( Can you try "top -H" (case sensitive option)? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: Advice on Cluster in one machine

2016-03-08 Thread Caldarale, Charles R
> From: Edwin Quijada [mailto:listas_quij...@hotmail.com] > Subject: Re: Advice on Cluster in one machine > Daniel, can you give the idea to do a parallel > deployment approach? What tools I need ? No tools, other than possibly changes to your build script. The doc is here:

RE: Tomcat can not locate the folders of CSS files inside a web app, if the url-pattern of a servlet is set to / inside web.xml

2016-03-07 Thread Caldarale, Charles R
> From: Junqiang Zhang [mailto:junqiangzh...@gmail.com] > Subject: Re: Tomcat can not locate the folders of CSS files inside a web app, > if the url-pattern of a servlet is set to / inside web.xml Don't top-post. See item 6 under http://tomcat.apache.org/lists.html#tomcat-users > I did map my

RE: Tomcat can not locate the folders of CSS files inside a web app, if the url-pattern of a servlet is set to / inside web.xml

2016-03-07 Thread Caldarale, Charles R
> From: Chris Gamache [mailto:cgama...@gmail.com] > Subject: Re: Tomcat can not locate the folders of CSS files inside a web app, > if the url-pattern of a servlet is set to / inside web.xml > /mywebapp/css/style.css is where that file should be located if exists in > the spot indicated in the

RE: Multiple domian names one web site different content

2016-03-04 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Multiple domian names one web site different content > No, one tomcat instance can't listen on two different ports at the same > time. ??? If that were true, Tomcat couldn't support both HTTP and HTTPS. Simply configure

RE: Understanding how to controlling what data is written to log4j appenders

2016-03-04 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Understanding how to controlling what data is written to log4j > appenders > Can you confirm that the class in question is actually using log4j for > output? There's little that can be done if the class is using >

RE: context doesnt pick up

2016-02-20 Thread Caldarale, Charles R
> From: prashant sharma [mailto:pacificmist.0...@gmail.com] > Subject: Re: context doesnt pick up > I thing you need to place the web app outside tomcat lets say in > /users/myfolder/test > And then set docbase path in /conf/Catalina/localhost/test.xml > to > and then stop start tomcat. That

RE: context doesnt pick up

2016-02-20 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Subject: RE: context doesnt pick up > If all you have in the element is the docBase and your webapp is > located > in the 's appBase directory, you don't need a element at all. Sorry, since you have both

RE: context doesnt pick up

2016-02-20 Thread Caldarale, Charles R
> From: Me Self [mailto:wmso...@gmail.com] > Subject: context doesnt pick up > When I put the context in server.xml it works fine, but if I put the same > context tag in a xml file under /conf/Catalina/localhost/test.xml then > tomcat doesn't pick it up. I would rather want to use the latter. >

RE: Does Tomcat need a non-ssl connector?

2016-02-12 Thread Caldarale, Charles R
> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > Subject: Re: Does Tomcat need a non-ssl connector? > On 2/12/16, 11:40 AM, m...@kimwana.com wrote: > > Perhaps I should have phrased this differently. I want to force > > clients to ssl. When they hit http://app.myurl.com their

RE: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread Caldarale, Charles R
> From: Dougherty, Gregory T., M.S. [mailto:dougherty.greg...@mayo.edu] > Subject: Re: Is there a way for code running on Tomcat 7+ to determine the > URL of the Web App it's running under? > You can honestly tell who¹s calling you, since you can throw an exception, > catch it, then look at the

RE: 1catalina.org.apache.juli.FileHandler

2016-02-05 Thread Caldarale, Charles R
> From: rich...@xentu.com [mailto:rich...@xentu.com] > Subject: 1catalina.org.apache.juli.FileHandler > I'm trying to understand logging.properties. Make sure you carefully read this first: http://tomcat.apache.org/tomcat-8.0-doc/logging.html > Should I have jar on my system somewhere

RE: rotate catalina.out without restart?

2016-02-02 Thread Caldarale, Charles R
> From: Harald Dunkel [mailto:harald.dun...@aixigo.de] > Subject: Re: rotate catalina.out without restart? > OK, then the question is why does catalina.sh write to catalina.out > at all? stdout/stderr of the script would be sufficient. And where would you have the output go when Tomcat is run

RE: More, Re: Tomcat 7.0.67 crashing on takeoff

2016-01-26 Thread Caldarale, Charles R
> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > Subject: Re: More, Re: Tomcat 7.0.67 crashing on takeoff > On 1/26/16 2:25 PM, Mark Thomas wrote: > > Setting xmlParsingProtection="false" on the > > JreMemoryLeakPreventionListener should stop the exception. > Ok, but how? Is

RE: Problem With proxi.cgi

2016-01-19 Thread Caldarale, Charles R
> From: Luciano Martin Galletti [mailto:gallett...@hotmail.com] > Subject: RE: Problem With proxi.cgi > Yes both xml files are inside Be precise; exactly which xml files are you referring to? > C:\Program Files\Apache Software Foundation\Tomcat > 7.0\webapps\examples\WEB-INF As Mark already

RE: Tomcat 8.0.18 is not getting started

2016-01-19 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Tomcat 8.0.18 is not getting started > 1. Please don't top-post. André is continuing to bottom-post and you > are continuing to top-post. This makes the conversation unreadable. > The convention on this list is to

RE: Tomcat 8.0.15

2016-01-07 Thread Caldarale, Charles R
> From: Julie Sur [mailto:julie...@gmail.com] > Subject: Re: Tomcat 8.0.15 > I am using tomcat 8.0.15, jdk1.8.0_45 with my application and I am seeing > below errors in my log. Is this a bug with the tomcat version that I am > using ? Could be, but it's more likely an application bug. Try

RE: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Caldarale, Charles R
> From: Lee Bassom [mailto:lbas...@interactions.com] > Subject: Re: How do I block 'Unloading class sun.reflect' messages? > -XX:+PrintGCDetails I'm going to guess that the above enables the class unloading messages. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: Conditional Deployment

2015-12-02 Thread Caldarale, Charles R
> From: kidambi madhu [mailto:madhu.kida...@gmail.com] > Subject: Conditional Deployment > We are facing an issue related to Deployment (Specifically Auto Deployment) > in Tomcat 7 > We have a build process setup from Jenkins tool to build and auto ftp the > war file to the "Webapps" folder of

RE: Fwd:

2015-11-24 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Fwd: > > First of all, I have a context.xml file in the WEB-INF folder of my > > application (call it "myApplication" henceforth) that looks like: Also note that WEB-INF is not the correct directory for

  1   2   3   4   5   6   7   8   9   10   >