Re: Authentication Memcached + Tomcat

2014-11-03 Thread Nilson Uehara
2014-11-02 4:34 GMT-02:00 Igor Cicimov icici...@gmail.com: On 01/11/2014 6:52 AM, Nilson Uehara nilueh...@gmail.com wrote: I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password? From what I can see here

Re: From HTTP to HTTPS request.getHeader(referer)

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 11/2/14 10:07 AM, Léa Massiot wrote: Hello Mark, Chris and Terence. Thank you for your answers. After reading them and observing a few things I realized that my problem is not exactly the one I described at first. Christopher

Re: From HTTP to HTTPS request.getHeader(referer)

2014-11-03 Thread Léa Massiot
Hi, thank you for your answer. On 2014-11-03 4:34 PM, Christopher Schultz wrote: Redirects definitely work with HTTPS. You must be doing something wrong. Perhaps a configuration mistake with a port number or something like that. My configuration in Tomcat 7.0.55 server.xml is: ( - basically

troubleshoot tomcat database connection

2014-11-03 Thread Mark Maciolek
hi, system is running Scientific Linux release 6.5 rpm installed tomcat6-servlet-2.5-api-6.0.24-78.el6_5.noarch tomcat6-javadoc-6.0.24-78.el6_5.noarch tomcat6-lib-6.0.24-78.el6_5.noarch tomcat-native-1.1.30-1.el6.x86_64 tomcat6-el-2.1-api-6.0.24-78.el6_5.noarch

Re: From HTTP to HTTPS request.getHeader(referer)

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 11/2/14 12:34 PM, Léa Massiot wrote: Hi again. It looks like sendRedirect() is working if I pass it a HTTPS URL as an argument: - String s_prov = request.getScheme() + :// +

Re: troubleshoot tomcat database connection

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/3/14 1:58 PM, Mark Maciolek wrote: system is running Scientific Linux release 6.5 rpm installed tomcat6-servlet-2.5-api-6.0.24-78.el6_5.noarch tomcat6-javadoc-6.0.24-78.el6_5.noarch tomcat6-lib-6.0.24-78.el6_5.noarch

Re: troubleshoot tomcat database connection

2014-11-03 Thread Daniel Mikusa
On Mon, Nov 3, 2014 at 1:58 PM, Mark Maciolek m...@sr.unh.edu wrote: hi, system is running Scientific Linux release 6.5 rpm installed tomcat6-servlet-2.5-api-6.0.24-78.el6_5.noarch tomcat6-javadoc-6.0.24-78.el6_5.noarch tomcat6-lib-6.0.24-78.el6_5.noarch tomcat-native-1.1.30-1.el6.x86_64

RE: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread vince.webb
On the subject of Newbie-friendly, I think Tomcat would be a whole lot more friendly if CATALINA_HOME and CATALINA_BASE were always totally separate with a minimum of overlap. Although I used Tomcat quite a lot years ago I still consider myself a Tomcat Newbie, mostly because configuration

Re: troubleshoot tomcat database connection

2014-11-03 Thread Mark Maciolek
On 11/3/2014 2:29 PM, Daniel Mikusa wrote: On Mon, Nov 3, 2014 at 1:58 PM, Mark Maciolek m...@sr.unh.edu wrote: hi, system is running Scientific Linux release 6.5 rpm installed tomcat6-servlet-2.5-api-6.0.24-78.el6_5.noarch tomcat6-javadoc-6.0.24-78.el6_5.noarch

[OT] jaxws 2.2 spec

2014-11-03 Thread Leo Donahue
I know this isn't really a Tomcat specific question, but there are alot of web service people on the list who may want to provide their two cents. http://download.oracle.com/otndocs/jcp/jaxws-2_2a-mrel4-eval-spec/ Page 10 indicates the following: In the absence of customizations, the name of an

Re: troubleshoot tomcat database connection

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/3/14 2:41 PM, Mark Maciolek wrote: On 11/3/2014 2:29 PM, Daniel Mikusa wrote: On Mon, Nov 3, 2014 at 1:58 PM, Mark Maciolek m...@sr.unh.edu wrote: hi, system is running Scientific Linux release 6.5 rpm installed

Re: troubleshoot tomcat database connection

2014-11-03 Thread Mark Maciolek
On 11/3/2014 2:52 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/3/14 2:41 PM, Mark Maciolek wrote: On 11/3/2014 2:29 PM, Daniel Mikusa wrote: On Mon, Nov 3, 2014 at 1:58 PM, Mark Maciolek m...@sr.unh.edu wrote: hi, system is running Scientific

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Neven Cvetkovic
Vince, On Mon, Nov 3, 2014 at 2:38 PM, vince.w...@thomsonreuters.com wrote: On the subject of Newbie-friendly, I think Tomcat would be a whole lot more friendly if CATALINA_HOME and CATALINA_BASE were always totally separate with a minimum of overlap. Why is that? I would argue current

Re: troubleshoot tomcat database connection

2014-11-03 Thread Daniel Mikusa
On Mon, Nov 3, 2014 at 2:52 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/3/14 2:41 PM, Mark Maciolek wrote: On 11/3/2014 2:29 PM, Daniel Mikusa wrote: On Mon, Nov 3, 2014 at 1:58 PM, Mark Maciolek

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Mark Thomas
On 03/11/2014 19:38, vince.w...@thomsonreuters.com wrote: snip/ Yes, I've read RUNNING.TXT and I'm left wondering why do I have a catalina class not found if all the tomcat jar files are in CATALINA_HOME/lib Because you are trying to configure a listener that doesn't exist in the version of

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vince, On 11/3/14 2:38 PM, vince.w...@thomsonreuters.com wrote: On the subject of Newbie-friendly, I think Tomcat would be a whole lot more friendly if CATALINA_HOME and CATALINA_BASE were always totally separate with a minimum of overlap.

RE: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread vince.webb
Neven Even Tomcat newbies have to do real work that will find its way to a real server. Either of the benefits you described as a) and b) mean CATALINA_HOME and CATALINA_BASE need to be separate on a real server. I would rather get it straight from the outset rather than mess about with a

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vince, On 11/3/14 4:12 PM, vince.w...@thomsonreuters.com wrote: Even Tomcat newbies have to do real work that will find its way to a real server. Either of the benefits you described as a) and b) mean CATALINA_HOME and CATALINA_BASE need to

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vince, On 11/3/2014 1:12 PM, vince.w...@thomsonreuters.com wrote: Neven Even Tomcat newbies have to do real work that will find its way to a real server. Either of the benefits you described as a) and b) mean CATALINA_HOME and CATALINA_BASE

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Leo Donahue
On Mon, Nov 3, 2014 at 3:33 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vince, On 11/3/14 4:12 PM, vince.w...@thomsonreuters.com wrote: How much easier it would be if the Tomcat distribution had the correct separation

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 11/3/2014 1:33 PM, Christopher Schultz wrote: Vince, On 11/3/14 4:12 PM, vince.w...@thomsonreuters.com wrote: Even Tomcat newbies have to do real work that will find its way to a real server. Either of the benefits you described as

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 11/3/14 5:05 PM, Leo Donahue wrote: On Mon, Nov 3, 2014 at 3:33 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vince, On 11/3/14 4:12 PM,

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neven and Vince, It's dead-simple to run under NetBeans. Just unzip and go - use the defaults. On 11/3/2014 12:21 PM, Neven Cvetkovic wrote: Vince, On Mon, Nov 3, 2014 at 2:38 PM, vince.w...@thomsonreuters.com wrote: On the subject of

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/3/14 5:16 PM, Mark Eggers wrote: Chris, On 11/3/2014 1:33 PM, Christopher Schultz wrote: Vince, On 11/3/14 4:12 PM, vince.w...@thomsonreuters.com wrote: Even Tomcat newbies have to do real work that will find its way to a real

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/3/14 4:59 PM, Mark Eggers wrote: 1. Set up an unaltered Tomcat in one directory 2. Create a duplicate directory structure somewhere else - to whit: CATALINA_BASE-+ +-bin +-conf +-lib +-logs +-temp +-webapps +-work You don't need

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/3/14 5:46 PM, Mark Eggers wrote: One of the issues I did run into when using tcnative-1.dll is that I got the following error message: 12.0.0.1 is not a recognized command, and Tomcat failed to start. Moving tcnative-1.dll out

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Neven Cvetkovic
Chris, Leo, Vince, On Mon, Nov 3, 2014 at 5:42 PM, Christopher Schultz ch...@christopherschultz.net wrote: So, that's not all that complicated when you think about it, but to ask someone who knows nothing about a command-line, working effectively in an operating system, etc. and only knows

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Neven Cvetkovic
Reply-to-my question: On Mon, Nov 3, 2014 at 6:42 PM, Neven Cvetkovic neven.cvetko...@gmail.com wrote: SLIGHTLY-OFFTOPIC: Although, I would love to see out-of-box setup for additional shared-lib folder, something other than TOMCAT/lib with Tomcat default libraries. Essentially, I would

Re: From HTTP to HTTPS request.getHeader(referer)

2014-11-03 Thread Terence M. Bandoian
On 11/2/2014 11:34 AM, Léa Massiot wrote: Hi again. It looks like sendRedirect() is working if I pass it a HTTPS URL as an argument: - String s_prov = request.getScheme() + :// + request.getServerName() + request.getContextPath() + / +