|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Accessing external classes in Java Node |
« View previous topic :: View next topic » |
Author |
Message
|
anupamsharma |
Posted: Mon Dec 29, 2003 12:36 pm Post subject: Accessing external classes in Java Node |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Dec 29, 2003 1:22 pm Post subject: |
|
|
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 |
|
 |
anupamsharma |
Posted: Mon Dec 29, 2003 1:40 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|