Netbeans and cayenne

From: Reid Thompson (reid.thompso..teb.com)
Date: Fri Apr 06 2007 - 19:57:45 EDT

  • Next message: Reid Thompson: "Re: Netbeans and cayenne"

    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?

    type Exception report

    message

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

    exception
    cayenne-tutorialNode.driver.xml
    in WEB-INF -- is this the correct location for these files?

    type 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.SelectQuer..8787a[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.SelectQuer..8787a[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)



    This archive was generated by hypermail 2.0.0 : Fri Apr 06 2007 - 19:54:12 EDT