[Rhm-users] RHM error running samples. javax.naming.NoInitialContextException

Andrew M andrew at oc384.net
Tue Jul 15 19:35:11 UTC 2008


Anyone know why I'm getting this?

Thanks.

 

 

[root at sukhoi java]# pwd

/usr/share/doc/rhm-0.2/java

 

[root at sukhoi java]# java -version

java version "1.6.0"

OpenJDK  Runtime Environment (build 1.6.0-b09)

OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)

 

[root at sukhoi java]# ./runSample.sh
org.apache.qpid.example.jmsexample.direct.Consumer

Using QPID_HOME: /usr/share/java/

Using QPID_SAMPLE: /usr/share/doc/rhm-0.2

Consumer: Caught an Exception: javax.naming.NoInitialContextException:
Cannot instantiate class:
org.apache.qpid.jndi.PropertiesFileInitialContextFactory [Root exception is
java.lang.ClassNotFoundException:
org.apache.qpid.jndi.PropertiesFileInitialContextFactory]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhm-users/attachments/20080715/3e262c41/attachment.htm>


More information about the Rhm-users mailing list