Re: File size truncated at 1.4GB during download from Tomcat WebApp

2020-10-04 Thread calder
On Sun, Oct 4, 2020, 16:12 Mauro Tridici wrote: > > > > On 3 Oct 2020, at 19:32, calder wrote: > > > > On Sat, Oct 3, 2020, 11:43 Mauro Tridici wrote: > > > >> > >>> On 3 Oct 2020, at 17:03, calder wrote: > >>> > >>>

Re: File size truncated at 1.4GB during download from Tomcat WebApp

2020-10-03 Thread calder
On Sat, Oct 3, 2020, 11:43 Mauro Tridici wrote: > > > On 3 Oct 2020, at 17:03, calder wrote: > > > > On Sat, Oct 3, 2020, 09:58 calder wrote: > > > >> On Sat, Oct 3, 2020, 09:01 Mauro Tridici wrote: > >> > >>> > >&

Re: File size truncated at 1.4GB during download from Tomcat WebApp

2020-10-03 Thread calder
On Sat, Oct 3, 2020, 09:58 calder wrote: > On Sat, Oct 3, 2020, 09:01 Mauro Tridici wrote: > >> >> >> On 3 Oct 2020, at 15:14, Christopher Schultz < >> ch...@christopherschultz.net> wrote: >> >> Mauro, >> >> On 10/3/20 08:47, Mauro T

Re: File size truncated at 1.4GB during download from Tomcat WebApp

2020-10-03 Thread calder
On Sat, Oct 3, 2020, 09:01 Mauro Tridici wrote: > > > On 3 Oct 2020, at 15:14, Christopher Schultz > wrote: > > Mauro, > > On 10/3/20 08:47, Mauro Tridici wrote > > I’m struggling with the problem mentioned in this mail subject. > When I try to download a 5GB sized file using two different > >

Re: Track native memory of a Tomcat application

