3 Replies Latest reply on Aug 28, 2006 3:15 PM by sjmenden

    Why I can run seam registration app without started JBoss se

    kwedeer

      So - I has old tomcat installation (o port 8080) and now - jBoss EJB3 clustered server (on 8080 as well). I have managed to deploy registration seam application (JSF and EJB3!!!, there was requirement in tutorial to out the right path in build.properties of seam samples) - and resulting files are copied into tomcat webapps. So - when JBoss is started then no tomcat applications including registration is available (only the jmx-console is present - but it is purely JBoss ). But when JBoss is down and Tomcat is runnning then - registration works fine. Why - it uses at least stateless session EJB - so - can it can be run without EJB3 container from JBoss???

      When Tomcat is running and I am starting JBoss - the there is errors on JBoss console that port 8080 is bound already? But JBoss is not starting tomcat automatically!!!

      I made web installation and it was without errors. Besides - when I had simply downloaded JBoss and run - then I had access to jBoss web-console, but now - after web installation from the very beginnin - JBoss cann't found web-console appliation.

      So - how to use tomcat and JBoss together (it would be better to use only one of them, the best one :))).

      Thanks for any kind of hints, experience in advance!

        • 1. Re: Why I can run seam registration app without started JBos
          mzeijen

          JBoss AS has tomcat integrated. You don't need tomcat if you want to use JBoss AS.

          Tomcat is only a java 'web' container. JBoss is a fully java application server. So based on you needs you should choose between both. You can't say that one of them is the best because then you would compare apples with peares.

          If I where you then I would first read some stuff about jboss and tomcat. At first it is complicated but you need some basic knowlage about that stuff before you start developing java webapplication.

          • 2. Re: Why I can run seam registration app without started JBos
            kwedeer

            thanks...

            well - I had this sense that tomcat should be inside JBoss - but I didn't found any directory named 'tomcat' or 'catilina' inside JBoss installation. So - to what should I point when I am required to provide tomcat path in seam example applcations build.properties file?

            And what about web-console? Is it is coming only with non-web-installation or with non-EJB3 configured JBoss? Can I get it and add to JBoss separately (e.g. deply as additional application)?

            • 3. Re: Why I can run seam registration app without started JBos
              sjmenden

              For the seam examples set your jboss.home to the directory of where you installed jboss too, for me it is:

              jboss.home = /usr/local/jboss


              Tomcat is located at:
              ${JBOSS_HOME}/server/default/deploy/jbossweb-tomcat55.sar