14 Replies Latest reply on Nov 22, 2009 7:39 PM by pgmjsd

    Tried to check out & build with cygwin - OOME

    pgmjsd

      I was trying to build/checkout on my windows machine using Cygwin bash this weekend and I wasn't able to get testsuite to run without an OOME.

      * JBoss AS was from http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_6_0_0_M1 (because branches/Branch_5_x doesn't seem to be there anymore).
      * JDK 1.6.0_12
      * Embedded trunk.

      Once I set JBOSS_HOME properly using:

      export JBOSS_HOME=`cygpath -w /home/josh/...pathtojboss...`


      The compile worked fine. I tried giving Maven more memory with 'export MAVEN_OPTS=-Xmx1024m', but that didn't work.

      org.jboss.embedded.testsuite.ServerTestCase Time elapsed: 0 sec <<< ERROR!
      java.lang.IllegalStateException: Incompletely deployed:
      
      *** PROFILES IN ERROR: Name -> Error
      Profile: ProfileKey@fe53cf[domain=default, server=default, name=applications] in error due to java.lang.OutOfMemoryError: Java heap
      space
      
      *** PROFILES MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
      ProfileKey@4610fa[domain=default, server=default, name=farm] is missing following dependencies: ProfileKey@fe53cf[domain=default, se
      rver=default, name=applications]{Installed:**ERROR**}
      ProfileKey@1e0123b[domain=default, server=default, name=all] is missing following dependencies: ProfileKey@4610fa[domain=default, se
      rver=default, name=farm]{Installed:PreInstall}
      
       at org.jboss.system.server.profileservice.repository.AbstractProfileService.logErrors(AbstractProfileService.java:613)
       at org.jboss.system.server.profileservice.repository.AbstractProfileService.validate(AbstractProfileService.java:390)
       at org.jboss.system.server.profileservice.repository.AbstractProfileService.validateProfile(AbstractProfileService.java:373)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:267)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:97)
       at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
       at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
       at java.lang.Thread.run(Thread.java:619)
      


      I'm going to try it with jdk1.6.0_17...

        • 1. Re: Tried to check out & build with cygwin - OOME
          pgmjsd

          Oh, this is odd. "port already in use" in ServerTestCase-output.txt:

          20:12:05,643 INFO [WebService] Using RMI server codebase: http://localhost:8083/
          20:12:05,768 ERROR [AbstractKernelController] Error installing to Start: name=jboss:service=Naming state=Create mode=Manual requiredState=Installed
          java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
           java.net.BindException: Address already in use: JVM_Bind
           at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
           at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
           at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
           at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
           at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
           at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
           at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:256)
           at org.jnp.server.Main.initJnpInvoker(Main.java:462)
           at org.jnp.server.Main.start(Main.java:422)
           at org.jboss.naming.NamingService.startService(NamingService.java:320)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:355)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:301)
           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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
           at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
           at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:267)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
           at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
           at $Proxy41.start(Unknown Source)
           at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
           at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
           at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
           at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
           at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
           at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:823)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
           at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
           at org.jboss.system.ServiceController.start(ServiceController.java:443)
           at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
           at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
           at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
           at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
           at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
           at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1448)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1166)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1187)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1107)
           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:823)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:783)
           at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
           at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
           at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
           at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
           at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:775)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
           at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
           at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:258)
           at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:97)
           at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
           at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
           at java.lang.Thread.run(Thread.java:619)
          


          • 2. Re: Tried to check out & build with cygwin - OOME
            alrubinger

            Giving more memory to Maven using MAVEN_OPTS shouldn't help you with tests which Surefire launches (in another process/VM). For that there's the Surefire config in build/pom.xml; see if bumping the Xmx there locally works for you.

            So far as the "port in use" issue, I recommend using Sysinternals' PortMon (http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx) to see what process is holding the port (my guess is something external to AS).

            S,
            ALR

            • 3. Re: Tried to check out & build with cygwin - OOME
              pgmjsd

               

              "ALRubinger" wrote:
              Giving more memory to Maven using MAVEN_OPTS shouldn't help you with tests which Surefire launches (in another process/VM). For that there's the Surefire config in build/pom.xml; see if bumping the Xmx there locally works for you.


              Yeah, I saw the surefire plugin doc but I figured I'd try MAVEN_OPTS first.


              So far as the "port in use" issue, I recommend using Sysinternals' PortMon (http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx) to see what process is holding the port (my guess is something external to AS).

              S,
              ALR


              Okay, the weird thing is that ServerTestCase-output.txt has the 'port in use' message in it, but ServerTestCase.txt has OOME.

              I used currports... it says there's nothing listening on 8083.


              • 4. Re: Tried to check out & build with cygwin - OOME
                alrubinger

                 

                "pgmjsd" wrote:
                I used currports... it says there's nothing listening on 8083.


                Because the port in use is 1098. :)

                java.rmi.server.ExportException: Port already in use: 1098; nested exception is:


                S,
                ALR


                • 5. Re: Tried to check out & build with cygwin - OOME
                  pgmjsd

                  Added this to testsuite/pom.xml:

                   <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-surefire-plugin</artifactId>
                   <configuration>
                   <argLine>-Xms256m -Xmx1024m -XX:MaxPermSize=256m</argLine>
                   </configuration>
                   </plugin>
                  


                  Web service tests fail though.

                  • 6. Re: Tried to check out & build with cygwin - OOME
                    alrubinger

                    Cool.

                    The WS tests require a couple things:

                    1) -Djava.endorsed.dirs set at start of the VM to $JBOSS_HOME/lib/endorsed
                    2) The $JBOSS_HOME/client/*native-client.jar on the ClassPath

                    • 7. Re: Tried to check out & build with cygwin - OOME
                      pgmjsd

                       

                      "ALRubinger" wrote:
                      Cool.

                      The WS tests require a couple things:

                      1) -Djava.endorsed.dirs set at start of the VM to $JBOSS_HOME/lib/endorsed
                      2) The $JBOSS_HOME/client/*native-client.jar on the ClassPath


                      Okay, I've changed it to:
                       <plugin>
                       <groupId>org.apache.maven.plugins</groupId>
                       <artifactId>maven-surefire-plugin</artifactId>
                       <configuration>
                       <argLine>-Xms256m -Xmx1024m -XX:MaxPermSize=256m</argLine>
                       <systemProperties>
                       <property>
                       <name>java.endorsed.dirs</name>
                       <value>${env.JBOSS_HOME}/lib/endorsed</value>
                       </property>
                       </systemProperties>
                       <additionalClasspathElements>
                       <additionalClasspathElement>${env.JBOSS_HOME}/client/jbossws-native-client.jar</additionalClasspathElement>
                       </additionalClasspathElements>
                       </configuration>
                       </plugin>
                      


                      It still blows up though.

                      • 8. Re: Tried to check out & build with cygwin - OOME
                        pgmjsd

                         

                        "ALRubinger" wrote:
                        "pgmjsd" wrote:
                        I used currports... it says there's nothing listening on 8083.


                        Because the port in use is 1098. :)

                        java.rmi.server.ExportException: Port already in use: 1098; nested exception is:


                        S,
                        ALR


                        Nothing listening on that either. It also complained about 8083.

                        • 9. Re: Tried to check out & build with cygwin - OOME
                          alrubinger

                           

                          "pgmjsd" wrote:
                          It still blows up though.


                          Need stacktraces, and more context.

                          S,
                          ALR

                          • 10. Re: Tried to check out & build with cygwin - OOME
                            pgmjsd

                             

                            "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.


                            • 11. Re: Tried to check out & build with cygwin - OOME
                              alrubinger

                              So is the only remaining problem this one?

                              "pgmjsd" wrote:
                              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)


                              This manifests itself when the endorsed dirs don't get picked up properly. Some more history of this on Windows, for instance:

                              http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158265

                              S,
                              ALR

                              • 12. Re: Tried to check out & build with cygwin - OOME
                                alrubinger

                                Also I don't know about this "systemProperties" configuration for Surefire. In the EmbeddedAS testsuite we use -Dsysprop=value in the argLine config.

                                S,
                                ALR

                                • 13. Re: Tried to check out & build with cygwin - OOME
                                  pgmjsd

                                   

                                  "ALRubinger" wrote:
                                  Also I don't know about this "systemProperties" configuration for Surefire. In the EmbeddedAS testsuite we use -Dsysprop=value in the argLine config.

                                  S,
                                  ALR


                                  True. It wouldn't be the first time a Maven plugin didn't work as documented. ;) I'll try it the way.


                                  • 14. Re: Tried to check out & build with cygwin - OOME
                                    pgmjsd

                                    Whaddaya know... 'argLine' worked!

                                    $ 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: 0, Skipped: 0, Time elapsed: 108.906 sec
                                    
                                    Results :
                                    
                                    Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
                                    
                                    [INFO] ------------------------------------------------------------------------
                                    [INFO] BUILD SUCCESSFUL
                                    [INFO] ------------------------------------------------------------------------
                                    [INFO] Total time: 3 minutes 21 seconds
                                    [INFO] Finished at: Sun Nov 22 19:38:07 EST 2009
                                    [INFO] Final Memory: 19M/127M
                                    [INFO] ------------------------------------------------------------------------