Re: Installation on Win 10 failure.

2024-04-23 Thread DdC
Thanks for the advice!Did two runs: regular cmd and one with admin privileges::The cmd window looks good: C:\tomcat8\bin>startupUsing CATALINA_BASE:   "C:\tomcat8"Using CATALINA_HOME:    "C:\tomcat8"Using CATALINA_TMPDIR: "C:\tomcat8\temp"Using JRE_HOME:        "C:\Program

Re: AW: FileUpload class not working with Tomcat 10.1

2024-04-23 Thread Mark Foley
I'm back with a related issue. I was able to get the java class jakarta.servlet.annotation.MultipartConfig working back last November by adding the definition shown in the included message below to my WEB-INF/web.xml file. Now I need to add another program to the system that does file uploads.

Re: Installation on Win 10 failure.

2024-04-23 Thread Christopher Schultz
Hello, A few things. 1. Are you really coming from Tomcat 4.04? 2. Are you really using Java 18? It's basically dead. Use Java 17 or 21, which are both Long Term Support (LTS) versions, especially if you are only going to upgrade once every 20 years. 3. You should not have CLASSPATH set.

Re: AW: FileUpload class not working with Tomcat 10.1

2024-04-23 Thread Christopher Schultz
Mark, On 4/23/24 13:42, Mark Foley wrote: I'm back with a related issue. I was able to get the java class jakarta.servlet.annotation.MultipartConfig working back last November by adding the definition shown in the included message below to my WEB-INF/web.xml file. Now I need to add another

Re: Tomcat closes connections on unexpected status codes

2024-04-23 Thread Adwait Kumar Singh
Any chance someone took a look at the PR? Do you guys think this is a viable solution? On Sun, Apr 21, 2024 at 12:54 PM Adwait Kumar Singh wrote: > https://github.com/apache/tomcat/pull/723 is a draft PR of the idea I was > talking about earlier, i.e close the connection on a bad request but >

Re: Regarding Tomcat url redirection

2024-04-23 Thread Christopher Schultz
Lavanya, On 4/22/24 05:21, lavanya tech wrote: Could you please explain, what you exactly mean ? So here redirect is not a solution right ? Redirecting is fine. Perhaps you should take a step back and decide: what do you actually want, here? You might be trying to solve problem X by

Re: FileUpload class not working with Tomcat 10.1

2024-04-23 Thread Chuck Caldarale
>>> >>> uploadfile >>> >>> >>> uploadfile >>> /schDistImportResults.jsp >>> The first servlet is named “uploadfile”. > On Apr 23, 2024, at 12:42, Mark Foley wrote: > > Now I need to add another program to the system that does file uploads. I > created another definition in

RE: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-23 Thread Rick Noel
Your suggestion worked Chuck, Thank you! I now see this in cat log.. 23-Apr-2024 08:30:10.969 INFO [Catalina-utility-1] org.apache.catalina.ha.tcp.SimpleTcpCluster.memberAdded Replication member added:[org.apache.catalina.tribes.membership.MemberImpl[tcp://{192, 168, 47, 157}:4001,{192,

Re: Installation on Win 10 failure.

2024-04-23 Thread Mark Thomas
On 23/04/2024 03:31, DdC wrote: I have installed tomcat originally with version 4.04 on winxp andlater on win7, ubuntu, and another linux box - many times by now.Trouble now with win10 and version 9.0.88.Yes, there is a jdk, CLASSPATH is set, j2ee.jar is in lib.Running in a cmd window

RE: [EXT]Re: [EXT]Re: [EXT]Re: Tomcat 10 skipping state transfer. No members active in cluster group

2024-04-23 Thread Rick Noel
Chuck, to get rid of the warnings... 3-Apr-2024 08:30:22.970 WARNING [Tribes-Task-Receiver[station-Channel]-1] org.apache.catalina.ha.session.ClusterSessionListener.messageReceived Context manager doesn't exist:[##0001] I moved my Manager element form the server.xml to the context.xml