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();


TopicConnection connection = factory.createTopicConnection("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


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/ (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?


Reply via email to