bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22939] naming service issue


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22939] naming service issue
Date: 16 Oct 2005 01:27:43 -0000

Hi,
   I am using class path by the fact that I am using IKVM and they use
classpath solution. I am having strange behavior when I use naming service
functionality. I am using JBoss for container service.
   I am trying to lookup by name in the naming service and it hangs at look up
call as follows,

java.util.Hashtable env = new java.util.Hashtable();
string contextFactory = "org.jnp.interfaces.NamingContextFactory";

env.put(javax.naming.Context.__Fields.INITIAL_CONTEXT_FACTORY,
  contextFactory);

string providerURL = "localhost:1099"; 

 env.put("java.naming.provider.url", providerURL);



 javax.naming.InitialContext jndiContext = new 
 javax.naming.InitialContext(env);



 Object reference  = jndiContext.lookup("Compliance/WorkflowService");

****And process hangs at this lookup call. Does anyone has any idea what is
going on? Is there any known issue with GNU Classpath using naming service?

-Raj



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22939





reply via email to

[Prev in Thread] Current Thread [Next in Thread]