|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Calling Java Method from Mapping Node |
« View previous topic :: View next topic » |
Author |
Message
|
ingchristianreyes |
Posted: Thu Aug 27, 2009 2:35 pm Post subject: Calling Java Method from Mapping Node |
|
|
Newbie
Joined: 21 Aug 2009 Posts: 4
|
Hello, I have the next problem.
I have a message flow where i am using a mapping node for translate an xml message in other one. In two elements of the target XML structure, i need call a Java Method, so, in the same workspace I have a Java project with a class and a public static method, from the mapping node i can use the content assist for introduce the call to the java method.
Then i create my bar including the java project, and effectively the bar contains the jar file, after I made the deployment and tried to test the message flow and finally I get a Java Class not found exeption.
I tried to place the jar file manually into the shared-classes folder but it still does not works, also i tried to place the jar file in a special folder (c:\lib) and add this folder to the CLASSPATH environment variable but it still does not works.
Could you help me with a tip?? thanks |
|
Back to top |
|
 |
gs |
Posted: Mon Aug 31, 2009 4:25 am Post subject: |
|
|
 Master
Joined: 31 May 2007 Posts: 254 Location: Sweden
|
|
Back to top |
|
 |
ingchristianreyes |
Posted: Mon Sep 07, 2009 12:28 pm Post subject: |
|
|
Newbie
Joined: 21 Aug 2009 Posts: 4
|
Hi "gs", I have read this constraints and I have no problem with it, in fact at development time I can use the wizard for select my java method, which means that the method qualify for use it in the mapping node, addionatly the project compiles without any problem and the bar builds fine. The problem i think is in run time.
Thanks... |
|
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
|
|
|
|