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 » MQSeries and JAVA 1.3

Post new topic  Reply to topic
 MQSeries and JAVA 1.3 « View previous topic :: View next topic » 
Author Message
Galichet
PostPosted: Fri Jul 27, 2001 7:18 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jun 2001
Posts: 69
Location: Paris - France

Hi all,
I've tested a JAVA program using MQSeries class (Java 1.1. and all worked fine. I wanted to test the same program with Java 1.3 but it doesn't work ... I'm not a Java specialist but I guess there is a problem with one or more Java Class ?
Is somebody has successfully tested a MQSeries program using Java 1.3 ?

_________________
Eric Galichet
SMABTP
France
Back to top
View user's profile Send private message Send e-mail
kolban
PostPosted: Fri Jul 27, 2001 7:25 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

I use Java 1.2.1 and Java 1.3 without any problems at all. Perhaps you'd like to post some details of the problem?
Back to top
View user's profile Send private message
UpkarSharma
PostPosted: Mon Aug 20, 2001 1:54 am    Post subject: Reply with quote

Apprentice

Joined: 15 Aug 2001
Posts: 27
Location: Mumbai

Please give more details of your problem then we can look in to it ...
Back to top
View user's profile Send private message Send e-mail MSN Messenger
JOA
PostPosted: Mon Sep 03, 2001 8:19 am    Post subject: Reply with quote

Newbie

Joined: 29 Jul 2001
Posts: 2

I have the same problems using java 1.30 and MQSeries 5.2 on AIX 4.3.3 :
We try to send a message to specific Queue and connection to Queue Manager finish with error code 2059.
Here's the scripts used for this:
-----------
#!/bin/ksh

PATH="$PATH
:/usr/java130/jre/bin
:."

CLASSPATH="/usr/mqm/java/lib/com.ibm.mq.jar
:/usr/mqm/java/lib/com.ibm.mqbind.jar
:/usr/mqm/java/lib/com.ibm.mqjms.jar
:/usr/mqm/java/lib/fscontext.jar
:/usr/mqm/java/lib/jndi.jar
:/usr/mqm/java/lib/ldap.jar
:/usr/mqm/java/lib/providerutil.jar
:/usr/mqm/java/samples/En_US
:."

LIBPATH="/usr/mqm/java/lib
:/usr/mqm/lib
:/usr/java130/jre/lib
:/usr/java130/lib
:."

export PATH CLASSPATH LIBPATH
/usr/java130/bin/java -classpath $CLASSPATH MQTestPutter2 -qm GEFCO -q GEFCO.QL.TEST -f MQTestPutter3.in
---------

The MQTestPutter3.class is created with script compil.sh:
-------
$ more compil.sh
#!/usr/bin/ksh
para1=$1
javac -classpath /usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/connector.ja
r:/usr/mqm/java/lib:/usr/java130/jre/lib/rt.jar *.java
-------

Can you test these programs on similar environnement ?
Back to top
View user's profile Send private message
bduncan
PostPosted: Mon Sep 03, 2001 10:22 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Could we also see the code itself, as to better gauge what it is doing? I have had no problem running MQSeries java code under Java 1.3, and in fact, I have just recently started using Java 1.4 and all my programs continue to run.


_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
kolban
PostPosted: Mon Sep 03, 2001 11:49 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

Thanks to another poster in the forums (search on Java and 2059) it appears that this is a known problem with workarounds. For details, see
the following
Back to top
View user's profile Send private message
Galichet
PostPosted: Tue Sep 04, 2001 4:44 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jun 2001
Posts: 69
Location: Paris - France

Indeed, the 2059 error disapears specifying in the mqs.ini the following stanza :
IPCCBaseAddress=11

Thank you all

_________________
Eric Galichet
IBM Global Services
France

[ This Message was edited by: Galichet on 2001-09-04 06:00 ]
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 » MQSeries and JAVA 1.3
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.