|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Calling External Java Classes from Compute Node |
« View previous topic :: View next topic » |
Author |
Message
|
vignesh.gopal |
Posted: Tue Aug 16, 2005 7:19 am Post subject: Calling External Java Classes from Compute Node |
|
|
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 |
|
 |
ashoon |
Posted: Tue Aug 16, 2005 8:33 am Post subject: tcp/ip support pac |
|
|
Master
Joined: 26 Oct 2004 Posts: 235
|
|
Back to top |
|
 |
vignesh.gopal |
Posted: Tue Aug 16, 2005 9:57 pm Post subject: tcp ip |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|