Re: context resources, replacement parameters

2017-12-08 Thread Chris Cheshire
On Fri, Dec 8, 2017 at 3:36 PM, Mark Thomas wrote: > On 08/12/17 18:49, Chris Cheshire wrote: >> I have a directory resource set defined in my context.xml to handle images : >> >> >> > base="${catalina.base}/cdn/p/images" >> webAppMount="/images" /> >> >> >> The

Re: Configuring DIGEST auth for manager

2017-12-08 Thread Philippe Mouawad
Hello, I confirm I didn't receive Christopher answer (it seems I am not alone, so maybe there was an issue): http://mail-archives.us.apache.org/mod_mbox/tomcat-users/201711.mbox/%3c2339f4d3-91fd-3be2-dd18-26e0f6262...@christopherschultz.net%3e Anyway, now I read it, thank you Christopher ! Regard

Re: How to get the AbstractEndpoint from Tomcat with tomcat-embed

2017-12-08 Thread Mark Thomas
On 08/12/17 19:29, Jesse Schulman wrote: > Got it, that works and I was able to accomplish exactly what I needed, > thank you! > > One side note, the name ended up being: > "Tomcat:name=\"https-jsse-nio-8443\",type=ThreadPool" > > Which is a different order than your example so I am using the > O

Re: context resources, replacement parameters

2017-12-08 Thread Mark Thomas
On 08/12/17 18:49, Chris Cheshire wrote: > I have a directory resource set defined in my context.xml to handle images : > > >base="${catalina.base}/cdn/p/images" > webAppMount="/images" /> > > > The /p in there actually represents the context path - a given s

Re: How to get the AbstractEndpoint from Tomcat with tomcat-embed

2017-12-08 Thread Jesse Schulman
Got it, that works and I was able to accomplish exactly what I needed, thank you! One side note, the name ended up being: "Tomcat:name=\"https-jsse-nio-8443\",type=ThreadPool" Which is a different order than your example so I am using the ObjectName(String domain, Hashtable table) constructor so

Re: 8.5 - multiple host configuration question

2017-12-08 Thread Chris Cheshire
On Fri, Dec 8, 2017 at 11:25 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Chris, > > On 12/7/17 2:08 PM, Chris Cheshire wrote: >> On Thu, Sep 7, 2017 at 5:30 PM, Christopher Schultz >> wrote: What should the permissions, owner & group be set to

context resources, replacement parameters

2017-12-08 Thread Chris Cheshire
I have a directory resource set defined in my context.xml to handle images : The /p in there actually represents the context path - a given sandbox might have the same webapp deployed at different context paths representing different development branches. Is it possible to use a replacement

Re: daemon.sh and multiple tomcat instances

2017-12-08 Thread Chris Cheshire
On Fri, Dec 8, 2017 at 11:33 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Chris, > > On 12/7/17 3:47 PM, Chris Cheshire wrote: >> Apologies in advance for semi-OT sysadmin question. >> >> Tomcat 8.5.24, running on Centos 6. I have built jsvc according to >

Re: Which one is used by Default on Apache 2.4.6 ? MPM worker or MPM prefork

2017-12-08 Thread tomcat
On 08.12.2017 17:05, Satish Chhatpar 02 wrote: We have are using Apache 2.4.6 on Red Hat Enterprise Linux Server release 7.2 (Maipo) My objective is to find out the default values for maxrequestworkers, as we have not configured any specific value. and Also we have not configured any speci

Re: Configuring DIGEST auth for manager

2017-12-08 Thread Robert J. Carr
Hi Philippe- I'm new to the list, and didn't see the previous response either, but I just did this recently do a similar config so I might have some guidance. Where you have algorithm="*SHA-256*", for digest.sh too, you shouldn't need the asterisks. Why are you using those? > Set the last part

Re: daemon.sh and multiple tomcat instances

2017-12-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 12/7/17 3:47 PM, Chris Cheshire wrote: > Apologies in advance for semi-OT sysadmin question. > > Tomcat 8.5.24, running on Centos 6. I have built jsvc according to > instructions in distribution. I have two tomcat instances under > diff

Re: Contributor on Wiki

2017-12-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 George, On 12/7/17 2:39 PM, George S. wrote: > Could someone please add me (George Sexton) to the contributor > group on the Tomcat Wiki? Done? - -chris -BEGIN PGP SIGNATURE- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG wit

Re: 8.5 - multiple host configuration question

2017-12-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 12/7/17 2:08 PM, Chris Cheshire wrote: > On Thu, Sep 7, 2017 at 5:30 PM, Christopher Schultz > wrote: >>> >>> What should the permissions, owner & group be set to for >>> CATALINA_HOME if I am running separate instances per user? >> >

Which one is used by Default on Apache 2.4.6 ? MPM worker or MPM prefork

2017-12-08 Thread Satish Chhatpar 02
We have are using Apache 2.4.6 on Red Hat Enterprise Linux Server release 7.2 (Maipo) My objective is to find out the default values for maxrequestworkers, as we have not configured any specific value. and Also we have not configured any specific MPM, so My question is Which one is used by

Re: BeanELResolver issue – calling a varargs method with no argument

2017-12-08 Thread Mark Thomas
On 07/12/17 15:00, Mark Thomas wrote: > On 07/12/17 02:52, Nitkalya (Ing) Wiriyanuparb wrote: >> Hello. >> >> I'm upgrading from Tomcat 7.0.30 to 8.5.24. Everything is working fine, but >> I notice that BeanELResolver behaves differently when calling a bean >> varargs method with no argument. >> >>

Re: Configuring DIGEST auth for manager

2017-12-08 Thread Philippe Mouawad
Hi Mark, Sorry but I didn't receive the reply otherwise I wouldn't be asking again. I'll see the archives then. Thanks Regards On Fri, Dec 8, 2017 at 9:20 AM, Mark Thomas wrote: > On 07/12/17 21:24, Philippe Mouawad wrote: > > Hello, > > Last ping hoping to get some help. > > If you aren't goin

Re: Is it possible to externally authenticate using OAuth?

2017-12-08 Thread Mark Thomas
On 08/12/17 08:32, Robert J. Carr wrote: > Hi Mark- > > Thanks for the quick reply and I'll look into Authenticators. > > Since you suggest 8.5.x, does that mean I was on the right track with > JASPIC? Yes, you can do this with JASPIC and a third-party JASPIC module: http://tomcat.apache.org/tom

Re: Is it possible to externally authenticate using OAuth?

2017-12-08 Thread Robert J. Carr
Hi Mark- Thanks for the quick reply and I'll look into Authenticators. Since you suggest 8.5.x, does that mean I was on the right track with JASPIC? Thanks again! Robert On Fri, Dec 8, 2017 at 12:26 AM, Mark Thomas wrote: > On 08/12/17 07:08, Robert J. Carr wrote: > > [tomcat 8, java 8, ubu

Re: Is it possible to externally authenticate using OAuth?

2017-12-08 Thread Mark Thomas
On 08/12/17 07:08, Robert J. Carr wrote: > [tomcat 8, java 8, ubuntu xenial] > > I have setup security constraints that allow certain resources to only be > accessed by authorized users. The users are authenticated using either > BASIC or FORM, where a username and password is provided, and this w

Re: Configuring DIGEST auth for manager

2017-12-08 Thread Mark Thomas
On 07/12/17 21:24, Philippe Mouawad wrote: > Hello, > Last ping hoping to get some help. If you aren't going to read the replies Chris has already given you to your original question and your subsequent ping there isn't much more we can do to help you. Mark > > Thanks > > On Wed, Nov 8, 2017