I have fixed this under revision #555736, it's a change on SDO pom, so you might have to rebuild SDO first.
On 7/12/07, Raymond Feng <[EMAIL PROTECTED]> wrote:
Hi, I'm seeing the build failure as follows: [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] javax.xml.stream.XMLStreamReader [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoClassDefFoundError: javax.xml.stream.XMLStreamReader at java.lang.J9VMInternals.verifyImpl(Native Method) at java.lang.J9VMInternals.verify(J9VMInternals.java:63) at java.lang.J9VMInternals.initialize(J9VMInternals.java:124) at org.apache.tuscany.sdo.helper.HelperContextImpl.<init>(HelperContextI mpl.java:64) at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.generateFromXMLSche ma(XSD2JavaGenerator.java:171) at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.generateFromXMLSche ma(XSD2JavaGenerator.java:155) at org.apache.tuscany.sdo.plugin.GeneratorMojo.execute(GeneratorMojo.jav a:270) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18 seconds [INFO] Finished at: Thu Jul 12 12:58:23 PDT 2007 [INFO] Final Memory: 12M/33M [INFO] ------------------------------------------------------------------------ Thanks, Raymond ----- Original Message ----- From: "Luciano Resende" <[EMAIL PROTECTED]> To: <tuscany-dev@ws.apache.org> Sent: Thursday, July 12, 2007 11:13 AM Subject: Re: Build errors in SCA implementation-das module > It builds OK for me under revision #554758 > > On 7/11/07, Luciano Resende <[EMAIL PROTECTED]> wrote: >> This might be related to the SDO build issues we are seeing [1] around >> the emf code-gen dependency. Right now I'm having some other issues >> related to SDO while building, but let me see if I can check this as >> well... >> >> [1] http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg19676.html >> >> On 7/11/07, Simon Nash <[EMAIL PROTECTED]> wrote: >> > I'm getting build errors from the SCA implementation-das module. >> > They mostly look like the following stack trace. Any ideas? >> > >> > Simon >> > >> > Running >> > org.apache.tuscany.sca.implementation.das.company.CompanyServiceTestCase >> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 >> > sec >> > Running org.apache.tuscany.sca.implementation.das.DASTestCase >> > Initializing DAS >> > java.lang.UnsupportedOperationException >> > at >> > org.apache.tuscany.sdo.impl.DataObjectBase.getStaticType(DataObjectBase.java:383) >> > at >> > org.apache.tuscany.sdo.impl.DataObjectBase.eStaticClass(DataObjectBase.java:378) >> > at >> > org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl.eClass(ExtensibleDataObjectImpl.java:118) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLHandler.processObject(XMLHandler.java:2161) >> > at >> > org.eclipse.emf.ecore.xmi.impl.SAXXMLHandler.processObject(SAXXMLHandler.java:93) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFeatureType(XMLHandler.java:1926) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:1791) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1569) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLHandler.createDocumentRoot(XMLHandler.java:1237) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1165) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1247) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:883) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:866) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:627) >> > at >> > org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl$XmlHandler.startElement(SDOXMLResourceImpl.java:362) >> > at >> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) >> > at >> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330) >> > at >> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779) >> > at >> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794) >> > at >> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) >> > at >> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) >> > at >> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) >> > at >> > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) >> > at >> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) >> > at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:268) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:666) >> > at >> > org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl.doLoad(SDOXMLResourceImpl.java:538) >> > at >> > org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.load(XMLResourceImpl.java:634) >> > at >> > org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(XMLDocumentImpl.java:259) >> > at >> > org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(XMLDocumentImpl.java:232) >> > at >> > org.apache.tuscany.sdo.helper.XMLHelperImpl.load(XMLHelperImpl.java:85) >> > at >> > org.apache.tuscany.sdo.helper.XMLHelperImpl.load(XMLHelperImpl.java:79) >> > at >> > org.apache.tuscany.das.rdb.util.ConfigUtil.loadConfig(ConfigUtil.java:52) >> > at >> > org.apache.tuscany.das.rdb.impl.DASImpl.<init>(DASImpl.java:62) >> > at >> > org.apache.tuscany.das.rdb.impl.DASFactoryImpl.createDAS(DASFactoryImpl.java:31) >> > at >> > org.apache.tuscany.sca.implementation.das.provider.DataAccessEngineManager.initializeDAS(DataAccessEngineManager.java:45) >> > at >> > org.apache.tuscany.sca.implementation.das.provider.DataAccessEngineManager.getDAS(DataAccessEngineManager.java:65) >> > at >> > org.apache.tuscany.sca.implementation.das.provider.DASImplementationProvider.createInvoker(DASImplementationProvider.java:52) >> > at >> > org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.addImplementationInterceptor(CompositeActivatorImpl.java:613) >> > at >> > org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.createWires(CompositeActivatorImpl.java:487) >> > at >> > org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.createRuntimeWires(CompositeActivatorImpl.java:355) >> > at >> > org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:758) >> > at >> > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:145) >> > at >> > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:229) >> > at >> > org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:68) >> > at >> > org.apache.tuscany.sca.implementation.das.DASTestCase.setUp(DASTestCase.java:42) >> > at junit.framework.TestCase.runBare(TestCase.java:125) >> > at junit.framework.TestResult$1.protect(TestResult.java:106) >> > at junit.framework.TestResult.runProtected(TestResult.java:124) >> > at junit.framework.TestResult.run(TestResult.java:109) >> > at junit.framework.TestCase.run(TestCase.java:118) >> > at junit.framework.TestSuite.runTest(TestSuite.java:208) >> > at junit.framework.TestSuite.run(TestSuite.java:203) >> > 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.junit.JUnitTestSet.execute(JUnitTestSet.java:213) >> > at >> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) >> > at >> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) >> > at org.apache.maven.surefire.Surefire.run(Surefire.java:132) >> > 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:290) >> > at >> > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) >> > >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> -- >> Luciano Resende >> Apache Tuscany Committer >> http://people.apache.org/~lresende >> http://lresende.blogspot.com/ >> > > > -- > Luciano Resende > Apache Tuscany Committer > http://people.apache.org/~lresende > http://lresende.blogspot.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]