Re: help

"Govinda Rao Deyyam" <[email protected]> Fri, 23 Feb 2007 09:50:48 +0530
Newsgroups gmane.comp.java.openjms.user
Message-ID <CAE7CE4D34AA7848816555DF1ED16D270229BEB6@MYSHECMSG01.ad.infosys.com>
Thanks a lot Tim.



________________________________

From: openjms-user-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:openjms-user-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Tim
Anderson
Sent: Friday, February 23, 2007 4:09 AM
To: [email protected]
Subject: Re: [openjms-user] help



Govinda Rao Deyyam wrote:

Hi Tim,



Many Thanks...its working now.



I have added connection.start() method and it is working now.



But still I am not clear on below questions

How is the code working for 'message sending' with out this statement
(connection.start()) ?

	Why do we need to invoke start() method on the connection for
receiving only?

See the javadoc for  javax.jms.Connection:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Connection.html
"When a connection is created, it is in stopped mode. That means that no
messages are being delivered."
"A message producer can send messages while a connection is stopped.




Why doesn't it require in case of earlier versions (in version 0.7.5),
as I stated in my earlier mail my code is working without
connection.start() statement for version 7.5, why?

Not sure. I don't recall that being a bug in 0.7.5.





I would appreciate if you could provide answers for the above questions.



Thanks

Govind



________________________________

From: openjms-user-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:openjms-user-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Tim
Anderson
Sent: Wednesday, February 14, 2007 6:54 AM
To: [email protected]
Subject: Re: [openjms-user] help



Have you invoked the start() method on the connection?

-Tim

Govinda Rao Deyyam wrote:

Hello,



My application is currently running on openjms0.7.5. I have to upgrade
the server to 0.7.6.1 which is the latest released version found in
openjms site.



I have changed the database schema and necessary modifications.



Problem: I could able to send the messages with my existing code but not
able to receive messages. It always receives null.

I have no idea what is wrong with my code.



I have not done any code changes in my application except adding the new
jars listed below

openjms-0.7.6.1.jar

openjms-client-0.7.6.1.jar

jta-1.0.1.jar

log4j-1.2.7.jar

jms-1.0.2a.jar

commons-logging-1.0.3.jar

exolabcore-0.3.7.jar



Any pointers what is wrong in this case?



Thanks

Govind





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user