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
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
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
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
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)
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
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