Re: Manipulate other session

2009-07-14 Thread Yves Glodt
2009/7/13 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Daniel, > > On 7/13/2009 12:16 PM, Daniel Henrique Alves Lima wrote: >>       I don't know if you can/should change other HttpSession directly. > > You might be able to on an older servlet container, but this port

Re: Manipulate other session

2009-07-13 Thread Yves Glodt
t line, an exception without a message... 2009/7/13 Yves Glodt : > Thanks for telling. I found another way (deprecated) in the mean time: > > http://javasolution.blogspot.com/2007/08/getting-session-object-using-session-id.html > > 2009/7/13 Mikolaj Rydzewski : >> Yves Glodt w

Re: Manipulate other session

2009-07-13 Thread Yves Glodt
Thanks for telling. I found another way (deprecated) in the mean time: http://javasolution.blogspot.com/2007/08/getting-session-object-using-session-id.html 2009/7/13 Mikolaj Rydzewski : > Yves Glodt wrote: >> >> is it possible to "open" a different HttpSession than my

Manipulate other session

2009-07-13 Thread Yves Glodt
Hello, is it possible to "open" a different HttpSession than my "own" (if it's session-id is known), and set an attribute in that session? Best regards, Yves - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addi

Re: Session replication using only PersistenceManager + JDBCStore

2009-07-12 Thread Yves Glodt
Thanks for your detailed answer, I will probably go with in-memory replication. Regading your last question, I have one database instance sitting on top of a 2 node DRBD. 2009/6/17 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yves, > > On 6/17/

Re: jsp:forward adds params to query-string

2009-07-09 Thread Yves Glodt
Thanks Bill for clarifying 2009/7/8 Bill Barker : > > "Yves Glodt" wrote in message > news:abd6c6120907070628v26c8b1d3jbd7e31708e30d...@mail.gmail.com... >> Hi, >> >> I have a simple jsp-page whose only purpose is to jsp:forward to my >> main con

jsp:forward adds params to query-string

2009-07-07 Thread Yves Glodt
Hi, I have a simple jsp-page whose only purpose is to jsp:forward to my main controller-servlet, here it is: <%@ page session="true" %> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> The problem I have is that the request comes as POST to the servlet, b

Re: Where does System.out.println go by default

2009-07-07 Thread Yves Glodt
Thanks for all your suggestions The startup-script seems to have done some magic, the log ended up in /var/log/daemon.log 2009/7/7 André Warnier : > Serge Fonville wrote: >>> >>> The taglib works fine. It logs some >>> messages to System.out, but I can not find them... Could it be that >>> tom

Where does System.out.println go by default

2009-07-07 Thread Yves Glodt
Hi, I have a tag-library in WEB-INF/lib which I use from inside OpenCms. The taglib works fine. It logs some messages to System.out, but I can not find them... Could it be that tomcat (5.5 on debian lenny) swallows this kind of logging by default? I am aware that this kind of logging is *bad*, b

Session replication using only PersistenceManager + JDBCStore

2009-06-17 Thread Yves Glodt
Hello, I am currently trying to set up session replication, and reading this document [1], but a few questions remain. In my setup are 4 apaches with mod_proxy which connect to 4 tomcats. In front of the apaches is a hardware balancer which does round-robin, but with a kind of sticky TCP-sessions

Re: customer specific settings of webapps

2008-08-18 Thread Yves Glodt
On Monday 18 August 2008, Paul Hammes wrote: > Hi all, Hi, > I have a webapplication wich is distributed in one war for different > customers. Unfortunately there are customer specific settings I > normally would like to define in the enclosed web.xml. Because this > would lead to, that I have to

Re: Method or function to be executed on tomcat startup

2008-07-19 Thread Yves Glodt
On Friday 18 July 2008, Mikolaj Rydzewski wrote: > Edoardo Panfili wrote: > > "xx.ServerInit" is a regular servlet the code is in > > init(ServletConfig config) method > > Use of ServletContextListener is preferred. That worked very well, thanks for the hint. Helpful article: http://www.stardevel

Method or function to be executed on tomcat startup

2008-07-18 Thread Yves Glodt
Hello, this is probably a FAQ, but I failed to find ti anyway... Where can I declare a static method that I want to be executed on tomcat or webapp startup? I have a properties file which I would like to read into a Map on startup, and have this Map available throughout my servlets and jsps.

Re: Multiple development sites using different ports

2008-06-27 Thread Yves Glodt
Hello, yesterday I set up exactly what you need You need to set up 2 "services", and inside define your hosts and connectors. So here my server.xml: This makes you 2 tomcats, one on loaclhost:8180 and the other on loaclhost:8181, wit

Re: Help replacing mod_jserv with mod_jk

2008-06-18 Thread Yves Glodt
On Tuesday 17 June 2008, Sean Carolan wrote: > Hello Tomcat users: > > I need some help replacing the functionality of mod_jserv with mod_jk. Hello Sean, if you have to go through this, I suggest you to take a look at mod_proxy_ajp of apache 2.2. It can itself replace mod_jk, and in my project (

Re: Run several applications on different ports, isolated from each other

2008-06-13 Thread Yves Glodt
) On Tuesday 10 June 2008, Christopher Schultz wrote: > Yves, > > Yves Glodt wrote: > | I need to run now another application on tomcat, and what I think to > > do is to > > | have another "instance" of tomcat running on another port, isolated > > from my > &

Run several applications on different ports, isolated from each other

2008-06-09 Thread Yves Glodt
Hello, I use tomcat 5.5 on debian etch, for running OpemCms, which is set up to run in the ROOT webapp. I need to run now another application on tomcat, and what I think to do is to have another "instance" of tomcat running on another port, isolated from my OpenCms, with a different webapps fo