RE: Disable connector by property

2020-05-13 Thread jonmcalexander
-Original Message- From: Mark Thomas Sent: Wednesday, May 13, 2020 5:28 PM To: users@tomcat.apache.org Subject: Re: Disable connector by property On 13/05/2020 20:16, T. Papke wrote: > Hello all, > > Currently adding or removing a connector requires changes to the XML > structure of

Re: Disable connector by property

2020-05-13 Thread Mark Thomas
On 13/05/2020 20:16, T. Papke wrote: > Hello all, > > Currently adding or removing a connector requires changes to the XML > structure of the server.xml (at least 9.x) > > Is there any option to enable or disable a connector with a system > property? If not, does it make sense to add a "enabled"

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-13 Thread Patrick Baldwin
On Wed, May 13, 2020 at 1:31 PM Coty Sutherland wrote: > Hi, > > Please see responses in line below. I'm top posting a bit because the > thread got off in the weeds about permissions it seems, which are important > but not exactly relevant to your problem IMO. > > Indeed, thank you. > On Tue,

Disable connector by property

2020-05-13 Thread T. Papke
Hello all, Currently adding or removing a connector requires changes to the XML structure of the server.xml (at least 9.x) Is there any option to enable or disable a connector with a system property? If not, does it make sense to add a "enabled" attribute to the connector or implicit interpret a

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-13 Thread Coty Sutherland
Hi, Please see responses in line below. I'm top posting a bit because the thread got off in the weeds about permissions it seems, which are important but not exactly relevant to your problem IMO. On Tue, May 12, 2020 at 11:28 AM Patrick Baldwin wrote: > I've gotten passed an odd (to me,

Re: [OT] Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-13 Thread logo
Chris, > Am 13.05.2020 um 16:42 schrieb Christopher Schultz > : > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Peter, > > On 5/13/20 02:48, logo wrote: >> Hi calder, >> >> >>> Am 13.05.2020 um 04:59 schrieb calder : >>> >>> On Tue, May 12, 2020, 21:48 kohmoto >>> wrote: >>>

Re: CONFIRM subscribe to users@tomcat.apache.org

2020-05-13 Thread Mark Thomas
Sorry for the noise. I hit the wrong reply button. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: CONFIRM subscribe to users@tomcat.apache.org

2020-05-13 Thread Mark Thomas
Domain checks out. On 13/05/2020 15:36, users-h...@tomcat.apache.org wrote: > Hi! This is the ezmlm program. I'm managing the > users@tomcat.apache.org mailing list. > > I'm working for my owner, who can be reached > at users-ow...@tomcat.apache.org. > > I respectfully request your permission

Re: [OT] Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 5/13/20 02:48, logo wrote: > Hi calder, > > >> Am 13.05.2020 um 04:59 schrieb calder : >> >> On Tue, May 12, 2020, 21:48 kohmoto >> wrote: >> >>> Hi, Calder, >>> >>> Thank you for your prompt reply. I think Tomcat binary files >>> all

Re: [OT] Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-13 Thread kohmoto
Hi, Logo, My current practice is as you suggest. Thank you for your advice. Yours truly, Kazuhiko Kohmoto On 2020/05/13 15:48, logo wrote: Hi calder, Am 13.05.2020 um 04:59 schrieb calder : On Tue, May 12, 2020, 21:48 kohmoto wrote: Hi, Calder, Thank you for your prompt reply. I think

Re: ClassNotFoundException when loading session from disk

2020-05-13 Thread Jonathan Yom-Tov
Regarding the deployment location, you're right, it's unusual, but it's a legacy application. I found out the reason for the class not being visible. There was a Context element with docBase defined in server.xml which I hadn't noticed. Nesting the Manager element inside that (rather than in

Re: ClassNotFoundException when loading session from disk

2020-05-13 Thread jonathan . smithy
On 5/12/2020 at 7:45 PM, "Mark Thomas" wrote:On 12/05/2020 18:38, Jonathan Yom-Tov wrote: > I'm trying to use PersistentManager with FileStore to load sessions from > disk. Serialization goes ok but when the session is loaded I get an > exception deserializing one of my application's classes. >

[OT] Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-13 Thread logo
Hi calder, > Am 13.05.2020 um 04:59 schrieb calder : > > On Tue, May 12, 2020, 21:48 kohmoto wrote: > >> Hi, Calder, >> >> Thank you for your prompt reply. >> I think Tomcat binary files all have root priviledges. >> Should these priviledges should be changed to user priviledges? >> > > >