2020-09-11 Thread calder
On Fri, Sep 11, 2020, 12:07 Arshiya Shariff wrote: > Hi All, > We have a standalone tomcat web application(Version 9.0.22) which runs on > Linux . The application is used to process only a single http request. > But the physical memory usage of the application has increased to 4GB > (output

Re: Probelm with shutdown script

2020-08-27 Thread calder
On Thu, Aug 27, 2020, 16:16 Christopher Schultz < ch...@christopherschultz.net> wrote: [ snip ] If you want to *kill* the application and it won't shut down on its > own, SIGKILL is the answer. But that's not a great way to shut down an > application /in general/ because the application might

Re: Tomcat 8.5.(x > 5) & SSL Connections (sun.security.provider.certpath.SunCertPathBuilderException)

2020-08-08 Thread calder
On Sat, Aug 8, 2020, 13:59 David Filip wrote: > Hello Everyone! > > I spent a large part of yesterday and this morning trying to debug an SSL > problem on Tomcat 8.5.57 to no avail. I've seen some discussion on either > this problem or something related back in 2016, but wanted to confirm what

Re: Let's Encrypt cert worked fine in 8.5.57, but connector fails in 8.5.40

2020-08-05 Thread calder
On Wed, Aug 5, 2020, 18:46 James H. H. Lampert wrote: > Ladies and Gentlemen: > > I've now proceeded to the "real" server, with the Tomcat portion of the > procedure refined to give me plenty of "undo" capability. And it turns > out I need it. > > It seems that with the unwanted update to 7.0.57

Re: Connector works fine with Firefox, but not on speaking terms with Chrome!

2020-08-05 Thread calder
On Wed, Aug 5, 2020, 12:22 James H. H. Lampert wrote: > I've now managed to get an experimental copy of our development AWS EC2 > instance working with a cert from Let's Encrypt, and I've got Tomcat to > launch with a modified connector that uses the LE certs rather than a > Java Keystore file.

Re: Best practices for profiling

2020-08-01 Thread calder
On Sat, Aug 1, 2020, 15:16 Aryeh Friedman wrote: > On Sat, Aug 1, 2020 at 3:28 PM calder wrote: > > > On Sat, Aug 1, 2020 at 12:53 PM Aryeh Friedman > > > wrote: > > > > > > What are the best practices for (open source) profiling a JSP (no

Re: Best practices for profiling

2020-08-01 Thread calder
On Sat, Aug 1, 2020 at 12:53 PM Aryeh Friedman wrote: > > What are the best practices for (open source) profiling a JSP (no taglibs There's no "one rule" for this > or any EE outside of JSP and JDBC) webapp running on a remote machine all > the way down the method level (our main user is

Re: Tomcat CVE watch

2020-07-25 Thread calder
On Sat, Jul 25, 2020, 09:55 Darryl Philip Baker < darryl.ba...@northwestern.edu> wrote: > We have switched from using the Red Hat supplied version of Tomcat to the > Apache supplied binary distribution. My management would like me to follow > any CVE related to Tomcat. I am wondering if there is

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread calder
On Mon, Jul 13, 2020, 15:22 Barry Kimelman wrote: > my system is ubuntu 20.04 > I am running tomcat 9.0.37 > I can run java based mysql programs from the terminal command line with no > problems > In my build.xml I have the following lines > So, you're attempting run in Eclipse? Or using

Re: Can't run manager app under tomcat 9.0.37 under ubuntu 20.04

2020-07-11 Thread calder
On Sat, Jul 11, 2020, 11:46 Barry Kimelman wrote: > I just installed tomcat 9.0.37 on my ubuntu 20.04 system. The install > worked just fine, no errors of any kind. > > I modified the tomcat-users.xml file to have the following content > > > > http://tomcat.apache.org/xml; >

Re: Tomcat relicts from previous installation - ubuntu

2020-07-09 Thread calder
> > Am 09.07.2020 um 15:19 schrieb calder : > > On Thu, Jul 9, 2020, 06:59 Christoph Kukulies wrote:. > > might try: > user@machine:~ /> ps systemctl status > so in your example > user@machine:~ /> ps systemctl status 1092 > > > systemctl status 1092

Re: Tomcat relicts from previous installation - ubuntu

2020-07-09 Thread calder
On Thu, Jul 9, 2020, 06:59 Christoph Kukulies wrote:. > > > > might try: > > user@machine:~ /> ps systemctl status > > so in your example > > user@machine:~ /> ps systemctl status 1092 > > systemctl status 1092 > worked (without the „ps“) :) sorry about that ... somehow fat-fingered that in

Re: Tomcat relicts from previous installation - ubuntu

2020-07-09 Thread calder
On Thu, Jul 9, 2020 at 4:48 AM Christoph Kukulies wrote: > > I’m resurrecting tomcat on a server (Ubuntu 18.04.4) on which I had been > running tomcat7 some time ago. > At the moment, when the system has started up, I’m seeing a process: > > root@kuku:~# ps ax | grep -i tomcat > 1092 ?

Re: Tomcat not part of RHEL 8 distro?

2020-07-02 Thread calder
On Thu, Jul 2, 2020 at 3:05 PM Sean Neeley wrote: > On Thu, Jul 2, 2020 at 2:57 PM calder wrote: > > On Thu, Jul 2, 2020, 14:43 Sean Neeley wrote: > > > > > I heard that tomcat is no longer available for RHEL 8. Does anyone know > > > why this is? What fre

Re: Tomcat not part of RHEL 8 distro?

2020-07-02 Thread calder
On Thu, Jul 2, 2020, 14:43 Sean Neeley wrote: > I heard that tomcat is no longer available for RHEL 8. Does anyone know > why this is? What free alternatives are there for java servlets, which > have rpm packages managed by Red Hat? > I would fathom a guess that'd be a question for Red Hat?

Re: Having trouble with tomcat 7 installation on RHEL 7.8 power pc

2020-07-01 Thread calder
On Wed, Jul 1, 2020, 15:32 Sean Neeley wrote: > I tried switching from Java 1.8 to Java 11 to see if that makes a > difference. Now the VM Thread is using a lot less CPU: > > PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND > 2320 tomcat20 0 4659072 47872

Re: Having trouble with tomcat 7 installation on RHEL 7.8 power pc

2020-07-01 Thread calder
On Wed, Jul 1, 2020, 11:15 Sean Neeley wrote: > I just installed tomcat 7 on a Red Hat Enterprise Linux Server 7.8, power > pc system. As soon as the service starts, the java process uses 100% cpu. > Logs get created in /var/log/tomcat, but they all have size 0 bytes. I > have not modified the

Re: SSL error

2020-06-26 Thread calder
In Fri, Jun 26, 2020, 10:37 Beard, Shawn M. wrote: > We are running tomcat-7.0.52(old I know) and java 1.7.0_80. > yea, BOTH are very old. When the app makes calls to an external webservice. It keeps throwing this > error: > > javax.net.ssl.SSLException : javax.net.ssl.SSLException: >

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-23 Thread calder
I did this on my 18.04 [temporary test] system and it now works (catalina.out is written to) (the "ls" commands were for visual inspection on progress) calder@ren: ~$ sudo service tomcat9 stop calder@ren: ~$ sudo -u tomcat -g adm touch /var/log/tomcat9/catalina.out calder@ren: ~$ ls -

Re: Strange crash-on-takeoff, Tomcat 7.0.104

2020-06-22 Thread calder
On Mon, Jun 22, 2020, 11:56 James H. H. Lampert wrote: > On 6/20/20 8:41 AM, Mark Thomas wrote: > > > 7.0.105 hasn't been released yet. You can use catalina.sh from 7.0 > > 103 or the latest version from source control. > > Where would I find "the latest version from source control"? >

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread calder
On Mon, Jun 22, 2020, 01:04 Brian wrote [ snip ] - For some reason, the people at Ubuntu/Debian/Linux decided that Tomcat's > log should be found inside syslog, instead of staying independent inside > "catalina.out". Why is that? I don't know and I don't like it! [ snip ] . Sorry - don't have

Re: broken pipe error keeps increasing open files

2020-06-20 Thread calder
On Fri, Jun 19, 2020, 15:46 Ayub Khan wrote: > tomcat 8.5 broken pipe increases open files on ubuntu AWS > If there is slow response from db Might be a good idea to investigate the reason for the "slow response" I see this stack trace and the open files goes high [ snip ] Caused by:

Re: Strange crash-on-takeoff, Tomcat 7.0.104

2020-06-19 Thread calder
On Fri, Jun 19, 2020, 15:33 James H. H. Lampert wrote: > On 6/19/20 1:26 PM, calder wrote: > > a) are both Tomcat instances installed on that same server? > > Yes > > > b) if yes, is the 7.0.93 instance running when you launch the 7.0.104 > > instance? > &g

