[ 
https://forge.continuent.org/jira/browse/SEQUOIA-8?page=comments#action_13752 ] 

Richard Trujillo commented on SEQUOIA-8:
----------------------------------------

On windows , the problem occurs because there is an bug in the controller.bat 
file.

The bat file contains a syntax error.

Original

SET CLASSPATH=;.......;%SEQUOIA_HOME/3rdparty/hsqldb/lib%/hsqldb.jar;

Corrected

SET CLASSPATH=;.......;%SEQUOIA_HOME%/3rdparty/hsqldb/lib/hsqldb.jar;

After correction made,  Octopus find the org.hsqldb.jdbcDriver class.



> octopus backuper does not find postgres driver
> ----------------------------------------------
>
>          Key: SEQUOIA-8
>          URL: https://forge.continuent.org/jira/browse/SEQUOIA-8
>      Project: Sequoia
>         Type: Improvement
>   Components: Backup System
>     Reporter: Olivier Fambon
>     Assignee: Mathieu Peltier
>     Priority: Minor

>
>
> CLI Console:
> *** backup db1 ***
> Launching the Sequoia controller console in non interactive mode
> admin myDB
> admin
> Ready to administrate virtual database myDB
> expert on
> Expert mode on
> backup db1 MyDump Octopus octopusDumps
> c-jdbc
> Backup backend db1 in dump file MyDump
> There was an exception of type class 
> org.continuent.sequoia.common.exceptions.VirtualDatabaseException with 
> message Exception in method generate() in LoaderGenerator class!
> Error while generate sql statements for all vendors.
> Controller log:
> 2005-08-11 16:30:17,351 INFO  backup.backupers.OctopusBackuper Starting 
> backup of backend db1 with checkpoint MyDump
> 2005-08-11 16:30:17,784 ERROR backup.backupers.OctopusBackuper Error while 
> performing backup for backend db1
> org.webdocwf.util.loader.LoaderException: Exception in method generate() in 
> LoaderGenerator class!
> Error while generate sql statements for all vendors.
>         at 
> org.webdocwf.util.loader.generator.LoaderGenerator.generate(Unknown Source)
>         at 
> org.continuent.sequoia.controller.backup.backupers.OctopusBackuper.callOctopusLoader(OctopusBackuper.java:414)
>         at 
> org.continuent.sequoia.controller.backup.backupers.OctopusBackuper.backup(OctopusBackuper.java:188)
>         at 
> org.continuent.sequoia.controller.requestmanager.RequestManager.backupBackend(RequestManager.java:1969)
>         at 
> org.continuent.sequoia.controller.virtualdatabase.VirtualDatabase.backupBackend(VirtualDatabase.java:1601)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at 
> mx4j.AbstractDynamicMBean.invokeMethod(AbstractDynamicMBean.java:401)
>         at mx4j.AbstractDynamicMBean.invoke(AbstractDynamicMBean.java:355)
>         at mx4j.AbstractDynamicMBean.invoke(AbstractDynamicMBean.java:231)
>         at javax.management.StandardMBean.invoke(StandardMBean.java:199)
>         at 
> mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
>         at 
> mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
>         at 
> mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
>         at 
> mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
>         at 
> mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
>         at 
> mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
>         at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
>         at 
> org.continuent.sequoia.controller.jmx.ChainedMBeanServer.invoke(ChainedMBeanServer.java:318)
>         at 
> org.continuent.sequoia.controller.jmx.AuthenticatingMBeanServer.invoke(AuthenticatingMBeanServer.java:127)
>         at 
> mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
>         at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at 
> mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
>         at 
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
>         at 
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
>         at 
> mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>         at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:168)
>         at 
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
>         at 
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
>         at $Proxy0.invoke(Unknown Source)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
>         at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
>         at sun.rmi.transport.Transport$1.run(Transport.java:148)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>         at 
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>         at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: org.webdocwf.util.loader.LoaderException: Error while generate sql 
> statements for all vendors.
>         at 
> org.webdocwf.util.loader.generator.GenerateSqlForAllVendors.generateParameters(Unknown
>  Source)
>         at 
> org.webdocwf.util.loader.generator.GenerateSqlForAllVendors.<init>(Unknown 
> Source)
>         ... 47 more
> Caused by: org.webdocwf.util.loader.LoaderException: Exception:Error while 
> create include files.
>         at 
> org.webdocwf.util.loader.generator.CreateIncludeFiles.<init>(Unknown Source)
>         ... 49 more
> Caused by: org.webdocwf.util.loader.LoaderException: Exception in class 
> CreateIncludeFiles:
> Can't find driver class :
> org.postgresql.Driver

-- 
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