3 Replies Latest reply on Jul 1, 2011 12:55 PM by peterj

    Freshman ussing JBoss

    ricardopinho

      Hello to all,

       

      I'm a newbie using JBoss. Recently i need to use a JBoss server to run a project. The server is running correctly and i can access in browser to the project.

       

      I put the war file in folder deploy but i don't know where the project is deployed. I'm asking that because i have a small exprience using Tomcat and if a put the war file in webapps the tomcat create a folder with the same name of the war file.

       

      Thanks for the help.

       

      Best regards.

        • 1. Re: Freshman ussing JBoss
          peterj

          Ricardo, welcome to the JBoss Community!

           

          If your war file is name xxx.war, then the URL will be http://localhost:8080/xxx. In other words, the default context is the same as the war file name (minus the extension). By the way, if you look at the console output, it will tell you the context name as it deploys the app.

          • 2. Re: Freshman ussing JBoss
            ricardopinho

            Hi Peter Johnson,

             

            Thank you for your replay. In fact, i can access to my application typing de url http://localhost:8080/xxx . But i don't know were is the directory were my war application is deployed.

             

            Is my search is correct JBoss work with Tomcat and i try to search a folder "webapps" like in Tomcat, but i don't find the folder, i just find onde folder in JBoss with my application name in server\default\work\jboss.web\localhost\xxx, but a just find a file named tldCache.ser.

             

            Thank you for the help, once again.

             

            Best Regards

            • 3. Re: Freshman ussing JBoss
              peterj

              The WAR file is exploded into a directory under server/default/work/jboss.web/localhost/xxx, where xxx is the name of your war.

               

              By the way, you do not want to do anything with this directory or its contents - it is often deleted and recreated on restart. If you need access to the contents of your war, then use exploded deployment: http://community.jboss.org/wiki/ExplodedDeployment