[Rhm-users] RE: [Rhemrg-users-list] RHM error running samples. javax.naming.NoInitialContextException

Andrew M andrew at oc384.net
Tue Jul 15 20:01:13 UTC 2008


I just needed this:

 

yum --nogpgcheck install qpid-java-client-0.2-12.noarch.rpm    

yum --nogpgcheck install qpid-java-common-0.2-12.noarch.rpm

 

seems ok now.

 

From: rhemrg-users-list-bounces at redhat.com
[mailto:rhemrg-users-list-bounces at redhat.com] On Behalf Of Andrew M
Sent: Tuesday, July 15, 2008 2:35 PM
To: rhemrg-users-list at redhat.com; rhm-users at redhat.com
Subject: [Rhemrg-users-list] RHM error running samples.
javax.naming.NoInitialContextException

 

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/91fe8b60/attachment.htm>


More information about the Rhm-users mailing list