Re: [solved] How to debug 404s / How to enable error log

2023-02-01 Thread Michael B Allen
E=/path/to/myapp-base ${CATALINA_HOME}/bin/catalina.sh run "$@" A minimal bin\run.bat for Windows might look like: setlocal set "JRE_HOME=C:\tmp\java17" set "CATALINA_HOME=C:\tmp\tomcat10" set "CATALINA_BASE=C:\tmp\myapp-base" %CATALINA_HOME%\bin\catalina.ba

Re: [solved] How to debug 404s / How to enable error log

2023-01-31 Thread Michael B Allen
On Tue, Jan 31, 2023 at 4:33 PM Konstantin Kolinko wrote: > > INFO: No global web.xml found > > The above message is odd. > Essentially, it means that the file %CATALINA_BASE%\conf\web.xml does not > exist. > Solved. That was it. After copying over the conf/web.xml into myapp-base/conf, the app

How to debug 404s / How to enable error log

2023-01-31 Thread Michael B Allen
This is embarrassing. I have apparently forgotten how to operate Tomcat. I just downloaded openjdk 17, Tomcat 10.1.5 to a clean Windows 10, upacked everything, created a myapp-base with a .bat like: --8<-- bin\start.bat --8<-- setlocal set "JRE_HOME=C:\tmp\java17" set "CATALINA_HOME=C:\tmp\tomc

Re: javax.servlet vs jakarta.servlet?

2021-12-30 Thread Michael B Allen
lication see that the file is updated without reloading the webapp (maybe even if the app is packaged as a war) is very useful. On the other hand I don't think I would want another 10 classes just to create some kind of ancillary webapp storage abstraction. Mike -- Michael B Allen Java Active

Re: javax.servlet vs jakarta.servlet?

2021-12-29 Thread Michael B Allen
On Wed, Dec 29, 2021 at 2:07 PM Mark Thomas wrote: > One of the advantages of moving to Eclipse is that everyone involved in > the spec, not just the spec lead, has an equal say in what goes into the > spec. That sounds like design by committee which is my concern. IMO the only way to design a re

Re: javax.servlet vs jakarta.servlet?

2021-12-29 Thread Michael B Allen
On Tue, Dec 28, 2021 at 10:52 AM Mark Thomas wrote: > > On 28/12/2021 14:58, Michael B Allen wrote: > > On Tue, Dec 28, 2021 at 3:29 AM Johan Compagner > > wrote: > >> > >> Will that really work? > > > > No. > > > > Clearly I'm n

Re: javax.servlet vs jakarta.servlet?

2021-12-28 Thread Michael B Allen
would be required for Tomcat to support both javax.servlet and jakarta.servlet even if it were difficult to do for some reason I'm not seeing. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To

javax.servlet vs jakarta.servlet?

2021-12-27 Thread Michael B Allen
but I assume one just has to add whatever javax.servlet jar to make Tomcat 10 work with a javax.servlet lib or app? Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To unsubscribe, e-mail:

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Michael B Allen
On Tue, Nov 23, 2021 at 2:59 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: > > Short Addendum: > > The "destroyed" flag gets set, when the dispose-method of the > GSSCredentialImpl was invoked. > Currently, I have no clue when and how it happens, but I have seen this > problem every few months. >

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Michael B Allen
AP BTW. But I think the only real short term solution for now would be to catch the IllegalStateException and just set left = 0. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To unsubscribe

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-18 Thread Michael B Allen
y a Windows service would know the difference between a link and the directory it points to. If it did, that would make mklink pretty useless. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To uns

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread Michael B Allen
On Wed, Nov 17, 2021 at 9:05 PM Mark Eggers wrote: > CATALINA_HOME and CATALINA_BASE are links to an appropriate Tomcat > installation, and one configured for that particular service. > > Then to upgrade to a new Tomcat, you do the following: > > 1. Unpack the new reference version of Tomcat somew

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread Michael B Allen
vate servers and docker and so on. So I think the self-contained $CATALINA_BASE/bin/run.sh method is probably a little better for most cases (although I still need to study the Windows service use-case which is probably important). Mike -- Michael B Allen J

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-16 Thread Michael B Allen
e this would completely separate the installation from the host and environment. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-15 Thread Michael B Allen
issue completely. I no longer get 404's and the application works. But I would like to further understand this as much as possible to document it for my customers. Thanks, Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ --

How to *properly* create and use a CATALINA_BASE installation

2021-11-15 Thread Michael B Allen
how this all is supposed to work and not so much just seeing it work. Thanks, Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org