Re: Linux Logging Rotate

2016-05-19 Thread Yuval Schwartz
Thanks Christopher, that's informative. I've decided to just manually move (via ftp) the dated files off the server and just clear Catalina.out (like your link says, the only unique output it includes is system.out/err). Eventually I will implement a more thorough logging solution. Let me know if

Re: Linux Logging Rotate

2016-05-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/18/16 7:41 AM, Yuval Schwartz wrote: > Hello, > > I am currently running a web application: > > Tomcat: 8.0.22 JDK: 1.8.0_05 Server: Amazon Linux AMI > > At the moment, I am simply using the default logging. catalina.out > catalina.[date].lo

RE: Caused by: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/tld/TldParser

2016-05-19 Thread Venkata Reddy P
Hi, I am walking through the tomcat8 Class Loader (https://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html), it looks like CLASSPATH variable is totally ignored in tomcat8 if tomcat server started using catalina.bat. does it apply for startup.bat also? If yes, then is there any oth

RE: JkInputStream.java replacement file in tomcat8

2016-05-19 Thread Venkata Reddy P
Many thanks MANSOURI for all your inputs. -Original Message- From: Abdessamed MANSOURI [mailto:lavl...@gmail.com] Sent: 19 May 2016 23:01 To: Tomcat Users List Subject: Re: JkInputStream.java replacement file in tomcat8 Hello, I'm not a Guru, it seems the AJP processor recieved many cha

Re: JkInputStream.java replacement file in tomcat8

2016-05-19 Thread Abdessamed MANSOURI
Hello, I'm not a Guru, it seems the AJP processor recieved many changes in the past, In Tomcat 8.0.43, there's simply no JkInputStream but there's two methods inside AJP processor for reading and writting, now (trunk), AJP connector has two inner classes called : SocketInputStream and SockectOutpu

Caused by: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/tld/TldParser

2016-05-19 Thread Venkata Reddy P
Hi, In tomcat8.0.33,while starting the tomcat server from \bin\startup.bat, it is getting the below NoClassDefFoundError. I have verified 1) All the tomcat bundled jars are available under \lib folder including tomcat-util.jar. 2) I have also tried adding all the jars to property (tomcat.util.s

SSLVerifyClient="optionalNoCA" stops working in tomcat 8.0.32?

2016-05-19 Thread Florian Kleedorfer
Hi! TL;DR: The TLS handshake with client authentication using self-signed client certificates (using APR/openssl) stopped working from tomcat 8.0.30 to tomcat 8.0.32. Cause is suspected in a change of openssl or APR between versions. # Context: We're using tomcat 8 in a setting where the cl

RE: AW: javax.naming.NameNotFoundException Tomcat 8.0.32

2016-05-19 Thread Al
Thanks for the reply, that did not work but the following did. If some one could explain why I needed to do it this way it would be much appreciated. This did not work :Oracle308tube = context.lookup("jdbc/308tubeOracle"); This worked: Context envContext = (Context)context.lookup(

AW: javax.naming.NameNotFoundException Tomcat 8.0.32

2016-05-19 Thread Sebastian Trost
Hi Al, Try using context.lookup("jdbc/308tubeOracle") instead of context.lookup("308tubeOracle"). Regards Sebastian -Ursprüngliche Nachricht- Von: Al [mailto:rebra...@hotmail.com] Gesendet: Mittwoch, 18. Mai 2016 22:26 An: users@tomcat.apache.org Betreff: javax.naming.NameNotFoundExcep

JkInputStream.java replacement file in tomcat8

2016-05-19 Thread Venkata Reddy P
Hi, In tomcat6.0.43 version, there is a file "org.apahe.jk.common.JkInputStream.java" to deal with ajp connectors. Could you please help finding the relevant/replaced file in tomcat8.0.33 version? Thanks Venkata

RE: BASIC authentication problem in tomcat8.0.33

2016-05-19 Thread Venkata Reddy P
Many thanks Mark for all your valuable help. I have managed it working my customization by extending the class GenericPrinicipal. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, May 19, 2016 4:33 PM To: Tomcat Users List Subject: Re: BASIC authentication p

Re: BASIC authentication problem in tomcat8.0.33

2016-05-19 Thread Mark Thomas
On 18/05/2016 15:33, Venkata Reddy P wrote: > Hi, > > It looks like below comparison(principal instanceof GenericPrincipal) is > failing as I am returning the CustomizedPrincipal which implements the > java.security.Principal. > > Is it something introduced in tomcat7.x/tomcat8.x? No. The sou

tomcat cluster questions

2016-05-19 Thread Hans-Joachim Kliemeck
Hey, currently i'm building up a tomcat cluster and after studying the documentation/source some questions came up: Is it really necessary to add a LocalMember xml element to the StaticMembershipInterceptor? I found a lot examples where this element was not added. FYI: we are using TCP and no