Message Agent (error while connecting to ps appserver)


[ Follow Ups ] [ Post Followup ] [ Message Board ]

Posted by [IP Address: 207.82.165.191] 'Dayanand' on August 23, 2001 at 20:56:14 EST:

Hi

we are using message agent to connect to ps from our app. the code(given below) is not able to connect to the ps.
............................................................
import psft.pt75.beans.ma.*;
public class MessageAgent
{
public static void main(String[] args)
{
MagClient magClient = new MagClient();
MagResult res = magClient.connect("PSServer:9000","PS", "PS");
ErrorItem[] errItems = res.getErrorItems();
for (int i=0; i {
System.out.println("ERROR "+errItems[i].getText());
}
magClient.disconnect();
}
}
.............................................................
when we run that code it's giving the following error.
......................................................
java.lang.NullPointerException: PSProperties not
loaded from file
ERROR bea.jolt.SessionException: Cannot connect to
//PSServer:9000
Reason: NwHdlr: Network Error: chkauth:
J_CHECKAUTH FAILED
.......................................................
this is the message in the TUXLOG file:
......................................................
121050.PSServer!JSL.268: JOLT_CAT:1188: ERROR:
Unrecognized message format, release 13
.....................................................

JSL is up and listening at port 9000. when I checked for the above JOLT error message at bea site it says
....................................................
1516 ERROR Unrecognized message format, release %1d.
Description
BEA Jolt protocol failure.
Action
Make sure the client classes are at the appropriate version level.
....................................................
but I have installed Tuxedo and JOLT at the same time.. infact they are part of the same CD.

can some one help me out of this problem...

thanks in advance
Dayanand Reddy




Follow Ups:



Post a Followup


Name:
E-Mail:
Subject:

Message:


[ Follow Ups ] [ Post Followup ] [ Message Board ]