1 2 Previous Next 20 Replies Latest reply on Feb 17, 2006 2:52 PM by hjshi2000 Go to original post
      • 15. Re: JBoss Distribute Cache's error?
        norbert

        I've seen in you other post, you use TreeCache from within hibernate, so as long the bug in TreeCache is not fixed, you propably will not be able to use my workaround :-(

        (that is: set FetchStateOnStartup to 'false' and call 'fetchState()' after 'start()')

        maybe you change these few lines in hibernate - will be less risk than modifying TreeCache.startService() yourself.

        • 16. Re: JBoss Distribute Cache's error?
          dres1011

          Thx.

          We already had to hack hibernate to provide ordering by associations with the criteria API, so no big deal to do this as well.

          All I need is that attribute set to false and to make that call after start()?

          Thanks again. Maybe I will have to WTFM after this whole thing is over.

          • 17. Re: JBoss Distribute Cache's error?

            This bug has been fixed in the latest jboss-head (post 1.1). We plan to do a release 1.2 in about 6 weeks. Meanwhile, you can build the latest source and replace the jboss-cache.jar under the corresponding Hibernate directory.

            -Ben

            • 18. Re: JBoss Distribute Cache's error?
              dres1011

              I guess I thought I was looking at CVS head when I pulled jboss-cache from sourceforge.

              I do not seem to be able to see anything under jboss-head at all. Is this a permissions issue? I have many sf.net projects mounted and don't know if this one would be any different.

              • 19. Re: JBoss Distribute Cache's error?

                Don't know what's your problem. But you should see a cache module under jboss-head.

                -Ben

                • 20. Re: JBoss Distribute Cache's error?
                  hjshi2000

                  I got same problem when runing two machine clusters
                  and I can duplicate the problem.
                  It happens when

                  1) machine A is up running
                  2) there are requests comming to the cluster, so the tree is being updated.
                  3) In the middle, Machine B is restarted.

                  The LRUPolicy in machine B got NullPoinerException during startup.

                  I am running
                  JBOSS TreeCache version 1.2.3
                  Please help.

                  1 2 Previous Next