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

    Examples doesn't work on Ubuntu

    Konstantin Pupkov Newbie

      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