RE: please tell me : does JMS work at all ?
Hi Edo, In that case, i'd suggest you run the original "jmschat.jar" and follow the instructions in "jmsdemo-readme.txt". Run the client twice. It works fine at my end. Maybe you can try to run this with the original configuration files too. Regards, Pei Yen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Edoardo Comar Sent: 23 February 2001 17:42 To: Orion-Interest Subject: RE: please tell me : does JMS work at all ? Thank you, Pey Yen. I don't understand how it can work for you, especially without editing jms.xml. I can avoid creating new connection factories, but I can't avoid declaring my destinations !!! If I do NOT edit jms.xml , I get Error looking up objects: Error reading application-client descriptor: No location set for Topic resource jms/theTopic If I add a location=jms/theTopic attribute to orion-application-client.xml I get : Error looking up objects: Error reading application-client descriptor: Error creating context: jms/theTopic not found regardless of the location attribute, if I add the jms/theTopic to jms.xml, then the lookup works (as expected) but I get : Exception in thread "main" java.lang.NullPointerException at java.io.DataOutputStream.writeUTF(DataOutputStream.java:329) at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306) at com.evermind.server.jms.ck.(JAX) at com.evermind.server.jms.b9.start(JAX) at JMSChat.run(JMSChat.java:61) at JMSChat.main(JMSChat.java:29) So I maintain tha JMS does not work at all. I have tried to use weblogic and my jms code works like a breeze. cheers Edo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Chia, Pei Yen > Sent: 23 February 2001 03:28 > To: Orion-Interest > Subject: RE: please tell me : does JMS work at all ? > > > Hi, > > The chat example works. You have to activate the JMS service in > /config/server.xml file (uncomment ). > > Don't modify anything from the original jms.xml. Then do the steps as > documented at "jmsdemo-readme.txt". It should be able to work. > > I encountered the same problem at connection.start() when i tried to > include > > location="jms/theTopicConnectionFactory" port="9127" /> > at my jms.xml file. > > I believe the chat example makes reference to the jndi.properties file. > > I hope this helps. > > I'm still trying to figure out why connection.start() fails as > i'm trying > to write a MEssageDrivenBean that needs to register the TopicFactory and > Topic for other clients to subscribe to. Still not successful yet. Any > pointers, anybody? > > Pei Yen > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Edoardo Comar > Sent: 23 February 2001 02:47 > To: Orion-Interest > Subject: please tell me : does JMS work at all ? > > > Please, can anyone confirm that (as of 1.4.7) JMS does not work at all ? > > See my previous messages for details ... basically a connection.start() > throws an NPE > and a send doesn't work if the connection is not started (contrary to the > spec which requires start() to be called for message delivery). > > Edo > > > > > >
RE: please tell me : does JMS work at all ?
Thank you, Pey Yen. I don't understand how it can work for you, especially without editing jms.xml. I can avoid creating new connection factories, but I can't avoid declaring my destinations !!! If I do NOT edit jms.xml , I get Error looking up objects: Error reading application-client descriptor: No location set for Topic resource jms/theTopic If I add a location=jms/theTopic attribute to orion-application-client.xml I get : Error looking up objects: Error reading application-client descriptor: Error creating context: jms/theTopic not found regardless of the location attribute, if I add the jms/theTopic to jms.xml, then the lookup works (as expected) but I get : Exception in thread "main" java.lang.NullPointerException at java.io.DataOutputStream.writeUTF(DataOutputStream.java:329) at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306) at com.evermind.server.jms.ck.(JAX) at com.evermind.server.jms.b9.start(JAX) at JMSChat.run(JMSChat.java:61) at JMSChat.main(JMSChat.java:29) So I maintain tha JMS does not work at all. I have tried to use weblogic and my jms code works like a breeze. cheers Edo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Chia, Pei Yen > Sent: 23 February 2001 03:28 > To: Orion-Interest > Subject: RE: please tell me : does JMS work at all ? > > > Hi, > > The chat example works. You have to activate the JMS service in > /config/server.xml file (uncomment ). > > Don't modify anything from the original jms.xml. Then do the steps as > documented at "jmsdemo-readme.txt". It should be able to work. > > I encountered the same problem at connection.start() when i tried to > include > > location="jms/theTopicConnectionFactory" port="9127" /> > at my jms.xml file. > > I believe the chat example makes reference to the jndi.properties file. > > I hope this helps. > > I'm still trying to figure out why connection.start() fails as > i'm trying > to write a MEssageDrivenBean that needs to register the TopicFactory and > Topic for other clients to subscribe to. Still not successful yet. Any > pointers, anybody? > > Pei Yen > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Edoardo Comar > Sent: 23 February 2001 02:47 > To: Orion-Interest > Subject: please tell me : does JMS work at all ? > > > Please, can anyone confirm that (as of 1.4.7) JMS does not work at all ? > > See my previous messages for details ... basically a connection.start() > throws an NPE > and a send doesn't work if the connection is not started (contrary to the > spec which requires start() to be called for message delivery). > > Edo > > > > > >
RE: please tell me : does JMS work at all ?
Hi, The chat example works. You have to activate the JMS service in /config/server.xml file (uncomment ). Don't modify anything from the original jms.xml. Then do the steps as documented at "jmsdemo-readme.txt". It should be able to work. I encountered the same problem at connection.start() when i tried to include location="jms/theTopicConnectionFactory" port="9127" /> at my jms.xml file. I believe the chat example makes reference to the jndi.properties file. I hope this helps. I'm still trying to figure out why connection.start() fails as i'm trying to write a MEssageDrivenBean that needs to register the TopicFactory and Topic for other clients to subscribe to. Still not successful yet. Any pointers, anybody? Pei Yen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Edoardo Comar Sent: 23 February 2001 02:47 To: Orion-Interest Subject: please tell me : does JMS work at all ? Please, can anyone confirm that (as of 1.4.7) JMS does not work at all ? See my previous messages for details ... basically a connection.start() throws an NPE and a send doesn't work if the connection is not started (contrary to the spec which requires start() to be called for message delivery). Edo