Forward from non-list member.
        Brent




Hi,

I get the ambigous method signature error when I try
to initialise an ORB thru TclBlend. Effectively
I am doing the following in Java

Porperties props = new Properties();
props.put( "org.omg.CORBA.ORBClass", "com.sybase.CORBA.ORB")
_orb = ORB.init( (String[]) null, props );

The error message is enclosed below and the TclProc below..

Any ideas ?

-Sari

ambiguous method signature, could not choose between {init 
java.applet.Applet java.util.Properties} {init {java.lang.String[]} 
java.util.Properties}
         while executing
     "java::call org.omg.CORBA.ORB init [java::cast java.lang.String[] 
[java::null]] $properties"




[
proc getORB {} {



                java::try {
                set properties [java::new java.util.Properties]


                # location of name service
                $properties put $::orb $::syborb

                        set _myORB [java::call org.omg.CORBA.ORB init [java::cast 
java.lang.String[] [java::null]] $properties]
                        set ::myORB [java::cast org.omg.CORBA.ORB $_myORB]

            } catch {Exception e} {
                        puts "There is an ORB EXCEPTION"
                $e printStackTrace
            }
}
]
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



Reply via email to