4 Replies Latest reply on Aug 18, 2010 10:18 AM by Dan Allen

    Update version of Glassfish embedded

    Michael Schuetz Novice



      Glassfish embedded 3.0.1-b02 is used within examples and docs.


      As there are a couple of new version, I played around a bit.

      gf embedded versions: https://repository.jboss.org/nexus/content/groups/public/org/glassfish/extras/glassfish-embedded-all/


      My test succeeded for following versions:

      - 3.0.1-b20

      - 3.1-b04


      Can't spot any obvious differences.


      It doesnt' succeed for version 3.1-b05 until latest GF embedded version 3.1-b13:

      at org.jboss.arquillian.protocol.servlet_3.ServletMethodExecutor.invoke(ServletMethodExecutor.java:61)

          at org.jboss.arquillian.impl.handler.ContainerTestExecuter.callback(ContainerTestExecuter.java:50)

          at org.jboss.arquillian.impl.handler.ContainerTestExecuter.callback(ContainerTestExecuter.java:40)

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

          ... 30 more

      Caused by: java.net.ConnectException: Connection refused: connect


      BTW, my test has focussed on tested EJB injection, not for CDI.


      So, I do recommend switching to version 3.1-b04 as first step. Maybe not to late for Alpha4?


      Here you can find the example test: http://github.com/michaelschuetz/arquillian-javamagazin

      Supposed to be the smallest possible example for arquillian testing EB3.1 (-: