Hello Guys 
There's a bizare problem with my JNDI Lookup: I create a serialized object and 
bind it to global jndi space (using a utlility program). 

In my Worker thread, all I have to do is to retrieve this Object (the name is 
obtained from the ActivationSpec) by looking up in the jndi space. 
Unfortunately when I use lookup methods, I was not getting any response. Infact 
I can't get the statement(System.out) after lookup printed out. I am able to 
see the bound Object via JNDIView and also able to retrieve using the above 
utility program. 
Code: 

Context ctx = new InitialContext();
System.out.println(" looking up");// this prints out
XX a = (XX)ctx.lookup("x/xx");
System.out.println(" ...."); // this never prints out.
        
 

I wouldn't want to think of passing Properties as the Worker thread is in the 
same address space of App Server. 

Any thoughts? Am I missing some obvious? 

Thanks 
MK

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869249#3869249

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869249


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to