I've attached my controller.xml and vdb.xml files.  When I quit the controller, 
I did use an O/S kill command (I used ctrl-c in Windows) rather than using the 
admin console to shut down.  Might that have had something to do with it?  I've 
seen this multiple times.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Cecchet
Sent: Thursday, August 28, 2008 6:47 PM
To: Sequoia general mailing list
Subject: Re: [Sequoia] Changes to config not loaded

Hi Jonathan,

Sequoia does not persist any configuration information when the
controller is stopped. You are probably pointing to a configuration file
which is not the one you changed because there is no way for Sequoia to
remember the old configuration.
Be careful that usually, the first file matching the name that is found
in the classpath is used unless you specify an absolute path from the
console. Let us know how you exactly load your configuration file so
that we can make sure there is no bug in the config loading mechanism.

Thanks for your feedback,
Emmanuel

> I was running the controller and doing some tests and wanted to change
> the backend I was connected to. So I stopped the controller and
> changed the URL in my virtual database config file. I then started the
> controller back up and it said it was loading the virtual DB config,
> but then it tried to connect to the original backend. It didn't load
> my changes.
> I'm using Sequoia 2.10.10. I have the controller auto-enable the backends.
> Is this a known problem? What do I have to do to ensure it refreshes
> the config?
> Jonathan Stockho
> Software Developer
> Swisslog Healthcare Solutions
> 10825 E. 47th Avenue
> Denver, CO 80239
> Phone: 303-373-7814
> FAX: 303-373-7872
> e-mail: [EMAIL PROTECTED]
> Internet: www.swisslog.com <http://www.swisslog.com>
> ------------------------------------------------------------------------------------
>
> *About Swisslog *
> Swisslog designs solutions in logistics automation that greatly reduce
> the manual flow of materials and associated information within
> healthcare facilities.
> This message may contain legally privileged or confidential
> information and is therefore addressed to the named persons only. The
> recipient should inform the sender and delete this message, if he/she
> is not named as addressee. The sender disclaims any and all liability
> for the integrity and punctuality of this message. The sender has
> activated an automatic virus scanning, but does not guarantee the
> virus free transmission of this message.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Sequoia mailing list
> [email protected]
> https://forge.continuent.org/mailman/listinfo/sequoia


--
Emmanuel Cecchet
FTO @ Frog Thinker
Open Source Development & Consulting
--
Web: http://www.frogthinker.org
email: [EMAIL PROTECTED]
Skype: emmanuel_cecchet

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

This message may contain legally privileged or confidential information and is 
therefore addressed to the named persons only. The recipient should inform the 
sender and delete this message, if he/she is not named as addressee.
The sender disclaims any and all liability for the integrity and punctuality of 
this message. The sender has activated an automatic virus scanning, but does 
not guarantee the virus free transmission of this message.

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE SEQUOIA-CONTROLLER PUBLIC "-//Continuent//DTD SEQUOIA-CONTROLLER 2.10.10//EN"  "http://sequoia.continuent.org/dtds/sequoia-controller-2.10.10.dtd";>

<SEQUOIA-CONTROLLER>
  <Controller port="25322">
    <Report hideSensitiveData="true" generateOnShutdown="true" generateOnFatal="true" enableFileLogging="true" />
    <JmxSettings>
      <RmiJmxAdaptor port="25555"/>
    </JmxSettings>
    <VirtualDatabase configFile="vdb.xml" virtualDatabaseName="VDATABASE" autoEnableBackends="true" />
  </Controller>
</SEQUOIA-CONTROLLER>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE SEQUOIA PUBLIC "-//Continuent//DTD SEQUOIA 2.10.10//EN" "http://sequoia.continuent.org/dtds/sequoia-2.10.10.dtd";>

<SEQUOIA>

  <VirtualDatabase name="VDATABASE">

    <Monitoring>
      <SQLMonitoring defaultMonitoring="off">
         <SQLMonitoringRule queryPattern="^select" caseSensitive="false" applyToSkeleton ="false" monitoring="on"/>
      </SQLMonitoring>
    </Monitoring>
    
    <!--
    <Backup>
     <Backuper backuperName="Octopus"
        className="org.continuent.sequoia.controller.backup.backupers.OctopusBackuper"
        options="zip=true"/>
    </Backup>
    -->
    
    <AuthenticationManager>
      <Admin>
       	<User username="USERNAME" password="password"/>
      </Admin> 
      <VirtualUsers>
        <VirtualLogin vLogin="USERNAME" vPassword="password"/>
      </VirtualUsers>
    </AuthenticationManager>

    <DatabaseBackend name="primary" driver="org.apache.derby.jdbc.ClientDriver" driverPath="..\..\..\DB\lib" 
      url="jdbc:derby://localhost:1527/DATABASE"
      connectionTestStatement="values 1">
      <ConnectionManager vLogin="USERNAME">
        <VariablePoolConnectionManager initPoolSize="10" minPoolSize="5"
          maxPoolSize="50" idleTimeout="30" waitTimeout="10"/>
      </ConnectionManager>
    </DatabaseBackend>

    <DatabaseBackend name="backup" driver="org.apache.derby.jdbc.ClientDriver" driverPath="..\..\..\DB\lib" 
      url="jdbc:derby://remotehost:1527/DATABASE"
      connectionTestStatement="values 1">
      <ConnectionManager vLogin="USERNAME">
        <VariablePoolConnectionManager initPoolSize="10" minPoolSize="5"
          maxPoolSize="50" idleTimeout="30" waitTimeout="10"/>
      </ConnectionManager>
    </DatabaseBackend>

    <RequestManager caseSensitiveParsing="true">
      <RequestScheduler>
         <RAIDb-1Scheduler level="passThrough"/>
      </RequestScheduler>

      <RequestCache>
         <MetadataCache/>
         <ParsingCache/>		 
<!--       <ResultCache granularity="table"/> -->
      </RequestCache>

      <LoadBalancer>
         <RAIDb-1>
            <WaitForCompletion policy="all"/>
            <RAIDb-1-LeastPendingRequestsFirst/>
         </RAIDb-1>
      </LoadBalancer>

      
    </RequestManager>

  </VirtualDatabase>

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

Reply via email to