Re: Direct url access to protected page: /docs*

2016-05-27 Thread Robert Youngblood
Chris, thank you for your reply. Are you saying that you normally rename the catalina folder to catalina_base and then create empty catalina_home folder. So, when i unc to server:8080, do i go to the catalina\webapps folder? Thanks, again. On May 27, 2016 12:47 PM, "Christopher Schultz" < ch...@c

Re: minSpareThreads for AJP connector

2016-05-27 Thread Anthony Biacco
On Fri, May 27, 2016 at 7:34 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Tony, > > On 5/26/16 4:22 PM, Anthony Biacco wrote: > > On Thu, May 26, 2016 at 2:19 PM, Anthony Biacco > > wrote: > > > >> I have this property set

Re: Direct url access to protected page: /docs*

2016-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Robert, On 5/27/16 1:16 PM, Robert Youngblood wrote: > I was recently cited for these pages not being locked down. Is > there a way to remove or lockdown the default pages? What default pages? Do you mean the "docs" web application? $ rm -rf webap

Re: tomcat8.0.33 classpath/classloader issues

2016-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sanka, On 5/27/16 1:07 PM, Sanka, Ambica wrote: > Do you need to add for your case? Please > check > http://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html This is almost never the right solution to a problem. - -chris > -Original

Re: JSON Logging of Tomcat Access Log.

2016-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Abhijit, On 5/25/16 4:03 PM, Abhijit Das wrote: > I am wanting to change the access logging format to JSON (for > easier parsing with logstash) > > I currently have the following config in my server.xml … How would > i change this to JSON formatted

Re: [ANN] Apache Tomcat 8.0.35 available

2016-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 5/25/16 2:05 PM, David Wall wrote: > Does anybody know if the AES+GCM bug that causes a JVM Crash (I > believe only under JDK 8) when running TLS in Tomcat using Java's > JSSE has been fixed? I doubt this is a Tomcat issue, but since the

Direct url access to protected page: /docs*

2016-05-27 Thread Robert Youngblood
I was recently cited for these pages not being locked down. Is there a way to remove or lockdown the default pages? Bobby

RE: tomcat8.0.33 classpath/classloader issues

2016-05-27 Thread Sanka, Ambica
Do you need to add for your case? Please check http://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html -Original Message- From: Venkata Reddy P [mailto:venkata.re...@trianz.com] Sent: Friday, May 27, 2016 1:02 PM To: Tomcat Users List Subject: RE: tomcat8.0.33 classpath/classloa

RE: tomcat8.0.33 classpath/classloader issues

2016-05-27 Thread Venkata Reddy P
Many thanks Ambica for the detailed information. Its not working some reason for me, when I was debugging the Bootstrap.java class I could clearly see that creating common, shared,and catlina loaders as I expected. While loading the server.xml protocol classes are trying to load then it gets

RE: Webapp in the same thread context

2016-05-27 Thread Daniel Rocha
Hi, Thanks again for replying and thanks for the advice. Yes, you are right. I was able to put it work with the structure that I had in Tomcat 6.0.I just had to edit the "context.xml" from each servlet and add the following element inside the Context: This property makes the web application

RE: tomcat8.0.33 classpath/classloader issues

2016-05-27 Thread Sanka, Ambica
We use Tomcat 8.0.9 for our applications. Tomcat server package, we created required directories at the same level as conf. We create db2 folder and put db2 client jars. Created mq folder and put mq client jars. We also use some property files(name-value pair) and place those files under proper

Re: Tomcat 8.0.33 not seeing JSP extracted from zip during context deploy.

2016-05-27 Thread Violeta Georgieva
Hi, 2016-05-27 13:21 GMT+03:00 Gavin Donald : > > Hello, > > I recently upgraded from */Tomcat 8.0.9/***to */8.0.33/*. > > I have a zip file that contains JSPs. When the context starts a custom /ThemeManager /class looks at a /theme.jar/ file and extracts some SiteMesh decorators to /WEB-INF/decor

Re: minSpareThreads for AJP connector

2016-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tony, On 5/26/16 4:22 PM, Anthony Biacco wrote: > On Thu, May 26, 2016 at 2:19 PM, Anthony Biacco > wrote: > >> I have this property set under 8.0.35, but it only hits the value >> I set when i make that many requests. Should it not allocate >> th

Re: Webapp in the same thread context

2016-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 5/27/16 4:53 AM, Daniel Rocha wrote: > The application that starts the servlets and initializes the > static objects:/home/project/lib/app.jar The tomcat temporary > folder "this.embedded.setBaseDir(getPath());" is located > under:/home/

Re: Secured connection between Apache Httpd and Tomcat over AJP protocol

2016-05-27 Thread Mohanavelu Subramanian
Hi All, Thank you very much for the solution. Best Regards, Mohan On Wed, May 25, 2016 at 9:00 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mohanavelu, > > On 5/25/16 10:21 AM, Mohanavelu Subramanian wrote: > > I have Httpd

RE: tomcat8.0.33 classpath/classloader issues

2016-05-27 Thread Venkata Reddy P
Hi, As Ambica suggested, I have tried by setting different properties "common.loader, shared.loader, server.loader" in catalina.properties but no luck. I have tried generating the logs using -Djava.security.debug=all. Will this security (scl: getPermissions ProtectionDomain (file:/C:/tomc

Tomcat 8.0.33 not seeing JSP extracted from zip during context deploy.

2016-05-27 Thread Gavin Donald
Hello, I recently upgraded from */Tomcat 8.0.9/***to */8.0.33/*. I have a zip file that contains JSPs. When the context starts a custom /ThemeManager /class looks at a /theme.jar/ file and extracts some SiteMesh decorators to /WEB-INF/decorator-template/. Since I upgraded to 8.0.33, Tomcat d

Spring's WebApplicationInitializer not working

2016-05-27 Thread Zbynek Vavros
Hi, I post my issue here http://stackoverflow.com/questions/37284249/springs-webapplicationinitializer-servlet-registration-doesnt-work-on-apache but nobody replied yet so I am trying my luck here. Let me just add that when I configure JSF the usual way (web.xml) everything works fine. Thanks fo

RE: Webapp in the same thread context

2016-05-27 Thread Daniel Rocha
Hi, Thanks for replying. I have the following structure: The application that starts the servlets and initializes the static objects:/home/project/lib/app.jar The tomcat temporary folder "this.embedded.setBaseDir(getPath());" is located under:/home/project/temp_tomcat/ The servlets are located un