When I run simple-webservice in openejb-examples-3.0-beta-2.zip file I found the ERROR mesage as below.
... INFO - OpenEJB ready. OpenEJB ready. ** Starting Services ** NAME IP PORT httpejbd 127.0.0.1 4204 ejbd 127.0.0.1 4201 ERROR - Error deploying CXF webservice for ejb CalculatorImpl java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/utils/NamespacePrefixList at org.apache.openejb.server.cxf.ejb.EjbEndpoint.<init>(EjbEndpoint.java:52) at org.apache.openejb.server.cxf.ejb.EjbWsContainer.createEndpoint(EjbWsContainer.java:35) at org.apache.openejb.server.cxf.ejb.EjbWsContainer.createEndpoint(EjbWsContainer.java:25) at org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:63) at org.apache.openejb.server.cxf.CxfService.createEjbWsContainer(CxfService.java:51) at org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:228) at org.apache.openejb.server.webservices.WsService.start(WsService.java:167) at org.apache.openejb.server.ServiceManager.start(ServiceManager.java:261) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.openejb.client.LocalInitialContextFactory.bootServerServices(LocalInitialContextFactory.java:85) at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:64) at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:51) at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:40) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:197) at org.superbiz.calculator.CalculatorTest.setUp(CalculatorTest.java:37) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:228) at junit.framework.TestSuite.run(TestSuite.java:223) at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997) cxf n/a -1 admin thread 127.0.0.1 4200 ------- Ready! Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.282 sec <<< FAILURE! Any comments for it is useful to me. Thanks, Jian-zhi -- View this message in context: http://www.nabble.com/Found-ERROR---Error-deploying-CXF-webservice-for-ejb-CalculatorImpl-when-run-web-services-sample.-tp16323312p16323312.html Sent from the OpenEJB User mailing list archive at Nabble.com.