Author |
Message |
Topic: No connection to IBM MQ via Java |
Jozef1
Replies: 3 Views: 11117
|
Forum: IBM MQ Java / JMS Posted: Sun Feb 17, 2019 11:31 pm Subject: No connection to IBM MQ via Java |
I'm trying to make an application on Java, which reads a message from the queue. Now with the connection error. If there is an error in authorization, then how to correct it?
import com.ibm.mq.jms. ... |
Topic: Change the encoding in the logs (errors) |
Jozef1
Replies: 8 Views: 15967
|
Forum: IBM MQ Installation/Configuration Support Posted: Sun Feb 17, 2019 1:03 pm Subject: Re: Change the encoding in the logs (errors) |
But adding a new line to the PATH helped a lot and everything now works fine!
What was the new line? Normally there are no line endings in the contents of PATH.
For this, I better create a new topi ... |
Topic: Change the encoding in the logs (errors) |
Jozef1
Replies: 8 Views: 15967
|
Forum: IBM MQ Installation/Configuration Support Posted: Sun Feb 17, 2019 7:44 am Subject: Re: Change the encoding in the logs (errors) |
The MQ code that is responsible for writing error messages, thinks that your locale is Russian, so is using the Russian message catalog.
chcp = 866 would explain why runmqsc gave its output in Russ ... |
Topic: Change the encoding in the logs (errors) |
Jozef1
Replies: 8 Views: 15967
|
Forum: IBM MQ Installation/Configuration Support Posted: Sun Feb 17, 2019 5:54 am Subject: Re: Change the encoding in the logs (errors) |
On your command line, type chcp
What is the output?
Code 866.
But problem encoding in logs MQ
https://a.radikal.ru/a11/1902/50/ee11489f36d9.jpg |
Topic: Change the encoding in the logs (errors) |
Jozef1
Replies: 8 Views: 15967
|
Forum: IBM MQ Installation/Configuration Support Posted: Sun Feb 17, 2019 12:36 am Subject: Change the encoding in the logs (errors) |
Screenshot:
https://d.radikal.ru/d36/1902/9b/38a6855b6d02.jpg |
Topic: Change the encoding in the logs (errors) |
Jozef1
Replies: 8 Views: 15967
|
Forum: IBM MQ Installation/Configuration Support Posted: Sun Feb 17, 2019 12:35 am Subject: Change the encoding in the logs (errors) |
Hello.
When installing, I set the language to English. Add this lines : \MQExplorer \ eclipse \ configuration \ config.ini and add this lines:
org.osgi.framework.language = en
osgi.nl = en_US
... |