My support team needs to be able to log in to our site as various users
(on behalf of...) to be able to see exactly what they are seeing since
roles, access groups, history is different for different users. I would
like to implement an admin password where I can log in as any userId
with this
On 11/5/2023 9:26 AM, Christopher Schultz wrote:
Jerry,
On 11/4/23 20:17, Jerry Malcolm wrote:
My support team needs to be able to log in to our site as various
users (on behalf of...) to be able to see exactly what they are
seeing since roles, access groups, history is different for
On 11/5/2023 11:54 AM, Jerry Malcolm wrote:
On 11/5/2023 9:26 AM, Christopher Schultz wrote:
Jerry,
On 11/4/23 20:17, Jerry Malcolm wrote:
My support team needs to be able to log in to our site as various
users (on behalf of...) to be able to see exactly what they are
seeing since roles
Chris,
On 11/8/2023 2:43 PM, Christopher Schultz wrote:
Jerry,
On 11/6/23 23:22, Jerry Malcolm wrote:
On 11/5/2023 11:54 AM, Jerry Malcolm wrote:
On 11/5/2023 9:26 AM, Christopher Schultz wrote:
Jerry,
On 11/4/23 20:17, Jerry Malcolm wrote:
My support team needs to be able to log in to
Chris,
On 12/26/2023 11:35 AM, Christopher Schultz wrote:
Jerry,
On 12/24/23 19:18, Jerry Malcolm wrote:
Chris,
On 11/8/2023 2:43 PM, Christopher Schultz wrote:
Jerry,
On 11/6/23 23:22, Jerry Malcolm wrote:
On 11/5/2023 11:54 AM, Jerry Malcolm wrote:
On 11/5/2023 9:26 AM, Christopher
Chris,
On 12/28/2023 3:38 PM, Christopher Schultz wrote:
Jerry.
On 12/27/23 02:13, Jerry Malcolm wrote:
I implemented the filter as you suggested. But I guess I'm going to
need some education on sessions. Down in a user profile web page I
have a button to "Impersonate".
Chris,
On 12/29/2023 11:22 AM, Christopher Schultz wrote:
Jerry,
On 12/28/23 18:33, Jerry Malcolm wrote:
Chris,
On 12/28/2023 3:38 PM, Christopher Schultz wrote:
Jerry.
On 12/27/23 02:13, Jerry Malcolm wrote:
I implemented the filter as you suggested. But I guess I'm going
to need
I'm trying to optimize my instance, CPU, tuning, and size requirements
for Tomcat. It's easy to see CPU usage. But this TC instance is
running a lot of microservices that are often in and out fairly
quickly. So there can be a huge number of requests coming in. I'm not
sure that CPU starving
I have some servlets that I can't put security constraints on at the
web.xml level. However, deep down in the code there are some places
that I need a user to be logged in. My overall UI ensures this all
works by having certain JSPs with constraints that force the user to log
in before gettin
I am encountering a weird problem. I'm getting the following SQL error on an
INSERT command.
com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Incorrect
datetime value: '1969-12-31 18:00:00.0' for column...
The column is a TIMESTAMP in mySQL.
I pasted the SQL statement directl
On 8/27/2021 11:55 AM, Christopher Schultz wrote:
Mark and Jerry,
On 8/26/21 22:03, Mark Eggers wrote:
Jerry,
On 8/26/2021 6:35 PM, Jerry Malcolm wrote:
I am encountering a weird problem. I'm getting the following SQL
error on an INSERT co
On 8/27/2021 1:30 PM, Mark Eggers wrote:
On 8/27/2021 11:16 AM, Jerry Malcolm wrote:
On 8/27/2021 11:55 AM, Christopher Schultz wrote:
Mark and Jerry,
On 8/26/21 22:03, Mark Eggers wrote:
Jerry,
On 8/26/2021 6:35 PM, Jerry Malcolm wrote:
I am encountering a weird problem. I'm gettin
I have a requirement to start a new log database on the first of every
month. I still need to have access to older monthly log databases. I
do not want to create a bunch of hardcoded manually configured
individual datasources, one for each month. I have a dynamic datasource
solution that is
On 9/7/2021 2:35 PM, Christopher Schultz wrote:
Jerry, Rémy,
On 9/3/21 07:15, Rémy Maucherat wrote:
On Fri, Sep 3, 2021 at 2:46 AM Jerry Malcolm
wrote:
I have a requirement to start a new log database on the first of every
month. I still need to have access to older monthly log databases
I need to write a custom BasicAuthenticator class to decode a
specialized encoding of the authToken. I have been scouring google for
info. I found one post where the answer included the statement:
"Extending from AuthenticatorBase is a great idea, and you can avoid
Tomcat's standard authenti
involved to
get the same result if my authorization header prefix is now "Malcolm"
instead of "Basic"?
Just exploring my options.
Thanks for the discussion. It's helping me a lot.
Jerry
On 10/4/2021 8:49 AM, Christopher Schultz wrote:
Michael,
On 10/3/21 11:58, Michael
my custom Authenticator class?
Thx
On 10/5/2021 9:50 AM, Christopher Schultz wrote:
Jerry,
On 10/4/21 22:40, Jerry Malcolm wrote:
I really don't care whether it's called Basic, Malcolm, RollYourOwn,
or whatever. I was just emulating techniques I've had to implement
as a client
m not getting it. I've been with TC for many years.
But this is an area I've never dealt with until now.
On 10/5/2021 1:54 PM, Christopher Schultz wrote:
Jerry,
On 10/5/21 12:23, Jerry Malcolm wrote:
hi Chris, thanks for the feedback.
I'm not using JWTs. I'm just sendi
I am adding a redis implementation (jedis) to my application. I have a
jedis implementation class that holds the connection pool and interfaces
with jedis. That class needs to be instantiated once per host and then
referenced from that point on by all of the webapps in the host. Is
there an
Can anyone tell me what I might be doing that would cause an NPE inside
the request object on getRequestURL()? The NPE only happens about 10%
of the time. I can't figure out what is happening differently in that
10% of the calls to this code. Thx
java.lang.NullPointerException
at
o
/response thread. Is there any situation where the request
object could be recycled before the associated response is returned?
Thx
Jerry
On 11/29/2021 7:42 PM, Christopher Schultz wrote:
Jerry,
On 11/29/21 19:33, Jerry Malcolm wrote:
Can anyone tell me what I might be doing that would cause
On 11/30/2021 1:58 PM, Christopher Schultz wrote:
Jerry,
On 11/30/21 14:17, Jerry Malcolm wrote:
Chris, Thanks for the response.
Sorry... forgot to include the TC ver -- 8.5.69.
I had a situation a while back where I spun a longrunning thread and
held the request object after the main
it's 286,358 bytes.
Any other ideas come to mind why it's telling me the restart() method
doesn't exist?
Thx as always.
Jerry
On 9/7/2021 2:49 PM, Jerry Malcolm wrote:
On 9/7/2021 2:35 PM, Christopher Schultz wrote:
Jerry, Rémy,
On 9/3/21 07:15, Rémy Maucherat wrote:
On F
Mark,
On 12/1/2021 12:21 AM, Mark Eggers wrote:
Jerry,
On 11/30/2021 10:06 PM, Jerry Malcolm wrote:
I'm circling back to this after a few months. I am building on a
Windows 10 box with 9.0.52 TC. But I'm running on an AWS Linux2 with
8.5.72. This has never caused any problems
Chris,
On 11/30/2021 11:41 PM, Jerry Malcolm wrote:
On 11/30/2021 1:58 PM, Christopher Schultz wrote:
Jerry,
On 11/30/21 14:17, Jerry Malcolm wrote:
Chris, Thanks for the response.
Sorry... forgot to include the TC ver -- 8.5.69.
I had a situation a while back where I spun a longrunning
I had a db connection leak in my code where an error condition would
throw an exception and bypass the connection cleanup code. I found that
and fixed it. But before I found the problem, my program was
overrunning the max connections and locking out. It would take
sometimes 12 hours after a r
read to run. You need to
set the value of timeBetweenEvictionRunsMillis to a positive number.
Phil
On 12/4/21 9:06 PM, Jerry Malcolm wrote:
I had a db connection leak in my code where an error condition would
throw an exception and bypass the connection cleanup code. I found
that and fixed it
ritical at
this moment. But I'd like to figure out where my understanding is wrong
for future situations.
Thanks
Jerry
On 12/7/2021 2:31 PM, Christopher Schultz wrote:
Jerry,
On 12/4/21 23:06, Jerry Malcolm wrote:
I had a db connection leak in my code where an error condition would
throw
20:59, Jerry Malcolm wrote:
Chris, The way I thought it worked was if I configured
'RemoveAbandonedOnBorrow' and RemoveAbandonedTimeout="15" was that
each time I requested a new connection from the pool, any connections
that had been idle for >15 minutes and had not been
On 12/1/2021 10:38 AM, Jerry Malcolm wrote:
Mark,
On 12/1/2021 12:21 AM, Mark Eggers wrote:
Jerry,
On 11/30/2021 10:06 PM, Jerry Malcolm wrote:
I'm circling back to this after a few months. I am building on a
Windows 10 box with 9.0.52 TC. But I'm running on an AWS Linux2 wi
I have a production environment of 10+ AWS EC2 servers all built from a
single EC2 snapshot image. The master EC2 works fine. But when we
propagated the image to all of the production servers, we started
getting "Can't read cryptographic policy directory: unlimited" errors
when I try to get
I'm adding a slight variation to the error I get at times (see bottom of
stack trace below)
On 12/19/2021 11:55 PM, Jerry Malcolm wrote:
I have a production environment of 10+ AWS EC2 servers all built from
a single EC2 snapshot image. The master EC2 works fine. But when we
propagate
or two later. Likely nothing to do specifically with the
crypto file. That's just likely the first file needed that wasn't ready
yet.
Moving on the next fire that needs to be put out...
Thx
Jerry
On 12/20/2021 5:22 AM, Mark Thomas wrote:
On 20/12/2021 06:59, Jerry Malcolm wrote:
I'
I'm running Tomcat 9.0.56 in a production environment on AWS Linux2. My
environment is 4 virtual hosts with about 9-10 web applications on
each. The web apps are already expanded in the webapps folder. So
there are no war file expansions involved. The first time after I reboot
the server eac
:/dev/./urandom
Thank you,
Neil
--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!
-Original Message-
From: Jerry Malcolm [mailto:techst...@malcolms.com]
Sent: Tuesday, September 27, 2022 4:43 PM
To: users@tomcat.apache.org
Su
Neil,
Sadly, that line doesn't appear either with or without the
java.security.egd option. That appears to be a lump sum of 4-5
minutes for the SecureRandom seed thing. I'm getting a total
accumulation of ~5 minutes. But it's made up of a bunch of ~15-sec web
starts. See example below.
-
Von: Jerry Malcolm
Gesendet: Mittwoch, 28. September 2022 04:54
An: users@tomcat.apache.org
Betreff: Re: Slow startup first time after reboot
Neil,
Sadly, that line doesn't appear either with or without the
java.security.egd
option. That appears to be a lump sum of 4-5 minutes for the
Se
me without having to
figure out the thread-dump on system boot procedure.
Thanks again.
Jerry
On 9/28/2022 11:33 AM, Mark Thomas wrote:
Lots of ways. I'd try starting with the jstack tool which should be
provided as part of the JDK you are using.
Mark
On 28/09/2022 17:16, Jerry Malcolm
ngMethodAccessorImpl.invoke(Object, Object[]) line: 43
Method.invoke(Object, Object...) line: 566
Bootstrap.start() line: 345
Bootstrap.main(String[]) line: 476
On 9/29/2022 4:29 AM, Mark Thomas wrote:
On 29/09/2022 04:05, Jerry Malcolm wrote:
Hi, Mark, Thanks for the info. Getting sev
I have one virtual host working fine on a Windows 11 TC 9 install. I am
adding a 2nd virtual host to that same running installation. This TC is
standalone, handling http requests directly (not via httpd). Both
virtual hosts have a rewrite.config. On the new domain, I go to a page
that req
did have a need in that
host for a ROOT context.
This one was painful. Just out of curiosity, is this restriction
intended? If so, error messages and/or documentation of it might need a
review.
Thanks.
Jerry
On 1/16/2023 12:40 AM, Jerry Malcolm wrote:
I have one virtual host working fine
On 1/17/2023 3:43 AM, Mark Thomas wrote:
On 16/01/2023 23:07, Jerry Malcolm wrote:
Well, after downloading and installing the Tomcat source in my
Eclipse environment and tracking through a bunch of breakpoints, I
figured out what was happening. SingleSignOn.invoke() was querying
for the
On 1/17/2023 12:30 PM, Jerry Malcolm wrote:
On 1/17/2023 3:43 AM, Mark Thomas wrote:
On 16/01/2023 23:07, Jerry Malcolm wrote:
Well, after downloading and installing the Tomcat source in my
Eclipse environment and tracking through a bunch of breakpoints, I
figured out what was happening
I am running Tomcat 9.0.56 in multiple AWS EC2 instances with Amazon
Linux2 in a production environment. A couple of years ago, we started
getting weird errors that the "Crypto Mechanism" failed to initialize.
Through a lot of trial and error, and reasons I don't quite remember, we
put a 2-mi
Hi Thomas,
On 6/13/2023 2:08 AM, Thomas Hoffmann (Speed4Trade GmbH) wrote:
Hello Jerry,
-Ursprüngliche Nachricht-
Von: Jerry Malcolm
Gesendet: Dienstag, 13. Juni 2023 08:50
An: users@tomcat.apache.org
Betreff: Crypto Randomly Not Getting Initialized
I am running Tomcat 9.0.56 in
Simon,
On 6/13/2023 2:20 AM, Simon Matter wrote:
Hi,
I am running Tomcat 9.0.56 in multiple AWS EC2 instances with Amazon
Linux2 in a production environment. A couple of years ago, we started
getting weird errors that the "Crypto Mechanism" failed to initialize.
Through a lot of trial and err
Reg,
On 6/13/2023 2:57 AM, r.barc...@habmalnefrage.de wrote:
Hey Jerry,
Caused by: java.lang.SecurityException: Can not initialize cryptographic
mechanism
at
java.base/javax.crypto.JceSecurity.(JceSecurity.java:120) ... 86 mo
Caused by: java.lang.SecurityException: Can't read cryptog
Thomas,
On 6/13/2023 10:45 AM, Thomas Hoffmann (Speed4Trade GmbH) wrote:
Hello Jerry,
-Ursprüngliche Nachricht-
Von: Jerry Malcolm
Gesendet: Dienstag, 13. Juni 2023 17:35
An: users@tomcat.apache.org
Betreff: Re: AW: Crypto Randomly Not Getting Initialized
Hi Thomas,
On 6/13/2023 2
Chris,
On 6/13/2023 11:03 AM, Christopher Schultz wrote:
Jerry,
On 6/13/23 11:51, Jerry Malcolm wrote:
Reg,
On 6/13/2023 2:57 AM, r.barc...@habmalnefrage.de wrote:
Hey Jerry,
Caused by: java.lang.SecurityException: Can not initialize
cryptographic
mechanism
at
java.base
chris
On 6/13/2023 11:03 AM, Christopher Schultz wrote:
Jerry,
On 6/13/23 11:51, Jerry Malcolm wrote:
Reg,
On 6/13/2023 2:57 AM, r.barc...@habmalnefrage.de wrote:
Hey Jerry,
Caused by: java.lang.SecurityException: Can not initialize
cryptographic
mechanism
at
java.base
Rob,
On 6/13/2023 11:34 AM, Rob Sargent wrote:
In /etc/rc.local I have:
--
sleep 120s
systemctl start tomcat9
-
I put the sleep in back a couple of years ago that for some reason
'fixed' this same random, intermittent crypto file exception.
You m
On 6/13/2023 12:39 PM, Jerry Malcolm wrote:
Rob,
On 6/13/2023 11:34 AM, Rob Sargent wrote:
In /etc/rc.local I have:
--
sleep 120s
systemctl start tomcat9
-
I put the sleep in back a couple of years ago that for some reason
'fixed' this s
On 6/13/2023 3:46 PM, Jerry Malcolm wrote:
On 6/13/2023 12:39 PM, Jerry Malcolm wrote:
Rob,
On 6/13/2023 11:34 AM, Rob Sargent wrote:
In /etc/rc.local I have:
--
sleep 120s
systemctl start tomcat9
-
I put the sleep in back a couple of years ago
All of a sudden I started getting a NameNotFoundException when I'm
trying to resolve a dataSource name. But it comes and goes on all of
my dataSource names. The log below was from about a minute. The only
thing I could find in a google search for "Unable to find [jdbc]" says
my configurati
Anyway, problem solved. (At least
THIS one was solved :-) )
Jerry
On 6/27/2023 3:41 PM, Jerry Malcolm wrote:
All of a sudden I started getting a NameNotFoundException when I'm
trying to resolve a dataSource name. But it comes and goes on all of
my dataSource names. The log below was
I've encountered some very strange behavior in a new TC instance. It's
not actually 'new'. I cloned an Amazon EC2 that had a fully functional
ApacheHTTPD/Tomcat. I replaced the domain on the clone with a new
domain. Otherwise, nothing was changed. I use JSTL extensively on both
the original
On 4/5/2020 2:20 AM, Mark Thomas wrote:
On 05/04/2020 05:10, Jerry Malcolm wrote:
This is on a 8.5.x. I did a yum update. So I assume it's close to the
latest point release of 8.5. Maybe I'll have a clearer mind tomorrow
and see something obvious.
Did you look in the change
Hi James,
I've been using this precise setup for years, first on a dedicated
hosted server and recently on EC2/Linux2. I use mod_jk.
The first step is to make sure httpd recognizes all of the domain names
and subdomains. That includes the vhost definitions of all of the
domains and subdoma
I'm setting up an environment that has the potential for a large number
of simultaneous requests coming in. I have a basic Apache HTTPD with
mod_jk talking to Tomcat, all on the same Amazon EC2 instance. From my
understanding, I have the potential of maxing out connections at httpd,
at mod_j
Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jerry,
On 7/7/20 16:50, Jerry Malcolm wrote:
I'm setting up an environment that has the potential for a large
number of simultaneous requests coming in. I have a basic Apache
HTTPD with mod_jk talking to Tomcat, all on the same A
I'm taking Christopher's advice to remove httpd and mod_jk out of my
process and go straight to Tomcat on port 80. At this point the only
thing I've done is stop the httpd service and change the Connector port
to 80. I'm running on my local machine. I have a hosts entry set to
"local.a.c
My next step in moving httd/mod_jk out of the chain is to move my
rewrite rules to Tomcat. The instructions are pretty straightforward.
I added the rewrite value to the host in server.xml, and I created
rewrite.index in the host's folder in Catalina directory.
The rewrite itself seems to wor
On 7/20/2020 3:42 PM, Mark Thomas wrote:
On 20/07/2020 19:24, Jerry Malcolm wrote:
My next step in moving httd/mod_jk out of the chain is to move my
rewrite rules to Tomcat. The instructions are pretty straightforward.
I added the rewrite value to the host in server.xml, and I created
On 7/20/2020 5:00 PM, Mark Thomas wrote:
On 20/07/2020 22:43, Jerry Malcolm wrote:
Do you have a ROOT web application deployed? If not, this could be
https://bz.apache.org/bugzilla/show_bug.cgi?id=64593
Mark, I do not have a root context. So that very likely is the
problem. Not 100
How do configure TC to log the activities of the RewriteValve? I added
org.apache.catalina.valves.rewrite.RewriteValve.level = FINE
to logging.properties. But I'm not seeing any output related to
rewrite. Do I have the logging config wrong? Am I looking in the wrong
place for the log data?
Is anyone successfully monitoring Tomcat JMX beans on Amazon
CloudWatch? This shouldn't be that difficult. But we are hitting a
brick wall. Can't get anything to work that is recommended on forums.
Thx
-
To unsubscribe, e-
I have a relatively new environment with a standalone tomcat (8.5)
running on an AWS Linux2 EC2. I'm not using HTTPD/AJP. Its a direct
connection to port 443. (Well technically, I have firewallD in the flow
in order to route the protected port 80 to port 8080 and 443 to 8443 for
TC).
I am
On 11/7/2020 6:56 PM, Christopher Schultz wrote:
Jerry,
On 11/6/20 19:49, Jerry Malcolm wrote:
I have a relatively new environment with a standalone tomcat (8.5)
running on an AWS Linux2 EC2. I'm not using HTTPD/AJP. Its a direct
connection to port 443. (Well technically, I
On 11/9/2020 3:10 AM, Mark Thomas wrote:
On 08/11/2020 01:33, Jerry Malcolm wrote:
On 11/7/2020 6:56 PM, Christopher Schultz wrote:
Jerry,
On 11/6/20 19:49, Jerry Malcolm wrote:
I have a relatively new environment with a standalone tomcat (8.5)
running on an AWS Linux2 EC2. I'm not
On 11/9/2020 11:05 AM, Jerry Malcolm wrote:
On 11/9/2020 3:10 AM, Mark Thomas wrote:
On 08/11/2020 01:33, Jerry Malcolm wrote:
On 11/7/2020 6:56 PM, Christopher Schultz wrote:
Jerry,
On 11/6/20 19:49, Jerry Malcolm wrote:
I have a relatively new environment with a standalone tomcat (8.5
We have a production environment where we rarely reboot Tomcat.
LetsEncrypt auto-updates the certificates every couple of months. But
the new certificates are not loaded into Tomcat. So when the original
expiration date of the certs arrives, users get "certificate expired"
even though new cert
amp;ps="
for just the needed domain.
Adjust the port to your SSL-Connector.
Add a to tomcat-users.xml
Beware not to open the Manager App to the public - just localhost.
HTH
Peter
Am 26.12.2020 um 18:42 schrieb Jerry Malcolm :
We have a production environment where we rarely r
I have a query that needs to access tables in two different databases on
the same mysql instance. I see how that can be done with the JOIN
syntax in mysql. But datasource pools reference a single database,
correct? I really need to 'join' two datasources for one sql call. I
found info on doi
I have a standalone tomcat. TC is configured to redirect any port 80
requests to https/443. It works fine on pages that aren't protected by
web.xml security constraints. However, if a page is protected, the
login page appears while still in non-ssl http mode. For years, I've had
httpd sitting
On 1/11/2021 6:11 PM, Mark Thomas wrote:
On 12/01/2021 00:00, Jerry Malcolm wrote:
I have a standalone tomcat. TC is configured to redirect any port 80
requests to https/443. It works fine on pages that aren't protected by
web.xml security constraints. However, if a page is protected
Chris Cheshire wrote:
On Jan 11, 2021, at 1:19 PM, Jerry Malcolm
wrote:
I have a query that needs to access tables in two different
databases on the same mysql instance. I see how that can be done
with the JOIN syntax in mysql. But datasource pools reference a
single database, correct? I really
resolve over the years. I really appreciate
all of the help you and your team have been to me as I attempt to get
everything working.
Jerry
On 1/12/2021 1:49 AM, Mark Thomas wrote:
On 12/01/2021 00:45, Jerry Malcolm wrote:
On 1/11/2021 6:11 PM, Mark Thomas wrote:
On 12/01/2021 00:00, Jerry
The server solution I am developing is split across multiple Amazon Web
Services EC2 instances. They all use the same TC WAR images. But each
server handles a different portion of the functionality
aaa.mydomain.com is called for one set of function, and bbb.mydomain.com
is called for anot
Not directly a tomcat question... but since TC runs on java, maybe
someone here has some suggestions. I am running a development/sandbox
server on AWS EC2, Linux 2. Only I and one other person have access to
it. Yesterday I was browsing through some pages on my site when all of
a sudden I st
In my app a logged in user will access a page. But then all of the
interaction on the page is done back and forth with ajax calls to the
server. The ajax activities within the page could last well over the 30
minute session timeout. Even though the user has been actively working
for 30-45 min
On 3/15/2021 2:42 AM, Martin Grigorov wrote:
Hi,
Which version of Tomcat ?
I'm running Tomcat 8.5.30 on AWS Linux 2.
On Mon, Mar 15, 2021 at 8:25 AM Jerry Malcolm
wrote:
In my app a logged in user will access a page. But then all of the
interaction on the page is done back and
I am running several clustered Tomcat EC2 instances in an Amazon
autoscaling group. These instances come and go based on load and
failure/restart. IP addresses are assigned dynamically. As far I can
figure, the only determinable difference between the instances is the IP
address that is assi
I'm getting TC crashes (ver 8.5) with "out of memory" errors. I
understand heap space and the parameters to set it. But I need a bit of
help with "out of memory", not "out of heap space". This is running in
an EC2 on AWS. It's a development server, so activity is minimal
compared to produc
I have a web site that is made up of several individual webapps all tied
together with SingleSignOn. We are using Amazon's Load Balancer with
session affinity. However each webapp is generating it's own session
cookie, so the load balancer is routing to different server instances
for each we
I have a TC instance running on an EC2 in an AWS Autoscaling group. I
have a database with 500 max connections. The default EC2 count is 2
instances in the autoscaling group. I guess that means that I should
set the Tomcat resource config for this datasource to be maxTotal = 250,
so if both
Periodically, in an otherwise normal running system, I get one simple
mySQL query/create/update that takes 25+ seconds. I'm pursuing this
with mySQL logs and other steps on the mySQL end. But I have a couple of
questions related to the TC side. I start and end a timer on each side
of a statem
I have one webapp that processes REST-style url paths and therefore
needs to run in the ROOT context. Is it possible to run other webapps
in the same host with other non-root contexts? In other words, when
resolving a URL to a web app, does it try to map the url to the defined
context string
On 7/9/2021 2:23 AM, Olaf Kock wrote:
On 09.07.21 07:58, Jerry Malcolm wrote:
I have one webapp that processes REST-style url paths and therefore
needs to run in the ROOT context. Is it possible to run other webapps
in the same host with other non-root contexts? In other words, when
I have a servlet in the ROOT context mapped to "/". I'm using
request.getPathInfo() to get everything after the ".com/" in the URL.
But no matter what is added to the url after .com/, getPathInfo() always
returns null. I printed out getRequestURL(), and it shows everything.
I can parse the
I'm trying to get my hands around the whole tomcat logging system. I've
read the docs, wikis, samples, etc. But I still struggling a bit. I've
been just using System.out.println for years, and it's getting totally out
of control. So time to learn tomcat logging.
Basically, I host quite a few d
I have been using form-based auth for several years. I understand the
challenge concept where TC puts up the pre-defined login page when the
first page requiring auth is requested. But I have a slightly different
situation. I want all of my non-protected pages (guest-level) to include
the id/pw
t;
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jerry,
>
> On 12/1/11 9:21 PM, Jerry Malcolm wrote:
> > I'm trying to get my hands around the whole tomcat logging system.
> > I've read the docs, wikis, samples,
P SIGNED MESSAGE-
> Hash: SHA1
>
> Jerry,
>
> On 12/1/11 9:30 PM, Jerry Malcolm wrote:
> > I have been using form-based auth for several years. I understand
> > the challenge concept where TC puts up the pre-defined login page
> > when the first page requiring a
files per webapp per
host, right?
Thanks.
Jerry
On Thu, Dec 1, 2011 at 8:50 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jerry,
>
> On 12/1/11 9:21 PM, Jerry Malcolm wrote:
> > I'm trying
er Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jerry,
>
> On 12/2/11 12:46 PM, Jerry Malcolm wrote:
> > Ok, I'm digging into this. Slowly but surely Just to
> > confirm...
> >
> > So if I have, sa
When I start tomcat, it tries to start an app for every folder in the host
root directory. Some folders are really apps (with WEB-INF), and some are
folders that are not apps at all. It starts up the apps in folders with
WEB-INF, but also shows other folders as apps in the manager. I would like
I'm currently migrating from Tomcat 5.5 to 7.0. I have everything pretty
much running now. But I have one webapp that has run fine for years on
5.5, but will not run on 7.0. I get the following error message:
javax.naming.NameNotFoundException: Name comp is not bound in this Context.
It occurs
What is the best/recommended way to determine if the request is coming from
a mobile device? I have an alternate layout that I want to use for pages
going to a smart phone, etc. I know there is client/browser info in the
request. But it's more browser-specific info. Is there one specific
string
I have converted all of my logging to JULI stuff. To meet my specific
requirements for outputs, etc, I ended up creating Loggers on the fly and
assigning handler file names as opposed to using logging.properties file.
Everything works like I expected except for one thing. It appears that all
outp
About a month ago, I upgraded two different servers from TC 5 to TC 7. The
migration went cleanly, and everything has been working fine with the
exception of one thing. About 50% of the time, when I log in to the realm
for my web app (form-based login), the login will fail. When I try again
wit
1 - 100 of 238 matches
Mail list logo