Hi Again,
I fixed my problem.
I moved cayenne.xml, datamap.map.xml, datanode.driver.xml into
WEB-INF/classes and the example now works.
Michael
-----Original Message-----
From: Michael Mangus [mailto:mdmangu..mail.com]
Sent: Thursday, February 10, 2005 3:40 PM
To: 'cayenne-use..bjectstyle.org'
Subject: newbie with Quick Start > Tapestry Tutorial
Hi,
I am having problems with the Quick Start Tapestry Tutorial that is included
with the Cayenne installation.
The application loads with the option to click [ view artists ] - [ view
galleries ].
When clicking on any of the links it throws an exception:
Unable to instantiate visit object from class
cayenne.tutorial.tapestry.Visit.
It also shows an unlabledMessage:
[org.objectstyle.cayenne.conf.DefaultConfiguration] : Domain configuration
file "cayenne.xml" is not found.
My setup:
Eclipse 3.1M4, Spindle 3.1.15, Tapestry 3.0.1, Jetty Launcher 1.2.1, and
JDK1.5.
I loaded the canyenne.xml into CayenneModeler and successfully Generated
Database Schema into MS SQL Server from the dataMap. I than loaded the data
from the provided tutorialdb.sql.
The MS SQL Database has "ARTIST", "AUTO_PK_SUPPORT", "GALLERY", and
"PAINTING" generated from Cayenne.
This archive was generated by hypermail 2.0.0 : Thu Feb 10 2005 - 18:33:48 EST