Title: RE: Demo JMSChat doesn´t work with Orion 1.4.8

Try to debug till what line it goes.  Print out the factory, connection and Topic at each step after you get from the lookup.  See till what line it goes.  Do you have jndi.properties in your classpath?

Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information


-----Original Message-----
From: Kutzera, Dieter-Norbert
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 2:32 AM
To: Orion-Interest
Subject: RE: Demo JMSChat doesn´t work with Orion 1.4.8


Hi,

thank you for the answer. Now it works, but only on windows. I want to use
orion on linux as well.

When I start the demo on linux I don´t get an error message, but nothing
happens the program hangs. I´am using SuSE Linux 7.0 and jdk 1.3 from Sun.

Can anybody help me.

-----Original Message-----
From: Kesav Kumar [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 15. Mai 2001 06:26
To: Orion-Interest
Subject: Re: Demo JMSChat doesn´t work with Orion 1.4.8


In 1.4.8 onwards you have to supply username/password while creating
connection from connectionfactory.

Modify the line

TopicConnection connection = factory.createTopicConnection();

with

TopicConnection connection = factory.createTopicConnection("admin",
"admin");



----- Original Message -----
From: "Dieter Kutzera" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Monday, May 14, 2001 12:44 PM
Subject: Demo JMSChat doesn´t work with Orion 1.4.8


Hi,

last week I´ve updated from version 1.47 to 1.4.8. Now I´ve problems with
jms. When I start the jms demo JMSChat with

java -Djava.naming.security.credentials=<admin password> -jar jmschat.jar

I get the following error

Exception in thread "main" java.lang.SecurityException: Invalid
username/password for localhost/127.0.0.1:9127 (Login failed)
        at java.lang.Throwable.<init>(Throwable.java:96)
        at java.lang.Exception.<init>(Exception.java:44)
        at java.lang.RuntimeException.<init>(RuntimeException.java:49)
        at java.lang.SecurityException.<init>(SecurityException.java:41)
        at com.evermind._kfb.<init>(Unknown Source)
        at com.evermind._mkb._me(Unknown Source)
        at com.evermind._mkb.start(Unknown Source)
        at JMSChat.run(JMSChat.java:61)
        at JMSChat.main(JMSChat.java:29)

But password and username are correct and the demo worked fine with Orion
1.4.7 and the same configuration.

Is this a bug in version 1.4.8? Whats going wrong?

Dieter

Reply via email to