jms problem
hi ! i am trying to subscribe to topics from my java standalone client application. everything works fine if i use OpenJMS with Orion Application server. when using orion's JMS server i run into the following problem: the client successfully subscribes to the first topic, but hangs when subscribung to the second topic while calling createSubscriber in TopicSession. here is a code snippet: public OrionJMSSubscriberWrapper(Context context, TopicConnection connection, String topicName) throws JMSException, NamingException { subscriberSession = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE); topic = (Topic)context.lookup(topicName); Trace.mar(create subscriber); subscriber = subscriberSession.createSubscriber(topic, null, true); Trace.mar(created subscriber); } as i said, the first topic works fine, the second hangs at the createSubscriber line. i changed the order of the topics, it is always just one that is subscribed successfully. anyone ever had this problem? thanks for your help! markus
JMS Problem
hi, can we specify any class as a startup class in Orion the same way we can do in Weblogic. Vikas * Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. * Visit us at http://www.mahindrabt.com
RE: JMS Problem
You have to create an executable jar file and configure it in the application.xml and orion-application.xml as a client application. The executable jar will be invoked at boot time by Orion. -Original Message-From: Vikas Malhotra [mailto:[EMAIL PROTECTED]]Sent: Friday, August 10, 2001 5:24 AMTo: Orion-InterestSubject: JMS Problem hi, can we specify any class as a startup class in Orion the same way we can do in Weblogic. Vikas*DisclaimerThis message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of thismessage, or the taking of any action based on it, is strictly prohibited.*Visit us at http://www.mahindrabt.com
Re: JMS Problem
The start up class in weblogic is specific to that server. It is not part of the j2ee spec and there is no equivalent in orion. - Original Message - From: Vikas Malhotra To: Orion-Interest Sent: Friday, August 10, 2001 7:24 AM Subject: JMS Problem hi, can we specify any class as a startup class in Orion the same way we can do in Weblogic. Vikas*DisclaimerThis message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of thismessage, or the taking of any action based on it, is strictly prohibited.*Visit us at http://www.mahindrabt.com
RE: JMS Problem
Well, I can get classes to start up when Orion starts: Edit your orion-application.xml file orion-application ... client-module path=start-this-jar.jar auto-start=true user=who-should-start-it arguments argument value=argumentValue1/ /arguments /client-module /orion-application Notice the auto-start and user tags. The jar you want to start up will also need an appropriate manifest (with the Main-Class property set correctly). That should do the trick for you. And be sure to read the documentation the mailing-archives, as this topic (like most) has been discussed resolved before. -jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Pouyer Sent: Friday, August 10, 2001 1:27 PM To: Orion-Interest Subject: Re: JMS Problem The start up class in weblogic is specific to that server. It is not part of the j2ee spec and there is no equivalent in orion. - Original Message - From: Vikas Malhotra To: Orion-Interest Sent: Friday, August 10, 2001 7:24 AM Subject: JMS Problem hi, can we specify any class as a startup class in Orion the same way we can do in Weblogic. Vikas * Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. * Visit us at http://www.mahindrabt.com
JMS Problem
Title: RE: Orion performance meassures ? Hi I am new to JMS development, I wrote a sample application through which I want to access the messages stored in the orion server. When I ran the application seperatly from outside orion environment I am getting the following error java.lang.NullPointerException at java.io.DataOutputStream.writeUTF(Unknown Source) at java.io.DataOutputStream.writeUTF(Unknown Source) at com.evermind.server.jms.ck.init(JAX) at com.evermind.server.jms.EvermindQueueConnection.start(JAX) at JMSTest.main(JMSTest.java:21) The line at 21 is connection.start(); If I setup my program as a client module in orion it works fine. My jndi.properites are like the following java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactoryjava.naming.provider.url=ormi://localhost/PrismAppjava.naming.security.principal=adminjava.naming.security.credentials=admin Please can any one tell me where I am wrong. Thanks in advance. Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] http://www.voquette.com Voquette...Delivering Sound Information
Please help with JNDI-JMS problem
Please help me: An application client I deployed on 1.4.4 finds references for my remote ejb's, but it does not get a reference to the remote TopicConnectionFactory. Run locally works fine. Thanks in advance, Werner Bohl Organization for Tropical Studies Costa Rica
JMS Problem: TemporaryTopic / TopicRequestor
Hello, I have problem (probably one that I am causing myself.) with JMS and Orion 1.0. I have successfully created a Topic that I can publish and subscribe to messages without problem. For some of the messages I would like the subscribers to reply to a temporary topic. To do this I attempted to a TopicRequestor, however when I attempt to create the TopicRequestor I receive a JMSException of "Invalid topic". Since the TopicRequestor did not funtion as expected initially I decided to take a look at the TopicRequestor class and see where the exception occurs. Below is the code a code snippet from the constructor of TopicRequestor: tempTopic = session.createTemporaryTopic(); subscriber = session.createSubscriber(tempTopic); The exception occurs when executing the createSubscriber method. The exact exception is "InvalidDestinationException: Invalid Topic". I have checked to make sure the value of tempTopic is not null, so something is being created in the createTemporaryTopic method. Has anyone else experienced something like this, or does anyone have an idea of what I've done wrong? Thanks, Jon...