Virtual database shutdown without recovery log causes MBean unregister error
----------------------------------------------------------------------------

         Key: SEQUOIA-867
         URL: https://forge.continuent.org/jira/browse/SEQUOIA-867
     Project: Sequoia
        Type: Bug
  Components: Core  
    Versions: Sequoia 3.0 beta1, Sequoia 2.10.2    
    Reporter: Emmanuel Cecchet
 Assigned to: Emmanuel Cecchet 
     Fix For: Sequoia 3.0 beta 2


Reported by Waseem Taj <[EMAIL PROTECTED]> on the Sequoia mailing list: 

We have a web based application running on tomcat (5.5.9).  It uses hibernate 
(3.0), MySQL database (4.10) and MySQL J/connector(5.0.4) for database 
connectivity.
Currently we are investigating Sequoia to provide load balancing and 
transparent failover features.
 
We have a controller with  RAIDb-1 configuration with just one database 
backend.When we shutdown the controller via console, we are getting the 
following error:
 
" ERROR controller.virtualdatabase.db Failed to unregister the mbean of virtual 
database db
javax.management.InstanceNotFoundException: 
sequoia:type=VirtualDataBase.RecoveryLog,VirtualDataBase=db".
 
See the end of the email for detail error log.  What can I do to fix this error?
 
Also we do not need to use the RecoveryLog (as we are using Mysql replication), 
how do I get rid of the error message:
 "ERROR controller.jmx.MBeanServer Register mbean of type 
sequoia:VirtualDataBase=db,type=VirtualDataBase.RecoveryLog failed with error 
sequoia:type=VirtualDataBase.RecoveryLog,VirtualDataBase=db ({2})"
 
Thanks for  your help in advance.
 
 
virutaldatabase config file:
 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE SEQUOIA PUBLIC "-//Continuent//DTD SEQUOIA 2.10.2//EN" 
"http://sequoia.continuent.org/dtds/sequoia-2.10.2.dtd";>
<SEQUOIA>
  <VirtualDatabase name="db">
    <AuthenticationManager>
      <Admin>
        <User username="admin" password="XXX"/>
      </Admin>
      <VirtualUsers>
        <VirtualLogin vLogin="user1" vPassword="XXXX"/>
      </VirtualUsers>
    </AuthenticationManager>
    <DatabaseBackend name="db" driver="com.mysql.jdbc.Driver" 
url="jdbc:mysql://harrow:3306/db" connectionTestStatement="SELECT 1">
      <ConnectionManager vLogin="user1" >
        <VariablePoolConnectionManager initPoolSize="5" minPoolSize="5" 
maxPoolSize="200" idleTimeout="3000" waitTimeout="10000"/>
      </ConnectionManager>
    </DatabaseBackend>
    <RequestManager>
      <RequestScheduler>
        <RAIDb-1Scheduler level="passThrough"/>
      </RequestScheduler>
     <LoadBalancer>
       <RAIDb-1>
         <WaitForCompletion policy="first"/>
         <RAIDb-1-RoundRobin/>
       </RAIDb-1>
     </LoadBalancer>
   </RequestManager>
 </VirtualDatabase>
</SEQUOIA>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to