Detect Yoko classes are not endorsed
------------------------------------

                 Key: GERONIMO-2862
                 URL: https://issues.apache.org/jira/browse/GERONIMO-2862
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: CORBA
            Reporter: Dain Sundstrom
         Assigned To: Rick McGuire


When the Yoko classes are not installed in the endorsed directory, we get  
non-obvious exceptions like the following from the Yoko code.

java.lang.NoSuchMethodError: 
org.omg.PortableInterceptor.IORInterceptor_3_0.adapter_manager_state_changed(Ljava/lang/String;S)V
        at 
org.apache.yoko.orb.OB.PIManager.adapterManagerStateChange(PIManager.java:532)
        at 
org.apache.yoko.orb.OBPortableServer.POAManager_impl.activate(POAManager_impl.java:213)
        at 
org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.initialize(TransientNameService.java:130)


We should be able to detect that the Yoko specs are not endorsed and throw an 
specific exception informing the user how to fix the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to