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 » WebSphere Message Broker (ACE) Support » Accessing external classes in Java Node

Post new topic  Reply to topic
 Accessing external classes in Java Node « View previous topic :: View next topic » 
Author Message
anupamsharma
PostPosted: Mon Dec 29, 2003 12:36 pm    Post subject: Accessing external classes in Java Node Reply with quote

Newbie

Joined: 29 Dec 2003
Posts: 5

Hi,

I have a java node which is trying to access external classes. By External I mean I already have some existing generic classes, which I'm trying to call from my Java Node. After deploying the node, I restart the broker and the config manager. I don't get error's at this point. But when I try to put a message, I see errors stating that some classes were not found. I checked to make sure that all the classes are existing in the jar, and the external jar is placed in the classes dir and is also set in the classpath.

Has someone ever tried to access external classes from Java Node? If so could you help.

Also, when I write System.out.println(); statements in my Java Node, where does the output go by default?

Thanks.
Anupam
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Dec 29, 2003 1:22 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are your external classes in the system CLASSPATH, or the WMQI CLASSPATH? (they should be visible in the WMQI classpath if they're in the classes directory, though).

What version are you running? What operating system?

Did you restart the broker after putting your classes in the classes folder?
Or just after deploying your node?

There are instructions somewhere (I think in the Programming Guide) that will let you create a java debugger port in the 2.1 broker that will let you debug your plug-in as well. That may or may not help.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
anupamsharma
PostPosted: Mon Dec 29, 2003 1:40 pm    Post subject: Reply with quote

Newbie

Joined: 29 Dec 2003
Posts: 5

The external classes are in the system classpath as well as the WMQI classpath. The WMQI v2.1 has been installed on Windows 2000 server. But I'm connecting to it through my control center, which exists on Windows NT platform.

I did re-start the broker after placing the jar files in the respective direcetories.
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 » WebSphere Message Broker (ACE) Support » Accessing external classes in Java Node
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.