1 Reply Latest reply on Mar 25, 2003 10:15 AM by cvolk

    How to deploy app as expanded directory

    netm

      I am currently running jboss-3.0.6_tomcat-4.1.18 the directory structure is set up like this C:\ jboss-3.0.6_tomcat-4.1.18. I have successfully deployed a web app that I found as an example from tomcat that is called ROOT.ear. By putting this in C:\ jboss-3.0.6_tomcat-4.1.18\server\default\deploy\ROOT.ear. If I want to run a web application as an expanded directory where would I put it and do I need to set anything in a configuration file to point to it. I understand how webservers work but I don?t know much about administering them so any help would be appreciated.
      Thanks

        • 1. Re: How to deploy app as expanded directory
          cvolk

          I assume you are actually referring to the ROOT web-app that comes with Tomcat? This would be a ROOT.war (not ROOT.ear) in unexploded form as Tomcat does not process .ear files (which can contain, among other things, EJB's, which Tomcat does not process). To deploy this on JBoss 3.x, rename it to ROOT.war and copy the directory to %JBOSS_HOME%\server\[all|default]\deploy, where all or default is the server instance you are using. Use "all" if you start JBoss by "run -c all". Use default if you run Jboss via "run".

          Access this webapp via http://localhost:8080/ROOT.

          Hope this helps.

          Chris