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 » Compiling MQJavaRoundTrip Errors (MQ5.3 csd8, aix)

Post new topic  Reply to topic
 Compiling MQJavaRoundTrip Errors (MQ5.3 csd8, aix) « View previous topic :: View next topic » 
Author Message
catwood2
PostPosted: Thu Jul 20, 2006 10:45 am    Post subject: Compiling MQJavaRoundTrip Errors (MQ5.3 csd8, aix) Reply with quote

Centurion

Joined: 17 May 2002
Posts: 108

I am trying to get the MQJavaRoundTrip utility running. When compiling MQJavaRoundTrip.java I am getting the following type errors:
Quote:
MQJavaRoundTrip.java:101: cannot resolve symbol
symbol : class ClientThread
location: class MQJavaRoundTrip
ClientThread worker = (ClientThread) iter.next();

10 errors to be exact - all related to ClientThread.

When compiling ClientThread.java I am getting the following type errors:
Quote:
ClientThread.java:9: cannot resolve symbol
symbol : class MQJavaRoundTrip
location: class ClientThread
private final static MQJavaRoundTrip parent = MQJavaRoundTrip.getInstance();

2 such errors. Round Trip related.

Searched the forum. Worked with the java guys here (which, I am obviously not one) and they couldn't figure out the deal. They suspected the code itself...but, I found that unlikely given it's a support pac.

TIA for any pointers.
catwood2[/quote]
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Jul 20, 2006 11:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Have you tried:

javac MQJavaRoundTrip.java ClientThread.java
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
catwood2
PostPosted: Thu Jul 20, 2006 11:30 am    Post subject: Reply with quote

Centurion

Joined: 17 May 2002
Posts: 108

Thanks wayne. I did not - but I should've. Now, 3 class files are created:
Quote:
ClientThread.class MQJavaRoundTrip$1.class MQJavaRoundTrip.class
.

Unfortunately, when I run the command with no arguments (as described in the writeup) I get the following:
Quote:
$ java MQJavaRoundTrip
$ Exception in thread "main" java.lang.NoClassDefFoundError: MQJavaRoundTrip


I'll return to the local guys to see if they have any idea of why.
thx
catwood2
Back to top
View user's profile Send private message
catwood2
PostPosted: Thu Jul 20, 2006 12:28 pm    Post subject: Reply with quote

Centurion

Joined: 17 May 2002
Posts: 108

Ok. That is classpath error. Had to point to generated MQRoundTrip class and the com.ibm.mq.jar locale. resolved.
thx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Compiling MQJavaRoundTrip Errors (MQ5.3 csd8, aix)
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.