5 Replies Latest reply on Mar 21, 2007 6:06 AM by mmoossen

    Deployment in Tomcat

    mmoossen

      Hi guys!

      this is just a newbie question.
      i am already using jboss cache in a jboss cluster.

      i also managed to use jboss cache in a standalone app.

      my question is if it is possible to use jboss cache in a tomcat cluster.
      makes sense to do that?
      is the only way to have a clustered cache using jboss AS?

      i think one possiblity could be to instantiate an standalone cache and put it into jndi of one of the nodes, and then access it from the other nodes, but i am pretty sure this is not really the best solution.

      any other ideas?

      thanks for any answer

        • 1. Re: Deployment in Tomcat
          manik

          Yes you can use this with Tomcat. You probably want each Tomcat node to create an instance of JBoss Cache though, and let the JBoss Cache instances form a cluster among themselves to share state.

          • 2. Re: Deployment in Tomcat
            mmoossen

             

            Yes you can use this with Tomcat. You probably want each Tomcat node to create an instance of JBoss Cache though, and let the JBoss Cache instances form a cluster among themselves to share state.


            yes that is exactly what i need, but could you please give me some clues on how to deploy jboss-cache?
            i think i also will have at least to deploy jgroups too, isn't?
            and the main question is how.... since i can not find nothing really useful here (but may be i am missing something):
            http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/1.4.0/TreeCache/en/html/index.html

            thanx again
            Michael


            • 3. Re: Deployment in Tomcat
              mmoossen

              please guys...

              i need just some clues on how to deploy jboss cache in tomcat (outside of jboss AS), just a link....

              thanks
              Michael

              • 4. Re: Deployment in Tomcat
                genman

                The Weblogic deployment example might be a good start.

                http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheAndWebLogic

                JBossCache is just an ordinary class. There are many ways to deploy it. Using a servlet controller class might be appropriate.

                • 5. Re: Deployment in Tomcat
                  mmoossen

                  that looks good :)

                  thank you very much!