incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Cabrera (JIRA)" <j...@apache.org>
Subject [jira] Created: (YOKO-210) Need better properties management when starting an ORB
Date Mon, 13 Nov 2006 07:37:37 GMT
Need better properties management when starting an ORB
------------------------------------------------------

                 Key: YOKO-210
                 URL: http://issues.apache.org/jira/browse/YOKO-210
             Project: Yoko - CORBA Server
          Issue Type: Bug
          Components: orb core
    Affects Versions: 1.0-incubating-M1
            Reporter: Alan Cabrera
             Fix For: 1.0-incubating-M2


A lot of code within Yoko 
is doing the following to instantiate an ORB instance:

Properties props = System.getProperties();
props.put(...);

ORB orb = ORB.init(args, props);

By setting the properties directly into the property bundle returned by 
System.getProperties(), this code is inadvertently setting the system 
property, leaving junk that can be picked up later.  In this case, it 
was the NamingService code that was leaving an endpoint property set 
that was causing the duplicate. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message