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 » Unable to locate class definition at java compute node

Post new topic  Reply to topic
 Unable to locate class definition at java compute node « View previous topic :: View next topic » 
Author Message
CuriCAT
PostPosted: Fri Oct 17, 2008 2:55 pm    Post subject: Unable to locate class definition at java compute node Reply with quote

Voyager

Joined: 26 Sep 2006
Posts: 82

I am using Broker toolkit 6.0.2

In one of the sub flows I am using JAVA compute node. It is giving me an error. Unable to locate class difinition named "com.xyz.classname".
I can see a referece been made to a java project and the class is there.

When I right click on java compute node and say open java it opens the java code.. but in the problems area it shows an error unable to locate the class.

I cleaned the projects, restarted toolkit. this is not the first time I am using java compute node, I have used many time I never had this problem.

Please some body give me a clue what could be the reason. I greatly appriciate ur help..

it is frustrating ... it almost took more than a day.. solving this..
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
hopsala
PostPosted: Sun Oct 19, 2008 5:50 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

This has happened to me several times in the past. I usually solve it through an elaborate series of special rain-dances, as sacrifice to the angry WMB gods:

The first goes as follows:
1. Close all editor windows.
2. Refresh all projects (right click and "refresh" or F5 on the projects)
3. Clean Project.
4. Close toolkit.
5. Open toolkit.
6. Clean Project.
7. Refresh Projects.
8. Open java node, select "Browse" and select the class from the list.

If this doesn't work, there's a second rain-dance:
1. Go into the java code, change a few lines.
2. Repeat first rain dance.

And a third:
1. Close all non related projects.
2. Close toolkit.
3. Open the toolkit with -clean flag (search the forum or wmb help). Note that this may take somewhere between 5 to 60 minutes... I kid you not.

A fourth:
1. Copy project directory aside.
2. Delete java project (also in file system)
3. Copy project back into workspace directory and import.
4. Refresh and clean.

And finally a fifth:
1. Copy .java, .msgflow etc files aside
2. Delete the project.
3. Create a different project using "open java" on your node. Use a different name for the project and for the class, if you can.
4. Copy previous code into existing node class.

You can do them in order or not. I usually try the first, second and then the fifth. Anyway, Keep us posted. Good luck!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sun Oct 19, 2008 7:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

This is the kind of thing that makes me either *install* the latest iFix, if I'm not at it, or *uninstall* it, if I am at the latest iFix level.

Also, please open a PMR. None of this kind of thing should be necessary.
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 » Unable to locate class definition at java compute 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.