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 External Java Classes from Compute Node

Post new topic  Reply to topic
 Calling External Java Classes from Compute Node « View previous topic :: View next topic » 
Author Message
vignesh.gopal
PostPosted: Tue Aug 16, 2005 7:19 am    Post subject: Calling External Java Classes from Compute Node Reply with quote

Novice

Joined: 23 Dec 2002
Posts: 24

HI,
The code is as below.
CREATE PROCEDURE SocketJavaProgram(IN ipAddress CHAR,IN port CHAR,IN command CHAR)
LANGUAGE JAVA
EXTERNAL NAME "TestClient.mainTc()";

and this is how i am calling it
CALL SocketJavaProgram(ipAddress,port,Command);

This program makes a socket connection.

The program has been compiled,classs file is in C:\ and classpath has been set and the system infact restarted.However when i try to deploy the bar file,the log file cannot be viewed and the flow is not deployed.

Can anyone thro light on it ?

Thanks in advance
Vignesh
Back to top
View user's profile Send private message
ashoon
PostPosted: Tue Aug 16, 2005 8:33 am    Post subject: tcp/ip support pac Reply with quote

Master

Joined: 26 Oct 2004
Posts: 235

not sure what the problem is here but have you taken a look at the tcp/ip support pac which provides input/output nodes for socket connections...

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24007700&loc=en_US&cs=utf-8&lang=en
Back to top
View user's profile Send private message
vignesh.gopal
PostPosted: Tue Aug 16, 2005 9:57 pm    Post subject: tcp ip Reply with quote

Novice

Joined: 23 Dec 2002
Posts: 24

hi thanks for the reply.
I have been using TCP IP nodes for other applications.

Just wanted a scenario for calling a java application.
First Question is:
Why dont i get the log files in the editor and could you please advice if the steps followed by me are correct.

Second question is:
Am using the TCPIP node to connect to a Server and send msgs.
My input is a XML Message.
But when i connect i want to send 3 messages.
1)a login message which will be
LGI: HLRSN =1,OPNAME="xxx",PWD="xxx";
2)another command and
3)LGO;

All these 3 commands am storing in 3 separate character variables.
When i want to send the message,
1)i want to propogate the messages one by one
2)wht conversion should i do to send it to the TCPIP Node
3)wht settings i need to do on the TCPIP node which will be message specific.

i am using WBIMB 5.0.4


Please advice.
Thanks & Regards
Vignesh
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 External Java Classes from 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.