Re: How to run Tomcat in Synology

2017-11-29 Thread Antonio S . Cofiño
"vanilla" package from https://tomcat.apache.org/download-80.cgi assuming that you have the right Java version in your Synology box. Saludos Antonio S. Cofiño Tarjet: My intention is install Tomcat with MariaDB and MyPhpAdmin to run my web pages with servlets and more... Thank you

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread Antonio S . Cofiño
On 23/02/17 12:43, André Warnier (tomcat) wrote: On 22.02.2017 19:22, Aaron Gray wrote: So this is interesting. So from HTTP server #1 (172.1.1.1 example) I hit: https://172.1.1.1:23270/static and I see this in the HTTP log: 172.1.1.1 - - [22/Feb/2017:10:14:48 -0800] "GET /static/ HTTP/1.1"

Re: Getting application root path before servlet is initialized?

2017-02-22 Thread Antonio S . Cofiño
Dear Martin, On 21/02/17 13:31, Martin Knoblauch wrote: Hi, is there a way to find the absolute path of the application root before the servlet is initialized? Alternatively: is there a way to defer the initialization of a datasource until the servlet is initialized? Background: I have

Re: Reading properties file in context.xml

2016-11-03 Thread Antonio S . Cofiño
also store them there, or does it make more sense to simply create a separate properties file (since they aren't related to Tomcat)? Thank you. On Wed, Nov 2, 2016 at 4:22 PM, Antonio S. Cofiño <cofi...@gmail.com> wrote: Yuval, Please take alook atthe second paragraph at Tomcat config

Re: Reading properties file in context.xml

2016-11-02 Thread Antonio S . Cofiño
Yuval, Please take alook atthe second paragraph at Tomcat config doc's: https://tomcat.apache.org/tomcat-8.0-doc/config/ |You can put your properties on the | |$CATALINA_BASE/conf/catalina.properties| and you can do the variable sustitution in yor configuration file usin ${PropertyName}