axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: [Axis2] Build breaks from axiom changes
Date Wed, 27 Feb 2008 06:08:32 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Amila,

Please try MAVEN_OPTS=-Xms256m -Xmx512m

thanks,
dims

Amila Suriarachchi wrote:
| hi,
|
| does OSGI module builds correctly? I got this exception  while building
| (without tests) the OSGI module with jdk 1.5 in ubuntu linux.
|
| ~/projects/axis2_trunk/java/modules/osgi$ mvn clean install -
| Dmaven.test.skip=true -U
|
| [INFO]
| ------------------------------------------------------------------------
| [ERROR] FATAL ERROR
| [INFO]
| ------------------------------------------------------------------------
| [INFO] Java heap space
| [INFO]
| ------------------------------------------------------------------------
| [INFO] Trace
| java.lang.OutOfMemoryError: Java heap space
|         at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:53)
|         at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
|         at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
|         at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
|         at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
|         at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
|         at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
|         at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
|         at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
|         at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:58)
|         at aQute.lib.osgi.EmbeddedResource.build(EmbeddedResource.java:35)
|         at aQute.lib.osgi.EmbeddedResource.build(EmbeddedResource.java:69)
|         at aQute.lib.osgi.Verifier.getBundleClassPath(Verifier.java:124)
|         at aQute.lib.osgi.Verifier.<init>(Verifier.java:78)
|         at aQute.lib.osgi.Builder.doVerify(Builder.java:214)
|         at aQute.lib.osgi.Builder.build(Builder.java:50)
|         at org.apache.felix.bundleplugin.BundlePlugin.execute(
| BundlePlugin.java:305)
|         at org.apache.felix.bundleplugin.BundlePlugin.execute(
| BundlePlugin.java:201)
|         at org.apache.felix.bundleplugin.BundlePlugin.execute(
| BundlePlugin.java:193)
|         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
| DefaultPluginManager.java:443)
|         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
| DefaultLifecycleExecutor.java:539)
|         at
| org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
| (DefaultLifecycleExecutor.java:480)
|         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
| DefaultLifecycleExecutor.java:459)
|         at
| org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
| (DefaultLifecycleExecutor.java:311)
|         at
| org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
| DefaultLifecycleExecutor.java:278)
|         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
| DefaultLifecycleExecutor.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:280)
|         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|         at sun.reflect.NativeMethodAccessorImpl.invoke(
| NativeMethodAccessorImpl.java:39)
|         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
| DelegatingMethodAccessorImpl.java:25)
|
| But When I build after removing the osgi module from the root
| pom.xml(skipping test cases) it worked fine.
|
| thanks,
| Amila.
|
| On Wed, Feb 27, 2008 at 10:59 AM, Davanum Srinivas <davanum@gmail.com>
| wrote:
|
| Rich,
|
| I see a couple of new build breaks. Looks like the AXIOM changes are
| catching up..
|
| Failed tests:
| ~  testFault(org.apache.axis2.jaxws.provider.SOAPFaultProviderTests)
|
| Tests in error:
| ~  testGetPayloadFromSoap12(org.apache.axis2.jaxws.message.SOAP12Tests)
|
|
| -
| -------------------------------------------------------------------------------
| Test set: org.apache.axis2.jaxws.framework.JAXWSTest
| -
| -------------------------------------------------------------------------------
| Tests run: 365, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 49.964sec <<<
FAILURE!
| testGetPayloadFromSoap12(org.apache.axis2.jaxws.message.SOAP12Tests)  Time
| elapsed: 0.003 sec  <<< ERROR!
| java.lang.NullPointerException
| ~        at java.util.Hashtable.get(Hashtable.java:482)
| ~        at
|
| org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory.createOMNamespace
| (OMLinkedListImplFactory.java:161)
| ~        at org.apache.axiom.soap.impl.llom.SOAPBodyImpl.hasLookahead(
| SOAPBodyImpl.java:194)
| ~        at
| org.apache.axiom.soap.impl.llom.SOAPBodyImpl.getFirstElementLocalName(
| SOAPBodyImpl.java:215)
| ~        at org.apache.axiom.soap.impl.llom.SOAPBodyImpl.hasFault(
| SOAPBodyImpl.java:99)
| ~        at
| org.apache.axis2.jaxws.message.impl.XMLSpineImpl._getBodyBlockParent(
| XMLSpineImpl.java:637)
| ~        at org.apache.axis2.jaxws.message.impl.XMLSpineImpl.getBodyBlock(
| XMLSpineImpl.java:322)
| ~        at org.apache.axis2.jaxws.message.impl.XMLPartBase.getBodyBlock(
| XMLPartBase.java:516)
| ~        at org.apache.axis2.jaxws.message.impl.MessageImpl.getBodyBlock(
| MessageImpl.java:566)
| ~        at
| org.apache.axis2.jaxws.message.SOAP12Tests.testGetPayloadFromSoap12(
| SOAP12Tests.java:189)
| ~        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| ~        at sun.reflect.NativeMethodAccessorImpl.invoke(
| NativeMethodAccessorImpl.java:64)
| ~        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
| DelegatingMethodAccessorImpl.java:43)
| ~        at java.lang.reflect.Method.invoke(Method.java:615)
| ~        at junit.framework.TestCase.runTest(TestCase.java:168)
| ~        at junit.framework.TestCase.runBare(TestCase.java:134)
| ~        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:124)
| ~        at junit.framework.TestSuite.runTest(TestSuite.java:232)
| ~        at junit.framework.TestSuite.run(TestSuite.java:227)
| ~        at junit.framework.TestSuite.runTest(TestSuite.java:232)
| ~        at junit.framework.TestSuite.run(TestSuite.java:227)
| ~        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
| ~        at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
| ~        at junit.framework.TestResult.runProtected(TestResult.java:128)
| ~        at junit.extensions.TestSetup.run(TestSetup.java:27)
| ~        at org.junit.internal.runners.JUnit38ClassRunner.run(
| JUnit38ClassRunner.java:81)
| ~        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:64)
| ~        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
| DelegatingMethodAccessorImpl.java:43)
| ~        at java.lang.reflect.Method.invoke(Method.java:615)
| ~        at
| org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
| SurefireBooter.java:338)
| ~        at org.apache.maven.surefire.booter.SurefireBooter.main(
| SurefireBooter.java:997)
|
| testFault(org.apache.axis2.jaxws.provider.SOAPFaultProviderTests)  Time
| elapsed: 0.012 sec  <<< FAILURE!
| junit.framework.AssertionFailedError: Caught unexpected exception
| javax.xml.ws.soap.SOAPFaultException: SOAP Envelope
| can not have children other than SOAP Header and Body
| ~        at junit.framework.Assert.fail(Assert.java:47)
| ~        at
| org.apache.axis2.jaxws.provider.SOAPFaultProviderTests.testFault(
| SOAPFaultProviderTests.java:82)
| ~        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| ~        at sun.reflect.NativeMethodAccessorImpl.invoke(
| NativeMethodAccessorImpl.java:64)
| ~        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
| DelegatingMethodAccessorImpl.java:43)
| ~        at java.lang.reflect.Method.invoke(Method.java:615)
| ~        at junit.framework.TestCase.runTest(TestCase.java:168)
| ~        at junit.framework.TestCase.runBare(TestCase.java:134)
| ~        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:124)
| ~        at junit.framework.TestSuite.runTest(TestSuite.java:232)
| ~        at junit.framework.TestSuite.run(TestSuite.java:227)
| ~        at junit.framework.TestSuite.runTest(TestSuite.java:232)
| ~        at junit.framework.TestSuite.run(TestSuite.java:227)
| ~        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
| ~        at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
| ~        at junit.framework.TestResult.runProtected(TestResult.java:128)
| ~        at junit.extensions.TestSetup.run(TestSetup.java:27)
| ~        at org.junit.internal.runners.JUnit38ClassRunner.run(
| JUnit38ClassRunner.java:81)
| ~        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:64)
| ~        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
| DelegatingMethodAccessorImpl.java:43)
| ~        at java.lang.reflect.Method.invoke(Method.java:615)
| ~        at
| org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
| SurefireBooter.java:338)
| ~        at org.apache.maven.surefire.booter.SurefireBooter.main(
| SurefireBooter.java:997)
|
|>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
|>
|>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFHxP5ggNg6eWEDv1kRAhq6AJ4nHVfBoWnus0VIxtiRKbOQirCwjQCeKdS2
qWPV6TWxa2BQEmhkpYNKbYs=
=rumd
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message