Re: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Lilianne E. Blaze
Hello, Is there any particular reason you can't just use ServletContext Attribute instead of a static singleton? Greetings, Lilianne E. Blaze ktou Ho wrote: Hi, I am using Tomcat 6.0.16 with JDK 1.6. I created a web application and deployed it as ROOT. (I removed the default ROOT which

Re: Configuring one webapp in 2 instances, system properties

2008-06-02 Thread Lilianne E. Blaze
You'll need something like that: In Tomcat's: value="jdbc:mysql://127.0.0.1:3306/shproduction" type="java.lang.String" override="false"/> In Spring config: Greetings, Lilianne E. Blaze Bas Schulte wrote: Hi, I'd like to deploy

Re: Using RequestDispatcher.include() outside of Request/Response cycle.

2007-10-09 Thread Lilianne E. Blaze
start / stop. Don't ask :/ It was on Tomcat 4.0, but I believe there's nothing in the specs that prohibit such (ab)use, so it should work with any servlet container. Greetings, Lilianne E. Blaze Andrei Tchijov wrote: > Hi, > I have a valve which detects some events in life

Re: How do you access all sessions from a servlet in tomcat 6.0?

2007-09-18 Thread Lilianne E. Blaze
t wasteful. Greetings, Lilianne E. Blaze [EMAIL PROTECTED] wrote: > We have tomcat configured to allow users sessions to stay alive for 12 > hours. This is because this is how they like to work, login once at the > start of the day and shutdown at the end of the day. > > I have a n

Re: how to obtain server ip address

2007-09-17 Thread Lilianne E. Blaze
ialization. Greetings, Lilianne E. Blaze Waseem Azhar wrote: > Hi, > > How do I obtain the IP address of the machine (where the tomcat tomcat > server in running) ? My web app is deployed on tomcat server and I want to > know the Ip address of the server in my application. > >

Re: the tomcat welcome file one struts action

2007-09-09 Thread Lilianne E. Blaze
Try creating an empty file named "Index.do" in "/". Greetings, Lilianne E. Blaze Miren Urkixo wrote: > Hello > I am trying to make one web aplication using struts into one tomcat > 5.0.XX > In my web.xml file i writte whic is my welcome file, one struts ac