3 Replies Latest reply on Nov 19, 2002 6:14 PM by Joel Vogt

    Specs for JBoss vs. Tomcat configuration

    McGee Newbie

      Hi all,

      When you use Tomcat within JBoss, then JBoss' rules for configuration conflict with Tomcat's. For example, in JBoss you just throw your .war file in a deployment directory, while for Tomcat you put them under Tomcat somewhere (I don't know exactly where - presumably under 'webapps' somewhere.

      There's obviously some systematic resolution of these conflicts, but I've never seen it addressed. Since this is inherently an issue with any container (not just Tomcat), it's a pretty important issue. Where is it specced out?

      Thanks,
      McGee

        • 1. Re: Specs for JBoss vs. Tomcat configuration
          Joel Vogt Master

          sorry I'm a bit confused here, what is the issue?

          • 2. Re: Specs for JBoss vs. Tomcat configuration
            McGee Newbie

            The problem is . . . there are a number of ways to deploy a webapp under Tomcat. There are also ways of doing it under JBoss. What are the rules for resolving possible conflicts? If I have a webapp named, I don't know 'Muffins', and I have a copy of Muffins.war in $CATALINGA_HOME/webapps, and another copy in $JBOSS_HOME/server/default/deploy, then which one wins?

            This is just an example. In general, JBoss is designed to contain a webapp container. JBoss also itself handles some webapp container duties (with deployment being one). I've never seen attention paid to resolving these conflicts. I'm not saying that no attention has been paid, but if it has I would like to see it.

            - C

            • 3. Re: Specs for JBoss vs. Tomcat configuration
              Joel Vogt Master

              well, with jboss there is one way to deploy and that is through jboss' deploy directory.
              Generally anything you do in the catalina sub-directories will be ignored.
              If you have an embedded web-container best to just ignore it is there and let jboss take care of the rest.