Re: Automatically compressing localhost_access_log after rotation

2017-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 8/4/17 5:08 AM, Martin Knoblauch wrote: > On Thu, Aug 3, 2017 at 7:16 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Martin, >> >> On 8/3/17 5:47 AM, Martin

Re: SSL is not working

2017-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 M., On 8/4/17 12:16 PM, M. Manna wrote: > Have you imported the signed server certificate into the server > keystore with all the root+intermediate certificates? in other > words, does the "chain-of-trust" exist in server keystore? > > You just

Re: Small question on mod_jk load balancing methon "Next"

2017-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 8/4/17 4:53 AM, Martin Knoblauch wrote: > Hi, > > just need some clarification on the mod_jk load blanacing method > "Next". The documentation states: > > "If method is set to N[ext] the balancer will again use the number > of sessions

Re: Small question on mod_jk load balancing methon "Next"

2017-08-04 Thread Rainer Jung
Hi Martin, Am 04.08.2017 um 10:53 schrieb Martin Knoblauch: Hi, just need some clarification on the mod_jk load blanacing method "Next". The documentation states: "If method is set to N[ext] the balancer will again use the number of sessions to find the best worker. All remarks concerning

Re: This is weird: can't bind to 443

2017-08-04 Thread Igal @ Lucee.org
Chris, On 8/4/2017 2:39 PM, Christopher Schultz wrote: Yes, they are available on YouTube. For some reason, nobody has bothered to link them to the ASF's YouTube channel... they are a "playlist" for ApacheCon 2017 - Miami: https://www.youtube.com/playlist?list=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rp

Re: This is weird: can't bind to 443

2017-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igal, On 8/3/17 3:11 PM, Igal @ Lucee.org wrote: > Hi Chris, > > On 8/3/2017 11:39 AM, Christopher Schultz wrote: >> On 8/3/17 2:22 PM, Igal @ Lucee.org wrote: >>> Was it priced? What would have been the cost for doing that? >> The cost was

Re: Getting user role membership without context

2017-08-04 Thread Alex O'Ree
Rehashing this. "Works" was working with the out of the box tomcat-users.xml file. When incorporating a JNDI/Ldap setup, I'm not getting the expected result. Server.xml setup Realm - UserLockOutRealm -- JDNIRealm -- UserRoleRealm (paraphrasing here, this is the default xml file thing) Consider

Re: DeltaManager implementation

2017-08-04 Thread christopher
We are still having an issue with some users losing session information. I want to use synchronous updates for the DeltaManager. To enable this should the channelSendOptions be set to 6? That isn't clear to me from reading the documentation. Thanks, -Chris On Thu, Jul 27, 2017, at 12:37 PM,

Re: SSL is not working

2017-08-04 Thread M. Manna
My bad - you can ignore my previous email - i was thinking about some other scenario. If the message says "Trusted Chain is Incomplete" - that means that your browser's certificate store doesn't have the updated information regarding root+intermediate CA certs. If you have import all the

Re: SSL is not working

2017-08-04 Thread Chaitanya Sabbineni
Hi, please try to import the certificate into the browser. Truststore and keystore or not different it depends on the name you give. example: tomcat_keystore.keystore or tomcat_trust.keystore and need to provide the respective path and the password in the keystore. please make sure that same

Re: SSL is not working

2017-08-04 Thread M. Manna
if you are testing locally (i.e. on localhost) you might want to check if the root and intermediate CA exists. Or just import it 1. Find out where your jdk is - say JDK_PATH 2. keep a backup copy somewhere for JDK_PATH\jre\lib\security\cacerts 2. run the following command for each

RE: SSL is not working

2017-08-04 Thread Hameed, Amir
Thank you for your reply. Please see my answers below: Have you imported the signed server certificate into the server keystore with all the root+intermediate certificates? in other words, does the "chain-of-trust" exist in server keystore? >> Yes, I have imported all trusted certificates

Re: SSL is not working

2017-08-04 Thread M. Manna
Have you imported the signed server certificate into the server keystore with all the root+intermediate certificates? in other words, does the "chain-of-trust" exist in server keystore? You just need to add the root and intermediate CA certs to trust store - any server certs signed by them is by

SSL is not working

2017-08-04 Thread Hameed, Amir
Hi, I am trying to configure Tomcat 8.0.36 with SSL and running into some issues. The JDK version I am using is 1.8.0_64. I used the following process to implement SSL: 1. Generated a java key store using the following command: ${JAVA_HOME}/bin/keytool -genkey -alias [alias-name] -keyalg

Re: Automatically compressing localhost_access_log after rotation

2017-08-04 Thread Mark H. Wood
On 8/3/17 5:47 AM, Martin Knoblauch wrote: > is there a way to compress the localhost_access_log.#.txt file > automatically after rotation? There is, but maybe not one built into Tomcat. I have a daily cron job to run a script which looks for older logs and ZIPs them:

RE: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread S Abirami
Hi Thomas, Thanks for the response. It worked for me. Regards, Abirami.S -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, August 04, 2017 3:30 PM To: users >> Tomcat Users List Subject: Re: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade

