counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
AtomicTransaction atomicTransaction = new AtomicTransaction();
atomicTransaction.begin();
counter.set(0, OTS.current().get_control());
atomicTransaction.commit(true);
}
catch (Exception exception)
{
correct = false;
System.err.println("exception in set operation " + exception);