RE: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rick Noel
) at java.base/java.lang.Thread.run(Thread.java:833) Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Mark Thomas Sent: Thursday, February 8, 2024 8:54 AM To: users@tomcat.apache.org Subject: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure [You

jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rick Noel
use this class java.net.URI instead of java.net.URL anyone have ideas on how to make xmlrpc-server3.1.3.jar tomcat 10 compliant? BTW the jar in question has classes in this package org.apache.xmlrpc. Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com

RE: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rick Noel
mapping.setAuthenticationHandler(new AuthenticationHandler() { //rick removed override annotaion so this class will compile on java 1.5 //@Override public boolean isAuthorized(XmlRpcRequest arg0) throws XmlRpcException { return true;

RE: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rick Noel
that runs in Tomcat 9 and that war still fails with same compile error. So to summarize. the migration tool fails to convert third party jar xmlrpc-server3.1.3.jar And it also fails when I use it on my .war ran through the migration tool. Rick Noel Systems Programmer | Westwood One rn

RE: [EXT]Re: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rick Noel
//@Override public boolean isAuthorized(XmlRpcRequest arg0) throws XmlRpcException { return true; } }); return mapping; } } Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Rob Sargent

RE: [EXT]Re: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-09 Thread Rick Noel
ke the WAR file that works on Tomcat 9 - drop in webapps-javaee in Tomcat 10 and let Tomcat convert it automatically Mark On 08/02/2024 20:28, Rick Noel wrote: > No I cannot compile from command line. > > But I do not really care how eclipse compiles my class anyway. > All

404 for j_security_check

2024-03-14 Thread Rick Noel
ONE Auth /auth/* radiovoodoo NONE FORM /membership/login.jsp /membership/error.jsp Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com

RE: [EXT]Re: 404 for j_security_check

2024-03-19 Thread Rick Noel
Chris, Thanks for the help, I agree with all your statements. I now see the JSESSIONID cookies. I found a bug in my code. My issue was nothing to do with Tomcat behavior. Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Christopher Schultz

RE: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Rick Noel
Thank you Chuck Do you have a feel if DeltaManager is better than BackupManager? Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Thursday, March 21, 2024 3:37 PM To: Tomcat Users List Subject: [EXT]Re: Tomcat 10

Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-21 Thread Rick Noel
web.xml I have. the needed Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com

RE: [EXT]Re: 404 for j_security_check

2024-03-15 Thread Rick Noel
) BUT I do not want to change my application code, I just want to tell Tomcat 10 to stop Expiring cache so that session log in data is not lost My main question is I want to know how to configure Tomcat 10 to not loose session data that tells the user has successfully logged in Rick Noe

RE: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Rick Noel
t: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute : On 22/03/2024 15:15, Rick Noel wrote: > Is there a way to configure DeltaManager or the Cluster element so it does > not cause my application to throw this error.

Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Rick Noel
ant to search out change them all to implement serialiazable I am hoping there is a way to configure Tomcat to just not try and replication sessions all object which are not serialiazable Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com

RE: [EXT]Re: [EXT]Re: Tomcat 10 waning that expireSessionsOnShutdown is not set

2024-03-22 Thread Rick Noel
Thanks Chuck great link to lots of good stuff Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Thursday, March 21, 2024 4:00 PM To: Tomcat Users List Subject: [EXT]Re: [EXT]Re: Tomcat 10 waning

RE: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Rick Noel
I do not want to replicate customer because that class does not implement serializable I was looking for someway that the Manager would NOT try to replicate it Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Mark Thomas Sent: Friday, March

RE: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Rick Noel
the application code itself) Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Rick Noel Sent: Friday, March 22, 2024 11:43 AM To: Tomcat Users List Subject: RE: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentExceptio

RE: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Rick Noel
Thank you very much Chris The classes my app uses should be serialize anyway so I just go that route. But thanks for that code snippet too Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Christopher Schultz Sent: Friday, March 22, 2024 2:36

RE: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Rick Noel
If have the resource defined in CATALINA_BASE/conf/context.xml And CATALINA_BASE/conf/server.xml Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Christopher Schultz Sent: Friday, March 29, 2024 11:47 AM To: users@tomcat.apache.org Subject

FW: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Rick Noel
context.xml file is. And snippet from my server.xml is. Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Rick Noel Sent: Friday, March 29, 2024 11:57 AM To: Tomcat Users List Subject: RE

RE: FW: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Rick Noel
Yeah I like the idea of using the Resourcelink in the context.xml and then keep the defining of that datasource in the server.xml Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Christopher Schultz Sent: Friday, March 29, 2024 2:23 PM

RE: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Rick Noel
. All the different dev applications also use the same database. So that is why we define resources in the context.xml file Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Christopher Schultz Sent: Friday, March 29, 2024 2:21 PM To: Tomcat Users

unable to set compression, compressionMinSize and compressableMinemType attributes in UpgradeProtocol element

2024-04-02 Thread Rick Noel
by using the UpgradeProtcol Correct? Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com

RE: [EXT]Re: unable to set compression, compressionMinSize and compressableMinemType attributes in UpgradeProtocol element

2024-04-02 Thread Rick Noel
of its name imply it is better? Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Mark Thomas Sent: Tuesday, April 2, 2024 10:05 AM To: users@tomcat.apache.org Subject: [EXT]Re: unable to set compression, compressionMinSize and compressableMinemType

RE: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-04-01 Thread Rick Noel
being that a developer working on one application would think if he changed the web.xml for his application, hey maybe I should change the other application's web.xml also Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Mark Thomas Sent: Sunday

RE: [EXT]Re: performance tunning of Tomcat 10

2024-03-27 Thread Rick Noel
Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Christopher Schultz Sent: Wednesday, March 27, 2024 8:24 AM To: Tomcat Users List ; Rick Noel Cc: Voodoo nmulcahy gmail ; David Jung Subject: [EXT]Re: performance tunning of Tomcat 10 Rick

performance tunning of Tomcat 10

2024-03-27 Thread Rick Noel
Also, am I good with setting protocol="org.apache.coyote.http11.Http11NioProtocol" And then setting That will tell Tomcat to do HTTP2 Correct? Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com

RE: [EXT]Re: [EXT]Re: performance tunning of Tomcat 10

2024-03-28 Thread Rick Noel
the Apache Benchmark tool and was able to see how our app responses with a test requests of 1 and concurrent requests of 40 and those results look good to me with worst response time of only 1000 miliseconds. Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original

how to define database resource in just context.xml or server.xml

2024-03-29 Thread Rick Noel
as defined in server.xml.. I have xxx out postgres URL for security reasons Below is my database resource as defined in context.xml Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com

RE: [EXT]Re: Tomcat 10 session replication fails

2024-04-11 Thread Rick Noel
Thanks Chuck, We are getting closer Changing ports from the 5000 range to the 4000 range stopped two errors But now I get this.. INFO: Manager [##0001]: skipping state transfer. No members active in cluster group How to I make the member machine in the cluster active? Rick Noel

.intermittent InvocationTargetException errors

2024-04-15 Thread Rick Noel
ass I could use to test that theory out? Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com

RE: [EXT]Re: .intermittent InvocationTargetException errors

2024-04-15 Thread Rick Noel
CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) Rick

clustering logging erors Tomcat10 with Java 17

2024-04-18 Thread Rick Noel
Rick

Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Rick Noel
reciver port to a different port also port="4002" In my application level web.xml on both servers I have included the needed tag What am I missing here? Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com

RE: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Rick Noel
Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Monday, April 22, 2024 4:41 PM To: Tomcat Users List Subject: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group > On Apr 22, 2024, at 09

RE: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-22 Thread Rick Noel
Chuck, So you mean we use the VM's IP as the address value below Instead or using the value of auto ? Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Monday, April 22, 2024 6:20 PM To: Tomcat Users List

RE: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-15 Thread Rick Noel
environment we have only one machine in the "cluster". So we really do not have a "cluster" environment. Again, we would like to know is going on before we introduce clustering in our live environment. We are using Java 17 and Tomcat 10 Rick Noel Systems Programm

Tomcat 10 session replication fails

2024-04-11 Thread Rick Noel
... Rick

Tomcat 10 clustering is not replicating session data

2024-04-16 Thread Rick Noel
SIONS sync phase start date [4/16/24, 12:48 PM] message date [4/16/24, 12:48 PM] Our live environment has two app server machines being fed by one loadbalancer. In our dev environment, that has just one machine, this same session data can be extracted. But not on the live 2 machine environm

RE: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-23 Thread Rick Noel
of SecureRandom instance for session ID generation using [SHA1PRNG] took [32,646] milliseconds. Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Monday, April 22, 2024 10:08 PM To: Tomcat Users List Subject: [EXT]Re: [EXT

RE: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-23 Thread Rick Noel
] org.apache.catalina.ha.session.DeltaManager.waitForSendAllSessions Manager [##0001]; session state sent at [4/23/24, 9:19 AM] received in [104] ms. Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Rick Noel Sent: Tuesday, April 23, 2024 8:56 AM To: Tomcat Users