Re: Pure EOF and gwt

2013-07-18 Thread Pierre Gilquin
Andrus Adamchik a écrit : On Jul 18, 2013, at 11:38 AM, Pierre Gilquin wrote: GRAVE: Error filterStart There's some Cayenne startup error. If I had to guess, the following problems are the most common: 1. No DB driver on CLASSPATH (either in .war WEB-INF/lib/ or in Tomcat lib/) 2. No cayen

Re: Pure EOF and gwt

2013-07-18 Thread Andrus Adamchik
On Jul 18, 2013, at 11:38 AM, Pierre Gilquin wrote: > GRAVE: Error filterStart There's some Cayenne startup error. If I had to guess, the following problems are the most common: 1. No DB driver on CLASSPATH (either in .war WEB-INF/lib/ or in Tomcat lib/) 2. No cayenne-server.jar in .war WEB-I

Re: Pure EOF and gwt

2013-07-18 Thread Pierre Gilquin
I am novice with Tomcat so I just added the cayenne part: http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5" xmlns="http://java.sun.com/xml/ns

Re: Pure EOF and gwt

2013-07-18 Thread Andrus Adamchik
Yeah, feel free to take this to Cayenne list. Make sure you post the full web.xml and the stack trace. There's something in the startup order. Also consider using Cayenne 3.1 (beta). Stack bootstrap is different, and much cleaner in it. Andrus On Jul 18, 2013, at 11:13 AM, Pierre Gilquin wrot

Re: Pure EOF and gwt

2013-07-18 Thread Pierre Gilquin
Thanks Andrus, I try as well with cayenne 3.0 ! It's easy to import an eomodel in cayenne. But for now I was not able to deploy in Tomcat I added CayenneFilter org.apache.cayenne.conf.WebApplicationContextFilter CayenneFilter /* in web.xml generated by gwt But it was not

Re: Pure EOF and gwt

2013-07-18 Thread Andrus Adamchik
Maybe just use Cayenne. It is trivial to bootstrap in a Java webapp: https://github.com/andrus/wowodc13 http://cayenne.apache.org/ Andrus On Jul 18, 2013, at 10:39 AM, Pierre Gilquin wrote: > Hi all, > > I try to make a minimum app in gwt using pure (Wonder) EOF for accessing data. > > > i

Pure EOF and gwt

2013-07-18 Thread Pierre Gilquin
Hi all, I try to make a minimum app in gwt using pure (Wonder) EOF for accessing data. in the init I did : String pathToModel = getServletContext().getRealPath("/Resources/MyModel.eomodeld"); EOModelGroup.defaultGroup().addModelWithPath(pathToModel); ec = ERXEC.newEdit