On Jun 5, 2009, at 4:30 AM, Totsline, Greg wrote:

Hi Jacek -

My test is very simple, I have configured OpenEJB with a single
stateless session bean and have setup a JUnit test to test the bean's
interface.  Unfortunately, my test is not even getting past the
construction of the InitialContext in the JUnit setup() method for the
test case.  I am executing the test from within Eclipse 3.4.

The xbean-finder-shaded-3.6-r779512.jar has classes which seem to be
problematic (seems to be treating "1.0" version as part of the
classpath).  It also appears that the OpenEJB 3.1.1 release does not
have a jar for the package org.objectweb.asm, but it seems to have a
dependency on this package.

Hope this helps. In the meantime, is there an earlier version available
for download that I could use (I am new to OpenEJB so even an earlier
version would be helpful for learning purposes).

Hi Greg,

The xbean-finder-shaded-3.6-r779512.jar uses a repackaged version of ASM to avoid conflicts with other libraries like Hibernate or Spring that use different versions of ASM. So basically when you remove that jar and add in the older xbean-finder-3.5.jar it adds a dependency on org.objectweb.asm that is otherwise not needed.

There was a fix for the xbean-finder bug you point out and I had thought it was applied in the xbean version we use, but apparently it was not. I'll follow up on that and see if I can make you a new xbean- finder jar that has the issue fixed.

-David

Reply via email to