Hi Vadim,
Hope you are trying to register your application after the server
startAndWaitUp. Do you mind sharing your Main function code over here ?
A working sample would be something like this:
public static void main( String[] args ) throws Exception
{
// TODO Change to correct URI
String uri = "tcp://10.89.31.153:9000";
RemoteInAndOut_JavaServer server =
InAndOut_JavaHelper.newServer( uri, null,
new MainInAndOut_JavaClient() );
// Connect to the service
server._startAndWaitUp( 4000 );
// TODO Insert Your Code Here
String key = server.registerApplication("InAndOut_Java",
"Default", "Administrator", "metreos");
System.out.println("Application Successfully registered
with key:"+key);
System.out.println("Press Any key to exit from the
application");
System.in.read();
// Disconnect from the service
server._stopAndWaitDown( 4000 );
}
regards,
Ram
Cisco Developer Services
http://developer.cisco.com/ -----Original Message-----
From: cuae-developers-bounces@developer.cisco.com
mailto:cuae-developers-bounces@developer.cisco.com On Behalf Of Vadim
Bruk
Sent: Wednesday, June 18, 2008 5:44 PM
To: cuae-developers@developer.cisco.com
Subject: [Cuae-developers] registering application
Hi,
After successful connecting I call registerApplication method and it
blocks there.
I do the method call with valid credentials and partition parameter
"Default". I've traced the method call down - it blocks somewhere after
calling of _end_registerApplication method of RemoteEtchBridgeServer
class.
What could be the problem?
Thank you,
Vadim.
_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com
_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com