4 Replies Latest reply on Aug 13, 2004 5:05 PM by artism101

    Unable to passivate due to ctx lock

      Appologies if this is a faq, can't find much information on it though. We're getting these warnings about 'Unable to passivate due to ctx lock, id=1000001663'

      Happens on jboss 3.2.3 with cmp 1.X beans , we're using a customized container for these entity beans:


      <container-configuration extends="Clustered CMP EntityBean">
       <container-name>LMNK Standard CMP 1.x EntityBean</container-name>
       <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
       <commit-option>C</commit-option>
       </container-configuration>
      


      Any information on why we are getting these warnings would be very helpful.

        • 1. Re: Unable to passivate due to ctx lock

          We only get these warnings when we extend a container, if we leave the container configuration blank the jboss.xml, which means we're using 'Standard CMP EntityBean' container, we don't get these warnings.

          However when I extend the 'Standard CMP EntityBean' container, I also get these wranings....

           <container-configuration extends="Standard CMP EntityBean">
           <container-name>Dave CMP EntityBean</container-name>
           <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
           <commit-option>C</commit-option>
           </container-configuration>
          
          

          so it seems that I get these warnings anytime I extend a container...


          • 2. Re: Unable to passivate due to ctx lock

            Numerous posts about this. Even a bug report regarding memory leaks, fixed in 3.2.4. I have upgrade from 3.2.2 to 3.2.5 Using the same config as davidmboon. CMP1.1 EJBs with commit option C. Jboss continues to report "Unable to passivate due to ctx lock". I have found little help in the documentation.

            Could really use some direction with this.

            • 3. Re: Unable to passivate due to ctx lock
              aloubyansky

              I don't see it in a simple testcase. Any more info/instructions?

              • 4. Re: Unable to passivate due to ctx lock
                artism101

                I too am having this problem.