Re: Tomcat 10.1.4 HTTP Status 404 and 500 Help

2023-01-11 Thread John Barrow
3, 09:28 Mark Thomas, wrote: > > > On 10/01/2023 22:34, John Barrow wrote: > > Hi Anthony, > > > > Not an expert, but have managed to deploy simple servlets. A couple of > > observations, not sure why using ROOT, you should have your own folder > for > > yo

Re: Tomcat 10.1.4 HTTP Status 404 and 500 Help

2023-01-10 Thread John Barrow
Hi Anthony, Not an expert, but have managed to deploy simple servlets. A couple of observations, not sure why using ROOT, you should have your own folder for your application (e.g. myFirstApp\...). Also, I have found that the main app folder (e.g. myFirstApp) must start with a lowercase letter (I

Re: Configure Tomcat development using NetBeans IDE

2022-02-25 Thread John Barrow
kage = java class as far as import goes, but I mention them just in case. John On Thu, 24 Feb 2022 at 15:13, John Barrow wrote: > > Mark, > > I have now got grep working (following a post from another member > indicating that built into git bash!) > > > ant download-

Re: Configure Tomcat development using NetBeans IDE

2022-02-24 Thread John Barrow
Mark, I have now got grep working (following a post from another member indicating that built into git bash!) > ant download-test-compile This is useful to know as I didn't run the tests script until later. > ant download-validate This didn't report Checkstyle missing - probably as not needed

RE: is too quick to respond

2022-02-23 Thread John Barrow
Christopher, > You will just change the implementation to answer the question "have any resources been modified, but not-too-recently?" OK > The check must be fast, otherwise it will hang-up other processes on the server. Don't introduce any new loops or stalls. Just return true or false as

Re: Configure Tomcat development using NetBeans IDE

2022-02-23 Thread John Barrow
Hi Greg, > You should not need to reload tomcat for code unless NetBeans cannot handle > hot reload. I don't believe that there is a problem with NetBeans, it updates the active code files in the WEB_APP/classes perfectly, but then as previously discussed in the other thread, there is no file lo

Configure Tomcat development using NetBeans IDE

2022-02-22 Thread John Barrow
Hi, Firstly, this is actually a continuation of a previous thread (specifically the email from Make Thomas, dated 21/02/2022 08:10) discussing the specification for enhancing the reloading of webapps after changes to the deployed files. This thread is titled ‘ is too quick to respond’ and remains

Re: is too quick to respond

2022-02-20 Thread John Barrow
Neil, > I think it's a bad idea to design a solution based on the file type. A > webapp can contain all kinds of files. Why is that in this instance when the focus is on deploying to these specific folders as defined by Tomcat? Taken from the Tomcat documentation... - WEB-INF/classes/ - This

Re: is too quick to respond

2022-02-20 Thread John Barrow
"modify" or "delete" event to> occur and fire off.>>    thanks,>   jason>> - Original Message -----> From: "chris" > To: "users" > Sent: Sunday, February 20, 2022 9:22:17 AM> Subject: Re: is too quick to respond>

RE: is too quick to respond

2022-02-20 Thread John Barrow
failed tests zip is also there in case it was stripped out for anyone else that might be interested. John *From: *Christopher Schultz *Sent: *20 February 2022 14:22 *To: *users@tomcat.apache.org *Subject: *Re: is too quick to respond John, On 2/20/22 05:50, John Barrow wrote: > N

RE: is too quick to respond

2022-02-20 Thread John Barrow
rable) before starting the final 'waitForQuiet' timer prior to notifying Tomcat to start the reload. It is also a read-only query and so has no side-effects as it appears that users have a need to auto-reload after refreshing a larger .war file. Thoughts? Enjoy your evening. John From

Re: is too quick to respond

2022-02-20 Thread John Barrow
Neil, Thanks for your useful feedback. I am still feeling my way as you can probably see from my earlier emails trying to setup a development environment. I did actually think of this but didn't put it in scope for a couple of reasons. Firstly, the Tomcat documentation for readloadable quotes "

Re: is too quick to respond

2022-02-19 Thread John Barrow
e: > > John, > > On 2/18/22 10:50, John Barrow wrote: > >>> Would you be interested in looking at the existing algorithm to see if > >>> it would be updated in this way? > > > >> WebappLoader.backgroundProcess() would be a good place to start. > &

Re: is too quick to respond

2022-02-19 Thread John Barrow
2/2022 18:01, John Barrow wrote: > >> Do you have a list of the tests which fail? Do you know how to get that > >> list? > > > > Yes, although I am on Windows, not UNIX and so I don't have access to > > grep. I did a simple search within logs for 'FAIL

Re: is too quick to respond

2022-02-19 Thread John Barrow
HI, As a completely 'left-field' thought and apologies if this next statement is completely naive, if I started a clean Maven project, copied across all the sources for Tomcat and then use NetBeans to add dependencies as required, could that work? I am willing to give it a try as I don't need to d

RE: is too quick to respond

2022-02-18 Thread John Barrow
erence": "KP", "name": "Kevin Peters", "loggedIn": "2022-02-18" }, "MS": { "reference": "MS", "name": "Mike Smith", "loggedIn": "2022-02-18" }, &qu

Re: is too quick to respond

2022-02-18 Thread John Barrow
:01, John Barrow wrote:>> Do you have a list of the tests which fail? Do you know how to get that list?> > Yes, although I am on Windows, not UNIX and so I don't have access to> grep. I did a simple search within logs for 'FAILED' and it came up> with about 20 or

Re: is too quick to respond

2022-02-18 Thread John Barrow
to relate Tomcat. Without this, I couldn't review or extend the tests that form part of Tomcat as any attempt to run them within Netbeans tells me that the packages don't exist. Is there anyone else in the group that is successfully developing Tomcat using Netbeans? On Fri, 18 Feb 2022

RE: is too quick to respond

2022-02-18 Thread John Barrow
Hi Mark / Christopher, Firstly, thanks for confirming my analysis on what is happening. >> Would you be interested in looking at the existing algorithm to see if >> it would be updated in this way? > WebappLoader.backgroundProcess() would be a good place to start. I am sort of interested in loo

is too quick to respond

2022-02-17 Thread John Barrow
Hi, I am now running Tomcat version 10.0.16 having just upgraded from 9.0.41. As a developer, I make use of the META-INF\context.xml feature to detect changes within the classes folder WEB-INF\classes by However, since moving to Tomcat 10.0.16, the reload keeps crashing Tomcat due to the fact t