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 » IBM MQ Java / JMS » How to call JAVA classes from WBIMB v5.0.1.3

Post new topic  Reply to topic
 How to call JAVA classes from WBIMB v5.0.1.3 « View previous topic :: View next topic » 
Author Message
bisu
PostPosted: Wed Mar 16, 2005 1:36 am    Post subject: How to call JAVA classes from WBIMB v5.0.1.3 Reply with quote

Apprentice

Joined: 05 Jan 2005
Posts: 25
Location: India

Hi
I am new to this group and currently working on WBIMB v5.0.1.3. Can anybody tell me how to call the JAVA classes from the ESQL of
Compute node?
Back to top
View user's profile Send private message Yahoo Messenger
JLRowe
PostPosted: Wed Mar 16, 2005 6:18 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

You need CSD04 to call java from ESQL.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Mar 16, 2005 6:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www.mqseries.net/phpBB2/viewtopic.php?t=21048&start=0&postdays=0&postorder=asc&highlight=
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bisu
PostPosted: Thu Mar 17, 2005 4:09 am    Post subject: How to call Java Classes from WBIMB V5.0.1.3 Reply with quote

Apprentice

Joined: 05 Jan 2005
Posts: 25
Location: India

timna wrote:
You need CSD04 to call java from ESQL.


Ya I have that. I had a try also, but it didn't work. I wrote a java class having a static mehod. Prepared the jar and put into the classes subdirectory of my WBIMB installation path. Then I wrote the ESQL like this
"CREATE PROCEDURE JavaReturnTest(OUT ReturnVal) RETURNS CHARACTER LANGUAGE JAVA EXTERNAL NAME "JavaInMb.Test";"

and

"CREATE FUNCTION JavaReturnTest(OUT ReturnVal) RETURNS CHARACTER LANGUAGE JAVA EXTERNAL NAME "JavaInMb.Test";"

but both of them are not working. In the message flow editor they are showing error.please help.
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Thu Mar 17, 2005 5:29 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Did you restart your broker after you put your jar in the classes folder?

Did you read the links to documentation posted in the thread I gave the link to?

Does your Create Procedure statement indicate the fully qualified name of your static method?
_________________
I am *not* the model of the modern major general.
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 » IBM MQ Java / JMS » How to call JAVA classes from WBIMB v5.0.1.3
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.