ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » problem in connect between java and mqseries

Post new topic  Reply to topic
 problem in connect between java and mqseries « View previous topic :: View next topic » 
Author Message
Ahmedmonseif
PostPosted: Wed May 01, 2002 1:53 am    Post subject: Reply with quote

Novice

Joined: 30 Apr 2002
Posts: 12

HI ,

I'm web developer using java ,i just work with mqseries few dayes before i
hava case
how java connect to mainfram(backend) and access it by message mqseries
then receive responce message from mainfraim using message mqseries.
I do all setting like documentaion mqseries using java.

i face problem
when i try to put message on mqseries by using java there is exception
happen when code try
to connect to queue manger this exception:

Unable to load message catalog - mqji
An MQ error occurred : Completion code 2 Reason code 2195

Then I try to test the connection I start TCP/IP listener and I try to start applet MQTest.class with mqjavac.html
the screen of command prompt show.
1-AMQ9209: Connection to host 'machine_name(192.1.1.201)' closed.
2-AMQ9503: Channel negotiation failed.
3-AMQ9228: The TCP/IP responder program could not be started.
4-AMQ9228: The TCP/IP responder program could not be started.


so i will be thanks if any one reply
if any one hava any materail help me in this subject and this case i will be
much obliged.

A.Monsief
Back to top
View user's profile Send private message Send e-mail
sam
PostPosted: Wed May 01, 2002 12:41 pm    Post subject: Reply with quote

Acolyte

Joined: 02 Apr 2002
Posts: 52

include the properties files for mq in the classpath. They are located under /opt/mqm/java/lib for solaris.
Back to top
View user's profile Send private message
Ahmedmonseif
PostPosted: Wed May 01, 2002 10:53 pm    Post subject: Reply with quote

Novice

Joined: 30 Apr 2002
Posts: 12

thanks sam
PROPERTIES files exist in class path problem still exist.
when i try to test using command java MQIVP
the command prmpt display
MQJE020: CCSID not supported by queue manager
MQJE001: Completion Code 2, Reason 2195
Failure: Attempt to connect to queue manager failed.
Reason: MQ Reason code 2195
Action: Consult MQSeries Application Programming Reference for explanati
on.
Back to top
View user's profile Send private message Send e-mail
Ahmedmonseif
PostPosted: Thu May 02, 2002 5:59 am    Post subject: Reply with quote

Novice

Joined: 30 Apr 2002
Posts: 12

hi all one i found the solution it was in default setting of the machine must be English(USA)
thanks for all
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » problem in connect between java and mqseries
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.