Re: SSL Configuration with in Tomcat

2013-10-03 Thread Shyam Kumar
I am not sure which is the port ,I got the port (18443) from tomcat default SSL configuration that was commented in the server.xml but in my windows I used 443 port and it worked well. Thanks, ***Shyam*** From: "Caldarale, Charles R" To: Tomcat Users List Se

RE: SSL Configuration with in Tomcat

2013-10-03 Thread Caldarale, Charles R
> From: Shyam Kumar [mailto:shyamkuma...@ymail.com] > Subject: Re: SSL Configuration with in Tomcat > I moved it to my production server(Linux).But I configured it to use SSL port > 8443, But when I try calling url from browser (https://www.cogbooks.com) You need to include the port you configu

Re: SSL Configuration with in Tomcat

2013-10-03 Thread Shyam Kumar
Hi, I moved it to my production server(Linux).But I configured it to use SSL port 8443, But when I try calling url from browser (https://www.cogbooks.com) I get page not available error.Please see my below configuration             Please help me to resolve this Thanks, Shyam

Re: Getting error 403 forbidden while using HTTP PUT method

2013-10-03 Thread Konstantin Kolinko
2013/10/3 Arnab Majumder : > Hi , > > I am using Apache Tomcat 8.0.0-RC3 Server and spring dispatcher servlet . I > am getting 403 forbidden while using HTTP PUT method but HTTPGET method is > working properly. I am trying to solve this with security constraint but it > is giving me 409 conflict

Re: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread André Warnier
Steve Arch (sarch) wrote: I've found a bit more explanation. You are indeed correct - AWS has their own custom tomcat startup scripts that override the default tomcat startup scripts to handle the quotes. The yum update reverts to the default tomcat scripts and introduces the ambiguity. Thank

Re: Getting error 403 forbidden while using HTTP PUT method

2013-10-03 Thread André Warnier
Arnab Majumder wrote: Hi , I am using Apache Tomcat 8.0.0-RC3 Server and spring dispatcher servlet . I am getting 403 forbidden while using HTTP PUT method but HTTPGET method is working properly. I am trying to solve this with security constraint but it is giving me 409 conflict error because I

RE: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Steve Arch (sarch)
I meant to. For some reason when I hit 'reply' it replied to only you rather than the whole mailing list as it had previously done. Apologies. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, October 03, 2013 6:00 PM To: Steve Arch (sarch

Re: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Steve, Please post-back to the list instead of individual members of the community. The Tomcat users' list isn't a place to get hooked-up with people who can help you... it's to get help from the community. By replying to me privately you are 1) rob

Re: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Steve, (Bringing your reply back on-list.) On 10/3/13 11:40 AM, Steve Arch (sarch) wrote: > I trimmed the running process line to strip out our private stuff > (like our AWS keys!) and must have snipped out the logging > parameters too. As I said,

RE: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Steve Arch (sarch)
I've found a bit more explanation. You are indeed correct - AWS has their own custom tomcat startup scripts that override the default tomcat startup scripts to handle the quotes. The yum update reverts to the default tomcat scripts and introduces the ambiguity. Thanks for the help. Steve

Re: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Steve, On 10/3/13 11:12 AM, Steve Arch (sarch) wrote: >>> AWS's tools pass the values to tomcat. > >> This is not an adequate description. Tomcat must be launched by >> some mechanism, such as the java executable, JSVC service >> wrapper, class lo

Re: Getting error 403 forbidden while using HTTP PUT method

2013-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arnab, On 10/3/13 9:46 AM, Arnab Majumder wrote: > I am using Apache Tomcat 8.0.0-RC3 Server and spring dispatcher > servlet . I am getting 403 forbidden while using HTTP PUT method > but HTTPGET method is working properly. I am trying to solve thi

RE: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Steve Arch (sarch)
>> AWS's tools pass the values to tomcat. >This is not an adequate description. Tomcat must be launched by some >mechanism, such as the java executable, JSVC service wrapper, class loading >from some already >running Java application, etc. What's being used here? OK, in this case 'magic' is b

RE: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Caldarale, Charles R
> From: Steve Arch (sarch) [mailto:sa...@cisco.com] > Subject: RE: Different handling of -Dfoo="bar" between versions > AWS's tools pass the values to tomcat. This is not an adequate description. Tomcat must be launched by some mechanism, such as the java executable, JSVC service wrapper, clas

RE: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Steve Arch (sarch)
AWS's tools pass the values to tomcat. I supply a set of key:value pairs and AWS (ElasticBeanstalk) passes them to tomcat via the command line. I can find out how they are set with ps and it shows that they are getting passed as: -Dfoo="bar" The System.getProperty call was just to demonstrate

RE: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Caldarale, Charles R
> From: Steve Arch (sarch) [mailto:sa...@cisco.com] > Subject: Different handling of -Dfoo="bar" between versions > I've noticed the following disparity between using two different > versions of Tomcat when setting system properties using -D. On the face of it, this is not related to Tomcat. >

RE: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Steve Arch (sarch)
OK, thanks. Bug has been raised with AWS: https://forums.aws.amazon.com/message.jspa?messageID=492286#492286 -Original Message- From: Mikolaj Rydzewski [mailto:m...@ceti.pl] Sent: Thursday, October 03, 2013 3:29 PM To: Tomcat Users List Subject: Re: Different handling of -Dfoo="bar" betw

Re: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Mikolaj Rydzewski
On 03.10.2013 16:21, Steve Arch (sarch) wrote: If I pass in -Dfoo="bar" into Tomcat, and then look up the value of I believe, that one has to use quotes in command line parameters to surround whole parameter, not only its part. Thus following are correct: "-Dfoo=bar" "-Dfoo=bar bar" while

Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Steve Arch (sarch)
I've noticed the following disparity between using two different versions of Tomcat when setting system properties using -D. If I pass in -Dfoo="bar" into Tomcat, and then look up the value of the 'foo' system property, I get different results depending on which version of Tomcat I use. Tomcat 7

Getting error 403 forbidden while using HTTP PUT method

2013-10-03 Thread Arnab Majumder
Hi , I am using Apache Tomcat 8.0.0-RC3 Server and spring dispatcher servlet . I am getting 403 forbidden while using HTTP PUT method but HTTPGET method is working properly. I am trying to solve this with security constraint but it is giving me 409 conflict error because I am using spring dispa

Re: Session does not get invalidated when sessionCookiePath is set to "/"

2013-10-03 Thread Stefan Haberl
Hi Christopher, I've deployed the test app on one of my test boxes (sorry, no DNS - only IP-Address): http://178.238.228.136:8080/TestServlet Dump of TestServlet.java: import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotati

Re: SSL Configuration with in Tomcat

2013-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shyam, On 10/3/13 12:09 AM, Shyam Kumar wrote: > Hi, > > Finally I got it worked in my tomcat5. I removed element > and configured keystorefile and keystorepass in > element. Then It worked for me If you really are a beginner and staring fresh,

Re: Session does not get invalidated when sessionCookiePath is set to "/"

2013-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stefan, On 10/3/13 5:40 AM, Stefan Haberl wrote: > I've created a minimal test case to isolate the problem. The > TestServlet is not doing much but invalidating sessions, generating > new ones and checking if the new one gets a different ID than th

Re: SSL Configuration with in Tomcat

2013-10-03 Thread MiB
3 okt 2013 06.09 Shyam Kumar: > Hi, > > Finally I got it worked in my tomcat5. > I removed element and configured keystorefile and keystorepass in > element. > Then It worked for me > > Thanks for your help > > *Shyam* Thanks Shyam for sharing your solution.

Re: Session does not get invalidated when sessionCookiePath is set to "/"

2013-10-03 Thread Stefan Haberl
Hi all, I've created a minimal test case to isolate the problem. The TestServlet is not doing much but invalidating sessions, generating new ones and checking if the new one gets a different ID than the old one (see attached WAR). IMHO I think this could be a Tomcat bug? Steps to reproduce the