Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Konstantin Kolinko
пт, 24 мар. 2023 г. в 03:47, Kevin Huntly : > > Object > of type [class jakarta.mail.Session] available at JNDI location > [java:comp/env/mail/MailSession] is not assignable to [jakarta.mail.Session] Apparently you have two copies of a "jakarta.mail.Session" class, loaded by different

Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Kevin Huntly
Okay, I made sure I have the jakarta.mail packages in ${catalina.home}/lib, I've modified the context.xml from javax.mail.Session to jakarta.mail.Session and I'm receiving this: [Time: 23 Mar 2023 20:44:04,203][Thread: main][Log:

Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Konstantin Kolinko
пт, 24 мар. 2023 г. в 03:09, Konstantin Kolinko : > > чт, 23 мар. 2023 г. в 18:38, Kevin Huntly : > > > > Hi Everyone, > > > > I just migrated one of my apps off javax.servlet and onto jakarta.servlet. > > I am getting the following exception: > > > > > > [Time: 23 Mar 2023 11:31:44,134][Thread:

Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Konstantin Kolinko
чт, 23 мар. 2023 г. в 18:38, Kevin Huntly : > > Hi Everyone, > > I just migrated one of my apps off javax.servlet and onto jakarta.servlet. > I am getting the following exception: > > > [Time: 23 Mar 2023 11:31:44,134][Thread: main][Log: >

Re: service() failed with http error 502

2023-03-23 Thread Mark Thomas
You have a mismatch between this attribute on the workers: max_packet_size It isn't set so the default of 8192 is used. And this attribute on the AJP connector: packetSize="65536" Those attributes need to match on all workers and the AJP connector. Mark On 23/03/2023 18:19, Luis Ramos

Re: service() failed with http error 502

2023-03-23 Thread Luis Ramos
Hi, worker.list=tomcat01,tomcat02 worker.tomcat01.type=ajp13 worker.tomcat01.host=::1 worker.tomcat01.port=8009 worker.tomcat01.secret=namnetiq1 worker.tomcat01.ping_timeout=1000 worker.tomcat01.connect_timeout=1 worker.tomcat01.prepost_timeout=1 worker.tomcat01.socket_timeout=10

Re: service() failed with http error 502

2023-03-23 Thread Mark Thomas
And the workers.properties file? Mark On 23/03/2023 16:13, Luis Ramos wrote: Hi Apache Tomcat/9.0.65 from server.xml Luis J Ramos CNT Infotech Corp. (www.cntinfotech.com) 646.452.9349 - Original Message - From: "Mark Thomas" To: "users" Sent: Thursday, March 23, 2023

Re: service() failed with http error 502

2023-03-23 Thread Luis Ramos
Hi telnet localhost 8009 connects ok Luis J Ramos CNT Infotech Corp. (www.cntinfotech.com) 646.452.9349 - Original Message - From: "Kevin Huntly" To: "Tomcat Users List" Sent: Wednesday, March 22, 2023 4:20:58 PM Subject: Re: service() failed with http error 502 Just wondering, are

Re: service() failed with http error 502

2023-03-23 Thread Luis Ramos
Hi Apache Tomcat/9.0.65 from server.xml Luis J Ramos CNT Infotech Corp. (www.cntinfotech.com) 646.452.9349 - Original Message - From: "Mark Thomas" To: "users" Sent: Thursday, March 23, 2023 4:09:41 AM Subject: Re: service() failed with http error 502 On 22/03/2023 19:20,

javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Kevin Huntly
Hi Everyone, I just migrated one of my apps off javax.servlet and onto jakarta.servlet. I am getting the following exception: [Time: 23 Mar 2023 11:31:44,134][Thread: main][Log: org.springframework.web.context.support.XmlWebApplicationContext][Level: WARN ] - [File:

Re: tag files compiled in wrong encoding?

2023-03-23 Thread Holger Klawitter
Hi Mark, this fix was light speed! Thanks a lot! Regards, Holger - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: service() failed with http error 502

2023-03-23 Thread Mark Thomas
On 22/03/2023 19:20, Luis Ramos wrote: Hi List. In and around last windows updates for our WIN2019 box, our tomcat connector start to fail with the below error message. Setup is IIS 10->ISAPI connector => Tomcat 9 -> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html Has someone