Hi again,

This error occurs each time when you try to get the InitialContext into
doGet/doPost method ... If is done in the init method works perfectly. Storing
this reference into a global variable brings nothing since the reference will
be invalidate within the first call doget/doPost ... Why - I know why but I
didn't find a solution based on existing documentation of the jBoss ?? (light
me up please) Do you have some ideas ??

Details: I've done some implementation which cover a huge area of
technologies, client and server technologies. The most of my implementation is
done over the jBoss platform which is pretty good. I use also the embedded
Tomcat as web engine for Servlets.  These servlets works together with the
pushlet technology. This brings some difficulties concerning the communication
between beans and client objects - pushlet keep the client connection open as
long as the client did not close its browser/current session. This type of
object could be serialize or given as arguments to a bean through its remote
interface - open connections are not serializable objects ! So I had to
implement a proxy for each kind of open connection (pushlet) and pass it to
the bean as reference to the associated open connection. In this way I can
send asynchronously at any time something to the client side. Simple until
now. I've got those exceptions because I can not make a simple lookup within
the doGet/doPost methods in one simple servlet which by the way initialize the
whole thing.





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to