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 » Search

 Search found 18 matches
Author Message
  Topic: How to use JavaCompute node with RouteToLabel, Label nodes?
kevin.shen

Replies: 2
Views: 3833

PostForum: WebSphere Message Broker (ACE) Support   Posted: Fri Nov 09, 2007 9:20 am   Subject: How to use JavaCompute node with RouteToLabel, Label nodes?
Are you sure your labelname field is holding a valid label name?

Also, for reference: http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac30470_.htm
...
  Topic: How to use JavaCompute node with RouteToLabel, Label nodes?
kevin.shen

Replies: 2
Views: 3833

PostForum: WebSphere Message Broker (ACE) Support   Posted: Fri Nov 09, 2007 8:34 am   Subject: How to use JavaCompute node with RouteToLabel, Label nodes?
I designed a message flow using JavaCompute, RouteToLabel, Label nodes to route messages to subflows based on the content of the message, see diagram below

...
  Topic: How to resolve NoClassDefFoundError in message broker?
kevin.shen

Replies: 15
Views: 10273

PostForum: WebSphere Message Broker (ACE) Support   Posted: Wed Sep 26, 2007 5:04 pm   Subject: How to resolve NoClassDefFoundError in message broker?
It's probably worth removing it from shared-classes and restarting.

It might not be loading them from the BAR in EGShared because it already finds them in shared-classes.

It seems EgSharedClassL ...
  Topic: How to resolve NoClassDefFoundError in message broker?
kevin.shen

Replies: 15
Views: 10273

PostForum: WebSphere Message Broker (ACE) Support   Posted: Wed Sep 26, 2007 10:39 am   Subject: How to resolve NoClassDefFoundError in message broker?
There may be classes that are required for the framework that aren't in the jar file for the framework.

I posted a link to the InfoCenter documentation that shows you the different classloaders, in ...
  Topic: How to resolve NoClassDefFoundError in message broker?
kevin.shen

Replies: 15
Views: 10273

PostForum: WebSphere Message Broker (ACE) Support   Posted: Wed Sep 26, 2007 8:57 am   Subject: How to resolve NoClassDefFoundError in message broker?
The stuff you've put in the BAR file may depend on things that aren't in any of the JARs.

I saw three classLoaders in debug view, DummyClassLoader, EgSharedClassLoader, and SharedClassLoader

It ...
  Topic: How to resolve NoClassDefFoundError in message broker?
kevin.shen

Replies: 15
Views: 10273

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Sep 25, 2007 6:32 pm   Subject: How to resolve NoClassDefFoundError in message broker?
If you're still getting this error, then you don't have everything you need in the BAR file.

You put everything in one classloader by putting it all in the BAR.

I did put it into Bar file, I can ...
  Topic: How to resolve NoClassDefFoundError in message broker?
kevin.shen

Replies: 15
Views: 10273

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Sep 25, 2007 5:44 pm   Subject: How to resolve NoClassDefFoundError in message broker?
No, I'm not suggesting it one way or another.

I'm suggesting that you keep track of which classloader is going to be asked to load which classes - and make sure that the necessary classes are visib ...
  Topic: How to resolve NoClassDefFoundError in message broker?
kevin.shen

Replies: 15
Views: 10273

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Sep 25, 2007 1:34 pm   Subject: How to resolve NoClassDefFoundError in message broker?
So is the JCN creating the instance of the concrete class, or the framework?

The JCN is going to be under a different classloader. It will be able to see anything that's in shared-classes. But sh ...
  Topic: How to resolve NoClassDefFoundError in message broker?
kevin.shen

Replies: 15
Views: 10273

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Sep 25, 2007 12:57 pm   Subject: How to resolve NoClassDefFoundError in message broker?
It's either a classloader problem or a simple problem of not having the right class on the classpath.

*where* on the "workpath" did you put the jar file?

Did you restart broker after d ...
  Topic: How to resolve NoClassDefFoundError in message broker?
kevin.shen

Replies: 15
Views: 10273

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Sep 25, 2007 12:44 pm   Subject: How to resolve NoClassDefFoundError in message broker?
I got NoClassDefFoundError in testing message flow project with
JavaCompute node

Here is the scenario:

1. The Message Flow Java project references framework classes in
another Java proj ...
  Topic: Initializing Message Broker
kevin.shen

Replies: 5
Views: 2481

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Sep 18, 2007 10:28 am   Subject: Initializing Message Broker
What do you think you want to do, by using one of these mechanisms?

I'm sure there's a better way.

I have a broker with many message flows deployed in it, I want to load information from databas ...
  Topic: Initializing Message Broker
kevin.shen

Replies: 5
Views: 2481

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Sep 18, 2007 9:06 am   Subject: Initializing Message Broker
Can't be done.

The best you can get is a constructor on a JCN or a custom-plugin.

Can I use java classloader, or static initializer in a referenced java class from JCN (Java Compute Node) ?

T ...
  Topic: Initializing Message Broker
kevin.shen

Replies: 5
Views: 2481

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Sep 18, 2007 7:51 am   Subject: Initializing Message Broker
Hi,

I want to run user defined java classes when broker starts up to initialize the environment for all message flows deployed in the broker , can anyone tell me how to do that?

Thanks!
  Topic: How to connect and trigger JavaCompute nodes?
kevin.shen

Replies: 5
Views: 3887

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Sep 06, 2007 7:29 am   Subject: How to connect and trigger JavaCompute nodes?
Oddly enough, the documentation tells you where to find the samples.

Actually, the link to the sample in the documentation is broken, I tried it
  Topic: How to connect and trigger JavaCompute nodes?
kevin.shen

Replies: 5
Views: 3887

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Sep 06, 2007 7:10 am   Subject: How to connect and trigger JavaCompute nodes?
Looks like you may need some training, or at least a 6.0 refresher course...
Read up in the documentation and look at the samples...

Enjoy

Thanks! Where to find the sample?
Goto page 1, 2  Next Page 1 of 2

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.