Hi,
I'm having trouble running the cayenne test scripts after installation of
version 1.0a1.
Here's what I've done so far:
Extracted cayenne-src-1.0a1.tar.gz to:
D:\cayenne-1.0a1
Installed the j2se 1.4.0_01 to:
D:\jdk1.4.0
Set the following env variables:
CAYENNE_HOME = D:\cayenne-1.0a1
JAVA_HOME = D:\jdk1.4.0
Copied the cayenne.jar to:
D:\jdk1.4.0\jre\lib\ext
After running %CAYENNE_HOME%\bin\runtests.bat I get the following
exceptions:
Jun 18, 2002 4:43:36 PM org.objectstyle.testui.TestLogin infoForFilePath
WARNING: error
org.objectstyle.cayenne.ConfigException: Can't find DataSource configuration
file at test_resources/testnode.xml
at
org.objectstyle.cayenne.conf.DriverDataSourceFactory.load(DriverDataSourceFa
ctory.java:149)
at
org.objectstyle.testui.TestLogin$TstDataSourceFactory.load(TestLogin.java:16
5)
at
org.objectstyle.testui.TestLogin.infoForFilePath(TestLogin.java:150)
at
org.objectstyle.testui.TestLogin.prepareDsiList(TestLogin.java:129)
at org.objectstyle.testui.TestLogin.<init>(TestLogin.java:93)
at
org.objectstyle.testui.TestLogin.getTestGuiLoginObject(TestLogin.java:86)
at
org.objectstyle.cayenne.ConnectionSetup.getInfoInteractively(ConnectionSetup
.java:120)
at
org.objectstyle.cayenne.ConnectionSetup.buildConnectionInfo(ConnectionSetup.
java:92)
at org.objectstyle.TestMain.main(TestMain.java:117)
Jun 18, 2002 4:43:36 PM org.objectstyle.testui.TestLogin infoForFilePath
WARNING: error
org.objectstyle.cayenne.ConfigException: Can't find DataSource configuration
file at test_resources/testnode_syb.xml
at
org.objectstyle.cayenne.conf.DriverDataSourceFactory.load(DriverDataSourceFa
ctory.java:149)
at
org.objectstyle.testui.TestLogin$TstDataSourceFactory.load(TestLogin.java:16
5)
at
org.objectstyle.testui.TestLogin.infoForFilePath(TestLogin.java:150)
at
org.objectstyle.testui.TestLogin.prepareDsiList(TestLogin.java:137)
at org.objectstyle.testui.TestLogin.<init>(TestLogin.java:93)
at
org.objectstyle.testui.TestLogin.getTestGuiLoginObject(TestLogin.java:86)
at
org.objectstyle.cayenne.ConnectionSetup.getInfoInteractively(ConnectionSetup
.java:120)
at
org.objectstyle.cayenne.ConnectionSetup.buildConnectionInfo(ConnectionSetup.
java:92)
at org.objectstyle.TestMain.main(TestMain.java:117)
Jun 18, 2002 4:43:36 PM org.objectstyle.testui.TestLogin infoForFilePath
WARNING: error
org.objectstyle.cayenne.ConfigException: Can't find DataSource configuration
file at test_resources/testnode_ora.xml
at
org.objectstyle.cayenne.conf.DriverDataSourceFactory.load(DriverDataSourceFa
ctory.java:149)
at
org.objectstyle.testui.TestLogin$TstDataSourceFactory.load(TestLogin.java:16
5)
at
org.objectstyle.testui.TestLogin.infoForFilePath(TestLogin.java:150)
at
org.objectstyle.testui.TestLogin.prepareDsiList(TestLogin.java:137)
at org.objectstyle.testui.TestLogin.<init>(TestLogin.java:93)
at
org.objectstyle.testui.TestLogin.getTestGuiLoginObject(TestLogin.java:86)
at
org.objectstyle.cayenne.ConnectionSetup.getInfoInteractively(ConnectionSetup
.java:120)
at
org.objectstyle.cayenne.ConnectionSetup.buildConnectionInfo(ConnectionSetup.
java:92)
at org.objectstyle.TestMain.main(TestMain.java:117)
Jun 18, 2002 4:43:36 PM org.objectstyle.testui.TestLogin infoForFilePath
WARNING: error
org.objectstyle.cayenne.ConfigException: Can't find DataSource configuration
file at test_resources/testnode_mysql.xml
at
org.objectstyle.cayenne.conf.DriverDataSourceFactory.load(DriverDataSourceFa
ctory.java:149)
at
org.objectstyle.testui.TestLogin$TstDataSourceFactory.load(TestLogin.java:16
5)
at
org.objectstyle.testui.TestLogin.infoForFilePath(TestLogin.java:150)
at
org.objectstyle.testui.TestLogin.prepareDsiList(TestLogin.java:137)
at org.objectstyle.testui.TestLogin.<init>(TestLogin.java:93)
at
org.objectstyle.testui.TestLogin.getTestGuiLoginObject(TestLogin.java:86)
at
org.objectstyle.cayenne.ConnectionSetup.getInfoInteractively(ConnectionSetup
.java:120)
at
org.objectstyle.cayenne.ConnectionSetup.buildConnectionInfo(ConnectionSetup.
java:92)
at org.objectstyle.TestMain.main(TestMain.java:117)
Despite the exceptions, the graphic login panel displays, except there is no
canned information or vendor dropdown in the top right corner.
After entering my JDBC information and clicking OK, the script terminates
with:
Jun 18, 2002 4:46:17 PM org.objectstyle.TestMain createSharedDomain
SEVERE: Can not create shared domain.
java.lang.NullPointerException
at org.objectstyle.TestMain.createSharedDomain(TestMain.java:187)
at org.objectstyle.TestMain.main(TestMain.java:129)
Any ideas? Am I missing something stupid?
Thanks in advance,
Eric.
**********************************************************************
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**********************************************************************
This archive was generated by hypermail 2.0.0 : Tue Jun 18 2002 - 17:13:15 EDT