[jboss-dev-forums] [Embedded JBoss Development] - Re: Tried to check out & build with cygwin - OOME
pgmjsd
do-not-reply at jboss.com
Sun Nov 22 19:13:56 EST 2009
"ALRubinger" wrote : "pgmjsd" wrote : It still blows up though.
|
| Need stacktraces, and more context.
|
| S,
| ALR
The context: running 'mvn test' in testsuite after seeing that there were failed tests when running 'mvn clean install' in the embedded/trunk directory.
Here's what it looks like on the command line:
| $ mvn test
| [INFO] Scanning for projects...
| WAGON_VERSION: 1.0-beta-2
| [INFO] ------------------------------------------------------------------------
| [INFO] Building JBossAS Embedded TestSuite
| [INFO] task-segment: [test]
| [INFO] ------------------------------------------------------------------------
| [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
| [INFO] [enforcer:enforce {execution: enforce-java-version}]
| [INFO] [enforcer:enforce {execution: enforce-maven-version}]
| [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
| [INFO] [enforcer:enforce {execution: enforce-maven-environment}]
| [INFO] [resources:resources]
| [INFO] Using 'UTF-8' encoding to copy filtered resources.
| [INFO] skip non existing resourceDirectory i:\devel\yajul\sandbox\embedded-jboss\embedded-trunk\testsuite\src\main\resources
| [INFO] [compiler:compile]
| [INFO] No sources to compile
| [INFO] [resources:testResources]
| [INFO] Using 'UTF-8' encoding to copy filtered resources.
| [INFO] Copying 8 resources
| [INFO] [compiler:testCompile]
| [INFO] Nothing to compile - all classes are up to date
| [INFO] [surefire:test]
| [INFO] Surefire report directory: i:\devel\yajul\sandbox\embedded-jboss\embedded-trunk\testsuite\target\surefire-reports
|
| -------------------------------------------------------
| T E S T S
| -------------------------------------------------------
| Running org.jboss.embedded.testsuite.ServerTestCase
| Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 77.234 sec <<< FAILURE!
|
| Results :
|
| Tests in error:
| testSlsb(org.jboss.embedded.testsuite.ServerTestCase)
| testWarServletJsp(org.jboss.embedded.testsuite.ServerTestCase)
| testJmsAndMdb(org.jboss.embedded.testsuite.ServerTestCase)
| testDataSourceAndEntity(org.jboss.embedded.testsuite.ServerTestCase)
| testWs(org.jboss.embedded.testsuite.ServerTestCase)
| testUrlDeployment(org.jboss.embedded.testsuite.ServerTestCase)
| testFileDeployment(org.jboss.embedded.testsuite.ServerTestCase)
|
| Tests run: 7, Failures: 0, Errors: 7, Skipped: 0
|
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD FAILURE
| [INFO] ------------------------------------------------------------------------
| [INFO] There are test failures.
|
| Please refer to i:\devel\yajul\sandbox\embedded-jboss\embedded-trunk\testsuite\target\surefire-reports for the individual test results.
| [INFO] ------------------------------------------------------------------------
| [INFO] For more information, run Maven with the -e switch
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 1 minute 24 seconds
| [INFO] Finished at: Sun Nov 22 19:03:27 EST 2009
| [INFO] Final Memory: 19M/127M
| [INFO] ------------------------------------------------------------------------
|
The stacktrace:
| 19:02:49,593 ERROR [AbstractKernelController] Error installing to Start: name=jboss.remoting:protocol=rmi,service=JMXConnectorServer state=Create mode=Manual requiredState=Installed
| java.rmi.server.ExportException: Port already in use: 1090; nested exception is:
| java.net.BindException: Address already in use: JVM_Bind
| at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
|
So, that's actually used by iTunes. After shutting down iTunes (guess I'll have to use something else to play music while I'm coding :P ):
| 19:08:44,796 INFO [ServerTestCase] webservice.war:
| /WEB-INF/web.xml
| /WEB-INF/classes/org/jboss/embedded/testsuite/ws/EmbeddedWs.class
|
| 19:08:46,109 INFO [WSDLFilePublisher] WSDL published to: file:/I:/devel/yajul/sandbox/embedded-jboss/jboss-as/build/output/jboss-6.0.0.M1/server/all/data/wsdl/webservice.war/Embedded6569855392570828391.wsdl
| 19:08:46,140 INFO [DefaultEndpointRegistry] register: jboss.ws:context=webservice,endpoint=embedded
| 19:08:46,203 INFO [TomcatDeployment] deploy, ctxPath=/webservice
| Nov 22, 2009 7:08:46 PM org.jboss.embedded.testsuite.ServerTestCase testWs
| INFO: Create Web Service client...
| 19:08:46,921 INFO [ServerTestCase] Create Web Service client...
| Nov 22, 2009 7:08:47 PM org.jboss.embedded.testsuite.ServerTestCase testWs
| INFO: Call Web Service Operation...
| 19:08:47,375 INFO [ServerTestCase] Call Web Service Operation...
| 19:08:47,531 ERROR [CommonClient] Exception caught while (preparing for) performing the invocation:
| java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:87)
| at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:169)
| at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:57)
| at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| at $Proxy197.hello(Unknown Source)
| at org.jboss.embedded.testsuite.ServerTestCase.testWs(ServerTestCase.java:479)
| 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:597)
| at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
| at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
| at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
| at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
| at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
| at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
| at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
| at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
| at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
| at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
| at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
| at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
| at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
| at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
| 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:165)
| at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
| 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:597)
| at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
| at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
| Nov 22, 2009 7:08:47 PM org.jboss.embedded.testsuite.ServerTestCase stopEmbeddedAS
|
Maybe I didn't get that 'extra classpath' thing exactly right. I was pretty sure that the surefire plugin wouldn't understand a '*' in the classpath entries, so I just put in the reference to jbossws-native-client.jar in.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266946#4266946
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266946
More information about the jboss-dev-forums
mailing list