Re: Installation Help required

2024-12-18 Thread Bill Stewart
On Tue, Dec 17, 2024 at 11:07 PM Ganesan, Prabu wrote: Guys any idea > Email tip: A peer-to-peer discussion group does not come with a service level agreement[1] [1] https://devblogs.microsoft.com/oldnewthing/20080304-00/?p=23223

Re: Tomcat takes over 1 minute to stop

2024-08-27 Thread Bill Stewart
On Tue, Aug 27, 2024 at 12:58 PM Quoc Nguyen wrote: Apache Tomcat/9.0.13~ 9 seconds > Apache Tomcat/9.0.14~ 1 min 3 secs > Are you using the exact same web app (and the exact same version of the web app, including all settings), as well as identical Tomcat settings, between 9.0.13 and 9.0

Re: Issue with the log4j2.xml

2024-08-02 Thread Bill Stewart
On Fri, Aug 2, 2024 at 7:00 AM Burle, Saicharan wrote: > Can I get any update on this request? I have responded to the queries asked, PFA email for the same. That's not how this works. https://devblogs.microsoft.com/oldnewthing/20080304-00/?p=23223 Bill

Re: How to configure Tomcat with a Managed Service Account when using LocalMachine certificates for TLS

2024-06-25 Thread Bill Stewart
On Tue, Jun 25, 2024 at 9:14 AM david w wrote: I've had the same experience, but with a regular AD service account, not an > MSA. > The account needs to have local administrator rights for the certificate > to be found and used; setting ACL on the keystores is not enough. > 1) The standard on thi

Re: Retrieve server.built, server.number

2024-04-11 Thread Bill Stewart
On Wed, Apr 10, 2024 at 2:14 PM Mark Thomas wrote: > ... and it might represent an information leakage vulnerability in your > > application. Be Careful. > > Shall we start the flame war now on whether exposing the current version > you are running represents a valid vulnerability or if hiding i

Re: Tomcat on Windows : new keystore possibilities

2024-04-08 Thread Bill Stewart
On Mon, Apr 8, 2024 at 8:27 AM david w wrote: If you can share a way for this to not be necessary, I'm all ears... > I can read computer certificates from non-privileged accounts on Windows. (How would a user application such as a browser work otherwise?) I'm not sure what's different on your sy

Re: Tomcat on Windows : new keystore possibilities

2024-04-08 Thread Bill Stewart
On Mon, Apr 8, 2024 at 3:49 AM david w wrote: The account running the Tomcat Windows Service needs local Administrator > rights to be able to refernce these certificate stores. > Fortunately, this statement is not correct. I would definitely not recommend running the Tomcat service using a privi

Re: Question regarding config.ini 'answer file'

2023-03-28 Thread Bill Stewart
ub.com/Bill-Stewart/ApacheTomcatSetup It won't configure everything you're asking for, but it should get you most of the way there. The build process could be adjusted to accommodate 8.5, but I would think 9.x would be preferable.

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.71]

2023-01-13 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer executable: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases (Why an alternative installer for Windows? See the "Background" section in the documentation for details.)

Re: Unexpected messages in commons-daemon.log

2022-05-24 Thread Bill Stewart
On Tue, May 24, 2022 at 7:48 AM Mark Thomas wrote: Nothing to worry about. Just some new logging that should probably be > logging at debug level. I reviewed the associated PR but didn't realize > the code was called every minute. > > Having just looked at the relevant part of the source code and

Re: Unexpected messages in commons-daemon.log

