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

2024-02-08 Thread Rob Sargent
> On Feb 8, 2024, at 9:04 AM, Rick Noel wrote: > > I built my app in Eclipse and the build path is set to use the migrated > jar. > It compiles without error on Eclipse and using the migrated jar. I have that > same migrated jar in the Tomcat lib > But when tomcat 10 compiles it does

Re: Posting questions

2024-01-05 Thread Rob Sargent
On 1/5/24 07:31, Jalaj Asher wrote: Omkar, 2 questions 1. when you say processes what processes are you seeing being invoked and does it stop at 200 processes. May be a screen shot might help 2. does the tomcat have read write privilege on all its folders ? If not does giving those rights

Re: JSP include not working

2023-12-05 Thread Rob Sargent
On 12/5/23 12:01, Niranjan Rao wrote: Greetings, I'm missing something obvious and hoping that someone can point my nose in right direction. We have a application WAR file that works fine on tomcat 7.0.78. We're trying to migrate this application to 9.0.82. When trying to hit the

Re: Get Client Certificate Information

2023-06-21 Thread Rob Sargent
> On Jun 21, 2023, at 11:29 AM, Timothy Ward wrote: > > I tried the following: > > import javax.servlet.http.HttpServletRequest; > import javax.security.cert.Certificate; > import javax.security.cert.X509Certificate; > > X509Certificate[] certs = (X509Certificate[]) >

Re: Crypto Randomly Not Getting Initialized

2023-06-13 Thread Rob Sargent
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 mentioned earlier that you had recently tried a 3

Re: SOAP HTTP error: "HTTP/1.1 400 Bad Request" after upgrade to 8.5.89.

2023-06-02 Thread Rob Sargent
On 6/2/23 14:00, jonmcalexan...@wellsfargo.com.INVALID wrote: Good afternoon, Have a team that just upgraded to 8.5.89 from 8.5.72 and started getting these messages in the logs: [2023/06/01][01:05:10.012] : [INIT] - EPMSend (init) - EPMSend = SOAP [2023/06/01][01:05:10.012] : [INIT] -

Re: AW: Too many certificates in chain?!? Help!

2023-05-23 Thread Rob Sargent
On 5/23/23 10:13, James H. H. Lampert wrote: On 5/23/23 8:31 AM, Christopher Schultz wrote: Can you dump the whole cert (e.g. keytool -list -v -alias 'certname') for each cert and see if any of the certificates specify a maximum chain length somewhere? Evidently, it's an extension to the

Re: WebappClassLoaderBase error when upgrading Tomcat 8 to 8.5

2023-05-01 Thread Rob Sargent
On 5/1/23 14:36, Christopher Schultz wrote: Jeremy, On 5/1/23 14:22, Jeremy Nguyen wrote: I'm trying to upgrade Tomcat 8 to 8.5 and I'm getting a nullpointerexception within WebappClassLoaderBase.CombinedEnumeration.inc. It seems to occur when it's trying to initialize commons-logging

Re: Apache Tomcat 10.0.26 Shortcut issue in our environment - Need Help

2023-04-05 Thread Rob Sargent
> On Apr 5, 2023, at 5:04 AM, P M, SRIHARIKUMAR (Consultant) > wrote: > >  > Hi Team, > > While validating source for Apache Tomcat 10.0.26, The shortcut is throwing > error while launching. Please find the results below > > Tomcat Version : 10.0.26 > > Operating system : Windows 10 >

Re: Excluded service.bat From Maven Artefact

2023-03-15 Thread Rob Sargent
On 3/15/23 22:01, LANDER Tim wrote: Hi, I've noticed that service.bat and Tomcat.exe (Actually all exe's: https://github.com/apache/tomcat/blob/6de806a21adc68a23aa4043c67c0d80bbab1c458/build.xml#L2825-L2828) are excluded from the tomcat maven artefact (org.apache.tomcat:tomcat). What's the

Re: catalina.out, was Re: Connector definitions

2023-03-08 Thread Rob Sargent
On 3/8/23 13:47, Rob Sargent wrote: On 3/8/23 12:54, James H. H. Lampert wrote: On 3/8/23 11:35 AM, Mark Thomas wrote: Check logging.properties and/or how you have stdout redirected in your start-up scripts. Thanks. All I see different in logging.properties is that on the Midrange box

Re: catalina.out, was Re: Connector definitions

