Remedy で自分自身を認証する必要があります。ドキュメントに従っていますが、まだエラーが発生します。 https://communities.bmc.com/docs/DOC-17514
これは私のコードです:
import com.bmc.arsys.api.ARException;
import com.bmc.arsys.api.ARServerUser;
public class Tutorial {
public static void main(String[] args) {
ARServerUser ctx = new ARServerUser();
ctx.setServer("127.0.0.1");
ctx.setUser("myusername");
ctx.setPassword("mypassword");
ctx.setPort(8080);
try {
ctx.verifyUser();
} catch (ARException e) {
System.out.println(e.getMessage());
}
}
}
次のエラーが表示されます。
ERROR (91): RPC call failed; 127.0.0.1:8080 can not receive ONC/RPC data
どうすれば修正できますか?のようにインスタンスを設定する必要があります127.0.0.1/arsys
。私の Remedy インスタンスは arsys です。
ブラウザを使用して認証できます。http://127.0.0.1:8080/arsys
前もって感謝します。