Author |
Message |
Topic: Java on Websphere MQ 5.2 |
naylorjs
Replies: 2 Views: 2243
|
Forum: IBM MQ Java / JMS Posted: Wed Apr 13, 2005 1:29 am Subject: You made me so very happy ....... |
Thank you Michael
Thats justs the news that I wanted to hear. As you gather our experts, aren't. Thats why I posted on here instead of accepting thier word for it. |
Topic: Java on Websphere MQ 5.2 |
naylorjs
Replies: 2 Views: 2243
|
Forum: IBM MQ Java / JMS Posted: Wed Apr 13, 2005 12:59 am Subject: Java on Websphere MQ 5.2 |
I have been told by our Websphere MQ "experts" here that it is not possible to use Java with version 5.2 on Solaris, the Java support files are apparently missing from the installation CD that they ha ... |
Topic: MQJE038: Unexpected segment type 156 received |
naylorjs
Replies: 14 Views: 11821
|
Forum: IBM MQ Java / JMS Posted: Mon Nov 29, 2004 4:45 am Subject: MQJE038: Unexpected segment type 156 received |
Looking at the build script, the C program is linking against libmqm and libmqmzse so following from your description, that implies server.
Where can I download newer Java classes, at least to test ... |
Topic: MQJE038: Unexpected segment type 156 received |
naylorjs
Replies: 14 Views: 11821
|
Forum: IBM MQ Java / JMS Posted: Mon Nov 29, 2004 12:37 am Subject: MQJE038: Unexpected segment type 156 received |
I think I have a solution to my problem, but it also raises some questions. I commented out setting the MQEnvironment.hostname, port and channel and re-ran the program and voila it appears to work, or ... |
Topic: MQJE038: Unexpected segment type 156 received |
naylorjs
Replies: 14 Views: 11821
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 26, 2004 7:50 am Subject: MQJE038: Unexpected segment type 156 received |
I think my comment was wrong, although the code appears correct. According to the IBM document:
// specify the message options...
MQPutMessageOptions pmo = new MQPutMessageOptions(); // ac ... |
Topic: MQJE038: Unexpected segment type 156 received |
naylorjs
Replies: 14 Views: 11821
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 26, 2004 7:17 am Subject: MQJE038: Unexpected segment type 156 received |
The /var/adm/message and /var/log/syslog are extremely quiet places, the syslog.conf in /etc appears normal. There is absolutely nothing in these about WMQ in any way, only sendmail and some NTP nonse ... |
Topic: MQJE038: Unexpected segment type 156 received |
naylorjs
Replies: 14 Views: 11821
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 26, 2004 6:51 am Subject: MQJE038: Unexpected segment type 156 received |
Here is the result of running amqscnxc on the machine. The client and server are both on the same machine.
$ ./amqscnxc
Sample AMQSCNXC start
Connecting to the default queue manager
with no clie ... |
Topic: MQJE038: Unexpected segment type 156 received |
naylorjs
Replies: 14 Views: 11821
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 26, 2004 5:11 am Subject: FDC file, what FDC file ? |
There are no *.FDC files under /var/mqm on this machine that covers my errors. So I can't help you there I'm afraid.
Jonathan |
Topic: MQJE038: Unexpected segment type 156 received |
naylorjs
Replies: 14 Views: 11821
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 26, 2004 4:43 am Subject: MQJE038: Unexpected segment type 156 received |
I though the MQJE038 was actually more significant to be honest
However here is the full class.
/*
* This is a wrapper class around the Websphere MQ classes to provide a simple
* and rel ... |
Topic: MQJE038: Unexpected segment type 156 received |
naylorjs
Replies: 14 Views: 11821
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 26, 2004 4:20 am Subject: MQJE038: Unexpected segment type 156 received |
Hi
I'm an application programmer using the raw WMQ Java classes. I have a simple class to send message to our server, my work is very mich based on the examples supplied by IBM.
When the progra ... |