2023-03-08 Thread Rob Sargent
On 3/8/23 12:54, James H. H. Lampert wrote: On 3/8/23 11:35 AM, Mark Thomas wrote: Check logging.properties and/or how you have stdout redirected in your start-up scripts. Thanks. All I see different in logging.properties is that on the Midrange box (installed from the ZIP file from

Re: Log rotation issue

2023-02-26 Thread Rob Sargent
On 2/26/23 19:28, Ragavendhiran Bhiman (rabhiman) wrote: Hi we are facing log rotation issue in apache tomcat. Our configurations like below handlers = 1catalina.org.apache.juli.AsyncFileHandler, 2localhost.org.apache.juli.AsyncFileHandler, 3manager.org.apache.juli.AsyncFileHandler,

Re: Tomcat for Apple silicon coming soon?

2023-01-23 Thread Rob Sargent
On 1/23/23 12:29, m...@cvkimball.com wrote: Dear Folks, I installed Java JDK 17 and Tomcat 10.1 on my better half's Mac Pro M1-based processor. It ran without problems! You have to admit that that is painfully close to "Works on my box". ;) Thanks, Chris

Re: Tomcat 10 on Windows 11 error

2022-12-30 Thread Rob Sargent
On 12/30/22 17:59, Shawn Heisey wrote: On 12/30/22 17:03, Carles Franquesa wrote: Once downloaded, installed, and configured in the settings of the netbeans project, the error has changed, what always is very hopeful. Now, the thing is that the compiler gives this new output: image.png

Re: apache-tomcat-9.0.70 >> JNDI look up fails in a different thread context class loader !!

2022-12-13 Thread Rob Sargent
On 12/13/22 22:25, dineshk wrote: Hi Mark, I guess you are right , I tried with simple web application and JNDI look up fails in both tomcat 7.x and 9.x if the current thread context class loader is changed but strangely when we deploy our application which uses hibernate (4.3.11) , it

Re: EOL of Apache Tomcat 8.5 & 9

2022-12-13 Thread Rob Sargent
On 12/13/22 09:07, EXT-Denton, Sam T wrote: This is probably answered somewhere, but will Tomcat 9 support Jakarta EE as well as Java EE? Sam Denton Advisor, Solutions Architect Mobile (314) 827-4017 24x7 SBS Suppot (405) 312-9936 Advanced Leave Notice: I will be out from Fri, 12/23,

Re: Starting Tomcat 10 at bootup

2022-11-27 Thread Rob Sargent
On 11/27/22 10:05, Amn Ojee Uw wrote: Thank you folks for the help, but as you might've guess, I am not well verse in Tomcat, I am just a student of it, let alone trouble shooting it. So, in '/opt/tomecat/opt' I found these files, which just might be able to shed some light in the eyes of a

Re: Starting Tomcat 10 at bootup

2022-11-26 Thread Rob Sargent
> On Nov 26, 2022, at 4:54 AM, Amn Ojee Uw wrote: > > Please excuse my ignorance, buy what log would that be and how can I get to > it? > > On 2022-11-26 2:23 a.m., Thomas Hoffmann (Speed4Trade GmbH) wrote: >>> -Ursprüngliche Nachricht- >>> Von

Re: Starting Tomcat 10 at bootup

2022-11-25 Thread Rob Sargent
> On Nov 25, 2022, at 4:28 PM, Amn Ojee Uw wrote: > > Hey folks! > > The issue : > ~~~ > > I just installed 'apache-tomcat-10.0.27.tar.gz' in my Debian 11 (stable) box, > running OpenjDK 17.0.4, this was done following the recommendation on 'How to > Install Apache Tomcat on Debian 11

listing (db) resources

2022-11-22 Thread Rob Sargent
I trying to get the list of available db resources to send to a web page.   My context.xml file below is generated at startup since the user(s) and dbs change regularly and I would like to see "who's on first" from my monitor servlet.  I tried context.getEnvironment() but that's empty.  Is

Re: JNDI resourse name value

2022-11-07 Thread Rob Sargent
On 11/7/22 14:26, Christopher Schultz wrote: Rob, On 11/7/22 14:09, Rob Sargent wrote: Are there any semantics to Resourse name attributes? Or is no more or less valid than As far as Tomcat is concerned, it's basically the Wild West. Some other application servers (usually

JNDI resourse name value

2022-11-07 Thread Rob Sargent
Are there any semantics to Resourse name attributes? Or is no more or less valid than - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Need an answer for below query _ high critical for Middleware end in my team

2022-11-04 Thread Rob Sargent
On 11/4/22 08:10, Ganesan, Prabu wrote: Hi team Can you please help me with following: What purpose does the values in the Environment tags and the values inside context.xml serve? What purpose does the WatchedResource tags and the values inside the context.xml serve? (Explain how the

Re: Partial commit (Transaction rollback )

2022-10-31 Thread Rob Sargent
On 10/30/22 23:42, Mohan T wrote: Dear All, We are using the Tomcat with the following combination. We are facing partial commit (Transaction is not getting rolled back). App Server Apache tomcat server: apache-tomcat- 9.0.65.0 JDK version

Re: Apache Tomcat started, but error 404

2022-10-24 Thread Rob Sargent
> On Oct 24, 2022, at 8:36 AM, Christopher Schultz > wrote: > > Darious, > > On 10/24/22 04:10, Strib wrote: >> Due to the security echelon of the network, I can not send the entire >> stacktrace. >> However, I can say that it also states the web app archives are not >> starting.

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Rob Sargent
> On Oct 9, 2022, at 8:54 AM, Martin Moore wrote: > > @thomas.hoffm...@speed4trade.com.invalid > how to use the debugger in this > case ?any documentation pls ? > @Rob Sargent i posted most of the methods used in the app, but yes JVM is > holding off on deleting

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Rob Sargent
> On Oct 8, 2022, at 9:36 AM, Martin Moore wrote: > > Hello, > > I am facing a problem using Tomcat V8 with my J2ee app that deletes (using > file.delete() Java 8) a file from disk (Windows). The file is actually > deleting only on application level meaning that the application does not >

Re: Install CA signed certificate on Tomcat 9

2022-09-30 Thread Rob Sargent
> On Sep 30, 2022, at 5:17 AM, Janardhanan, Veni > wrote: > >  > Hi Chris, > > I executed the command that you asked and below is it’s output. > Paste the text of the output. Not a screen shot > > >

Re: AW: MaxRequestWorkers error

2022-09-27 Thread Rob Sargent
On 9/27/22 14:37, Thomas Hoffmann (Speed4Trade GmbH) wrote: How much memory did you configure for your java environment? --> Xmx Parameter If the java process eats too much memory, you can write a memory dump when an OOM exception occurs. E.g. with the parameters:

Re: Tomcat 8.5.8x patch upgrade failing

2022-09-23 Thread Rob Sargent
On 9/23/22 09:20, Cannatella, Douglas wrote: Hi All, We are currently using Tomcat 8.5.53 and tried to upgrade patch 8.5.81 & 8.5.82 using Ivanti Patch tool. Our project is using OpenJDK version: 1.8.0_242, Microsoft Framework 4.0.0 running TR/ OneSource Indirect Tax Determination Ivanti

Re: Tomcat 8.5.82

2022-09-22 Thread Rob Sargent
On 9/22/22 14:00, Cannatella, Douglas wrote: Hi All, We are currently using Tomcat 8.5.53 and tried to upgrade patch 8.5.81 & 8.5.82 using Ivanti Patch tool. Our project is using OpenJDK version: 1.8.0_242, Microsoft Framework 4.0.0 running TR/ OneSource Indirect Tax Determination The

Re: Increase in GC Pause time in tomcat http2 9.0.56

2022-08-30 Thread Rob Sargent
On 8/30/22 06:11, Arshiya Shariff wrote: Hi All , We have migrated our application (which transports http/2 packets) from embedded tomcat version 9.0.38 to 9.0.56 in production . We observe that , in 9.0.56 mixed GC occurs less frequently than in 9.0.38 , but when it happens there are GC

Re: embeded tomcat apache-jasper dependency

2022-08-15 Thread Rob Sargent
On 8/15/22 19:55, Shakila Rajaiah wrote: Earlier Noelette replied: It looks like you have multiple locations/instances of the same jar file (jasper-el.jar by the looks of the error message). This is typically included with tomcat. Are you also including a version with your application? I

Re: Publishing Tomcat webapp

2022-07-16 Thread Rob Sargent
On 7/16/22 16:14, Amn wrote: You read my mind! I was going to ask this very question, if not today... tomorrow. I am looking forward to see the replies to this question. On 2022-07-15 5:22 a.m., Jasmin Ćatić wrote: Hello, Can someone please give me a step by step guide on how to make my

Re: Precompile JSP error using webapp-jspc.ant.xml (tomcat stuffed)

2022-06-23 Thread Rob Sargent
> On Jun 23, 2022, at 12:53 AM, Markus Reich wrote: > > yes, it seems that in the pom tomcat 10 is specified, does this make any > difference? > 10.0.18 > >> Am Do., 23. Juni 2022 um 08:30 Uhr schrieb Rob Sargent < >> rsarg...@xmission.com>: >>

Re: Precompile JSP error using webapp-jspc.ant.xml (tomcat stuffed)

2022-06-23 Thread Rob Sargent
> On Jun 22, 2022, at 11:36 PM, Markus Reich wrote: > > Hi, > > I'm trying to precompile a JSF application, I follow the instructions on > https://tomcat.apache.org/tomcat-9.0-doc/graal.html. > > I got a lot of errors like > Caused by: java.lang.ClassCastException: class >

Re: cert/key config woes

2022-06-15 Thread Rob Sargent
Chris, Back at my desk and going through you notes again. On 6/14/22 14:43, Rob Sargent wrote: Let's get one thing working at a time. I reviewed this thread, and I honestly can't figure out exactly what you are trying to do. Can you please clarify? 1. "I want to get Tomcat wo

Re: cert/key config woes

2022-06-15 Thread Rob Sargent
> On Jun 15, 2022, at 7:45 AM, Christopher Schultz > wrote: > > Rob, > >> On 6/14/22 15:38, Rob Sargent wrote: >> On 6/14/22 13:06, Christopher Schultz wrote: >> Thanks so much for your perseverance. > > No problem. Anything to avoid doing

Re: cert/key config woes

2022-06-14 Thread Rob Sargent
On 6/14/22 13:06, Christopher Schultz wrote: Thanks so much for your perseverance. On 6/14/22 14:43, Rob Sargent wrote: Let's get one thing working at a time. I reviewed this thread, and I honestly can't figure out exactly what you are trying to do. Can you please clarify? 1. "I

Re: cert/key config woes

2022-06-14 Thread Rob Sargent
On 6/14/22 12:43, Rob Sargent wrote: On 6/2/22 16:06, Rob Sargent wrote: I'm starting both the server and the client with both key and trust. Does that bite? I would avoid giving access to the key to anything that doesn't absolutely need it. Usually, only the server needs access

Re: cert/key config woes

2022-06-14 Thread Rob Sargent
On 6/2/22 16:06, Rob Sargent wrote: I'm starting both the server and the client with both key and trust. Does that bite? I would avoid giving access to the key to anything that doesn't absolutely need it. Usually, only the server needs access to the key. -chris

Re: cert/key config woes

2022-06-02 Thread Rob Sargent
I'm starting both the server and the client with both key and trust. Does that bite? I would avoid giving access to the key to anything that doesn't absolutely need it. Usually, only the server needs access to the key. -chris

Re: cert/key config woes

2022-06-02 Thread Rob Sargent
    java  -Djavax.net.ssl.keyStore=/ppr/certs/sgstrust.p12     -Djavax.net.ssl.keyStoreType=PKCS12 -Djavax.net.ssl.keyStorePassword=p1     -Djavax.net.ssl.trustStore=/ppr/certs/fullca.p12     -Djavax.net.ssl.trustStoreType=PKCS12     -Djavax.net.ssl.trustStorePassword=p2     --oper=1 --seg=id

Re: cert/key config woes

2022-06-02 Thread Rob Sargent
Hang on.  I'm panicking.  I have a plane to catch in 3 hours and need this working by then.    ws s3 cp fullca.p12 s3://691459864434-sgs-source/certs/sgstrust.p12 splatting one file on top of the other Midway through this email when you last came in:  "Not running" is spot-on becase...

Re: cert/key config woes

2022-06-02 Thread Rob Sargent
On 6/2/22 11:43, Rob Sargent wrote: I had this overall configuration working until I 'terminated' the AWS server instance and am trying to rebuild. Could a lack of network connectivity between client and server present this same symptom? Hmm. Your SAN looks okay to me. Are you 100

Re: cert/key config woes

2022-06-02 Thread Rob Sargent
I had this overall configuration working until I 'terminated' the AWS server instance and am trying to rebuild. Could a lack of network connectivity between client and server present this same symptom? Hmm. Your SAN looks okay to me. Are you 100% sure you have that certificate configured

cert/key config woes

2022-06-01 Thread Rob Sargent
This part always confuses me I supply the trust and key store files on the command line and I see the SAN for the tomcat server IP (in ObjectId #3). I try to connect to tomcat by host-IP and port.  Here's the text of the keystore sent in. Keystore type: PKCS12 Keystore provider: SUN

Re: AW: embeded tomcat apache-jasper dependency

2022-05-18 Thread Rob Sargent
On 5/18/22 12:21, Rob Sargent wrote: On 5/17/22 01:24, Mark Thomas wrote: On 17/05/2022 08:13, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, -Ursprüngliche Nachricht- Von: Rob Sargent Gesendet: Dienstag, 17. Mai 2022 00:38 An: users@tomcat.apache.org Betreff: embeded tomcat

Re: AW: embeded tomcat apache-jasper dependency

2022-05-18 Thread Rob Sargent
On 5/17/22 01:24, Mark Thomas wrote: On 17/05/2022 08:13, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, -Ursprüngliche Nachricht- Von: Rob Sargent Gesendet: Dienstag, 17. Mai 2022 00:38 An: users@tomcat.apache.org Betreff: embeded tomcat apache-jasper dependency I'm seeing

embeded tomcat apache-jasper dependency

2022-05-16 Thread Rob Sargent
I'm seeing a new-to-me deployment failure and am at a loss to explain. Using tomcat 9-0-63 (and getting Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [org_apache_jasper_el] was found. This is not legal with relative ordering. See section 8.2.2 2c

Re: Migration JDK11 - Tomcat 9 - NoClassDefFoundError: java/sql/Statement

2022-03-29 Thread Rob Sargent
On 3/29/22 10:54, Senguttuvan, Gopalakrishnan (CWM-NR) wrote: Hi Thomas, Thanks for the response. This issue occurred when I have start the Tomcat server in Linux-QA machine. Regards, Gopalakrishnan S Double check your runtime environment - something there is out of whack I suspect.

Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-24 Thread Rob Sargent
On 3/24/22 13:27, Peter Chiu wrote: Application builder->Your application->Shared Components->Application Definition Attributes->Properties->Friendly URLs And that does what, exactly? - To unsubscribe, e-mail:

Re: Maybe a stupid (Windows related) question

2022-03-22 Thread Rob Sargent
On 3/22/22 11:21, Rony G. Flatscher (Apache) wrote: For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and start it up using %CATALINA_HOME%\bin\startup.bat. This will create by default a separate process (terminal, commandline window) in which Tomcat runs and dispatches

Re: correct usage of properties to supply database port

2022-03-12 Thread Rob Sargent
> On Mar 12, 2022, at 9:59 AM, Christopher Schultz > wrote: > > Rob, > Chris, Yes I see that. Wasn’t really worried about context at the time of that post. I would argue though that the message is a tad obtuse. I’ll clean up the code generating that context.xml. Luckily it only breaks

Re: correct usage of properties to supply database port

2022-03-11 Thread Rob Sargent
> On Mar 11, 2022, at 8:17 AM, Thomas Hoffmann (Speed4Trade GmbH) > wrote: > >  > >> -Ursprüngliche Nachricht- >> Von: Rob Sargent >> Gesendet: Freitag, 11. März 2022 15:14 >> An: Tomcat Users List >> Betreff: Re: correc

Re: correct usage of properties to supply database port

2022-03-11 Thread Rob Sargent
> On Mar 11, 2022, at 6:50 AM, Mark H. Wood wrote: > > On Thu, Mar 10, 2022 at 09:40:48AM -0700, Rob Sargent wrote: >> About context/context/value: I have this context.xml. Is the value >> correctly inside the outer Context? >> >> >> >

Re: correct usage of properties to supply database port

2022-03-10 Thread Rob Sargent
I think I see the problem:  and extra colon has snuck in to the url - localhost:5432*":"*/tbar Sorry for the noise. On 3/10/22 09:40, Rob Sargent wrote: Using tomcat 9.0.58 I have a propertiesfile supplied to my embedded tomcat which includes SGSSRVR_databasePort

correct usage of properties to supply database port

2022-03-10 Thread Rob Sargent
Using tomcat 9.0.58 I have a propertiesfile supplied to my embedded tomcat which includes SGSSRVR_databasePort     = 5432 SGSSRVR_databaseHost        = localhost and in my app-specific web.xml I have     databaseHost ${SGSSRVR_databaseHost} java.lang.String    

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Rob Sargent
On 2/8/22 08:11, Robert Turner wrote: Okay. Yep, my most recent suspicion was correct -- it's related to the Docker bind to a local folder containing the webapps. As such, I believe it's a Docker issue of some sort and not Tomcat specific. However, you may want to understand it more

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Rob Sargent
.but might be necessary) - construct a trivial application reproduction, along with docker layout, and see if anyone else can reproduce... (assuming anyone else has time to do that of course...) Anyone got any suggestions of what to look into next? On Mon, Feb 7, 2022 at 5:05 PM Rob Sarg

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Rob Sargent
On 2/7/22 14:50, Robert Turner wrote: All I'm hoping that someone can point me in the right direction as this issue has been baffling me all day, and I'm starting to run out of ideas of what to look at next. The logic below is working without issue until I move our test environment into a

Re: birthdate of AbstractHttp11Protocol.setRejectIllegalHeader

2022-01-16 Thread Rob Sargent
And bingo! 9.0.31. Please pardon my “find” skills > On Jan 16, 2022, at 3:05 AM, Mark Thomas wrote: > > On 15/01/2022 22:24, Rob Sargent wrote: >> Wow. On >> https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html >> <https://nightlies.apach

Re: birthdate of AbstractHttp11Protocol.setRejectIllegalHeader

2022-01-15 Thread Rob Sargent
ve located the relevant releases of vaadin which break the spring dependencies and am heading over there now, so this Apache issue is of less importance to me. Thanks, rjs > On Jan 15, 2022, at 4:21 AM, Mark Thomas wrote: > > On 15/01/2022 02:42, Rob Sargent wrote: >> With vers

birthdate of AbstractHttp11Protocol.setRejectIllegalHeader

2022-01-14 Thread Rob Sargent
With version number as a surrogate date. I didn’t see any mention in the changelog. Thanks, rjs - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Rob Sargent
> On Dec 30, 2021, at 4:33 PM, Eric Robinson wrote: > > Hi Rob, > >>> On Dec 30, 2021, at 4:03 PM, Eric Robinson >> wrote: >>> >>> Chris, >>> >>> If I want to ignore the vendor's recommendation and try connection >> pooling anyway, is that something I can enable with a config file setting,

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Rob Sargent
> On Dec 30, 2021, at 4:03 PM, Eric Robinson wrote: > > Chris, > > If I want to ignore the vendor's recommendation and try connection pooling > anyway, is that something I can enable with a config file setting, or do they > actually have to trigger it from within their code? > Up thread,

Re: servletcontext.log filename

2021-12-01 Thread Rob Sargent
On 12/1/21 12:32 PM, Mark Thomas wrote: On 01/12/2021 19:24, Rob Sargent wrote: I'm using an embedded tomcat (ver9.0.54) and I don't see how to name/redirect the output of ServletContext.log(String). I see in the manual     This logging is performed according to the Tomcat logging

Re: servletcontext.log filename

2021-12-01 Thread Rob Sargent
On 12/1/21 12:32 PM, Mark Thomas wrote: On 01/12/2021 19:24, Rob Sargent wrote: I'm using an embedded tomcat (ver9.0.54) and I don't see how to name/redirect the output of ServletContext.log(String). I see in the manual     This logging is performed according to the Tomcat logging

servletcontext.log filename

2021-12-01 Thread Rob Sargent
I'm using an embedded tomcat (ver9.0.54) and I don't see how to name/redirect the output of ServletContext.log(String). I see in the manual This logging is performed according to the Tomcat logging configuration. You cannot overwrite it in a web application. I missing the "Tomcat

Re: help with Valve

2021-11-23 Thread Rob Sargent
On 11/23/21 10:55 AM, Mark Thomas wrote: On 23/11/2021 17:42, Rob Sargent wrote: Thank you.  Does this look like a believable deployment (presuming the property is in fact set)?     cat ./localhost/sgs/META-INF/context-valve.xml     No. A context.xml file placed in META-INF

Re: help with Valve

2021-11-23 Thread Rob Sargent
Thank you.  Does this look like a believable deployment (presuming the property is in fact set)? cat ./localhost/sgs/META-INF/context-valve.xml     On 11/23/21 10:38 AM, Mark Thomas wrote: On 23/11/2021 16:48, Rob Sargent wrote: Is the Access Log Valve available for use

help with Valve

2021-11-23 Thread Rob Sargent
Is the Access Log Valve available for use in an embedded environment?

Re: Help Needed

2021-08-06 Thread Rob Sargent
> > On Aug 6, 2021, at 8:31 PM, Mohan T wrote: > > Dear All, > > Any inputs on this. We are not getting a break in this. Did upgrading change anything? You may want to layout your configuration and why you think it should work. Which version of Java, etc?

Re: More information, Re: Tomcat 8.5.68 failing on takeoff!

2021-08-06 Thread Rob Sargent
> On Aug 6, 2021, at 10:17 AM, Konstantin Kolinko > wrote: > > пт, 6 авг. 2021 г. в 01:33, James H. H. Lampert > : >> org.xml.sax.SAXNotRecognizedException: Feature: >> http://apache.org/xml/features/allow-java-encodings >> >>

Re: Connector Port Issue

2021-08-05 Thread Rob Sargent
> Caused by: java.lang.IllegalArgumentException: No SSLHostConfig > element was found with the hostName [_default_] to match the > defaultSSLHostConfigName for the connector [https-jsse-nio-9443] > Isn’t that the real issue?

Re: Request for Help

2021-07-24 Thread Rob Sargent
> On Jul 23, 2021, at 10:42 PM, Mohan T wrote: > > Dear All, > > We are using tomcat 8.5.35 on SUse Linux. > > We are facing a issue while launching the help files. > / > We deployed the help files in the > /home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/hub#rvwhelp. > > The

Re: [Possible Spam] Re: HTTP/2 Memory Leak

2021-07-08 Thread Rob Sargent
On 7/8/21 3:17 PM, Mark A. Claassen wrote: Ok. That didn’t seem to work. I will investigate further and try to find a way to send that information. It is not that busy a server, but the memory use increases very quickly. Doing a class_histogram shows MessageBytes growing by the thousands

Re: Urgent Help

2021-06-23 Thread Rob Sargent
I dropped a couple lines in the C/P, ammended below On 6/23/21 1:35 PM, Rob Sargent wrote: Please provide a list of all the JAR files under WEB-INF/lib in your WAR file. +1 and maybe also everything in $CATALINA_BASE/lib as well, just in case your Tomcat lib directory has had things added

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Rob Sargent
> On Jun 16, 2021, at 8:36 AM, Noelette Stout wrote: > > If I have a setenv.sh file that contains: > CATALINA_OPTS="-server -Xms2048m -Xmx5g" > JAVA_OPTS="... -Xms2048m -Xmx4g .." > > How much memory is actually being allocated to tomcat and the applications > it is serving up? > > -- >

Re: Pi Based Java Work

2021-05-28 Thread Rob Sargent
On 5/28/21 6:21 PM, John Dale wrote: Tried sending another email .. doesn't appear to have worked. Internet hicupped. It's working just like Ubuntu in the cloud. Pi 4 is very fast, but I'm also running DB2DOM (middleware microkernel miniaturized O/R M, Html5 IDE, and Virtual Web Server).

abandoned connections

2021-05-26 Thread Rob Sargent
I think I have all my calls for new connections in try/with blocks, but things went bump in the night at AWS/RDS yesterday and I'm wondering if I missed one or if the try/with isn't as safe as I thought. 00:10:12.201 [https-jsse-nio-10.0.2.28-15002-exec-11] INFO

Re: tomcat timeout

2021-04-15 Thread Rob Sargent
On 4/15/21 12:23 PM, Mohamed Eliyas Abdul Kadar wrote: I am using tomcat 9.0.41. In my web application, when executing a query to fetch data for reporting it is taking time more than 2 minutes. The request is getting time out after 50s. Please let me know how to increase the data base

Re: [OT] Again with the missing headers

2021-04-12 Thread Rob Sargent
> On Apr 12, 2021, at 2:04 PM, Christopher Schultz > wrote: > > Mark, > > On 4/12/21 04:16, Mark Thomas wrote: >> maxHttpHeaderSize only applies to Tomcat reading requests from clients. It >> has no impact on the headers Tomcat sends to the client. >> Given that the issue is size dependent

Re: Again with the missing headers

2021-04-12 Thread Rob Sargent
> On Apr 12, 2021, at 8:43 AM, Rob Sargent wrote: > > > > > Begin forwarded message: > >> From: Konstantin Kolinko >> Date: April 12, 2021 at 8:38:14 AM MDT >> To: Tomcat Users List >> Subject: Re: Again with the missing headers >> Repl

Re: Again with the missing headers

2021-04-12 Thread Rob Sargent
oding and allows header > values to be written after the response body. You might want to confirm that > the client you are using supports trailer headers. > > HTH, > > Mark > > >> On 11/04/2021 23:53, Rob Sargent wrote: >> I should mention that this is ent

Re: Again with the missing headers

2021-04-11 Thread Rob Sargent
I should mention that this is entirely on localhost (running linux) and using https. On 4/11/21 8:31 AM, Rob Sargent wrote: Thanks, I’ll go back to reading headers first. I did not mean to imply the header content differed significantly. The header value is always an integer (<

Re: Again with the missing headers

2021-04-11 Thread Rob Sargent
of content. the response headers should > be the first thing that is received by the client. Then the body can be > split and transmitted along the connection. > >> On Sat, Apr 10, 2021 at 10:06 PM Rob Sargent wrote: >> >> I saw this mentioned a couple years ago, on tomc

Again with the missing headers

2021-04-10 Thread Rob Sargent
I saw this mentioned a couple years ago, on tomcat 7, but don't see anything recent on this topic and I'm using 9.0.43.  Of 59 separate requests to same servlet three repeatedly do not have the header entry added by the servlet to the response.  The remaining 56 all have the header/value.  The

small error in log documentation

2021-03-15 Thread Rob Sargent
Last sentence of Introduction on https://tomcat.apache.org/tomcat-9.0-doc/logging.html If it used directly or indirectly by your logging library then elements of it will be shared across web applications because it is loaded by the system class loader. I think in needs to be "If it is

Re: module muddle

2021-03-15 Thread Rob Sargent
A little late in responding to Mark's questions.  Been on a  short walk-about. On 3/11/21 12:17 PM, Mark Thomas wrote: On 11/03/2021 19:08, Rob Sargent wrote: I've started getting this error, though I've been running fine since days of "localhost" issue help.

module muddle

2021-03-11 Thread Rob Sargent
I've started getting this error, though I've been running fine since days of "localhost" issue help. class org.apache.tomcat.dbcp.dbcp2.BasicDataSource cannot be cast to class org.apache.tomcat.jdbc.pool.DataSource (org.apache.tomcat.dbcp.dbcp2.BasicDataSource is in unnamed module

Re: reload vs restart

2021-03-02 Thread Rob Sargent
Chris, > On Mar 2, 2021, at 9:46 AM, Christopher Schultz > wrote: > > So you just have a single Tomcat node? Yeah, you are going to want to use > parallel deployment unless you can be VERY careful about your JVM restarts. > > You will also need to familiarize yourself with using the Manager

Re: reload vs restart

2021-02-27 Thread Rob Sargent
Chris, Thank you, yet again. On 2/26/21 9:31 PM, Christopher Schultz wrote: Rob, On 2/26/21 16:47, Rob Sargent wrote: Given a single webapp, what's the difference between server restart and webapp reload in terms of current open sessions? That depends upon a few things. If you do not have

reload vs restart

2021-02-26 Thread Rob Sargent
Given a single webapp, what's the difference between server restart and webapp reload in terms of current open sessions?

Re: embedded: one-liner

2021-02-26 Thread Rob Sargent
On 2/26/21 12:05 PM, Mark Thomas wrote: On 26/02/2021 18:36, Rob Sargent wrote: In the absence of anything Catalina, but with true etc/>, is an embedded tomcat able to detect updates to web.xml (or context.xml) and reload the app or the resource definitions? Hasn't worked for me so

embedded: one-liner

2021-02-26 Thread Rob Sargent
In the absence of anything Catalina, but with etc/>, is an embedded tomcat able to detect updates to web.xml (or context.xml) and reload the app or the resource definitions? Hasn't worked for me so far, but still hoping I doing it wrong (as usual).

Re: Error = Caused by: java.lang.NoSuchMethodError: com.google.common.io.ByteStreams.exhaust(Ljava/io/InputStream;)

2021-02-19 Thread Rob Sargent
Can you remove IntelliJ from local env? Much magic in there. > On Feb 19, 2021, at 6:14 AM, Ricky Thomas wrote: > > Thanks. > I already did that so there is no guava or any other google in tomcat’s lib > which would collide. > > also as we checked WEB-INF lib there were no dupes. > > we

Re: embedded, not local

2021-02-16 Thread Rob Sargent
Other than the browsers not trusting my self-signed cert I think I'm now in the business of impersonation AWS ;) Thanks to all I've bothered, rjs On 2/16/21 7:50 PM, Rob Sargent wrote: Ah, yes, a stray Constuctor() left lying around. Thank you!  I am now down to dealing with https mis

Re: embedded, not local

2021-02-16 Thread Rob Sargent
Ah, yes, a stray Constuctor() left lying around. Thank you!  I am now down to dealing with https mis-configurations, which puts me squarely back to the future. Ever grateful, rjs On 2/16/21 3:27 PM, Mark Thomas wrote: On February 16, 2021 10:00:01 PM UTC, Noelette Stout wrote: I'm kinda

  1   2   >