[quote author=S link=topic=2561.msg9883#msg9883 date=1194381312]
I am working on a java application using genji.jar libraries and j2se1.6.0
Purpose: to connect to a Tserver and register a DN. if it is logged in, then based on a input-logout that DN.
I know I have this functionality in genesys toolkit app, but I want to create this app to give to a client who can use only this functionality of logging out a DN. that's it.
now I faced with hurdles of developing it.
my app doesn't open the teleline.
[size=8pt]private void connectTeleLine() {
this.phTLine = null;
System.out.println("?open line Tserver ");
try {
System.out.println("?open line Tserver2 "); /// IT STOPS HERE... NO MESSAGES AFTER THIS... NEITHER IN MY APP NOR IN TSERVER LOGS...
this.phTLine = new PhTeleLine(new TeleServerContext(strHost,intPort), strTsName, this);
phTLine.setAppName("testApp");
phTLine.open();
System.out.println("?open line Tserver3 ");
registerDN(strTsName, "7001" );
} catch (TeleLineException e) {
System.out.println("Cannot open line Tserver --" + e.getMessage());
//e.printStackTrace();
} catch (TeleServerContextException e) {
System.out.println("Cannot get Tserver context --" + e.getMessage());
}
}[/size]
Can someone please help me fix it?
what am I missing?
Thanks
[/quote]
S:
Java 1.4.2 is the answer to your prayer. I think you are using 1.6, right?