2 Replies Latest reply on Dec 8, 2011 2:53 AM by thomas.letsch

    JBoss AS 7.0.2 and GWT subdirectory

    thomas.letsch

      Hi,

       

      I am trying to use the JBoss AS together with GWT. GWT creates a subdirectory with the GWT module name under the webapp directory. Inside this directoy there are various generted files, e.g. the main java script file.

      Example:

      webapp

      + gwt_module.html

      + WEB-INF/...

      + gwt_module/

         + gwt_module.nocache.js

       

      In JBoss AS 7 this directory is not accessible (HTTP Status 404 - /mywebapp/gwt_module/gwt_module.nocache.js) any more.

      Deploying on other container (tomcat) works fine.

       

      Do I need to configure something sepcial for using subdirectories there?

       

      Thanks,

      Thomas

        • 1. Re: JBoss AS 7.0.2 and GWT subdirectory
          ctomc

          what is the name of your web application (war) or do you have any special setting for context-root or virtual host(jboss-web.xml) set?

           

          As I have few gwt applications deployed in AS7 and they all work without any problem...

           

          what does your log says when deploys application, what context?

           

          cheers,

          tomaz

          1 of 1 people found this helpful
          • 2. Re: JBoss AS 7.0.2 and GWT subdirectory
            thomas.letsch

            HI,

             

            I finally found my mistake:

            My rest interface was accidently pointing to the gwt directory @ApplicationPath("gwt_module") and that of course won't work.

             

            Thanks,

            Thomas