Re: Question about HttpSessionBindingListener and getAttribute in valueBound()

2011-04-12 Thread Thomas Chabaud
I found the answer in the servlet specification : SRV.7.4Binding Attributes into a Session "The valueBound method must be called before the object is made available via the getAttribute method of the HttpSession interface." Sorry for the noise :-\ Le 12/04/2011 11:05, Thomas Chaba

Question about HttpSessionBindingListener and getAttribute in valueBound()

2011-04-12 Thread Thomas Chabaud
Hi, I have problem with Tomcat 6.0 StandardSession implementation. We have an application who calls setAttribute("myAttr", myValue), and try to get this attribute in a method launched in valueBound(), but only gets null value. According to source code, the setAttribute() method calls valueBound

Re: RMI reaper thread prevents JVM from exiting

2010-01-26 Thread Thomas Chabaud
Le 25/01/2010 20:53, Christopher Schultz a écrit : You've reached way beyond my understanding of RMI at this point. Is it possible that, like JNDI, you might have trees of objects instead of just a flat list? In that case, you'd have to recursively unexport/unbind objects to make sure you got eve

Re: RMI reaper thread prevents JVM from exiting

2010-01-24 Thread Thomas Chabaud
Le 22/01/2010 18:13, Christopher Schultz wrote : This thread over on the Sun forums (http://forums.sun.com/thread.jspa?threadID=169975) says that you can either unexport all your objects or call System.exit(). :( Are there some objects that you may have forgotten to unexport? I don't think so

Re: RMI reaper thread prevents JVM from exiting

2010-01-24 Thread Thomas Chabaud
Hi, and thanks for your answer. I've tried to call the setDaemon(true), but I get the following exception : java.lang.IllegalThreadStateException at java.lang.Thread.setDaemon(Thread.java:1232) at TestServletContextListener.contextDestroyed(TestServletContextListener.java:45)

RMI reaper thread prevents JVM from exiting

2010-01-22 Thread Thomas Chabaud
Hi, I have a problem with a webapp using RMI. When I try to shutdown Tomcat instance, the JVM doesn't exit. I have called jstack to see the thread dump : http://pastebin.com/fa55647 There is a non-daemon thread : "RMI Reaper". I've tried to add a servlet context listener to force RMI Object u

Re: APR Native library on tomcat 6

2009-06-19 Thread Thomas Chabaud
lmk a écrit : Hi all, I have installed apr native library, open ssl; using :./configure: ./configure --with-apr=/usr/local/apr --with-java-home=/usr/java/jdk1.5.0_11 --with-ssl=/usr/local/ssl --prefix=/usr/tomcat/apache-tomcat-6.0.18 I added to catalina_opts java.library definition: expo