Dear All
created a very simple test from the maven archetype for 1.1.1 DM. Seems to run no problem at all when executed with the Sun 1.5_0_15 JDK, but fails when I run with the IBM J9 JVM on a windows (Vista) environment.
BeanOsgiIntegrationTest
I'll raise this with IBM as well, wish me luck
Haven't tried against the J9 JVM on Linux yet
Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20060511 (SR2))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows 2000 x86-32 j9vmwi3223-20060504 (JIT enabled)
J9VM - 20060501_06428_lHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA)
JCL - 20060511a
Any hints or tips, heres the stack trace, I'm at a loss as to why this is happening, and to be clear, if I change the JVM back to Sun, all works fine, with not a single change !. Yeah, looks like a classpath, but I thought the default osgi env was equinox, and not felix. I am not specifying any osgi env in my spring configs anywhere.
java.lang.NoClassDefFoundError: org.apache.felix.framework.Felix
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java: 59)
at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:120)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:131)
at org.springframework.osgi.test.platform.Platforms.c lass$(Platforms.java:30)
at org.springframework.osgi.test.platform.Platforms.< clinit>(Platforms.java:41)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:177)
at org.springframework.osgi.test.AbstractConfigurable OsgiTests.getPlatformName(AbstractConfigurableOsgi Tests.java:134)
at org.springframework.osgi.test.AbstractConfigurable OsgiTests.createPlatform(AbstractConfigurableOsgiT ests.java:77)
at org.springframework.osgi.test.AbstractOsgiTests.st artup(AbstractOsgiTests.java:233)
at org.springframework.osgi.test.AbstractOsgiTests.pr epareTestExecution(AbstractOsgiTests.java:374)
at org.springframework.osgi.test.AbstractOsgiTests.ru nBare(AbstractOsgiTests.java:203)
at org.springframework.osgi.test.AbstractOsgiTests$1. protect(AbstractOsgiTests.java:184)
at junit.framework.TestResult.runProtected(TestResult .java:124)
at org.springframework.osgi.test.AbstractOsgiTests.ru n(AbstractOsgiTests.java:181)
at junit.framework.TestSuite.runTest(TestSuite.java:2 30)
at junit.framework.TestSuite.run(TestSuite.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.junit.JUnitTestSet.execu te(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryT estSuite.executeTestSet(AbstractDirectoryTestSuite .java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryT estSuite.execute(AbstractDirectoryTestSuite.java:1 27)
at org.apache.maven.surefire.Surefire.run(Surefire.ja va:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.ru nSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.ma in(SurefireBooter.java:1009)