2022-05-24 Thread Bill Stewart
On Tue, May 24, 2022 at 3:20 AM Pontus Ågren wrote: Since installing Tomcat 9.0.63 (as a service on Windows Server 2019) > commons-daemon.log is filling up with this... > > [2022-05-24 09:19:27] [info] [ 6772] Service SERVICE_CONTROL_INTERROGATE > signalled. > [2022-05-24 09:19:27] [info] [ 6772

Re: Stuff in the "temp" directory within the Tomcat directory

2022-02-10 Thread Bill Stewart
On Thu, Feb 10, 2022 at 11:17 AM James H. H. Lampert wrote: I'm doing some cleanup on a customer box, removing a previous version of > Tomcat 8.5 that I'd replaced some time ago, and I'm finding huge amounts > of "stuff" in the "temp" directory within the Tomcat directory. Is that > stuff Tomcat i

Re: Tomcat 9 can not start on windows 10 as service

2022-02-09 Thread Bill Stewart
On Wed, Feb 9, 2022 at 10:47 AM W wrote: Thank Bill, I downloaded it and run it successfully. But when I modified > confg/tomcat-users.xml (so I can use manager), Tomcat service stopped. > Status became disabled. When I tried to restart the service, it told me > that the service was marked for de

Re: Tomcat 9 can not start on windows 10 as service

2022-02-09 Thread Bill Stewart
s in advance. For Windows users, I provided an alternative installer that might work better for you: https://github.com/Bill-Stewart/ApacheTomcatSetup It provides a means for specifying which account you want to use to run the Tomcat service (running as local system is definitely not recommended), a

Re: Tomcat 9 Encrpytion of JDBC

2022-01-14 Thread Bill Stewart
On Fri, Jan 14, 2022 at 10:25 AM Alan F wrote: > Interested to know your best practices on securing jdbc plain text > passwords, in my last place they used a mechanism to encrypt all passwords. > Is this the best method as I read some people don't recommend this. Any > details or procs on best pr

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.50]

2021-07-06 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer executable: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.48]

2021-06-17 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer executable: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.46]

2021-05-13 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer executable: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.45]

2021-04-07 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer executable: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.44]

2021-03-12 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: JNDI ldaps Problem with SSO

2021-02-25 Thread Bill Stewart
On Thu, Feb 25, 2021 at 2:31 AM wrote: We are having a problem with our Single sign On config. > When using ldap - all works well. > > When switiching to ldaps , the User loses to connection all together > (Server not reachable) > > server.xml > > Good: > connection

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.43]

2021-02-03 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases See installer source file for release notes: https://github.com/Bill-Stewart/ApacheTomcatSetup/blob/master/ApacheTomcat.iss

Re: [OT] Security Vulnerability -Default files

2021-01-22 Thread Bill Stewart
On Fri, Jan 22, 2021 at 11:49 AM Christopher Schultz wrote: > I think the OP is a non-native English speaker. I interpreted this to > mean "I'm hoping to get some help you you and this group." I appreciate the less-entitled potential interpretation. Bill

Re: Security Vulnerability -Default files

2021-01-22 Thread Bill Stewart
On Thu, Jan 21, 2021 at 8:43 PM Nitin Kadam wrote: > I am from a Windows Administrator background and hence facing these > challenges, So expecting help from you and this group. "Expecting help from you and this group": This phrasing makes it sound like you think you are entitled to something. P

Re: Security Vulnerability -Default files

2021-01-21 Thread Bill Stewart
On Thu, Jan 21, 2021 at 7:19 AM Nitin Kadam wrote: > Hi Team, > > The internal security team reported below as Security findings. We do not > have anyone from a Tomcat background and for same we need to know the best > steps to resolve this issue. I am thinking you might need to adjust your expec

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.41]

2020-12-14 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.40]

2020-12-01 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Tomcat Windows Service

2020-11-20 Thread Bill Stewart
On Fri, Nov 20, 2020 at 10:59 AM jonmcalexander wrote: > When adding an instance as a service and using a domain service account to > run Tomcat, > what additional user rights assignments does the service account need? The account will need at least SeServiceLogonRight ("Log on as a service"). D

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.39]

2020-10-19 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.38]

2020-09-21 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-25 Thread Bill Stewart
On Tue, Aug 25, 2020 at 8:29 AM Mark Thomas wrote: >> Enhancement requests for this should go to Commons Daemon. Should > >> be simple enough just to dump current config. > > > > Done. > > > > https://issues.apache.org/jira/browse/DAEMON-422 > > Done. > > It outputs the command to (re-)create the

Re: [OT] Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread Bill Stewart
On Thu, Aug 6, 2020 at 10:18 AM Christopher Schultz wrote: The problem is that if you don't have your old command-line saved and > handy, you have to figure out how to re-generate it. Thus, the > feature-request for procrun to dump the current configuration to a > script which can re-create itself

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread Bill Stewart
On Thu, Aug 6, 2020 at 10:01 AM wrote: I like what you are showing here, but are you implying a shared > CATALINA_HOME and CATALINA_BASE? > Sorry; I don't understand the question. The alternate installer doesn't set or use the CATALINA_HOME or CATALINA_BASE environment variables; it uses procrun

