I have modified the classpath (by modifying the build file of the QUEUE
example) to include the jar files under the following folders:
C:\Program Files\jboss-4.0.4.GA\server\default\lib
C:\Program Files\jboss-4.0.4.GA\server\messaging\lib
C:\Program Files\jboss-4.0.4.GA\client
However, the
jaikiran, thanks for your help. However, the error occurred no matter how I
set the java.naming.provider.url, even for a non-exist URL. From the error
message on the client side quoted below, the problem seems related to the
property
I followed the steps in:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JNDIoverHTTP
However, the error javax.naming.NoInitialContextException was encountered.
The error also occurred after I followed the steps in
http://docs.jboss.org/jbossas/admindevel326/html/ch3.chapter.html#ch3.accessingjndi
I encountered the error javax.naming.NoInitialContextException when running
the QUEUE example to access JNDI over HTTP. I did not change any Java codes on
the QUEUE example client, as explained at the URL below:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JNDIoverHTTP
The error also occurred
Problem description:
The javax.naming.NoInitialContextException was encountered when
running the QUEUE example with the following jndi.properties setting
java.naming.factory.initial=org.jnp.interfaces.HttpNamingContextFactory