0 Replies Latest reply on Mar 14, 2007 5:44 PM by nstoddar

    Still struggling to get configured (dependency problem now)

    nstoddar

      Well, I think I've finally got JBossCache actually configured correctly. I can see it in the "jmx-console" just fine. At that point, my Hibernate HAR was freaking out because it was loading before my JBossCache configuration got loaded.

      2007-03-14 17:36:28,360 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      jboss.har:service=Hibernate -> org.hibernate.cache.CacheException: Unable to locate TreeCache MBean under object name [jboss.cache:service=HibernateTreeCache]
      


      So ... I put in a depends in the service.xml of my HAR. However, for some reason, JBoss pretends as if my JBossCache never has loaded. I can see it in "jmx-console", but JBoss can't deploy my HAR because it thinks the dependency hasn't been met.

      2007-03-14 17:16:31,944 INFO [org.jboss.aop.microcontainer.aspects.jmx.JMXIntroduction] Registered MBean jboss.cache:service=HibernateTreeCache

      2007-03-14 17:17:08,720 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
      
      jboss.har:service=Hibernate
       -> jboss.cache:service=HibernateTreeCache{Create:** NOT FOUND **}
       -> jboss.cache:service=HibernateTreeCache{Start:** NOT FOUND **}
      
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      jboss.cache:service=HibernateTreeCache -> ** NOT FOUND **

      <depends>jboss.cache:service=HibernateTreeCache</depends>


      By the way, this is on JBoss 5.0 Beta 1 -- if anybody has some good resources on how to configure this darn thing, it'd be great. I've already gone through every bit of JBoss and JBossCache documentation, but it just isn't coming together for me.