Re: [OT] Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread Bill Stewart
On Thu, Aug 6, 2020 at 10:18 AM Christopher Schultz wrote: The problem is that if you don't have your old command-line saved and > handy, you have to figure out how to re-generate it. Thus, the > feature-request for procrun to dump the current configuration to a > script which can re-create itself

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread Bill Stewart
rectories) /jvmoptions="-Djavax.net.ssl.trustStoreType=WINDOWS-ROOT" - tells the Java instance running Tomcat to trust the Windows certificate store /jvmms=2048 /jvmmx=2048 - sets the Java memory pool sizes for the service /silent - hands-free installation /log="c:\windows

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-04 Thread Bill Stewart
nual, etc.). 3. Install using alternate installer; e.g.: apache-tomcat-a.b.c-setup.exe /instance="FOO" 4. Update the config files, copy application server files, etc. See the documentation - https://github.com/Bill-Stewart/ApacheTomcatSetup - for details. (Without /instance it instal

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-04 Thread Bill Stewart
On Tue, Aug 4, 2020 at 2:18 PM Christopher Schultz wrote: So how do you switch Java versions? > What do you mean? 1. Point an existing Tomcat instance to a different Java runtime, or 2. Upgrade an existing instance of Java? For 1: Use the procrun GUI and change the path to the jvm.dll file. Nat

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-04 Thread Bill Stewart
ument the settings: It automatically stops the service, updates the files, and restarts the service (preserving all configuration details). https://github.com/Bill-Stewart/ApacheTomcatSetup Bill

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-27 Thread Bill Stewart
On Mon, Jul 27, 2020 at 12:22 AM Hans Schou wrote: Yes I can add and change information, but how can I get the information out > so I can use that for an upgrade to a new major version? > >From an elevated command line, run: tomcat8w.exe "//ES//servicename" This displays the GUI configuration d

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-24 Thread Bill Stewart
https://github.com/Bill-Stewart/ApacheTomcatSetup/blob/master/ApacheTomcat.iss Bill

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-24 Thread Bill Stewart
On Fri, Jul 24, 2020 at 2:26 AM Hans Schou wrote: "document" manually? Like copy&paste into a text file? > Yes, however you customarily do so. > > 2. If you used Apache's Windows installer, uninstall it (unfortunately > this removes the service and service configuration info). > > I use the zip

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-23 Thread Bill Stewart
8.0 to 9.0? > Simplifying upgrades on the Windows platform is one of the main reasons I created an alternative Windows installer. Latest version here: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases Documentation is here: https://github.com/Bill-Stewart/ApacheTomcatSetup Basically

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.37]

2020-07-07 Thread Bill Stewart
Documentation and installer source: https://github.com/Bill-Stewart/ApacheTomcatSetup Download installer: https://github.com/Bill-Stewart/ApacheTomcatSetup/releases

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.36]

2020-06-15 Thread Bill Stewart
Please see here: https://github.com/Bill-Stewart/ApacheTomcatSetup The Setup executable is available on the Releases tab. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

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

2020-06-09 Thread Bill Stewart
On Tue, Jun 9, 2020 at 9:56 AM calder wrote: > A bit off-topic, but wanted to jump in and clear this up, as the Java > error messages are somewhat misleading. Thanks for the clarification. Regards Bill - To unsubscribe, e-mail

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

2020-06-09 Thread Bill Stewart
On Mon, Jun 8, 2020 at 3:54 PM BOSECKER Nancy wrote: > In 8.5.45, I get the Java error: File not Found exception - > Access is denied. The file exists and is readable, but must be > being held onto by some unknown process. I've tried Windows > process manager and resource manager, but neither of t

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.35]

2020-05-22 Thread Bill Stewart
Please see here: https://github.com/Bill-Stewart/ApacheTomcatSetup The Setup executable is available on the Releases tab. Bill - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail

Re: tomcat and ssl

