Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues
View | Details | Raw Unified | Return to bug 1003
Collapse All | Expand All

(-)a/core/src/main/java/org/jacorb/imr/ImplementationRepositoryImpl.java (-1 / +12 lines)
Lines 117-122 public class ImplementationRepositoryImpl Link Here
117
117
118
    private WriteThread wt;
118
    private WriteThread wt;
119
    private boolean updatePending;
119
    private boolean updatePending;
120
    private ResourceLock server_table_ser_lock;
120
    private Shutdown shutdownThread;
121
    private Shutdown shutdownThread;
121
122
122
123
Lines 128-133 public class ImplementationRepositoryImpl Link Here
128
    {
129
    {
129
        this.orb = orb;
130
        this.orb = orb;
130
131
132
        this.server_table_ser_lock = new ResourceLock();
133
131
        shutdownThread = new Shutdown ();
134
        shutdownThread = new Shutdown ();
132
    }
135
    }
133
136
Lines 403-409 public class ImplementationRepositoryImpl Link Here
403
            //New POAInfo is to be created
406
            //New POAInfo is to be created
404
            _poa = new ImRPOAInfo(name, host, port, _server,
407
            _poa = new ImRPOAInfo(name, host, port, _server,
405
                                  poaActivationTimeout);
408
                                  poaActivationTimeout);
409
410
            server_table_ser_lock.gainExclusiveLock();
406
            _server.addPOA(_poa);
411
            _server.addPOA(_poa);
412
            server_table_ser_lock.releaseExclusiveLock();
413
407
            server_table.putPOA(name, _poa);
414
            server_table.putPOA(name, _poa);
408
415
409
            this.logger.debug("ImR: new poa registered");
416
            this.logger.debug("ImR: new poa registered");
Lines 1624-1635 public class ImplementationRepositoryImpl Link Here
1624
            {
1631
            {
1625
                try
1632
                try
1626
                {
1633
                {
1634
                    server_table_ser_lock.gainExclusiveLock();
1627
                    save_server_table (table_file);
1635
                    save_server_table (table_file);
1628
                }
1636
                }
1629
                catch (FileOpFailed ex)
1637
                catch (FileOpFailed ex)
1630
                {
1638
                {
1631
                    logger.error("Exception while saving server table", ex);
1639
                    logger.error("Exception while saving server table", ex);
1632
                }
1640
                }
1641
                finally
1642
                {
1643
                    server_table_ser_lock.releaseExclusiveLock();
1644
                }
1633
1645
1634
                if (done)
1646
                if (done)
1635
                {
1647
                {
1636
- 

Return to bug 1003