Hi patchsk

didn't work after I set ARTCPPORT as an environment variable.
os: windows 7
jdk: 1.5
ar server: 7603
api version: arapi70.jar

any suggestion?

2011-05-09



Jiang Xiaofeng
    江晓峰

 ---------------------------------------------------------- 
From: patchsk 
Date:   2011-05-09
Subject: Re: How to connect to an AR server that is not registered with 
portmapper via AR JAVA API? 

Set the environment variable ARTCPPORT=6060 on the server where you
are executing you java program.
On May 8, 12:39 am, Jiang <[email protected]> wrote:
> Hello arslist,
>
> the java code is like this:
>
> userInfo = new ARServerUser("Demo","","UTF-8","192.168.205.134",6060);
> userInfo.verifyUser(new VerifyUserCriteria());
>
> and get this error:
> AppendedText: 192.168.205.134 (0) : RPC: Program not registered
>
> failed to connect to server. 6060 is tcp port number of ar server.
>
> 2011-05-08
>
> Jiang Xiaofeng
>     江晓峰
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to