One initial problem is that it's failing to find the right DataNucleus libraries:
ERROR DataNucleus.Plugin - Bundle "org.datanucleus.store.appengine" requires "org.datanucleus" version "[1.0.4, 1.1.5.final)" but the resolved bundle has version "1.0.7.final" which is outside the expected range. What version of the DataNucleus libraries to you have installed? Also, Alan from Spring Roo has some comments over here: http://forum.springsource.org/showthread.php?p=301102 On Mon, May 24, 2010 at 4:50 PM, Aaron Steele <[email protected]>wrote: > It's definitely working. On the other hand, after creating a test > project configured with GAE persistence (using this Roo script: > http://goo.gl/fQX9), I'm able to launch and run it in developer mode > but the console displays a bunch of errors: http://goo.gl/QHmn > > Then, if I try logging into the app (via > http://127.0.0.1:8888/_ah/login) it fails with a > javax.servlet.UnavailableException in the console: http://goo.gl/QEh1 > > I wonder if this has something to do with all the URL rewrite stuff > going on in web.xml and urlrewrite.xml? I discovered this while trying > to add Appstats since it requires an admin login. > > Thoughts? > > On Mon, May 24, 2010 at 10:56 AM, Rajeev Dayal <[email protected]> wrote: > > Great, I think the problem was the AspectJ weaving being disabled. Glad > that > > it is all working. > > > > On Sat, May 22, 2010 at 6:16 PM, Aaron Steele <[email protected]> > > wrote: > >> > >> I reinstalled STS and enabled AspectJ weaving. All systems are go! I > >> can launch and run the app from within STS or from the Maven command > >> line. Sweet. > >> > >> Thanks, > >> Aaron > >> > >> On Fri, May 21, 2010 at 4:30 PM, Aaron Steele <[email protected]> > >> wrote: > >> >> Oh, also, did you enable AspectJ weaving (when STS asked you about > >> >> this)? > >> > > >> > No. Should I? > >> > > >> >> [by the way, the second link you posted is broken] > >> > > >> > Oops! Here it is again: http://goo.gl/SD8s > >> > > >> >> Hm, this is odd. What actions are you taking (in the UI) when the RPC > >> >> exceptions happen? > >> > > >> > I'm actually just launching the app. After it loads, I see the errors, > >> > before any UI interaction. > >> > > >> >> The dialog that pops up for you to select your WAR directory is > >> >> expected; > >> >> the default value is what you should choose. Can you send a text > >> >> listing of > >> >> the files that are in that directory (plus subdirectories) during the > >> >> launch? > >> > > >> > After the launch, the recursive directory listing looks like this: > >> > http://goo.gl/DAZu > >> > > >> > Before the launch (immediately after the 'script expenses.roo' command > >> > finishes) it looks like this: http://goo.gl/D2Wu > >> > > >> > In STS I'm doing the following: > >> > > >> > 1) Import -> Existing Maven Project > >> > 2) Run as -> Web Application > >> > 3) Select ApplicationScaffold.html > >> > 4) Select extrack-0.1.0-SNAPSHOT as WAR directory > >> > > >> > (At this point, here's what I see in the STS console: > >> > http://goo.gl/8unK) > >> > > >> > 5) Open Safari and load > >> > > >> > > http://127.0.0.1:8888/ApplicationScaffold.html?gwt.codesvr=127.0.0.1:9997 > >> > > >> > In Safari I see the loading widget. Then it loads, but not completely > >> > (screenshot attached). Then in the console, I see these errors: > >> > http://goo.gl/M0J0 > >> > > >> >> On Fri, May 21, 2010 at 3:37 PM, Aaron Steele < > [email protected]> > >> >> wrote: > >> >>> > >> >>> Similar results using Roo 1.1.0.M1 to generate the app (as opposed > to > >> >>> Roo 1.0.2): > >> >>> > >> >>> http://goo.gl/SD8sx > >> >>> > >> >>> $ springsource/roo-1.1.0.M1/bin/roo.sh > >> >>> roo> script --file expenses.roo > >> >>> > >> >>> What am I missing? > >> >>> > >> >>> FWIW, when launching from STS (Run as->Web Application), it launches > a > >> >>> Finder window and prompts me to select a WAR directory, which > defaults > >> >>> to target/extrack-0.1.0-SNAPSHOT. > >> >>> > >> >>> On Fri, May 21, 2010 at 11:24 AM, Rajeev Dayal <[email protected]> > >> >>> wrote: > >> >>> > The roo directory should be "roo-1.1.0.M1"; so you should be using > >> >>> > Roo > >> >>> > 1.1.0.M1 to generate the app, as opposed to Roo 1.0.2. > >> >>> > > >> >>> > On Fri, May 21, 2010 at 2:22 PM, Rajeev Dayal <[email protected]> > >> >>> > wrote: > >> >>> >> > >> >>> >> I wonder about the version of Roo that you're using. If you > >> >>> >> navigate > >> >>> >> down > >> >>> >> into your STS folder, do you see a roo-related directory there? > >> >>> >> What is > >> >>> >> the > >> >>> >> name of that directory? I think you need to be using the > milestone > >> >>> >> version > >> >>> >> of roo, which is located at <sts dir>/<roo dir>/bin/roo.{sh, > bat}. > >> >>> >> > >> >>> >> On Fri, May 21, 2010 at 2:02 PM, Aaron Steele > >> >>> >> <[email protected]> > >> >>> >> wrote: > >> >>> >>> > >> >>> >>> I'm seeing a strange issue with STS where launching a web > >> >>> >>> application > >> >>> >>> from within STS succeeds, but then RPCs fail with the following > >> >>> >>> errors: > >> >>> >>> > >> >>> >>> http://goo.gl/hAkP > >> >>> >>> > >> >>> >>> The project I'm running is from /samples/expenses.roo and was > >> >>> >>> created > >> >>> >>> using the Roo shell (script expenses.roo). If I try running the > >> >>> >>> same > >> >>> >>> project via 'mvn gwt:run', it works. > >> >>> >>> > >> >>> >>> Here's my setup: > >> >>> >>> > >> >>> >>> OS X > >> >>> >>> SpringSource Tool Suite (2.3.3.M1) > >> >>> >>> - DataNucleus Eclipse Plugins (2.0.2) > >> >>> >>> - Google App Engine Java SDK (1.3.4.v201005191217) > >> >>> >>> - Google Plugin for Eclipse 3.5 (1.4.0.m1-201005192034) > >> >>> >>> - Google Web Toolkit SDK (2.1.0.m1-201005191217) > >> >>> >>> - Spring Roo (1.0.2.RELEASE) > >> >>> >>> > >> >>> >>> Thanks! > >> >>> >>> Aaron > >> >>> >>> > >> >>> >>> -- > >> >>> >>> http://groups.google.com/group/Google-Web-Toolkit-Contributors > >> >>> >> > >> >>> > > >> >>> > -- > >> >>> > http://groups.google.com/group/Google-Web-Toolkit-Contributors > >> >>> > >> >>> -- > >> >>> http://groups.google.com/group/Google-Web-Toolkit-Contributors > >> >> > >> >> -- > >> >> http://groups.google.com/group/Google-Web-Toolkit-Contributors > >> > > >> > >> -- > >> http://groups.google.com/group/Google-Web-Toolkit-Contributors > > > > -- > > http://groups.google.com/group/Google-Web-Toolkit-Contributors > > -- > http://groups.google.com/group/Google-Web-Toolkit-Contributors > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
