The codes are following:
Hashtable prop = new Hashtable();
prop.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
prop.put("java.naming.factory.url","zhonqing:1099");
prop.put("java.naming.rmi.security.manager", "no");
prop.put(Context.URL_PKG_PREFIXES, "org.jboss.naming");
jndiContext = new InitialContext(prop);
topicConnectionFactory = (TopicConnectionFactory)
jndiContext.lookup("UILTopicConnectionFactory");
The error occurs when excuting last code.and I have change any configue file in the server.
I really appreciate that who give me help!!
need stack trace.