geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r643498 - /geronimo/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/tnaming/TransientNameService.java
Date Tue, 01 Apr 2008 18:35:41 GMT
Author: rickmcguire
Date: Tue Apr  1 11:35:32 2008
New Revision: 643498

URL: http://svn.apache.org/viewvc?rev=643498&view=rev
Log:
YOKO-425 Fix TCK regression caused by previous changes. 


Modified:
    geronimo/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/tnaming/TransientNameService.java

Modified: geronimo/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/tnaming/TransientNameService.java
URL: http://svn.apache.org/viewvc/geronimo/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/tnaming/TransientNameService.java?rev=643498&r1=643497&r2=643498&view=diff
==============================================================================
--- geronimo/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/tnaming/TransientNameService.java
(original)
+++ geronimo/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/tnaming/TransientNameService.java
Tue Apr  1 11:35:32 2008
@@ -108,7 +108,7 @@
         props.put("org.omg.CORBA.ORBClass", "org.apache.yoko.orb.CORBA.ORB");
         props.put("org.omg.CORBA.ORBSingletonClass", "org.apache.yoko.orb.CORBA.ORBSingleton");
         props.put("yoko.orb.oa.endpoint", "iiop --host " + host + " --port " + port);
-        props.put("yoko.orb.poamanager.TNameService.endpoint", "iiop --host " + host);
+//      props.put("yoko.orb.poamanager.TNameService.endpoint", "iiop --host " + host);
 
 	    createdOrb = ORB.init((String[])null, props) ;
 
@@ -129,10 +129,6 @@
             // get the root POA.  We're going to re
             POA rootPOA = (POA) orb.resolve_initial_references("RootPOA");
             rootPOA.the_POAManager().activate();
-            
-            org.omg.PortableServer.POAManagerFactory factory = rootPOA.the_POAManagerFactory();
-            org.apache.yoko.orb.OBPortableServer.POAManagerFactory pmFactory = org.apache.yoko.orb.OBPortableServer.POAManagerFactoryHelper
-                    .narrow(factory);
 
             // we need to create a POA to manage this named instance, and then activate
             // a context on it.



Mime
View raw message