hello,everyone.
  i config sequoia with mysql in 3 different pcs as follow:
  192.168.0.166       sequoia controller
  192.168.0.163       mysql server
  192.168.0.164       mysql server
  the three pcs are interconnected via switch
  controller configuration in 192.168.0.166 is as follows:
   
  <?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE SEQUOIA-CONTROLLER PUBLIC "-//Continuent//DTD SEQUOIA-CONTROLLER 
2.10.8//EN"  "http://sequoia.continuent.org/dtds/sequoia-controller-2.10.8.dtd";>
<SEQUOIA-CONTROLLER>
  <Controller port="1090">
    <Report/>
    <JmxSettings>
      <RmiJmxAdaptor/>
    </JmxSettings>
    <VirtualDatabase configFile="RAIDb1-mysql.xml" virtualDatabaseName="myDB" 
autoEnableBackends="force" checkpointName="Initial_empty_recovery_log"/>
  </Controller>
</SEQUOIA-CONTROLLER>
   
  virtual database configuration is as follows:
  (in order to simply the mail, i just copy a part)
   
  <DatabaseBackend name="node1" driver="org.gjt.mm.mysql.Driver" 
url="jdbc:mysql://192.168.0.163/myDB" connectionTestStatement="select 1">
      <ConnectionManager vLogin="user" rLogin="user" rPassword="">
        <VariablePoolConnectionManager initPoolSize="40"/>
      </ConnectionManager>
    </DatabaseBackend>
    <DatabaseBackend name="node2" driver="org.gjt.mm.mysql.Driver" 
url="jdbc:mysql://192.168.0.164/myDB" connectionTestStatement="select 1">
      <ConnectionManager vLogin="user" rLogin="user" rPassword="">
        <VariablePoolConnectionManager initPoolSize="40"/>
      </ConnectionManager>
    </DatabaseBackend>
  problem is:
  when i start controller at 192.168.0.16,counter error as follows:
   
   
   ./controller.sh -f ~/CJDBC/config/controller/controller-raidb1.xml 
15:26:55,765 INFO  controller.core.Controller Sequoia  controller (2.10.8)
15:26:55,881 INFO  controller.core.Controller Loading configuration file: 
/home/oracle/CJDBC/config/controller/controller-raidb1.xml
15:26:56,063 INFO  controller.core.Controller JMX is enabled
15:26:56,116 INFO  controller.core.Controller Starting JMX server on host: 
192.168.0.153
15:26:56,626 ERROR controller.xml.DatabasesParser Xml document has not been 
validated.
15:26:56,627 ERROR controller.xml.DatabasesParser Value "optimisticTransaction" 
is not one of the enumerated values for this attribute.
15:26:56,635 WARN  controller.core.Controller Loading of virtual databases 
configuration file failed (because of Controller Xml configuration file is not 
valid.).
org.xml.sax.SAXException: Controller Xml configuration file is not valid.
        at 
org.continuent.sequoia.controller.xml.DatabasesParser.readXML(DatabasesParser.java:340)
        at 
org.continuent.sequoia.controller.core.Controller.addVirtualDatabases(Controller.java:222)
        at 
org.continuent.sequoia.controller.core.Controller.loadXmlConfiguration(Controller.java:555)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.setUpVirtualDatabase(ControllerConfiguration.java:446)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.configureVirtualDatabase(ControllerParser.java:645)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.startElement(ControllerParser.java:325)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:127)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:177)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:206)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.setUpByXml(ControllerConfiguration.java:277)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.setup(ControllerConfiguration.java:327)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.getController(ControllerConfiguration.java:353)
        at 
org.continuent.sequoia.controller.core.Controller.main(Controller.java:745)
15:26:56,646 ERROR controller.core.Controller Failed to send file to Sequoia  
controller: org.continuent.sequoia.common.exceptions.ControllerException: 
Loading of virtual databases configuration file failed (because of Controller 
Xml configuration file is not valid.).
org.continuent.sequoia.common.exceptions.ControllerException: Loading of 
virtual databases configuration file failed (because of Controller Xml 
configuration file is not valid.).
        at 
org.continuent.sequoia.common.exceptions.SequoiaException.fillInStackTrace(SequoiaException.java:103)
        at java.lang.Throwable.<init>(Throwable.java:196)
        at java.lang.Exception.<init>(Exception.java:41)
        at 
org.continuent.sequoia.common.exceptions.SequoiaException.<init>(SequoiaException.java:57)
        at 
org.continuent.sequoia.common.exceptions.ControllerException.<init>(ControllerException.java:51)
        at 
org.continuent.sequoia.controller.core.Controller.addVirtualDatabases(Controller.java:229)
        at 
org.continuent.sequoia.controller.core.Controller.loadXmlConfiguration(Controller.java:555)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.setUpVirtualDatabase(ControllerConfiguration.java:446)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.configureVirtualDatabase(ControllerParser.java:645)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.startElement(ControllerParser.java:325)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:127)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:177)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:206)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.setUpByXml(ControllerConfiguration.java:277)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.setup(ControllerConfiguration.java:327)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.getController(ControllerConfiguration.java:353)
        at 
org.continuent.sequoia.controller.core.Controller.main(Controller.java:745)
15:26:56,651 ERROR controller.core.Controller Could not load config file: 
/home/oracle/CJDBC/config/virtualdatabase/RAIDb1-mysql.xml. Error is: Failed to 
send file to Sequoia  controller: 
org.continuent.sequoia.common.exceptions.ControllerException: Loading of 
virtual databases configuration file failed (because of Controller Xml 
configuration file is not valid.)..
org.continuent.sequoia.common.exceptions.ControllerException: Failed to send 
file to Sequoia  controller: 
org.continuent.sequoia.common.exceptions.ControllerException: Loading of 
virtual databases configuration file failed (because of Controller Xml 
configuration file is not valid.).
        at 
org.continuent.sequoia.common.exceptions.SequoiaException.fillInStackTrace(SequoiaException.java:103)
        at java.lang.Throwable.<init>(Throwable.java:196)
        at java.lang.Exception.<init>(Exception.java:41)
        at 
org.continuent.sequoia.common.exceptions.SequoiaException.<init>(SequoiaException.java:57)
        at 
org.continuent.sequoia.common.exceptions.ControllerException.<init>(ControllerException.java:51)
        at 
org.continuent.sequoia.controller.core.Controller.loadXmlConfiguration(Controller.java:561)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.setUpVirtualDatabase(ControllerConfiguration.java:446)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.configureVirtualDatabase(ControllerParser.java:645)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.startElement(ControllerParser.java:325)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:127)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:177)
        at 
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:206)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.setUpByXml(ControllerConfiguration.java:277)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.setup(ControllerConfiguration.java:327)
        at 
org.continuent.sequoia.controller.core.ControllerConfiguration.getController(ControllerConfiguration.java:353)
        at 
org.continuent.sequoia.controller.core.Controller.main(Controller.java:745)
15:26:56,668 FATAL controller.core.Controller Cannot bind controller to 
requested IP 192.168.0.153 because of (Address already in use)
15:26:56,669 FATAL controller.core.Controller Fatal Error. Now Quitting.
15:26:57,956 INFO  controller.core.Controller A report has been generated 
/home/oracle/CJDBC/log/sequoia.report

   
  who can tell me how can i do ??

       
---------------------------------
抢注雅虎免费邮箱3.5G容量,20M附件! 
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to