Cayenne is configured to use a jdbc datasource.
from the error my guess is that you are using JNDIDataSourceFactory.
If you want to continue using JNDI, you'll need to configure a
DataSource in Tomcat. If not, you should change the factory to
"DriverDataSource". See this page for more details:
http://cwiki.apache.org/CAYDOC/using-jndi.html
Andrus
On Aug 13, 2006, at 1:27 PM, Perez wrote:
Lately I've been getting this error a lot. Nothing has changed on my
end. Any suggestions as to what could be causing the problem?
The environment is Linux, Tomcat 5.0 and mysql. Cayenne is
configured
to use a jdbc datasource. It had been working error free for the
last 2
months.
Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.2 July
16 2006] Load failures. Main configuration class:
org.objectstyle.cayenne.conf.DefaultConfiguration, details:
domain.node.name=IWSDomainNode,
domain.node.datasource=jdbc/outlook, reason: DataSource load failed -
Name jdbc is not bound in this Context
-arturo