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 » Calling a Java Method using ESQL

Post new topic  Reply to topic
 Calling a Java Method using ESQL « View previous topic :: View next topic » 
Author Message
edarasumanth
PostPosted: Tue Sep 26, 2006 5:57 am    Post subject: Calling a Java Method using ESQL Reply with quote

Novice

Joined: 15 Jun 2006
Posts: 21

I am trying to call a Java Method from ESQL. The method is static.

I have created a jar file for my .class file and .Java file. When I have deployed the jar file with my message flow it is working fine.

when i am not adding the jar file to my bar file. it is showing java class not found. i had setted the path of jar file in the environment variable.

How my broker is going to recognise the path of the jar file if i am not adding to the bar file?
Where do i need to set the path of my jar file.

Could any one suggest me the idea how to proceed further
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
edarasumanth
PostPosted: Tue Sep 26, 2006 9:36 pm    Post subject: Reply with quote

Novice

Joined: 15 Jun 2006
Posts: 21

I have got the solution for the calling a java method using ESQL.
1. Deploying the jar file with the message flow.

this is working for me earlier. I tried in the second way which is working now.

2. we have to place the jar file in the following location
C:\Documents and Settings\All Users\Application Data\IBM\MQSI\shared-classes. from this loaction broker is going to recognise the jar file. from this path only broker is going to identify the java class.
Here no need to add jar file to the bar file
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Yaroslav
PostPosted: Thu Sep 28, 2006 3:24 am    Post subject: Reply with quote

Novice

Joined: 28 Sep 2006
Posts: 12
Location: Russia

Little addition for 2.
Instead of
"C:\Documents and Settings\All Users\Application Data\IBM\MQSI\shared-classes"
you should use
Broker's WorkPath\shared-classes

WorkPath can be recognized using
mqsiservice <brkname>
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 » Calling a Java Method using ESQL
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.