Re: Hide JSP name using web.xml

2010-03-31 Thread 2smart4u
hm, might be a bit of typo-work, but why not specify them in your deployment-descriptor (aka web.xml)? example (snippet): SomeName MyServlet /WEB-INF/yourJSPFile.jsp MyServlet

Re: DB connection error -Tomcat 6 config

2010-03-19 Thread 2smart4u
just a quick thought: have you tried installing Tomcat into a directory where it's name is *not* containing any spaces? cheers gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.df

Re: Always load balance to same box with different tomcat contexts

2010-03-19 Thread 2smart4u
Guys, On Fri, Mar 19, 2010 at 5:12 PM, Mark Thomas wrote: > On 19/03/2010 12:16, 2smart4u wrote: > > As per the thread title the OP wanted to: > "Always load balance to same box with different tomcat contexts" > I understood it that way that he always wanted to loadbal

Re: Always load balance to same box with different tomcat contexts

2010-03-19 Thread 2smart4u
t hosts - or am I wrong here? > As an aside, have you considered using a less arrogant e-mail address? First off, I don't see the email-adress as arrogent (since it's rc46fi). However, I'm owning a domain 2smart4u, and since I stopped using my real name in public emails (than

Re: Always load balance to same box with different tomcat contexts

2010-03-19 Thread 2smart4u
On Fri, Mar 19, 2010 at 11:54 AM, Mark Thomas wrote: > >> 2) There is cookie in browser - it will loadbalance to engine which >> already >> has session - since cookie has no context path > > Correct. > Mark, I think you might be missing something here. If I got the OP correct, it's not only abou

Re: Always load balance to same box with different tomcat contexts

2010-03-19 Thread 2smart4u
On Fri, Mar 19, 2010 at 11:05 AM, Andrey Ilyin wrote: > > > Does this mean that session/servletContext is shared between contexts? E.g. > if I have some attribute in session/application contexts in webapp1 would it > be accesible in webapp2? > when the context is dropped from a Cookie-path, the c

Re: DB connection error -Tomcat 6 config

2010-03-18 Thread 2smart4u
One more word: The config I posted refers to 2.4 xsd, so put this at the beginning of your deployment-descriptor: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_

Re: DB connection error -Tomcat 6 config

2010-03-18 Thread 2smart4u
Resource-Ref is definately 2.3-standard. Here's a configuration we're running in production. Adapt it to your needs, should work with TC 5.5 and 6.x: META-INF/context.xml: You don't habe to specify the DS in your deployment-descriptor (web.xml) at all. Within your servlet / jsp, your get

Re: Always load balance to same box with different tomcat contexts

2010-03-18 Thread 2smart4u
>From the docs: = [cut] = If set to true, all paths for session cookies will be set to /. This can be useful for portlet specification implementations. If not specified, this attribute is set to false. = [cut] = More or less, it drops the context from the Cookie-path, meaning the cookie is vali

Re: mod_jk - apache to tomcat using SSL

2010-03-18 Thread 2smart4u
On Tue, Mar 16, 2010 at 9:53 PM, Campbell, Lance wrote: > I have a web server and an application server.  I use mod_jk to > communicate between apache2.0 and tomcat 6.  I don't believe the > communication between apache and tomcat is secured by default.  Is there > a way to have it send the inform

Re: Unable to compile APR (tomcat-native-1.1.20) on Debian Lenny

2010-03-16 Thread 2smart4u
On Tue, Mar 16, 2010 at 8:07 PM, Mladen Turk wrote: > > And we were all sick of worrying what's going on with you ;) > I absolutely believe that ;) well, my junior is keeping me busy, that means less time for browsing the list, but I'll promise to show up a bit more often. > > Seems to me like

Re: Unable to compile APR (tomcat-native-1.1.20) on Debian Lenny

2010-03-16 Thread 2smart4u
Mabye a little piece of infor which might be helpful: excerpt from config.log (not working): configure:3402: i486-linux-gnu-gcc --version >&5 ./configure: line 3404: i486-linux-gnu-gcc: command not found in config.log (working) the output is configure:2737: i486-linux-gnu-gcc --version &5 i486-

Unable to compile APR (tomcat-native-1.1.20) on Debian Lenny

2010-03-16 Thread 2smart4u
Hi guys, long time no see ;) I hope somebody can shed some light here since meanwhile I'm running out of ideas: I set up a Vanilla Debian Lenny and downloaded the latest Tomcat 6.0.26 from tomcat.apache.org. I've also installed libapr1, libapr1-dev, openssl and libssl-dev I untared tomcat-nati