Author |
Message |
Topic: JDBC unit-of-work/commit question |
PaulMraz
Replies: 6 Views: 16116
|
Forum: IBM MQ Java / JMS Posted: Tue Dec 04, 2001 4:04 pm Subject: JDBC unit-of-work/commit question |
After further review... I found the problem to the "Logical handle no longer valid".
Although I was careful to not open or close the connection other than in the main calling module, several of th ... |
Topic: JDBC unit-of-work/commit question |
PaulMraz
Replies: 6 Views: 16116
|
Forum: IBM MQ Java / JMS Posted: Tue Dec 04, 2001 11:39 am Subject: JDBC unit-of-work/commit question |
OK... I've put the connect, commit/rollback, and connection close into the main calling module, and have taken the connect and close out of the individual called class methods.
(and set AutoCommit to ... |
Topic: JDBC unit-of-work/commit question |
PaulMraz
Replies: 6 Views: 16116
|
Forum: IBM MQ Java / JMS Posted: Mon Dec 03, 2001 1:31 am Subject: JDBC unit-of-work/commit question |
Hmmm... if a UOW cannot span several connection sessions, would it likely work if I were to put the JDBC connection command into the main module, but have all the called (static) methods (which are ... |
Topic: JDBC unit-of-work/commit question |
PaulMraz
Replies: 6 Views: 16116
|
Forum: IBM MQ Java / JMS Posted: Thu Nov 29, 2001 1:36 pm Subject: JDBC unit-of-work/commit question |
Addendum:
Is it possible for the above scenario to work, if I do not explicitly close the JDBC database connection between the inserts/updates to the different tables?
In other words, will the c ... |
Topic: JDBC unit-of-work/commit question |
PaulMraz
Replies: 6 Views: 16116
|
Forum: IBM MQ Java / JMS Posted: Thu Nov 29, 2001 8:40 am Subject: JDBC unit-of-work/commit question |
Looks like I need to use JDBC to explicitly commit my JDBC inserts/updates to our Oracle database tables, for my Java/MQI application (on Windows/NT server, base Java/MQI, no threads, nothing fancy). ... |
Topic: How to find what reason code 2372 means? |
PaulMraz
Replies: 7 Views: 10338
|
Forum: IBM MQ Java / JMS Posted: Thu Oct 25, 2001 12:00 pm Subject: How to find what reason code 2372 means? |
I encountered this MQException testing my base Java/MQI application, and it's getting this error executing an MQQueueManager begin method (We're running MQSeries V5.2.1 on an NT server environment; ... |
Topic: How to find what reason code 2372 means? |
PaulMraz
Replies: 7 Views: 10338
|
Forum: IBM MQ Java / JMS Posted: Thu Oct 25, 2001 7:24 am Subject: How to find what reason code 2372 means? |
I've scoured by hard-copy manuals AND the online IBM MQSeries site, trying to find an explanation for reason code 2372 - anyone know what the source of this MQ error is?
(completion code = 1, I beliv ... |
Topic: Need advice: MQ base Java, JMS, AMI, or CMI? |
PaulMraz
Replies: 8 Views: 24046
|
Forum: IBM MQ Java / JMS Posted: Wed Sep 05, 2001 6:15 am Subject: Need advice: MQ base Java, JMS, AMI, or CMI? |
Brandon, yes, thanks, I had browsed those samples. From a cursory glance of those, it did not appear that the JMS code was any simpler than the native Java MQ code sample (the JMS code was actually ... |
Topic: Need advice: MQ base Java, JMS, AMI, or CMI? |
PaulMraz
Replies: 8 Views: 24046
|
Forum: IBM MQ Java / JMS Posted: Tue Sep 04, 2001 11:04 am Subject: Need advice: MQ base Java, JMS, AMI, or CMI? |
Brandon:
No, the requirement is to do the (receive message) interface module in Java. Hence, I'm trying to determine if JMS is as simple as using the MQSeries AMI API with associated Java classes. ... |
Topic: Need advice: MQ base Java, JMS, AMI, or CMI? |
PaulMraz
Replies: 8 Views: 24046
|
Forum: IBM MQ Java / JMS Posted: Thu Aug 30, 2001 1:25 pm Subject: Need advice: MQ base Java, JMS, AMI, or CMI? |
Brandon:
I think the need for the project is to implement the simplest, least complex, most straightforward solution, as this will be a very low-volume, low-complexity application - just fetch m ... |
Topic: Need advice: MQ base Java, JMS, AMI, or CMI? |
PaulMraz
Replies: 8 Views: 24046
|
Forum: IBM MQ Java / JMS Posted: Thu Aug 30, 2001 5:57 am Subject: Need advice: MQ base Java, JMS, AMI, or CMI? |
Brandon, thanks for the information, that was helpful. Any opinions on using JMS as opposed to AMI (or MQI)?
Thanks,
Paul |
Topic: Need advice: MQ base Java, JMS, AMI, or CMI? |
PaulMraz
Replies: 8 Views: 24046
|
Forum: IBM MQ Java / JMS Posted: Tue Aug 28, 2001 10:26 am Subject: Need advice: MQ base Java, JMS, AMI, or CMI? |
I need to explore pros/cons of what approach to take for my Java interface module (MQI, JMS, AMI, CMI?) for retrieving messages off a queue (yet to be setup & populated) on the NT platform. I'm a Jav ... |