2 Replies Latest reply on Feb 9, 2011 12:48 PM by goodidea

    Examples doesn't work on Ubuntu

    goodidea

      Arquillian most recent build (as of Feb-8-2011) and examples works well on Windows. However I have a problem with examples on Ubuntu. Symptom is test.war have 0 bytes size in case of JBoss6 remote. Looks like some permissions issue of required some firewall rule?

      Please advice.

      Steps to reproduce: Download distibution. mvn clean install (don't forget to change build/pom.xml line 149 from ${JAVA_HOME} to ${java.home}).

      go to examples/junit "sudo mvn clean install -Pjbossas-remote-6". Observe error messge on surefire report:

      ....

      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.579 sec <<< FAILURE!

      com.acme.cdi.InjectionTestCase  Time elapsed: 0 sec  <<< ERROR!

      org.jboss.arquillian.impl.event.FiredEventException: org.jboss.arquillian.spi.DeploymentException: Failed to deploy test.war

          at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:68)

          at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115)

          at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAda

      .....

       

      on server console:

      .....

      9:15:11,732 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] invoke, payload: {DeploymentTargetID=names=[test.war], clientAddress=/127.0.0.1}, parameter: stop

      19:15:11,732 WARN  [org.jboss.profileservice.management.upload.remoting.DeployHandler] Failed to complete command: [stop] for deployment: names=[test.war]: org.jboss.profileservice.spi.NoSuchDeploymentException: test.war

          at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.resolveProfileForDeployment(AbstractDeployHandler.java:291) [:0.2.2]

          at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.resolveProfiles(AbstractDeployHandler.java:248) [:0.2.2]

          at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.stopDeployments(AbstractDeployHandler.java:179) [:0.2.2]

          at org.jboss.profileservice.management.upload.remoting.DeployHandlerDelegate.stopDeployments(DeployHandlerDelegate.java:79) [:6.0.0.Final]

          at org.jboss.profileservice.management.upload.remoting.DeployHandler.invoke(DeployHandler.java:160) [:6.0.0.Final]

      ...............

       

      thanks

        • 1. Examples doesn't work on Ubuntu
          aslak

          You seem to be running against a 6.0.0.Final server on the Ubuntu, not sure if that's the same for Windows. Have you updated the examples to use the JBoss AS 6.0.0.Final client libs?

          • 2. Examples doesn't work on Ubuntu
            goodidea

            It is the same distribution for sure. One difference is on windows I was capable to successfully build whole Arquillian project but no luck on Ubuntu on the same source code (ALPHA4_29). Few errors with weld prevent the build. However I don't think profile -Pjbossas-remote-6 required weld.

            I can provide more details just tell me what you need. btw "sudo" in mvn command not required. it should work just like that "mvn clean install -Pjbossas-remote-6" right?