Hello.
I am trying data-port with cayenne-1.2M4 to copy from a MS SQL Server
database to a Derby database. Seems to be a problem with the
configuration. Cayenne Modeler thinks that my project is valid.
Anyone used data-port with 1.2M4?
- Tore.
Apache Ant version 1.6.3 compiled on April 28 2005
Buildfile: build.xml
Detected Java version: 1.4 in: /System/Library/Frameworks/
JavaVM.framework/Versions/1.4.2/Home
Detected OS: Mac OS X
parsing buildfile /Users/halset/projects/xxx/dataport/build.xml with
URI = file:///Users/halset/projects/xxx/dataport/build.xml
Project base dir set to: /Users/halset/projects/xxx/dataport
Build sequence for target(s) `doit' is [doit]
Complete build sequence is [doit, ]
doit:
[cdataport] INFO QueryLogger: Created connection pool:
jdbc:microsoft:sqlserver://xxx:1433;DatabaseName=xxx
[cdataport] Driver class:
com.microsoft.jdbc.sqlserver.SQLServerDriver
[cdataport] Min. connections in the pool: 1
[cdataport] Max. connections in the pool: 50
[cdataport] INFO QueryLogger: Created connection pool: jdbc:derby://
localhost:1527/xxx
[cdataport] Driver class: org.apache.derby.jdbc.ClientDriver
[cdataport] Min. connections in the pool: 1
[cdataport] Max. connections in the pool: 50
BUILD FAILED
/Users/halset/projects/xxx/dataport/build.xml:15:
org.objectstyle.cayenne.ConfigurationException: [v.1.2-dev May 10
2005] Error during Configuration initialization. [v.1.2-dev May 10
2005] Load failures. Main configuration class:
org.objectstyle.cayenne.conf.FileConfiguration, details:
domain.node.name=fromnode,
domain.node.adapter=org.objectstyle.cayenne.dba.sqlserver.SQLServerAdapt
er, reason: instantiating adapter failed -
org.objectstyle.cayenne.dba.sqlserver.SQLServerAdapter
domain.node.name=tonode,
domain.node.adapter=org.objectstyle.cayenne.dba.derby.DerbyAdapter,
reason: instantiating adapter failed -
org.objectstyle.cayenne.dba.derby.DerbyAdapter
at org.apache.tools.ant.Task.perform(Task.java:373)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets
(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:
1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:
1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.2-dev
May 10 2005] Error during Configuration initialization. [v.1.2-dev
May 10 2005] Load failures. Main configuration class:
org.objectstyle.cayenne.conf.FileConfiguration, details:
domain.node.name=fromnode,
domain.node.adapter=org.objectstyle.cayenne.dba.sqlserver.SQLServerAdapt
er, reason: instantiating adapter failed -
org.objectstyle.cayenne.dba.sqlserver.SQLServerAdapter
domain.node.name=tonode,
domain.node.adapter=org.objectstyle.cayenne.dba.derby.DerbyAdapter,
reason: instantiating adapter failed -
org.objectstyle.cayenne.dba.derby.DerbyAdapter
at
org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
(Configuration.java:322)
at
org.objectstyle.cayenne.dataport.ant.CayenneDataPort.execute(Unknown
Source)
at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
... 10 more
Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.2-dev
May 10 2005] Load failures. Main configuration class:
org.objectstyle.cayenne.conf.FileConfiguration, details:
domain.node.name=fromnode,
domain.node.adapter=org.objectstyle.cayenne.dba.sqlserver.SQLServerAdapt
er, reason: instantiating adapter failed -
org.objectstyle.cayenne.dba.sqlserver.SQLServerAdapter
domain.node.name=tonode,
domain.node.adapter=org.objectstyle.cayenne.dba.derby.DerbyAdapter,
reason: instantiating adapter failed -
org.objectstyle.cayenne.dba.derby.DerbyAdapter
at
org.objectstyle.cayenne.conf.RuntimeLoadDelegate.finishedLoading
(RuntimeLoadDelegate.java:463)
at org.objectstyle.cayenne.conf.ConfigLoader.loadDomains
(ConfigLoader.java:115)
at
org.objectstyle.cayenne.conf.DefaultConfiguration.initialize
(DefaultConfiguration.java:209)
at
org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
(Configuration.java:314)
... 13 more
--- Nested Exception ---
org.objectstyle.cayenne.ConfigurationException: [v.1.2-dev May 10
2005] Error during Configuration initialization. [v.1.2-dev May 10
2005] Load failures. Main configuration class:
org.objectstyle.cayenne.conf.FileConfiguration, details:
domain.node.name=fromnode,
domain.node.adapter=org.objectstyle.cayenne.dba.sqlserver.SQLServerAdapt
er, reason: instantiating adapter failed -
org.objectstyle.cayenne.dba.sqlserver.SQLServerAdapter
domain.node.name=tonode,
domain.node.adapter=org.objectstyle.cayenne.dba.derby.DerbyAdapter,
reason: instantiating adapter failed -
org.objectstyle.cayenne.dba.derby.DerbyAdapter
at
org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
(Configuration.java:322)
at
org.objectstyle.cayenne.dataport.ant.CayenneDataPort.execute(Unknown
Source)
at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets
(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:
1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:
1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.2-dev
May 10 2005] Load failures. Main configuration class:
org.objectstyle.cayenne.conf.FileConfiguration, details:
domain.node.name=fromnode,
domain.node.adapter=org.objectstyle.cayenne.dba.sqlserver.SQLServerAdapt
er, reason: instantiating adapter failed -
org.objectstyle.cayenne.dba.sqlserver.SQLServerAdapter
domain.node.name=tonode,
domain.node.adapter=org.objectstyle.cayenne.dba.derby.DerbyAdapter,
reason: instantiating adapter failed -
org.objectstyle.cayenne.dba.derby.DerbyAdapter
at
org.objectstyle.cayenne.conf.RuntimeLoadDelegate.finishedLoading
(RuntimeLoadDelegate.java:463)
at org.objectstyle.cayenne.conf.ConfigLoader.loadDomains
(ConfigLoader.java:115)
at
org.objectstyle.cayenne.conf.DefaultConfiguration.initialize
(DefaultConfiguration.java:209)
at
org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration
(Configuration.java:314)
... 13 more
Total time: 4 seconds
This archive was generated by hypermail 2.0.0 : Wed May 11 2005 - 03:56:19 EDT