I'm working my way toward getting a full Geronimo build with the Yoko ORB, which means a lot of changes to the various plans. In the client-corba plan, I have the following GBean definition:

<gbean name="ORBConfigAdapter" class="org.openejb.corba.yoko.ORBConfigAdapterGBean"/>

The ORBConfigAdapterGBean is a new bean that encapsulates the configuration knowledge of the target ORB implementation. As you might expect, this has a few references to Yoko-specific classes. While trying to build this config, I got a NoClassDefFoundError trying to load one of the Yoko classes. Obviously a dependency problem, so I added the following dependency to the client-corba/pom.xml file:

       <dependency>
           <groupId>org.apache.yoko</groupId>
           <artifactId>yoko-core</artifactId>
       </dependency>

Problem solved, the config built properly and the build sped along until it hit the j2ee-corba config. This config has the same ORBConfigAdapter GBean defined. Not surprisingly, I got the same NoClassDefFoundError for the same class when trying to retrieve the GBeanInfo. Doh! This should be the same fix as the client-corba problem, so I added the same dependency lines to j2ee-corba/pom.xml. This time, the error does NOT go away :-( The dependency is showing up in the generated target/plan/plan.xml file with the correct version number, the NoClassDefFoundError seems to be very persistent. I've run out of ideas on how to fix or debug this problem. Any suggestions on what might be going wrong?

Rick

Reply via email to