0 Replies Latest reply on Jun 13, 2011 3:55 PM by sdhaliwal

    errai-1.2.2-FINAL and Jboss-eap-5.1

    sdhaliwal

      Please, forgive me if this question has been asked before. I am wondering if it is possible to run errai-1.2.2-FINAL on Jboss-eap-5.1. If not then what is the recommended version of the jboss-as to run  errai-1.2.2-FINAL.

       

      After doing some more research, it seems like that the above configuration works after you do the following:

      Please note that I am trying to deploy

       

      errai-1.2.2.Final/examples/asyncdemo into jboss-eap-5.1

       

      Generate war file using the following command.

      mvn package

       

      it generates the following file:

      target/errai-bus-demos-asyncdemo-1.2.2.Final.war

       

      deploy this file as an exploded war into jboss deploy directory and remove the following files

      WEB-INF/lib/gwt-dev-2.1.0.jar

      WEB-INF/lib/gwt-user-2.1.0.jar

       

      Since I had modified the WEB-INF/web.xml file to use

      <servlet>

               <servlet-name>ErraiServlet</servlet-name>

               <servlet-class>org.jboss.errai.bus.server.servlet.JBossCometServlet</servlet-class>

               <load-on-startup>1</load-on-startup>

           </servlet>

       

      I also had to be running APR connector.

       

       

      Regards,

      Swarn