Re: Strange crash-on-takeoff, Tomcat 7.0.104

2020-06-19 Thread calder
On Fri, Jun 19, 2020, 15:15 James H. H. Lampert wrote: > Ladies and Gentlemen: > > In preparation for updating a customer box, I installed Tomcat 7.0.104 > on our own AS/400 (64-bit Java 6 JVM). > > 7.0.93 works just fine on our box, but 7.0.104 seems to crash on > takeoff, producing no log

Re: NullPointerException in CoyoteOutputStream

2020-06-12 Thread calder
On Fri, Jun 12, 2020, 10:36 Mark A. Claassen wrote: > We were doing some load testing and we started getting a > NullPointerException at the stack trace below. We don't get the NPE all > the time, so I am guessing some of these objects got corrupted somehow. > One place the clear() method is

Re: File access error on Windows Server 2019 after upgrading to Tomcat 8.5.45

2020-06-09 Thread calder
somewhat misleading. If I write a class to open a read-only file with java.io.FileOutputStream, I will see this stack trace calder@stimpy:~/bin> ./jdk180-221/bin/java AccessDenied java.io.FileNotFoundException: tester.txt (Permission denied) at java.io.FileOutputStream.open0(Native Method

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-12 Thread calder
On Tue, May 12, 2020, 21:48 kohmoto wrote: > Hi, Calder, > > Thank you for your prompt reply. > I think Tomcat binary files all have root priviledges. > Should these priviledges should be changed to user priviledges? > Yes. There is a "Tomcat Security" guide

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-12 Thread calder
On Tue, May 12, 2020, 19:58 kohmoto wrote: > > On 2020/05/13 0:47, John Larsen wrote: > > I wouldnt recommend running tomcat as root > > Actually I run Tomcat as root. Your recommendation seems > against my practice. It would be appreciated if you would > advice me about points not running as

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-12 Thread calder
On Tue, May 12, 2020 at 4:30 PM Patrick Baldwin wrote: > On Tue, May 12, 2020 at 5:13 PM Christopher Schultz < > ch...@christopherschultz.net> wrote: [snip] > > There is no catalina.sh that I can find. When I googled that, I found: > https://forums.centos.org/viewtopic.php?t=54207 > > You

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-12 Thread calder
On Tue, May 12, 2020, 16:13 Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Patrick, > > On 5/12/20 17:08, Patrick Baldwin wrote: > > 102$ sudo service tomcat start Redirecting to /bin/systemctl start > > tomcat.service > > Uhh,

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-12 Thread calder
On Tue, May 12, 2020, 16:08 Patrick Baldwin wrote: > On Tue, May 12, 2020 at 5:07 PM calder wrote: > > > On Tue, May 12, 2020, 15:49 Patrick Baldwin > > wrote: > > > > > I turned off systemd for tomcat: > > > > > > 84$ sudo systemctl disable

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-12 Thread calder
On Tue, May 12, 2020, 15:49 Patrick Baldwin wrote: > I turned off systemd for tomcat: > > 84$ sudo systemctl disable tomcat [ snip ] > Restarted tomcat, and it still runs for about 2 minutes then throws that java.lang.OutOfMemoryError: Java heap space error and dies. And how are you

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-12 Thread calder
On Tue, May 12, 2020, 13:48 calder wrote: > > [ snip ] > Does their Tomcat use Systemd? > If yes, then look for the Systemd unit file - default should be > /etc/systemd/system/tomcat.service > that's where they will add an entry like (or modify the existing) >

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-12 Thread calder
On Tue, May 12, 2020 at 10:28 AM Patrick Baldwin wrote: > > I've gotten passed an odd (to me, anyway) issue with one of our clients > CentOS systems. > > When our webapp starts running, tomcat dies shortly thereafter with an > OutOfMemoryError. This apparently just started a few days ago. > >

Re: Tomcat shutdown password complexity

2020-05-10 Thread calder
On Sat, May 9, 2020 at 5:09 PM Christopher Schultz wrote: > On 5/9/20 00:36, calder wrote: > > On Fri, May 8, 2020 at 9:07 PM calder [snip] > > Keep in mind - some characters won't work like & or ( or ) - at > > least on Unix-style OSes as the shell may want to inter

Re: Tomcat request hooks

2020-05-09 Thread calder
On Sat, May 9, 2020, 07:16 Vikas Kumar wrote: > As per my understanding (using a Spring Boot app with Tomcat server), we > define: > >- Max no. of worker threads (maxThreads, default 200) >- Tomcat queue size (maxConnections, default 8192 for APR, 1 for >NIO). When all worker

Re: Tomcat shutdown password complexity

2020-05-08 Thread calder
On Fri, May 8, 2020 at 9:07 PM calder wrote: > > On Fri, May 8, 2020, 19:20 Robert Hicks wrote: >> >> I am trying to find what the password complexity can be. I've looked at >> several hardening guides and they are all "WordsLikeThis". Does the >> sh

Re: Tomcat shutdown password complexity

2020-05-08 Thread calder
On Fri, May 8, 2020, 19:20 Robert Hicks wrote: > I am trying to find what the password complexity can be. I've looked at > several hardening guides and they are all "WordsLikeThis". Does the > shutdown password take symbols and numbers or at least hyphenated words? > We've never had occasion to

Re: Upgrading from 9.0.20 to 9.0.34 AJP connector issue

2020-05-01 Thread calder
On Fri, May 1, 2020, 13:32 Darryl Philip Baker < darryl.ba...@northwestern.edu> wrote: > Continuing the investigation: > > I have the two tomcat installation in /opt/tomcat. I assume /opt/tomcat is the BASE subdirectory path, where two different versions are installed under that named BASE.

Re: tomcat and ssl

2020-04-27 Thread calder
On Mon, Apr 27, 2020, 16:30 calder wrote: > > > On Mon, Apr 27, 2020 at 11:22 AM Beard, Shawn M. > wrote: > >> I have an app running in tomcat 9 that makes an ssl call to an external >> webservice. >> >> >> >>

Re: tomcat and ssl

2020-04-27 Thread calder
On Mon, Apr 27, 2020 at 11:22 AM Beard, Shawn M. wrote: > I have an app running in tomcat 9 that makes an ssl call to an external > webservice. > > > > It fails with these errors in the logs: > > ERROR javax.net.ssl.SSLHandshakeException: PKIX path building failed: >

Re: Catalina PID file

2020-04-22 Thread calder
On Wed, Apr 22, 2020 at 11:34 AM Rafael Oliveira wrote: > Hello everyone during some tests where I ran in my local environment I came > across an odd behavior on tomcat start > > During the start process catalina.sh script create a new PID file using the > following statement > *echo $! >

Re: Removing Tomcat ROOT directory causes the server to hang on startup

2020-04-21 Thread calder
On Tue, Apr 21, 2020, 08:20 Clough, Don wrote: > Good Morning, > > Tomcat version 8.5.15 > > Is it possible to remove the tomcat ROOT directory? > Yes - not required ... unless you want the functionality provided therein.

Re: blank screen shown under tomcat9 when I attempt to run my app

2020-04-12 Thread calder
On Sun, Apr 12, 2020, 11:58 Barry Kimelman wrote: > my system is a windows 10 64 bit laptop. > I am running tomcat 9 > Here is the directory of my Java environment > > Directory of C:\Program Files\Java > > Sat Jan 25, 2020 06:03 AM . > Sat Jan 25, 2020 06:03 AM .. >

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread calder
On Wed, Apr 8, 2020, 18:11 James H. H. Lampert wrote: > > And as to vendor-supplied installations, I agree with you. I'm rather > irritated with the "Debianism" of splitting Tomcat up so completely that > webapp contexts can be in at least two different places, and the general > "Linuxism" of

Re: JNI memory leak?

2020-04-06 Thread calder
> On Sat, Apr 4, 2020 at 10:39 AM Thomas Meyer wrote: > > April 2020 14:53:17 MESZ schrieb calder wrote: [ snip ] > >So, ultimately, I'm confused why we think Tomcat is "to blame" as > >there is no evidence it uses JNI. > >It's my experience JNI memo

Re: JNI memory leak?

2020-04-05 Thread calder
On Sat, Apr 4, 2020, 12:02 Mark Boon wrote: > I don't have 'proof' Tomcat is to blame. Hence the question-mark. All I > have managed is narrow it down to this NMT data, which is not very > informative. I hoped anyone could give me an idea how or where to > investigate further. Or if someone had

Re: JNI memory leak?

2020-04-04 Thread calder
m On Sat, Apr 4, 2020, 14:14 Frank Tornack wrote: > Good evening, > I have a question about your e-mail address. Why does the address end > on com.INVALID? How do you get such an address? > That question is off topic. The invalid is too avoid spam email

Re: JNI memory leak?

2020-04-04 Thread calder
On Fri, Apr 3, 2020 at 8:48 PM Mark Boon wrote: > > For the past few months we’ve been trying to trace what looks like gradual > memory creep. After some long-running experiments it seems due to memory > leaking when > jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*,

Re: Alternate java.security properties file?

2020-04-02 Thread calder
On Thu, Apr 2, 2020 at 5:53 PM James H. H. Lampert wrote: > Question: > > I'm looking at the header of a "java.security" properties file. And I see: > > # This is the "master security properties file". > > # > > # An alternate java.security properties file may be specified > > # from the command

Re: How to increase Memory available to Tomcat?

2020-04-01 Thread calder
On Tue, Mar 31, 2020 at 10:57 PM o haya wrote: > I think I figured out what is going on. I think that the parameters were > working all right, but the memory that is shown by the "free" command isn't > corresponding to the JVM memory. [ snip ] You beat me to the punch. Linux "free" cannot be

Re: Support with error in launcher.log

2020-03-30 Thread calder
On Mon, Mar 30, 2020, 05:02 Luigi Tagliafierro wrote: > Hi everybody, > > we are experiencing an error : The bitbucket log > (/var/atlassian/bitbucket_home/log/launcher.log) constantly repeats this > error: > > "java.lang.IllegalArgumentException: An invalid domain > [.code.doxee.com] was

Re: stdout / stderr on AWS Linux

2020-03-03 Thread calder
On Tue, Mar 3, 2020 at 11:59 AM calder wrote: > > On Tue, Mar 3, 2020, 10:46 Jerry Malcolm wrote: >> >> Where are the stdout and stderr log files written for tomcat in AWS >> Linux? On windows, they are just part of the logs folder. But in AWS >> Linux /var/log/Tom

Re: stdout / stderr on AWS Linux

2020-03-03 Thread calder
On Tue, Mar 3, 2020, 10:46 Jerry Malcolm wrote: > Where are the stdout and stderr log files written for tomcat in AWS > Linux? On windows, they are just part of the logs folder. But in AWS > Linux /var/log/Tomcat I get all of the other log files. But no > stdout/stderr. Most of the info is

Re: issue faced in tomcat 8.5.51

2020-02-28 Thread calder
On Fri, Feb 28, 2020, 07:39 Rathore, Rajendra wrote: > Hi Team, > > I am using below configuration in server.xml for tomcat > > secretRequired="false" secure="false" address="127.0.0.1" >tomcatAuthentication="false" enableLookups="false" > maxPostSize="-1"

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-24 Thread calder
On Mon, Feb 24, 2020, 14:19 Ellen Meiselman wrote: > Hi, > > I’m having a lot of trouble configuring the isapi_redirect connector > between IIS and Tomcat. I am running out of ideas so it’s time to ask for > help from the experts. I think the problems remaining are in the tomcat > configuration

Re: Embedding with Tomcat 9

2020-02-18 Thread calder
On Tue, Feb 18, 2020, 14:12 Thad Humphries wrote: > I am trying to understand how to build and run an app from local with > Tomcat 9 embedded using Java 8. I've started with this example written for > Tomcat 7: > >

Re: Tomcat server gets stuck

2020-02-14 Thread calder
On Fri, Feb 14, 2020, 15:05 James H. H. Lampert wrote: > Ladies and Gentlemen of the Tomcat List: > > We have a situation. > > Earlier today, something (we don't know what) caused the Tomcat (7.0.93) > server on our AS/400 to go crazy, producing a 70G+ catalina.out file, > and rendering the

Re: Error: Cannot start container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@6abca7a6]: Deployable [http://localhost:2990/cargocpc/index.html] failed to finish deploying with

2020-02-13 Thread calder
On Thu, Feb 13, 2020, 05:17 wrote: > I am trying to run one new plugin of jira using tomcat. But tomcat is not > getting started due to below error. Can you please let me know how this > error can be resolved? > > I am using Apache Tomcat Version 8.5.35. > > Error is as below. > > [ERROR] Failed

Re: JVM job for Tomcat taking lots and lots of CPU

2020-02-11 Thread calder
On Tue, Feb 11, 2020, 18:40 James H. H. Lampert wrote: > Ladies and Gentlemen: > > We have a customer installation in which the JVM job for our Tomcat > server is frequently using massive amounts of CPU. > > It's Tomcat 7.0.67, running on an AS/400, in a 64-bit Java 7 JVM, with > -Xms3096m and

Re: Tomcat 9.0.11 cookieprocessor question.

2020-02-07 Thread calder
On Fri, Feb 7, 2020, 09:08 saivenkat thatikonda < saivenkatthatikon...@gmail.com> wrote: > Hello all, > > I am trying to set *sameSiteCookies = "none"* in * > *in *server.xml > *file of tomcat. > It's preferred to add this in the META-INF sub-dir in the context.xml file But I see this in th

Re: SOLVED - Re: Aw: Re: mvn redeploy - double redeployment problem (within 0.2 seconds)

2020-02-02 Thread calder
On Sun, Feb 2, 2020, 15:49 Peter Rader wrote: > The old version of the application had a daemon that have not yet finished > his execution. > > Unfortuantely there is no further logging why the old version not stoped > yet. > > I expected to have the "mvn redeploy" waiting forever for this >

Re: mvn redeploy - double redeployment problem (within 0.2 seconds)

2020-02-02 Thread calder
On Sun, Feb 2, 2020, 10:31 Peter Rader wrote: > Hi, > > I am using maven to redeploy a application. > > Maven returning: > [ERROR] Failed to execute goal > org.codehaus.mojo:tomcat-maven-plugin:1.1:redeploy (default-cli) on project > xxx: Cannot invoke Tomcat manager: Error writing to server ->

Re: Using the certificate files instead of a Java Keystore file, Re: Let's Encrypt with Tomcat?

2020-01-09 Thread calder
Moderators ? On Wed, Jan 8, 2020, 20:44 Zahid Rahman wrote: > > https://stackoverflow.com/questions/46786046/severe-main-org-apache-catalina-core-standardservice-initinternal-failed-to-in > > I went to college and studied IT before finding a job. My teacher explained > to me that you

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread calder
What does this have to do with Tomcat? Moderators??? On Wed, Jan 8, 2020, 13:52 Zahid Rahman wrote: > Another example of using maven 2015 version and the impact of unknown > warning by MAVEN can have on application development across the Globe. > Let'sEncrypt guy (Shultz) dismissed as

Re: Dates on Linux vs. Windows

2020-01-07 Thread calder
On Tue, Jan 7, 2020, 17:17 Jerry Malcolm wrote: > > > On Tue, 7 Jan 2020, 21:52 , wrote: > '. What do I set/change? > > >> Those millisecond values are 6 hours apart, which looks like a timezone > >> issue. I happen to be in US Central time, which is 6 hours earlier than > >> UTC in

Re: Tomcat 9 does not allow to read file in /tmp folder with 777 permission?

2020-01-06 Thread calder
On Sat, Jan 4, 2020 at 8:36 AM bphamhuu wrote: > I have a java web application by Tomcat 9 servlet container which tries to > read a file in /tmp folder with 777 permission on Ubuntu 18.04 > > ls -ltr /tmp/test.txt > -rwxrwxrwx 1 vagrant vagrant 10 Jan 3 17:03 /tmp/test.txt [snip] > #

Re: Tomcat 9 does not allow to read file in /tmp folder with 777 permission?

2020-01-06 Thread calder
On Sat, Jan 4, 2020 at 7:26 PM zahid wrote: > Have ever heard of "*chmod*" in windows ? No, but that's because the security model in Windows is *different* than for *nix OSes. On Win, there's attrib, xcacls, cacls, and icacls, but none of those truly match was chmod does. So, one needs to

SSO fails on Tomcat 9

2019-09-03 Thread calder
On Tuesday, September 3, 2019, André Warnier (tomcat) wrote: > > > Note : why it would work with tomcat8 and not with tomcat9 is still not > clear to me, unless there have been some changes between the tomcat8 SPNEGO > Valve and the tomcat9 SPNGEGO Valve, or else maybe in terms of the tomcat >

Re: Tomcat Bandwidth Utilization Tool

2019-08-30 Thread calder
On Thursday, August 29, 2019, Michael Duffy wrote: > Is there a simple tool that will show bandwidth utilization to and from > the Tomcat server? > > I am looking for something that will provide an exact byte count of the > TCP/IP packets. > > I would have thought this would be an easy find;

Re: Profiler for Tomcat

2019-08-27 Thread calder
YourKit, AppDynamics, Mission Control, JProfiler, New Relic, ... On Tuesday, August 27, 2019, Michael Duffy wrote: > I have searched for a good profiler for Tomcat with little success. > > I am looking for an application that will profile internal memory and > bandwidth utilized (data transfer

Re: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-08 Thread calder
I configured my "Tomcat as a Service" a couple days ago for remote JMC a) navigate to Tomcat's "bin" subdir b) execute: tomcat7w //ES//"type service name here" c) go to Java tab d) add the properties in the "Java Options" text area e) select OK and restart Tomcat Service On Wednesday, August

Re: Tomcat 5.5.17 migration to 6

2018-07-14 Thread calder
Why migrate to a version that is EOL (no doubt why you can't find docs) ? https://tomcat.apache.org/tomcat-60-eol.html If I were in the situation, I'd migrate to a more modern version, such as 8.5 On Saturday, July 14, 2018, David Babooram wrote: > Good morning > > My intent is to migrate

Re: needed your help very urgent

2017-04-24 Thread calder
On Mon, Apr 24, 2017 at 9:22 AM, Naga Ramesh wrote: > Tomcat Team, > > Always we are getting the below mentioned errors, please check ASAP and > guide me if anything missing from our end, this is very urgent, please > respond asap. > > Tomcat Version: apache-tomcat-8.0.33

Re: need help with websocket

2017-03-29 Thread calder
On Tuesday, March 28, 2017, Sharat Jagannath wrote: > how do i setup websocket on server side for using wss with tomcat config? > is there any config i need to do with tomcat? any certification to setup? > Read up using the How-to:

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread calder
On Mon, Mar 20, 2017 at 4:46 PM, Eric Chua wrote: > siteadm@mavs01web11q:/data/tools/jvmtop $ top -U siteadm > > top - 12:41:20 up 19 min, 3 users, load average: 1.25, 1.24, 0.87 > > Tasks: 130 total, 1 running, 129 sleeping, 0 stopped, 0 zombie > Cpu(s):

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-19 Thread calder
On Sun, Mar 19, 2017 at 12:48 PM, André Warnier (tomcat) wrote: > On 17.03.2017 14:54, Christopher Schultz wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Eric, >> >> On 3/16/17 11:01 PM, Eric Chua wrote: >>> >>> I am running tomcat 8.0.121. When I start

Re: Apache Tomcat 9

2017-03-09 Thread calder
>> 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: How do I set the logger org.apache.tomcat.util.scan.StandardJarScanner's level to WARN

2017-03-09 Thread calder
On Thu, Mar 9, 2017 at 9:48 PM, Hoa Phan wrote: > Hi Chris, > > I tried: > > org.apache.tomcat.util.scan.StandardJarScanner.level=SERVERE //in the > logging.properties > > -Dorg.apache.tomcat.util.scan.StandardJarScanner.level=SERVERE //on startup > >

Re: Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread calder
The fourth column is the "Local Address" (local machine) - in the case, a machine-name (vs IP address) and the port value (such as 51186) the machine is listening on. Of course, the machine-name will resolve to an IP address, so in some netstat output, you might see tcp 0 0 10.240.100.20:51186

(TC7+) Why was the Realm argument removed for GenericPrincipal?

2016-11-01 Thread calder
We have an application that runs on Tomcat6. For Tomcat7+, two of our .java files require modification. The modifications are mostly concerned with the invocation of the org.apache.catalina.realm.GenericPrincipal constructor - see the MyappRealm class just below - this is the TC6 version. For