2020-04-29 Thread Bill Stewart
On Tue, Apr 28, 2020 at 10:42 PM Naga Ramesh wrote: > Can you check the below link.. > > https://mkyong.com/webservices/jax-ws/suncertpathbuilderexception-unable-to-find-valid-certification-path-to-requested-target/ I think you intended to reply to the mailing list (users at tomcat dot apache dot

Re: tomcat and ssl

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

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.34]

2020-04-09 Thread Bill Stewart
Please see here: https://github.com/Bill-Stewart/ApacheTomcatSetup The Setup executable is available on the Releases tab. Bill - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail

Re: [ANN] Apache Tomcat 9.0.34 available

2020-04-09 Thread Bill Stewart
On Thu, Apr 9, 2020 at 10:54 AM Mark Thomas wrote: > The correct SHA512 is: > 2bb67b23dc4fd484026f1a8b382f8fe3693644b45576f835f3822d4627e1c1a5c395b054c66cb7b50a29ac591389bdd6b9d2fe42de9fdfb0f4dd38bdeb58027f Thank you. The issue was my download had somehow gotten corrupted. I downloaded the file a

Re: [ANN] Apache Tomcat 9.0.34 available

2020-04-09 Thread Bill Stewart
On Thu, Apr 9, 2020 at 10:41 AM Bill Stewart wrote: > > On Thu, Apr 9, 2020 at 10:36 AM Mark Thomas wrote: > > > Where did you get that zip file from? > > https://tomcat.apache.org/download-90.cgi > > (Not sure which specific mirror was used; I since navigated elsewher

Re: [ANN] Apache Tomcat 9.0.34 available

2020-04-09 Thread Bill Stewart
On Thu, Apr 9, 2020 at 10:36 AM Mark Thomas wrote: > Where did you get that zip file from? https://tomcat.apache.org/download-90.cgi (Not sure which specific mirror was used; I since navigated elsewhere) > What is the SHA512 hash of the zip file you downloaded? DA20C41125C879B193C1B3AE9A6728E

Re: [ANN] Apache Tomcat 9.0.34 available

2020-04-09 Thread Bill Stewart
On Thu, Apr 9, 2020 at 9:08 AM Mark Thomas wrote: > The Apache Tomcat team announces the immediate availability of Apache > Tomcat 9.0.34. Thank you. FYI: The file tcnative-1.dll is missing from the 'apache-tomcat-9.0.34-windows-x64.zip' distribution. Bill

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.31]

2020-02-14 Thread Bill Stewart
Please see here: https://github.com/Bill-Stewart/ApacheTomcatSetup The Setup executable for Tomcat 9.0.31 is available on the Releases tab. Bill

Alternative Windows installer

2020-01-17 Thread Bill Stewart
Thanks to permission from the PMC, the initial release of my alternative Windows installer is available: https://github.com/Bill-Stewart/ApacheTomcatSetup I designed this to meet some specific needs in my organization. Perhaps others might find it useful as well. Regards, Bill

Re: Alternative Windows service installer package

2019-12-18 Thread Bill Stewart
> Mark Thomas wrote: > Generally, Tomcat's source code is provided under the ALv2. Normally, > the answer would be "The ALv2 gives you all the permissions you need.". > However..., those files all contain the Tomcat logo which is a trademark > so section 6 applies which means the ALv2 does not giv

Re: Alternative Windows service installer package

2019-12-18 Thread Bill Stewart
On Wed, Dec 18, 2019 at 8:21 AM Mark Thomas wrote: > No need to be a commmitter. Your message has been moderate through. > Expect the PMC to discuss it and then respond. Understood; thank you. > The upgrades looked to be the most obvious feature difference. That > raises questions about whether

Re: Alternative Windows service installer package

2019-12-18 Thread Bill Stewart
Mark Thomas wrote: > > Question 1: Do I need to get permission to use these images from ASF if I > > host the installer publicly, and if so how would I do that? > > Generally, Tomcat's source code is provided under the ALv2. Normally, > the answer would be "The ALv2 gives you all the permissions y

Alternative Windows service installer package

2019-12-16 Thread Bill Stewart
Greetings, I wrote an Inno Setup 6.x script for installing Tomcat 9.x that I think has some useful improvements over the NSIS installer: * Supports silent install (/silent, /verysilent), upgrade, of Tomcat on Windows * You can configure any of the following using the installer GUI or the command