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
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
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:
On Sun, Mar 19, 2017 at 12:48 PM, André Warnier (tomcat)
> On 17.03.2017 14:54, Christopher Schultz wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA256
>> On 3/16/17 11:01 PM, Eric Chua wrote:
>>> I am running tomcat 8.0.121. When I start
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
>> 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
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
> -Dorg.apache.tomcat.util.scan.StandardJarScanner.level=SERVERE //on startup
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
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
Why migrate to a version that is EOL (no doubt why you can't find docs) ?
If I were in the situation, I'd migrate to a more modern version, such as
On Saturday, July 14, 2018, David Babooram
> Good morning
> My intent is to migrate
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
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;
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
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
On Tue, Feb 11, 2020, 18:40 James H. H. Lampert
> 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
On Mon, Feb 24, 2020, 14:19 Ellen Meiselman wrote:
> 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
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
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
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"
On Sun, Feb 2, 2020, 10:31 Peter Rader wrote:
> 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 ->
On Fri, Feb 7, 2020, 09:08 saivenkat thatikonda <
> 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
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
> I expected to have the "mvn redeploy" waiting forever for this
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:
On Fri, Feb 14, 2020, 15:05 James H. H. Lampert
> 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
On Wed, Jan 8, 2020, 20:44 Zahid Rahman wrote:
> I went to college and studied IT before finding a job. My teacher explained
> to me that you
What does this have to do with Tomcat?
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
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
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
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
On Wed, Apr 8, 2020, 18:11 James H. H. Lampert
> 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
> 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
On Sun, Apr 12, 2020, 11:58 Barry Kimelman
> 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 ..
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.
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*,
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
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
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
On Thu, Apr 2, 2020 at 5:53 PM James H. H. Lampert
> 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
On Mon, Mar 30, 2020, 05:02 Luigi Tagliafierro
> Hi everybody,
> we are experiencing an error : The bitbucket log
> (/var/atlassian/bitbucket_home/log/launcher.log) constantly repeats this
> "java.lang.IllegalArgumentException: An invalid domain
On Mon, Apr 27, 2020 at 11:22 AM Beard, Shawn M.
> I have an app running in tomcat 9 that makes an ssl call to an external
> It fails with these errors in the logs:
> ERROR javax.net.ssl.SSLHandshakeException: PKIX path building failed:
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 $! >
On Mon, Apr 27, 2020, 16:30 calder wrote:
> On Mon, Apr 27, 2020 at 11:22 AM Beard, Shawn M.
>> I have an app running in tomcat 9 that makes an ssl call to an external
On Fri, May 1, 2020, 13:32 Darryl Philip Baker <
> 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.
On Tue, May 12, 2020, 16:08 Patrick Baldwin
> 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
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
> that's where they will add an entry like (or modify the existing)
On Tue, May 12, 2020 at 4:30 PM Patrick Baldwin
> On Tue, May 12, 2020 at 5:13 PM Christopher Schultz <
> ch...@christopherschultz.net> wrote:
> > There is no catalina.sh that I can find. When I googled that, I found:
> > You
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?
There is a "Tomcat Security" guide
On Tue, May 12, 2020, 15:49 Patrick Baldwin
> 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
On Tue, May 12, 2020, 16:13 Christopher Schultz <
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> On 5/12/20 17:08, Patrick Baldwin wrote:
> > 102$ sudo service tomcat start Redirecting to /bin/systemctl start
> > tomcat.service
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
On Sat, May 9, 2020 at 5:09 PM Christopher Schultz
> On 5/9/20 00:36, calder wrote:
> > On Fri, May 8, 2020 at 9:07 PM calder
> > Keep in mind - some characters won't work like & or ( or ) - at
> > least on Unix-style OSes as the shell may want to inter
On Sat, May 9, 2020, 07:16 Vikas Kumar wrote:
> As per my understanding (using a Spring Boot app with Tomcat server), we
>- Max no. of worker threads (maxThreads, default 200)
>- Tomcat queue size (maxConnections, default 8192 for APR, 1 for
>NIO). When all worker
On Tue, May 12, 2020 at 10:28 AM Patrick Baldwin
> 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.
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
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
On Fri, Sep 11, 2020, 12:07 Arshiya Shariff
> 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
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:
On Thu, Aug 27, 2020, 16:16 Christopher Schultz <
[ 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
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:
>> On 10/3/20 08:47, Mauro T
On Sat, Oct 3, 2020, 09:01 Mauro Tridici wrote:
> On 3 Oct 2020, at 15:14, Christopher Schultz
> 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
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:
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
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
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
On Wed, Aug 5, 2020, 12:22 James H. H. Lampert
> 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.
On Wed, Aug 5, 2020, 18:46 James H. H. Lampert
> 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
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
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?
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
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 ?
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
On Mon, Jul 13, 2020, 15:22 Barry Kimelman
> 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
In my build.xml I have the following lines
So, you're attempting run in Eclipse? Or using
> 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
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
On Sat, Jul 11, 2020, 11:46 Barry Kimelman
> 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
On Mon, Jun 22, 2020, 11:56 James H. H. Lampert
> 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"?
In Fri, Jun 26, 2020, 10:37 Beard, Shawn M.
> 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
> javax.net.ssl.SSLException : javax.net.ssl.SSLException:
On Fri, Jun 19, 2020, 15:15 James H. H. Lampert
> 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
On Fri, Jun 19, 2020, 15:33 James H. H. Lampert
> On 6/19/20 1:26 PM, calder wrote:
> > a) are both Tomcat instances installed on that same server?
> > b) if yes, is the 7.0.93 instance running when you launch the 7.0.104
> > instance?
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
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 ]
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 -
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
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
On Sat, Jul 25, 2020, 09:55 Darryl Philip Baker <
> 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
Mail list logo