RE: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread S Abirami
HI Thomas, Thanks for the response. It worked for me. Regards, Abirami.S -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, August 04, 2017 3:30 PM To: users >> Tomcat Users List Subject: Re: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade

Re: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread M. Manna
Can you please post your entire Tomcat code? I.e. how you are instantiating Tomcat just before you had the JarScanner code. Send us the full code don't keep anything. On 4 August 2017 at 10:49, S Abirami wrote: > Hi , > > To be more clear > > Context context=

Re: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread Mark Thomas
On 04/08/17 10:49, S Abirami wrote: > but the method call of = Tomcat.addwebapp(contextpath,docpath); itself > triggering this exception. > So whatever I need to do before addwebapp. >From the Javadoc: This is equivalent to adding a web application to Tomcat's webapps directory. The

RE: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread S Abirami
Hi , To be more clear Context context= Tomcat.addwebapp(contextpath,docpath); JarScanner jsc = new JarScanner() { public void scan(ServletContext arg0, ClassLoader arg1, JarScannerCallback arg2, Set arg3) { // DUMMY NOTHING } }; context.setJarScanner(jsc); but the

RE: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread S Abirami
Hi I tried that also .Still it's giving the same error msg. Please help me to solve the issue. Regards, Abirami.S -Original Message- From: M. Manna [mailto:manme...@gmail.com] Sent: Friday, August 04, 2017 2:24 PM To: Tomcat Users List Subject: Re: Embedded Tomcat throws

Re: Automatically compressing localhost_access_log after rotation

2017-08-04 Thread Martin Knoblauch
On Thu, Aug 3, 2017 at 9:43 PM, Leon Rosenberg wrote: > On Thu, Aug 3, 2017 at 8:16 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > Martin, > > > > On 8/3/17 5:47 AM, Martin Knoblauch

Re: Automatically compressing localhost_access_log after rotation

2017-08-04 Thread Martin Knoblauch
On Thu, Aug 3, 2017 at 7:16 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Martin, > > On 8/3/17 5:47 AM, Martin Knoblauch wrote: > > is there a way to compress the localhost_access_log.#.txt file > > automatically after

Re: The GET request encounters 400 Bad Request from a URL with Chinese words on Tomcat 8.0.43

2017-08-04 Thread Bruce Huang
Mark Thomas 於 2017年8月1日 週二 下午7:37寫道: > On 01/08/17 03:26, Bruce Huang wrote: > > Hi all, > > > > We have placed a file named 檔名.txt into > > the \apache-tomcat-8.0.43\webapps\Apps folder. And our client app can > > retrieve the file by an HTTP GET request from the URL, for

Re: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread M. Manna
So if you don't want to scan jar, do you still need that Jar scanner in the context? All you have done in the code above, is disabled the jar scanner. Do you want to try without adding the jarscanner to the context? Or try the following: JarScanner jsc = new JarScanner() { public void

Small question on mod_jk load balancing methon "Next"

2017-08-04 Thread Martin Knoblauch
Hi, just need some clarification on the mod_jk load blanacing method "Next". The documentation states: "If method is set to N[ext] the balancer will again use the number of sessions to find the best worker. All remarks concerning the Session method apply as well. The difference to the Session

RE: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread S Abirami
Hi , It is contextPath is a String which used to mention my Webapp location. Also I don’t want to scan any jar files. I want to disable Jarscanner. Regards, Abirami.S -Original Message- From: M. Manna [mailto:manme...@gmail.com] Sent: Friday, August 04, 2017 1:26 PM To: Tomcat Users

Re: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread M. Manna
Okay, where are you getting your contextPath from? The code you posted is below: 3)Context context= Tomcat.addwebapp(contextpath,docpath); StandardJarScanner scanner=new StandardJarScanner(); scanner.setScanClassPath( false ); scanner.setScanManifest( false ); context.setJarScanner(scanner);

RE: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread S Abirami
Hi, I am trying to create EmbeddedTomcat so no context.xml created. Tomcat t=new Tomcat(); Everything through object creation. Regards, Abirami.S -Original Message- From: M. Manna [mailto:manme...@gmail.com] Sent: Friday, August 04, 2017 1:18 PM To: Tomcat Users List Subject: Re:

Re: Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread M. Manna
Hi, What is in your context.xml file? You can find it in conf directory. Regards, On 4 August 2017 at 08:43, S Abirami wrote: > Hi , > > I am using Embedded tomcat to create webapp. when I am trying to add > web app it is throwing the following exception but

Embedded Tomcat throws FileNotFoundException for TldScanner upgrade from 8.0.x to 8.0.x

2017-08-04 Thread S Abirami
Hi , I am using Embedded tomcat to create webapp. when I am trying to add web app it is throwing the following exception but Server started successfully. However,I need to eradicate this exception from the log. java.io.FileNotFoundException: /var/lib/jide-grids.jar (No such file or

Re: Tomcat 9 won't start according to Eclipse

2017-08-04 Thread Roparzh Hemon
> The key here is to double-click (not right-click) the server listed in > the server pane at the bottom center of the IDE. > Absolutely. I finally got it now, thanks for your patience - To unsubscribe, e-mail: