Re: Newbie Question - Topic: Accessing Tomcat Manager

2015-01-25 Thread Konstantin Kolinko
2015-01-25 9:57 GMT+03:00 Thess Bermudez thessbermu...@gmail.com: Hi, This may sound very simple. This is surely a newbie question. I have installed Tomcat and accessed localhost:8080 and showed that installation was successful. I am exploring on the Tomcat Manager but the username and

Re: Which context.xml have higher priority?

2015-01-25 Thread Konstantin Kolinko
2015-01-25 7:39 GMT+03:00 杨华杰 yhj...@gmail.com: Now I have context.xml in three locations: A: in app: meta-info/context.xml B: in conf: context.xml C: in conf/Catalina/**.xml --- seems like no longer copied to here. If I am going to define the same resources in these context.xml, which

Re: Newbie Question - Topic: Accessing Tomcat Manager

2015-01-25 Thread André Warnier
Konstantin Kolinko wrote: 2015-01-25 9:57 GMT+03:00 Thess Bermudez thessbermu...@gmail.com: Hi, This may sound very simple. This is surely a newbie question. I have installed Tomcat and accessed localhost:8080 and showed that installation was successful. I am exploring on the Tomcat Manager

Re: JSp dynamic include in tomcat 8.0.15

2015-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Srikanth, On 1/24/15 12:03 AM, Srikanth Hugar wrote: When i include jsp:include page=/WEB-INF//countries.jsp / It does not work in tomcat 8.0.15. I think there are too many dots in there. It that just an example? What do you mean it

Re: [OT] Tomcat 8 encoding issues: unable to change the default encoding iso-8859-1 to utf-8 in http header

2015-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/24/15 7:52 AM, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, ... Morality : in web applications, always specify the content-type (and character set, if applicable)

Re: Which context.xml have higher priority?

2015-01-25 Thread Jose Monreal
Under what server.xml configuration is that true? Because when I deploy my app, tomcat uses artifactId-version as the context instead of my config in META-INF/context.xml On 25 Jan 2015 06:22, Konstantin Kolinko knst.koli...@gmail.com wrote: 2015-01-25 7:39 GMT+03:00 杨华杰 yhj...@gmail.com: Now

Re: Mod_jk Configuration

2015-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 1/23/15 7:49 PM, Chris Arnold wrote: *sigh* If you only want to proxy for one VirtualHost, then only set up JkMounts in that one VirtualHost. Like this: VirtualHost *:80 ServerName share2..xxx JkMount /* worker1 (or

Re: Mod_jk Configuration

2015-01-25 Thread Chris Arnold
If you won't re-name the web application, I think redirects will be your best bet. If a client requests http(s)://share2.domain.tld/, you should redirect them to https://share2.domain.tld/share/ and then JkMount /share/* worker1. You can redirect using RedirectPermanant or a few other things