Same .war handling more Context Path

2011-05-07 Thread GF
Hello, the only way i found to handle with a single .war more than one context path is the following in the server.xml Context docBase=myApp path=/en reloadable=true / Context docBase=myApp path=/it reloadable=true / But this cause myApp being loaded TWICE (or many times if i wish

Re: Same .war handling more Context Path

2011-05-07 Thread GF
Thank you for your answer. The problem is that the underlying technology i'm using (Struts2) doesn't make this very simple to handle in the folloowing url generation tasks. On Sat, May 7, 2011 at 2:32 PM, Ognjen Blagojevic ognjen.d.blagoje...@gmail.com wrote: GF, On 7.5.2011 10:41, GF wrote

Discover the Datasource connection pool maxSize.

2010-11-03 Thread GF
Hello. i've not access to Tomcat's server.xml where the sysadmins defined a resource: Resource driverClassName=oracle.jdbc.driver.OracleDriver maxActive=65 maxIdle=30 maxWait=5 name=myDatasource type=javax.sql.DataSource url=jdbc:. / I wish to discover from a web appplication deployed on

Re: Tutorial: Load Balancing Tomcat with Apache

2009-02-17 Thread GF
Thank You for feedback. The answers: 1) I'll add that note. You're right, It's important. 2) Usually, I keep the main ServerRoot of Apache Httpd just as a dummy website, and even if I have just one website to setup, I always create a virtual host (for example on Debian, using the symbolic linking

Tutorial: Load Balancing Tomcat with Apache

2009-02-16 Thread GF
Hello everyone I wrote a tutorial about load balancing Tomcat with Apache Proxy Module. This is the url: http://www.zulutown.com/blog/2009/02/16/java-ee-load-balancing-with-tomcat-and-apache/ Any feedback will be really appreciated. Thank You.

handle with a single .war all the request to N subdomains

2008-03-05 Thread GF
Hello, I have a web application that runs on: www.myhost.com/myapp/ I would like that the deploy a single .war can handle all the requests such as: sub1.myhost.com/myapp/ sub2.myhost.com/myapp/ sub3.myhost.com/myapp/ And of course i want to receive the parameter on which subdomains the request

Re: handle with a single .war all the request to N subdomains

2008-03-05 Thread GF
Thank you! for you quick reply! My problem is a little different, in few words, i'm still at the previous step, i'm trying to find a way to that all the requests to: *.myhost.com/myapp/ can be handled by a single war. So first of all i'm looking if Tomcat handle in someway the wildcard for

Re: secure JSessionID

2008-01-16 Thread GF
I believe if your session starts through HTTPS, the cookie will be marked as secure and it won't be sent if the user switches to non-secure HTTP. Maybe my question is stupid, but, is it possible to browse a site on HTTP and having just the JSESSIONID cookie sent on HTTPS to prevent session

secure JSessionID

2008-01-14 Thread GF
Hello, can you give me a link about setting up a secure JSessionID cookie? I mean to let it pass over HTTPS and not HTTP. Thank you. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

default 500 error page by tomcat

2007-12-27 Thread GF
Hello, when some of my Java application raises an uncatched exception, I got a error 500 page generated by Tomcat that show me exception stacktrace and things like that. I know that i can customize it setting error-page parameter in the web.xml. But I want to know where to find the source code of

Re: default 500 error page by tomcat

2007-12-27 Thread GF
Thanks. It's what I was looking for. It isn't a JSP. It is generated by an internal Tomcat component (a Valve). Where can I find its source? http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java?revision=543307view=markup HTH,

Re: Port in address to tomcat webpage?

2007-11-20 Thread GF
when you go on normal websites, you are using port 80. look for 8080 in your server.xml and change it to 80 bye On Nov 20, 2007 3:14 PM, jdpl [EMAIL PROTECTED] wrote: Hi, how come when I'm accessing a page on my local apache, i always have to put in the port number, e.g: