cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reid Thompson <reid.thomp...@ateb.com>
Subject Re: Netbeans and cayenne
Date Sat, 07 Apr 2007 00:00:38 GMT
Reid Thompson wrote:
> Hi,
> trying to get the cayenne webapp tutorial to work using Netbeans.
> Getting the error at the end of this email.  I have 
> cayenne-tutorialMap.map.xml      cayenne.xml
> cayenne-tutorialNode.driver.xml
> in WEB-INF -- is this the correct location for these files?
Sorry - inadvertently pasted some text into the stack trace.  Here is 
the clean trace:


ype Exception report

message

description The server encountered an internal error () that prevented 
it from fulfilling this request.

exception

org.apache.jasper.JasperException: [v.2.0.2 January 14 2007] No DataMap 
found, can't route query 
org.apache.cayenne.query.SelectQuery@4276fd[root=class 
cayenne.tutorial.Artist,name=<null>]
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.cayenne.conf.WebApplicationContextFilter.doFilter(WebApplicationContextFilter.java:91)
	org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)

root cause

org.apache.cayenne.CayenneRuntimeException: [v.2.0.2 January 14 2007] No 
DataMap found, can't route query 
org.apache.cayenne.query.SelectQuery@4276fd[root=class 
cayenne.tutorial.Artist,name=<null>]
	org.apache.cayenne.query.AbstractQuery.route(AbstractQuery.java:137)
	org.apache.cayenne.query.SelectQuery.route(SelectQuery.java:171)
	org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:292)
	org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:60)
	org.apache.cayenne.access.DataDomainQueryAction$1.transform(DataDomainQueryAction.java:273)
	org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:820)
	org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:270)
	org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:110)
	org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:730)
	org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:217)
	org.apache.cayenne.access.DataContextQueryAction.execute(DataContextQueryAction.java:54)
	org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1387)
	org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1376)
	org.apache.jsp.index_jsp._jspService(index_jsp.java:61)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.cayenne.conf.WebApplicationContextFilter.doFilter(WebApplicationContextFilter.java:91)
	org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)

Mime
View raw message