Re: Tomcat Installation on Windows
On 15/06/18 17:33, Lemke, Michael ST/HZA-ZIC2 wrote: > So the most important part for me was that you have to create > CATALINA_BASE yourself and put some files from the distribution there. > I wish tomcat came with a script which does this. But once you know > what is required it isn’t hard to do. Good idea. Fancy writing one? As a minimum I suggest creating an enhancement request so that the idea doesn't get lost. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
using the deploy task in the newer versions of Tomcat are failing for the most part..
Hi, this discussion was already done more on this list, but i wanted to pin point it a bit more because i do think tomcat should fix this (or in tomcat or do pre emptive authentication in the deploy task (allow this at least)) currently in a new version of Tomcat it is very hard to deploy large war files because if you just do deploy you will get: [echo] Tests FAILED OR ERROR caught when deploying/testing solution test_ngSelenium_listview_tableview: java.io.IOException: Error writing request body to server [undeploy] FAIL - No context exists named [/test_ngSelenium_listview_tableview] This you get at least for the first deploy that you try. i did notice that the second one did work after that, just ignoring in a try/catch that first one So though lets get the very small sample.war (5kb: https://tomcat.apache.org/tomcat-7.0-doc/appdev/sample/) and deploy that one first: but then i get this one: java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode more people are having that: https://stackoverflow.com/questions/45809257/ant-re-deploy-on-tomcat-8-5-failed-java-net-httpretryexception-cannot-retry-d i guess i could try/catch that again an hope that it somehow does remember to send the user/pw upfront the next time.. But i did see that deploy taks also has localWar support.. So used that because i can do that everything is on the same server. But for people that runs tomcat somewhere else this wont help. I think developers of tomcat should really look into these problems, Maybe just fixing the deploy hook to add an attribute "preEmptiveAuthentication" to set that to true. Then all these problems are gone. Because all these problems are because you git an url that need authentication when directly doing a put ... And the latest tomcats behaves differently if the contents is small or big. But both don't work anymore... -- Johan Compagner Servoy
Production Tomcat 8.5.5 suddenly started to give ClassNotFoundError
Hi all, I have a production Tomcat server and this morning it started to give strange ClassNotFoundError for stuff which was working for years without a problem. I did redeploy app (by copying into the dir and deleting their ROOT), but it didn't solve the issue, same ClassNotFoundException. On the development machine I built a new release, checked that it worked in my localhost (it worked, no ClassNotFoundException), and stopped Tomcat on the production server, moved files from work to work_1 directory (that's specified as deleting the cache), copied the new WAR files into the destination and deleted the previous files. It didn't still solve the issue, now I got even bigger problem JSPs which were working fine previously now they don't work? What could cause this problem? How to fix it (without setting again new production tomcat from scratch)? Thanks