Re: Wicket on Google App Engine
Daniel, I was going to send you a private email on this as well after reading the blog you put up. Did you really get this working for your project? On Thu, Mar 1, 2012 at 6:32 PM, kevjay wrote: > Daniel, did you ever get things to work to where the HTML files are updated > without restarting? Everything is working for me but this part. > > Thanks. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-on-Google-App-Engine-tp4259205p4435831.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Odeyemi 'Kayode O. http://ng.linkedin.com/in/kayodeodeyemi. t: @charyorde blog: http://sinati.com/tree/java-cheat-sheet
Re: Wicket on Google App Engine
Daniel, did you ever get things to work to where the HTML files are updated without restarting? Everything is working for me but this part. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-on-Google-App-Engine-tp4259205p4435831.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket on Google App Engine
Hi Daniel, if you run "mvn war:inplace" command in projects' directory, you can copy pom.xml dependencies to web-inf/lib automaticly. 2012/1/6 Rahman USTA > Thanks a lot Daniel, it's ok now. > > > 2012/1/6 Rahman USTA > >> Now, http://chopapp.com/#7pmdaqmd >> >> >> 2012/1/6 Rahman USTA >> >>> i did it in pom.xml, why must i add jars to lib manually? cant i do it >>> with maven? >>> >>> >>> 2012/1/6 Daniel Watrous >>> >>>> This time I think you didn't include the gae-initializer jar in your >>>> WEB-INF/lib directory. >>>> >>>> On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA >>>> wrote: >>>> > i handled them, but now server is giving me internal error, >>>> > http://chopapp.com/#8lc105ni >>>> > >>>> > 2012/1/6 Daniel Watrous >>>> > >>>> >> Rahman, >>>> >> >>>> >> From the error that you show in your link it appears that your >>>> >> application can't find the WicketFilter class. >>>> >> >>>> >> Are you sure that you copied the three wicket jar files (core, util, >>>> >> request) to your WEB-INF/lib folder? >>>> >> >>>> >> Daniel >>>> >> >>>> >> On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA < >>>> rahman.usta...@gmail.com> >>>> >> wrote: >>>> >> > i did Daniel's way, but when run the application, >>>> >> > http://chopapp.com/#1gyxqdm6 >>>> >> > >>>> >> > 2012/1/6 Hielke Hoeve >>>> >> > >>>> >> >> Hey Daniel, >>>> >> >> >>>> >> >> Glad to hear you got it working as well. I have some apps on >>>> google app >>>> >> >> engine as well. Tried all the tutorials and 'useful' maven >>>> plugins but >>>> >> all >>>> >> >> just didn't do the trick for me. I now use maven's resources >>>> plugin to >>>> >> >> copy the resources from the maven repository to the war/lib >>>> folder. >>>> >> Which >>>> >> >> allows me to update/add dependencies in the pom.xml, run maven >>>> and add >>>> >> the >>>> >> >> dependencies in eclipse manually. >>>> >> >> >>>> >> >> I have not found a maven plugin which just adds the google sdk as >>>> >> >> dependency for me so I don't have to mess around in eclipse >>>> everytime I >>>> >> run >>>> >> >> maven. Did you solve that? >>>> >> >> >>>> >> >> Hielke >>>> >> >> >>>> >> >> -Original Message- >>>> >> >> From: Daniel Watrous [mailto:daniel.watr...@gmail.com] >>>> >> >> Sent: donderdag 5 januari 2012 19:35 >>>> >> >> To: users@wicket.apache.org >>>> >> >> Subject: Re: Wicket on Google App Engine >>>> >> >> >>>> >> >> Thanks for all your help. I've just posted the steps required to >>>> get >>>> >> >> current versions of wicket and gae to work together. >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >>>> http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine >>>> >> >> >>>> >> >> Daniel >>>> >> >> >>>> >> >> On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro < >>>> >> >> ernesto.reina...@jweekend.com> wrote: >>>> >> >> > I think the class to use is >>>> >> >> > >>>> >> >> > >>>> >> >>>> http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ >>>> >> >> > ui/wicket/GAEModificationWatcher.java >>>> >> >> > >>>> >> >> > >>>> >> >> > >>>> >> >> > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barr
Re: Wicket on Google App Engine
Thanks a lot Daniel, it's ok now. 2012/1/6 Rahman USTA > Now, http://chopapp.com/#7pmdaqmd > > > 2012/1/6 Rahman USTA > >> i did it in pom.xml, why must i add jars to lib manually? cant i do it >> with maven? >> >> >> 2012/1/6 Daniel Watrous >> >>> This time I think you didn't include the gae-initializer jar in your >>> WEB-INF/lib directory. >>> >>> On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA >>> wrote: >>> > i handled them, but now server is giving me internal error, >>> > http://chopapp.com/#8lc105ni >>> > >>> > 2012/1/6 Daniel Watrous >>> > >>> >> Rahman, >>> >> >>> >> From the error that you show in your link it appears that your >>> >> application can't find the WicketFilter class. >>> >> >>> >> Are you sure that you copied the three wicket jar files (core, util, >>> >> request) to your WEB-INF/lib folder? >>> >> >>> >> Daniel >>> >> >>> >> On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA >> > >>> >> wrote: >>> >> > i did Daniel's way, but when run the application, >>> >> > http://chopapp.com/#1gyxqdm6 >>> >> > >>> >> > 2012/1/6 Hielke Hoeve >>> >> > >>> >> >> Hey Daniel, >>> >> >> >>> >> >> Glad to hear you got it working as well. I have some apps on >>> google app >>> >> >> engine as well. Tried all the tutorials and 'useful' maven >>> plugins but >>> >> all >>> >> >> just didn't do the trick for me. I now use maven's resources >>> plugin to >>> >> >> copy the resources from the maven repository to the war/lib folder. >>> >> Which >>> >> >> allows me to update/add dependencies in the pom.xml, run maven and >>> add >>> >> the >>> >> >> dependencies in eclipse manually. >>> >> >> >>> >> >> I have not found a maven plugin which just adds the google sdk as >>> >> >> dependency for me so I don't have to mess around in eclipse >>> everytime I >>> >> run >>> >> >> maven. Did you solve that? >>> >> >> >>> >> >> Hielke >>> >> >> >>> >> >> -Original Message- >>> >> >> From: Daniel Watrous [mailto:daniel.watr...@gmail.com] >>> >> >> Sent: donderdag 5 januari 2012 19:35 >>> >> >> To: users@wicket.apache.org >>> >> >> Subject: Re: Wicket on Google App Engine >>> >> >> >>> >> >> Thanks for all your help. I've just posted the steps required to >>> get >>> >> >> current versions of wicket and gae to work together. >>> >> >> >>> >> >> >>> >> >> >>> >> >>> http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine >>> >> >> >>> >> >> Daniel >>> >> >> >>> >> >> On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro < >>> >> >> ernesto.reina...@jweekend.com> wrote: >>> >> >> > I think the class to use is >>> >> >> > >>> >> >> > >>> >> >>> http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ >>> >> >> > ui/wicket/GAEModificationWatcher.java >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < >>> >> >> > ernesto.reina...@jweekend.com> wrote: >>> >> >> > >>> >> >> >> You could use a modified version of resource watcher that does >>> not >>> >> >> >> use threads and modify request cycle so that watcher is executed >>> >> >> >> before each request cycle. I remember there was some blog >>> somewhere >>> >> >> >> explaining this technique... Maybe it was this... >>> >> >> >> >>> >> &g
Re: Wicket on Google App Engine
Rahman, Are you following my tutorial or are you trying to adapt it to work some other way. I have to admit that I'm not very savvy when it comes to Maven and I like the eclipse environment well enough. The Eclipse + GAE plugin makes development easy. Maybe I should be embarrassed to say that it took me three days to finally get wicket going on GAE and the result of that is the tutorial I put together. If you have something in mind other than what I documented then I'm not going to be much help. Daniel On Fri, Jan 6, 2012 at 9:00 AM, Rahman USTA wrote: > Now, http://chopapp.com/#7pmdaqmd > > 2012/1/6 Rahman USTA > >> i did it in pom.xml, why must i add jars to lib manually? cant i do it >> with maven? >> >> >> 2012/1/6 Daniel Watrous >> >>> This time I think you didn't include the gae-initializer jar in your >>> WEB-INF/lib directory. >>> >>> On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA >>> wrote: >>> > i handled them, but now server is giving me internal error, >>> > http://chopapp.com/#8lc105ni >>> > >>> > 2012/1/6 Daniel Watrous >>> > >>> >> Rahman, >>> >> >>> >> From the error that you show in your link it appears that your >>> >> application can't find the WicketFilter class. >>> >> >>> >> Are you sure that you copied the three wicket jar files (core, util, >>> >> request) to your WEB-INF/lib folder? >>> >> >>> >> Daniel >>> >> >>> >> On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA >>> >> wrote: >>> >> > i did Daniel's way, but when run the application, >>> >> > http://chopapp.com/#1gyxqdm6 >>> >> > >>> >> > 2012/1/6 Hielke Hoeve >>> >> > >>> >> >> Hey Daniel, >>> >> >> >>> >> >> Glad to hear you got it working as well. I have some apps on google >>> app >>> >> >> engine as well. Tried all the tutorials and 'useful' maven plugins >>> but >>> >> all >>> >> >> just didn't do the trick for me. I now use maven's resources >>> plugin to >>> >> >> copy the resources from the maven repository to the war/lib folder. >>> >> Which >>> >> >> allows me to update/add dependencies in the pom.xml, run maven and >>> add >>> >> the >>> >> >> dependencies in eclipse manually. >>> >> >> >>> >> >> I have not found a maven plugin which just adds the google sdk as >>> >> >> dependency for me so I don't have to mess around in eclipse >>> everytime I >>> >> run >>> >> >> maven. Did you solve that? >>> >> >> >>> >> >> Hielke >>> >> >> >>> >> >> -Original Message- >>> >> >> From: Daniel Watrous [mailto:daniel.watr...@gmail.com] >>> >> >> Sent: donderdag 5 januari 2012 19:35 >>> >> >> To: users@wicket.apache.org >>> >> >> Subject: Re: Wicket on Google App Engine >>> >> >> >>> >> >> Thanks for all your help. I've just posted the steps required to get >>> >> >> current versions of wicket and gae to work together. >>> >> >> >>> >> >> >>> >> >> >>> >> >>> http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine >>> >> >> >>> >> >> Daniel >>> >> >> >>> >> >> On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro < >>> >> >> ernesto.reina...@jweekend.com> wrote: >>> >> >> > I think the class to use is >>> >> >> > >>> >> >> > >>> >> http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ >>> >> >> > ui/wicket/GAEModificationWatcher.java >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < >>> >> >> > ernesto.reina...@jweekend.com> wrote: >>> >> >> > >>> >&
Re: Wicket on Google App Engine
Now, http://chopapp.com/#7pmdaqmd 2012/1/6 Rahman USTA > i did it in pom.xml, why must i add jars to lib manually? cant i do it > with maven? > > > 2012/1/6 Daniel Watrous > >> This time I think you didn't include the gae-initializer jar in your >> WEB-INF/lib directory. >> >> On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA >> wrote: >> > i handled them, but now server is giving me internal error, >> > http://chopapp.com/#8lc105ni >> > >> > 2012/1/6 Daniel Watrous >> > >> >> Rahman, >> >> >> >> From the error that you show in your link it appears that your >> >> application can't find the WicketFilter class. >> >> >> >> Are you sure that you copied the three wicket jar files (core, util, >> >> request) to your WEB-INF/lib folder? >> >> >> >> Daniel >> >> >> >> On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA >> >> wrote: >> >> > i did Daniel's way, but when run the application, >> >> > http://chopapp.com/#1gyxqdm6 >> >> > >> >> > 2012/1/6 Hielke Hoeve >> >> > >> >> >> Hey Daniel, >> >> >> >> >> >> Glad to hear you got it working as well. I have some apps on google >> app >> >> >> engine as well. Tried all the tutorials and 'useful' maven plugins >> but >> >> all >> >> >> just didn't do the trick for me. I now use maven's resources >> plugin to >> >> >> copy the resources from the maven repository to the war/lib folder. >> >> Which >> >> >> allows me to update/add dependencies in the pom.xml, run maven and >> add >> >> the >> >> >> dependencies in eclipse manually. >> >> >> >> >> >> I have not found a maven plugin which just adds the google sdk as >> >> >> dependency for me so I don't have to mess around in eclipse >> everytime I >> >> run >> >> >> maven. Did you solve that? >> >> >> >> >> >> Hielke >> >> >> >> >> >> -Original Message- >> >> >> From: Daniel Watrous [mailto:daniel.watr...@gmail.com] >> >> >> Sent: donderdag 5 januari 2012 19:35 >> >> >> To: users@wicket.apache.org >> >> >> Subject: Re: Wicket on Google App Engine >> >> >> >> >> >> Thanks for all your help. I've just posted the steps required to get >> >> >> current versions of wicket and gae to work together. >> >> >> >> >> >> >> >> >> >> >> >> http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine >> >> >> >> >> >> Daniel >> >> >> >> >> >> On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro < >> >> >> ernesto.reina...@jweekend.com> wrote: >> >> >> > I think the class to use is >> >> >> > >> >> >> > >> >> http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ >> >> >> > ui/wicket/GAEModificationWatcher.java >> >> >> > >> >> >> > >> >> >> > >> >> >> > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < >> >> >> > ernesto.reina...@jweekend.com> wrote: >> >> >> > >> >> >> >> You could use a modified version of resource watcher that does >> not >> >> >> >> use threads and modify request cycle so that watcher is executed >> >> >> >> before each request cycle. I remember there was some blog >> somewhere >> >> >> >> explaining this technique... Maybe it was this... >> >> >> >> >> >> >> >> >> >> >> >> >> >> http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go >> >> >> >> ogle-app-engine.html >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous < >> >> >> daniel.watr...@gmail.com>wrote: >> >> >> >> >> >>
Re: Wicket on Google App Engine
You might be clever enough to do it in maven. I wasn't, so I added the jar files like I show in my tutorial. On Fri, Jan 6, 2012 at 8:55 AM, Rahman USTA wrote: > i did it in pom.xml, why must i add jars to lib manually? cant i do it with > maven? > > 2012/1/6 Daniel Watrous > >> This time I think you didn't include the gae-initializer jar in your >> WEB-INF/lib directory. >> >> On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA >> wrote: >> > i handled them, but now server is giving me internal error, >> > http://chopapp.com/#8lc105ni >> > >> > 2012/1/6 Daniel Watrous >> > >> >> Rahman, >> >> >> >> From the error that you show in your link it appears that your >> >> application can't find the WicketFilter class. >> >> >> >> Are you sure that you copied the three wicket jar files (core, util, >> >> request) to your WEB-INF/lib folder? >> >> >> >> Daniel >> >> >> >> On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA >> >> wrote: >> >> > i did Daniel's way, but when run the application, >> >> > http://chopapp.com/#1gyxqdm6 >> >> > >> >> > 2012/1/6 Hielke Hoeve >> >> > >> >> >> Hey Daniel, >> >> >> >> >> >> Glad to hear you got it working as well. I have some apps on google >> app >> >> >> engine as well. Tried all the tutorials and 'useful' maven plugins >> but >> >> all >> >> >> just didn't do the trick for me. I now use maven's resources plugin >> to >> >> >> copy the resources from the maven repository to the war/lib folder. >> >> Which >> >> >> allows me to update/add dependencies in the pom.xml, run maven and >> add >> >> the >> >> >> dependencies in eclipse manually. >> >> >> >> >> >> I have not found a maven plugin which just adds the google sdk as >> >> >> dependency for me so I don't have to mess around in eclipse >> everytime I >> >> run >> >> >> maven. Did you solve that? >> >> >> >> >> >> Hielke >> >> >> >> >> >> -Original Message- >> >> >> From: Daniel Watrous [mailto:daniel.watr...@gmail.com] >> >> >> Sent: donderdag 5 januari 2012 19:35 >> >> >> To: users@wicket.apache.org >> >> >> Subject: Re: Wicket on Google App Engine >> >> >> >> >> >> Thanks for all your help. I've just posted the steps required to get >> >> >> current versions of wicket and gae to work together. >> >> >> >> >> >> >> >> >> >> >> >> http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine >> >> >> >> >> >> Daniel >> >> >> >> >> >> On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro < >> >> >> ernesto.reina...@jweekend.com> wrote: >> >> >> > I think the class to use is >> >> >> > >> >> >> > >> >> http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ >> >> >> > ui/wicket/GAEModificationWatcher.java >> >> >> > >> >> >> > >> >> >> > >> >> >> > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < >> >> >> > ernesto.reina...@jweekend.com> wrote: >> >> >> > >> >> >> >> You could use a modified version of resource watcher that does not >> >> >> >> use threads and modify request cycle so that watcher is executed >> >> >> >> before each request cycle. I remember there was some blog >> somewhere >> >> >> >> explaining this technique... Maybe it was this... >> >> >> >> >> >> >> >> >> >> >> >> >> >> http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go >> >> >> >> ogle-app-engine.html >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous < >> >> >
Re: Wicket on Google App Engine
i did it in pom.xml, why must i add jars to lib manually? cant i do it with maven? 2012/1/6 Daniel Watrous > This time I think you didn't include the gae-initializer jar in your > WEB-INF/lib directory. > > On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA > wrote: > > i handled them, but now server is giving me internal error, > > http://chopapp.com/#8lc105ni > > > > 2012/1/6 Daniel Watrous > > > >> Rahman, > >> > >> From the error that you show in your link it appears that your > >> application can't find the WicketFilter class. > >> > >> Are you sure that you copied the three wicket jar files (core, util, > >> request) to your WEB-INF/lib folder? > >> > >> Daniel > >> > >> On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA > >> wrote: > >> > i did Daniel's way, but when run the application, > >> > http://chopapp.com/#1gyxqdm6 > >> > > >> > 2012/1/6 Hielke Hoeve > >> > > >> >> Hey Daniel, > >> >> > >> >> Glad to hear you got it working as well. I have some apps on google > app > >> >> engine as well. Tried all the tutorials and 'useful' maven plugins > but > >> all > >> >> just didn't do the trick for me. I now use maven's resources plugin > to > >> >> copy the resources from the maven repository to the war/lib folder. > >> Which > >> >> allows me to update/add dependencies in the pom.xml, run maven and > add > >> the > >> >> dependencies in eclipse manually. > >> >> > >> >> I have not found a maven plugin which just adds the google sdk as > >> >> dependency for me so I don't have to mess around in eclipse > everytime I > >> run > >> >> maven. Did you solve that? > >> >> > >> >> Hielke > >> >> > >> >> -Original Message- > >> >> From: Daniel Watrous [mailto:daniel.watr...@gmail.com] > >> >> Sent: donderdag 5 januari 2012 19:35 > >> >> To: users@wicket.apache.org > >> >> Subject: Re: Wicket on Google App Engine > >> >> > >> >> Thanks for all your help. I've just posted the steps required to get > >> >> current versions of wicket and gae to work together. > >> >> > >> >> > >> >> > >> > http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine > >> >> > >> >> Daniel > >> >> > >> >> On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro < > >> >> ernesto.reina...@jweekend.com> wrote: > >> >> > I think the class to use is > >> >> > > >> >> > > >> http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ > >> >> > ui/wicket/GAEModificationWatcher.java > >> >> > > >> >> > > >> >> > > >> >> > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < > >> >> > ernesto.reina...@jweekend.com> wrote: > >> >> > > >> >> >> You could use a modified version of resource watcher that does not > >> >> >> use threads and modify request cycle so that watcher is executed > >> >> >> before each request cycle. I remember there was some blog > somewhere > >> >> >> explaining this technique... Maybe it was this... > >> >> >> > >> >> >> > >> >> >> > >> http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go > >> >> >> ogle-app-engine.html > >> >> >> > >> >> >> > >> >> >> > >> >> >> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous < > >> >> daniel.watr...@gmail.com>wrote: > >> >> >> > >> >> >>> I tried putting in this: > >> >> >>> > getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); > >> >> >>> > >> >> >>> But the resource still doesn't update without restarting the > google > >> >> >>> app engine environment. I just tried it by running Start and > that no > >> >> >>> longer updates automatically either
Re: Wicket on Google App Engine
This time I think you didn't include the gae-initializer jar in your WEB-INF/lib directory. On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA wrote: > i handled them, but now server is giving me internal error, > http://chopapp.com/#8lc105ni > > 2012/1/6 Daniel Watrous > >> Rahman, >> >> From the error that you show in your link it appears that your >> application can't find the WicketFilter class. >> >> Are you sure that you copied the three wicket jar files (core, util, >> request) to your WEB-INF/lib folder? >> >> Daniel >> >> On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA >> wrote: >> > i did Daniel's way, but when run the application, >> > http://chopapp.com/#1gyxqdm6 >> > >> > 2012/1/6 Hielke Hoeve >> > >> >> Hey Daniel, >> >> >> >> Glad to hear you got it working as well. I have some apps on google app >> >> engine as well. Tried all the tutorials and 'useful' maven plugins but >> all >> >> just didn't do the trick for me. I now use maven's resources plugin to >> >> copy the resources from the maven repository to the war/lib folder. >> Which >> >> allows me to update/add dependencies in the pom.xml, run maven and add >> the >> >> dependencies in eclipse manually. >> >> >> >> I have not found a maven plugin which just adds the google sdk as >> >> dependency for me so I don't have to mess around in eclipse everytime I >> run >> >> maven. Did you solve that? >> >> >> >> Hielke >> >> >> >> -Original Message- >> >> From: Daniel Watrous [mailto:daniel.watr...@gmail.com] >> >> Sent: donderdag 5 januari 2012 19:35 >> >> To: users@wicket.apache.org >> >> Subject: Re: Wicket on Google App Engine >> >> >> >> Thanks for all your help. I've just posted the steps required to get >> >> current versions of wicket and gae to work together. >> >> >> >> >> >> >> http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine >> >> >> >> Daniel >> >> >> >> On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro < >> >> ernesto.reina...@jweekend.com> wrote: >> >> > I think the class to use is >> >> > >> >> > >> http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ >> >> > ui/wicket/GAEModificationWatcher.java >> >> > >> >> > >> >> > >> >> > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < >> >> > ernesto.reina...@jweekend.com> wrote: >> >> > >> >> >> You could use a modified version of resource watcher that does not >> >> >> use threads and modify request cycle so that watcher is executed >> >> >> before each request cycle. I remember there was some blog somewhere >> >> >> explaining this technique... Maybe it was this... >> >> >> >> >> >> >> >> >> >> http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go >> >> >> ogle-app-engine.html >> >> >> >> >> >> >> >> >> >> >> >> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous < >> >> daniel.watr...@gmail.com>wrote: >> >> >> >> >> >>> I tried putting in this: >> >> >>> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); >> >> >>> >> >> >>> But the resource still doesn't update without restarting the google >> >> >>> app engine environment. I just tried it by running Start and that no >> >> >>> longer updates automatically either. >> >> >>> >> >> >>> In the process of trying to make it work with GAE, I changed the >> >> >>> pom.xml to have these lines in the build section >> >> >>> src/main/webapp/WEB-INF >> >> >>> >> >> >>> src/main/webapp/WEB-INF/classes >> >> >>> >> >> >>> That means files are no longer placed in the target directory, but >> >> >>> in the WEB-INF folder. Could this affect it? Have I missed another >> >> >>>
Re: Wicket on Google App Engine
i handled them, but now server is giving me internal error, http://chopapp.com/#8lc105ni 2012/1/6 Daniel Watrous > Rahman, > > From the error that you show in your link it appears that your > application can't find the WicketFilter class. > > Are you sure that you copied the three wicket jar files (core, util, > request) to your WEB-INF/lib folder? > > Daniel > > On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA > wrote: > > i did Daniel's way, but when run the application, > > http://chopapp.com/#1gyxqdm6 > > > > 2012/1/6 Hielke Hoeve > > > >> Hey Daniel, > >> > >> Glad to hear you got it working as well. I have some apps on google app > >> engine as well. Tried all the tutorials and 'useful' maven plugins but > all > >> just didn't do the trick for me. I now use maven's resources plugin to > >> copy the resources from the maven repository to the war/lib folder. > Which > >> allows me to update/add dependencies in the pom.xml, run maven and add > the > >> dependencies in eclipse manually. > >> > >> I have not found a maven plugin which just adds the google sdk as > >> dependency for me so I don't have to mess around in eclipse everytime I > run > >> maven. Did you solve that? > >> > >> Hielke > >> > >> -Original Message- > >> From: Daniel Watrous [mailto:daniel.watr...@gmail.com] > >> Sent: donderdag 5 januari 2012 19:35 > >> To: users@wicket.apache.org > >> Subject: Re: Wicket on Google App Engine > >> > >> Thanks for all your help. I've just posted the steps required to get > >> current versions of wicket and gae to work together. > >> > >> > >> > http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine > >> > >> Daniel > >> > >> On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro < > >> ernesto.reina...@jweekend.com> wrote: > >> > I think the class to use is > >> > > >> > > http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ > >> > ui/wicket/GAEModificationWatcher.java > >> > > >> > > >> > > >> > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < > >> > ernesto.reina...@jweekend.com> wrote: > >> > > >> >> You could use a modified version of resource watcher that does not > >> >> use threads and modify request cycle so that watcher is executed > >> >> before each request cycle. I remember there was some blog somewhere > >> >> explaining this technique... Maybe it was this... > >> >> > >> >> > >> >> > http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go > >> >> ogle-app-engine.html > >> >> > >> >> > >> >> > >> >> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous < > >> daniel.watr...@gmail.com>wrote: > >> >> > >> >>> I tried putting in this: > >> >>> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); > >> >>> > >> >>> But the resource still doesn't update without restarting the google > >> >>> app engine environment. I just tried it by running Start and that no > >> >>> longer updates automatically either. > >> >>> > >> >>> In the process of trying to make it work with GAE, I changed the > >> >>> pom.xml to have these lines in the build section > >> >>>src/main/webapp/WEB-INF > >> >>> > >> >>> src/main/webapp/WEB-INF/classes > >> >>> > >> >>> That means files are no longer placed in the target directory, but > >> >>> in the WEB-INF folder. Could this affect it? Have I missed another > >> >>> setting somewhere that relates to changing where the compiled > >> >>> classes are placed? > >> >>> > >> >>> Daniel > >> >>> > >> >>> On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier wrote: > >> >>> > Read here: > >> >>> > > >> >>> >https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment > >> >>> > > >> >>> > The relevant setting is: >
Re: Wicket on Google App Engine
Hielke, I'm not very sophisticated when it comes to Maven. I think what I go through in my tutorial is more of a brute force update of my eclipse environment so that it works with the quickstart project on GAE. I'll have a look at the resources approach you mentioned. That might simplify setup of future projects. Daniel On Fri, Jan 6, 2012 at 3:39 AM, Hielke Hoeve wrote: > Hey Daniel, > > Glad to hear you got it working as well. I have some apps on google app > engine as well. Tried all the tutorials and 'useful' maven plugins but all > just didn't do the trick for me. I now use maven's resources plugin to copy > the resources from the maven repository to the war/lib folder. Which allows > me to update/add dependencies in the pom.xml, run maven and add the > dependencies in eclipse manually. > > I have not found a maven plugin which just adds the google sdk as dependency > for me so I don't have to mess around in eclipse everytime I run maven. Did > you solve that? > > Hielke > > -Original Message- > From: Daniel Watrous [mailto:daniel.watr...@gmail.com] > Sent: donderdag 5 januari 2012 19:35 > To: users@wicket.apache.org > Subject: Re: Wicket on Google App Engine > > Thanks for all your help. I've just posted the steps required to get current > versions of wicket and gae to work together. > > http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine > > Daniel > > On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro > wrote: >> I think the class to use is >> >> http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ >> ui/wicket/GAEModificationWatcher.java >> >> >> >> On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < >> ernesto.reina...@jweekend.com> wrote: >> >>> You could use a modified version of resource watcher that does not >>> use threads and modify request cycle so that watcher is executed >>> before each request cycle. I remember there was some blog somewhere >>> explaining this technique... Maybe it was this... >>> >>> >>> http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go >>> ogle-app-engine.html >>> >>> >>> >>> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous >>> wrote: >>> >>>> I tried putting in this: >>>> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); >>>> >>>> But the resource still doesn't update without restarting the google >>>> app engine environment. I just tried it by running Start and that no >>>> longer updates automatically either. >>>> >>>> In the process of trying to make it work with GAE, I changed the >>>> pom.xml to have these lines in the build section >>>> src/main/webapp/WEB-INF >>>> >>>> src/main/webapp/WEB-INF/classes >>>> >>>> That means files are no longer placed in the target directory, but >>>> in the WEB-INF folder. Could this affect it? Have I missed another >>>> setting somewhere that relates to changing where the compiled >>>> classes are placed? >>>> >>>> Daniel >>>> >>>> On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier wrote: >>>> > Read here: >>>> > >>>> > https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment >>>> > >>>> > The relevant setting is: >>>> > getResourceSettings().setResourcePollFrequency(duration); >>>> > >>>> > Sven >>>> > >>>> > >>>> > On 01/04/2012 10:31 PM, Daniel Watrous wrote: >>>> >> >>>> >> Great. I now have it working with either the jar download or the >>>> >> dependency in the pom.xml file. In the dependency xml snippet I >>>> >> didn't realize that I needed to manually provide the version, but >>>> >> after I did then it worked fine. >>>> >> >>>> >> Whenever I update a class and save it in Eclipse, that class is >>>> >> updated in the running server and I don't have to restart to see >>>> >> the changes. This is great. >>>> >> >>>> >> However, when I change an HTML page, it's not updated in the >>>> >> running server, so I have to restart everything. I know that when >>>> >> I run a qui
Re: Wicket on Google App Engine
Rahman, >From the error that you show in your link it appears that your application can't find the WicketFilter class. Are you sure that you copied the three wicket jar files (core, util, request) to your WEB-INF/lib folder? Daniel On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA wrote: > i did Daniel's way, but when run the application, > http://chopapp.com/#1gyxqdm6 > > 2012/1/6 Hielke Hoeve > >> Hey Daniel, >> >> Glad to hear you got it working as well. I have some apps on google app >> engine as well. Tried all the tutorials and 'useful' maven plugins but all >> just didn't do the trick for me. I now use maven's resources plugin to >> copy the resources from the maven repository to the war/lib folder. Which >> allows me to update/add dependencies in the pom.xml, run maven and add the >> dependencies in eclipse manually. >> >> I have not found a maven plugin which just adds the google sdk as >> dependency for me so I don't have to mess around in eclipse everytime I run >> maven. Did you solve that? >> >> Hielke >> >> -Original Message----- >> From: Daniel Watrous [mailto:daniel.watr...@gmail.com] >> Sent: donderdag 5 januari 2012 19:35 >> To: users@wicket.apache.org >> Subject: Re: Wicket on Google App Engine >> >> Thanks for all your help. I've just posted the steps required to get >> current versions of wicket and gae to work together. >> >> >> http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine >> >> Daniel >> >> On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro < >> ernesto.reina...@jweekend.com> wrote: >> > I think the class to use is >> > >> > http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ >> > ui/wicket/GAEModificationWatcher.java >> > >> > >> > >> > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < >> > ernesto.reina...@jweekend.com> wrote: >> > >> >> You could use a modified version of resource watcher that does not >> >> use threads and modify request cycle so that watcher is executed >> >> before each request cycle. I remember there was some blog somewhere >> >> explaining this technique... Maybe it was this... >> >> >> >> >> >> http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go >> >> ogle-app-engine.html >> >> >> >> >> >> >> >> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous < >> daniel.watr...@gmail.com>wrote: >> >> >> >>> I tried putting in this: >> >>> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); >> >>> >> >>> But the resource still doesn't update without restarting the google >> >>> app engine environment. I just tried it by running Start and that no >> >>> longer updates automatically either. >> >>> >> >>> In the process of trying to make it work with GAE, I changed the >> >>> pom.xml to have these lines in the build section >> >>> src/main/webapp/WEB-INF >> >>> >> >>> src/main/webapp/WEB-INF/classes >> >>> >> >>> That means files are no longer placed in the target directory, but >> >>> in the WEB-INF folder. Could this affect it? Have I missed another >> >>> setting somewhere that relates to changing where the compiled >> >>> classes are placed? >> >>> >> >>> Daniel >> >>> >> >>> On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier wrote: >> >>> > Read here: >> >>> > >> >>> > https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment >> >>> > >> >>> > The relevant setting is: >> >>> > getResourceSettings().setResourcePollFrequency(duration); >> >>> > >> >>> > Sven >> >>> > >> >>> > >> >>> > On 01/04/2012 10:31 PM, Daniel Watrous wrote: >> >>> >> >> >>> >> Great. I now have it working with either the jar download or the >> >>> >> dependency in the pom.xml file. In the dependency xml snippet I >> >>> >> didn't realize that I needed to manually provide the version, but >> >>> >> after I did then i
Re: Wicket on Google App Engine
i did Daniel's way, but when run the application, http://chopapp.com/#1gyxqdm6 2012/1/6 Hielke Hoeve > Hey Daniel, > > Glad to hear you got it working as well. I have some apps on google app > engine as well. Tried all the tutorials and 'useful' maven plugins but all > just didn't do the trick for me. I now use maven's resources plugin to > copy the resources from the maven repository to the war/lib folder. Which > allows me to update/add dependencies in the pom.xml, run maven and add the > dependencies in eclipse manually. > > I have not found a maven plugin which just adds the google sdk as > dependency for me so I don't have to mess around in eclipse everytime I run > maven. Did you solve that? > > Hielke > > -Original Message- > From: Daniel Watrous [mailto:daniel.watr...@gmail.com] > Sent: donderdag 5 januari 2012 19:35 > To: users@wicket.apache.org > Subject: Re: Wicket on Google App Engine > > Thanks for all your help. I've just posted the steps required to get > current versions of wicket and gae to work together. > > > http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine > > Daniel > > On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro < > ernesto.reina...@jweekend.com> wrote: > > I think the class to use is > > > > http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ > > ui/wicket/GAEModificationWatcher.java > > > > > > > > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < > > ernesto.reina...@jweekend.com> wrote: > > > >> You could use a modified version of resource watcher that does not > >> use threads and modify request cycle so that watcher is executed > >> before each request cycle. I remember there was some blog somewhere > >> explaining this technique... Maybe it was this... > >> > >> > >> http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go > >> ogle-app-engine.html > >> > >> > >> > >> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous < > daniel.watr...@gmail.com>wrote: > >> > >>> I tried putting in this: > >>> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); > >>> > >>> But the resource still doesn't update without restarting the google > >>> app engine environment. I just tried it by running Start and that no > >>> longer updates automatically either. > >>> > >>> In the process of trying to make it work with GAE, I changed the > >>> pom.xml to have these lines in the build section > >>>src/main/webapp/WEB-INF > >>> > >>> src/main/webapp/WEB-INF/classes > >>> > >>> That means files are no longer placed in the target directory, but > >>> in the WEB-INF folder. Could this affect it? Have I missed another > >>> setting somewhere that relates to changing where the compiled > >>> classes are placed? > >>> > >>> Daniel > >>> > >>> On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier wrote: > >>> > Read here: > >>> > > >>> >https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment > >>> > > >>> > The relevant setting is: > >>> >getResourceSettings().setResourcePollFrequency(duration); > >>> > > >>> > Sven > >>> > > >>> > > >>> > On 01/04/2012 10:31 PM, Daniel Watrous wrote: > >>> >> > >>> >> Great. I now have it working with either the jar download or the > >>> >> dependency in the pom.xml file. In the dependency xml snippet I > >>> >> didn't realize that I needed to manually provide the version, but > >>> >> after I did then it worked fine. > >>> >> > >>> >> Whenever I update a class and save it in Eclipse, that class is > >>> >> updated in the running server and I don't have to restart to see > >>> >> the changes. This is great. > >>> >> > >>> >> However, when I change an HTML page, it's not updated in the > >>> >> running server, so I have to restart everything. I know that when > >>> >> I run a quickstart app directly (using the Start class) that > >>> >> updates to the HTML are updated without requiring a restart. > >>> >&g
RE: Wicket on Google App Engine
Hey Daniel, Glad to hear you got it working as well. I have some apps on google app engine as well. Tried all the tutorials and 'useful' maven plugins but all just didn't do the trick for me. I now use maven's resources plugin to copy the resources from the maven repository to the war/lib folder. Which allows me to update/add dependencies in the pom.xml, run maven and add the dependencies in eclipse manually. I have not found a maven plugin which just adds the google sdk as dependency for me so I don't have to mess around in eclipse everytime I run maven. Did you solve that? Hielke -Original Message- From: Daniel Watrous [mailto:daniel.watr...@gmail.com] Sent: donderdag 5 januari 2012 19:35 To: users@wicket.apache.org Subject: Re: Wicket on Google App Engine Thanks for all your help. I've just posted the steps required to get current versions of wicket and gae to work together. http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine Daniel On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro wrote: > I think the class to use is > > http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ > ui/wicket/GAEModificationWatcher.java > > > > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < > ernesto.reina...@jweekend.com> wrote: > >> You could use a modified version of resource watcher that does not >> use threads and modify request cycle so that watcher is executed >> before each request cycle. I remember there was some blog somewhere >> explaining this technique... Maybe it was this... >> >> >> http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go >> ogle-app-engine.html >> >> >> >> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous >> wrote: >> >>> I tried putting in this: >>> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); >>> >>> But the resource still doesn't update without restarting the google >>> app engine environment. I just tried it by running Start and that no >>> longer updates automatically either. >>> >>> In the process of trying to make it work with GAE, I changed the >>> pom.xml to have these lines in the build section >>> src/main/webapp/WEB-INF >>> >>> src/main/webapp/WEB-INF/classes >>> >>> That means files are no longer placed in the target directory, but >>> in the WEB-INF folder. Could this affect it? Have I missed another >>> setting somewhere that relates to changing where the compiled >>> classes are placed? >>> >>> Daniel >>> >>> On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier wrote: >>> > Read here: >>> > >>> > https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment >>> > >>> > The relevant setting is: >>> > getResourceSettings().setResourcePollFrequency(duration); >>> > >>> > Sven >>> > >>> > >>> > On 01/04/2012 10:31 PM, Daniel Watrous wrote: >>> >> >>> >> Great. I now have it working with either the jar download or the >>> >> dependency in the pom.xml file. In the dependency xml snippet I >>> >> didn't realize that I needed to manually provide the version, but >>> >> after I did then it worked fine. >>> >> >>> >> Whenever I update a class and save it in Eclipse, that class is >>> >> updated in the running server and I don't have to restart to see >>> >> the changes. This is great. >>> >> >>> >> However, when I change an HTML page, it's not updated in the >>> >> running server, so I have to restart everything. I know that when >>> >> I run a quickstart app directly (using the Start class) that >>> >> updates to the HTML are updated without requiring a restart. >>> >> >>> >> Do you know how to make it so the HTML files are updated in the >>> >> live server? >>> >> >>> >> Thanks so much. >>> >> >>> >> Daniel >>> >> >>> >> On Wed, Jan 4, 2012 at 1:38 PM, Sven Meier wrote: >>> >>> >>> >>> With maven it's very easy, just add the dependency to your pom >>> >>> as suggested and forget about it. >>> >>> >>> >>> Alternatively you can download the jar form maven central >>> >&
Re: Wicket on Google App Engine
Thanks for sharing! On Thu, Jan 5, 2012 at 7:35 PM, Daniel Watrous wrote: > Thanks for all your help. I've just posted the steps required to get > current versions of wicket and gae to work together. > > > http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine > > Daniel > > On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro > wrote: > > I think the class to use is > > > > > http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ui/wicket/GAEModificationWatcher.java > > > > > > > > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < > > ernesto.reina...@jweekend.com> wrote: > > > >> You could use a modified version of resource watcher that does not use > >> threads and modify request cycle so that watcher is executed before each > >> request cycle. I remember there was some blog somewhere explaining this > >> technique... Maybe it was this... > >> > >> > >> > http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-google-app-engine.html > >> > >> > >> > >> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous < > daniel.watr...@gmail.com>wrote: > >> > >>> I tried putting in this: > >>> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); > >>> > >>> But the resource still doesn't update without restarting the google > >>> app engine environment. I just tried it by running Start and that no > >>> longer updates automatically either. > >>> > >>> In the process of trying to make it work with GAE, I changed the > >>> pom.xml to have these lines in the build section > >>>src/main/webapp/WEB-INF > >>> > >>> src/main/webapp/WEB-INF/classes > >>> > >>> That means files are no longer placed in the target directory, but in > >>> the WEB-INF folder. Could this affect it? Have I missed another > >>> setting somewhere that relates to changing where the compiled classes > >>> are placed? > >>> > >>> Daniel > >>> > >>> On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier wrote: > >>> > Read here: > >>> > > >>> >https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment > >>> > > >>> > The relevant setting is: > >>> >getResourceSettings().setResourcePollFrequency(duration); > >>> > > >>> > Sven > >>> > > >>> > > >>> > On 01/04/2012 10:31 PM, Daniel Watrous wrote: > >>> >> > >>> >> Great. I now have it working with either the jar download or the > >>> >> dependency in the pom.xml file. In the dependency xml snippet I > didn't > >>> >> realize that I needed to manually provide the version, but after I > did > >>> >> then it worked fine. > >>> >> > >>> >> Whenever I update a class and save it in Eclipse, that class is > >>> >> updated in the running server and I don't have to restart to see the > >>> >> changes. This is great. > >>> >> > >>> >> However, when I change an HTML page, it's not updated in the running > >>> >> server, so I have to restart everything. I know that when I run a > >>> >> quickstart app directly (using the Start class) that updates to the > >>> >> HTML are updated without requiring a restart. > >>> >> > >>> >> Do you know how to make it so the HTML files are updated in the live > >>> >> server? > >>> >> > >>> >> Thanks so much. > >>> >> > >>> >> Daniel > >>> >> > >>> >> On Wed, Jan 4, 2012 at 1:38 PM, Sven Meier wrote: > >>> >>> > >>> >>> With maven it's very easy, just add the dependency to your pom as > >>> >>> suggested > >>> >>> and forget about it. > >>> >>> > >>> >>> Alternatively you can download the jar form maven central manually > and > >>> >>> add > >>> >>> it to your project: > >>> >>> > >>> >>> > >>> >>> > >>> >>> > >>> > http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initializer/ > >>> >>> > >>> >>> Hope this helps > >>> >>> Sven > >>> >>> > >>> >>> > >>> >>> On 01/04/2012 09:28 PM, Daniel Watrous wrote: > >>> > >>> I'm still not sure how to create the jar file. No one is > commenting > >>> on > >>> it so I feel a bit silly. Should it be obvious? > >>> > >>> Am I supposed to include the source with my project or a jar. If a > >>> jar, how should I build the jar? > >>> > >>> On Wed, Jan 4, 2012 at 1:11 PM, Sven Meier > >>> wrote: > >>> > > >>> > Hi, > >>> > > >>> > make sure you have compatible versions for Wicket and > >>> gae-initializer, > >>> > i.e. > >>> > they should be the same. > >>> > > >>> > Sven > >>> > > >>> > > >>> > > >>> > On 01/04/2012 08:49 PM, Daniel Watrous wrote: > >>> >> > >>> >> I'm slowly making progress. > >>> >> > >>> >> I see now that what Sven replied with goes in the pom.xml. > >>> >> > >>> >> What I'm not sure of is if I still need a jar file or the > source as > >>> >> part of my project. I have made the update to my pom.xml, and > I'm > >>> now > >>> >> getting this error when I attempt to run my application: > >>> >> > >>> >> java.lang.NoClassDefFoundError: > >>> >> org/apache/wicket/pageStore
Re: Wicket on Google App Engine
Thanks for all your help. I've just posted the steps required to get current versions of wicket and gae to work together. http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine Daniel On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro wrote: > I think the class to use is > > http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ui/wicket/GAEModificationWatcher.java > > > > On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < > ernesto.reina...@jweekend.com> wrote: > >> You could use a modified version of resource watcher that does not use >> threads and modify request cycle so that watcher is executed before each >> request cycle. I remember there was some blog somewhere explaining this >> technique... Maybe it was this... >> >> >> http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-google-app-engine.html >> >> >> >> On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous >> wrote: >> >>> I tried putting in this: >>> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); >>> >>> But the resource still doesn't update without restarting the google >>> app engine environment. I just tried it by running Start and that no >>> longer updates automatically either. >>> >>> In the process of trying to make it work with GAE, I changed the >>> pom.xml to have these lines in the build section >>> src/main/webapp/WEB-INF >>> >>> src/main/webapp/WEB-INF/classes >>> >>> That means files are no longer placed in the target directory, but in >>> the WEB-INF folder. Could this affect it? Have I missed another >>> setting somewhere that relates to changing where the compiled classes >>> are placed? >>> >>> Daniel >>> >>> On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier wrote: >>> > Read here: >>> > >>> > https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment >>> > >>> > The relevant setting is: >>> > getResourceSettings().setResourcePollFrequency(duration); >>> > >>> > Sven >>> > >>> > >>> > On 01/04/2012 10:31 PM, Daniel Watrous wrote: >>> >> >>> >> Great. I now have it working with either the jar download or the >>> >> dependency in the pom.xml file. In the dependency xml snippet I didn't >>> >> realize that I needed to manually provide the version, but after I did >>> >> then it worked fine. >>> >> >>> >> Whenever I update a class and save it in Eclipse, that class is >>> >> updated in the running server and I don't have to restart to see the >>> >> changes. This is great. >>> >> >>> >> However, when I change an HTML page, it's not updated in the running >>> >> server, so I have to restart everything. I know that when I run a >>> >> quickstart app directly (using the Start class) that updates to the >>> >> HTML are updated without requiring a restart. >>> >> >>> >> Do you know how to make it so the HTML files are updated in the live >>> >> server? >>> >> >>> >> Thanks so much. >>> >> >>> >> Daniel >>> >> >>> >> On Wed, Jan 4, 2012 at 1:38 PM, Sven Meier wrote: >>> >>> >>> >>> With maven it's very easy, just add the dependency to your pom as >>> >>> suggested >>> >>> and forget about it. >>> >>> >>> >>> Alternatively you can download the jar form maven central manually and >>> >>> add >>> >>> it to your project: >>> >>> >>> >>> >>> >>> >>> >>> >>> http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initializer/ >>> >>> >>> >>> Hope this helps >>> >>> Sven >>> >>> >>> >>> >>> >>> On 01/04/2012 09:28 PM, Daniel Watrous wrote: >>> >>> I'm still not sure how to create the jar file. No one is commenting >>> on >>> it so I feel a bit silly. Should it be obvious? >>> >>> Am I supposed to include the source with my project or a jar. If a >>> jar, how should I build the jar? >>> >>> On Wed, Jan 4, 2012 at 1:11 PM, Sven Meier >>> wrote: >>> > >>> > Hi, >>> > >>> > make sure you have compatible versions for Wicket and >>> gae-initializer, >>> > i.e. >>> > they should be the same. >>> > >>> > Sven >>> > >>> > >>> > >>> > On 01/04/2012 08:49 PM, Daniel Watrous wrote: >>> >> >>> >> I'm slowly making progress. >>> >> >>> >> I see now that what Sven replied with goes in the pom.xml. >>> >> >>> >> What I'm not sure of is if I still need a jar file or the source as >>> >> part of my project. I have made the update to my pom.xml, and I'm >>> now >>> >> getting this error when I attempt to run my application: >>> >> >>> >> java.lang.NoClassDefFoundError: >>> >> org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy >>> >> at java.lang.Class.getDeclaredConstructors0(Native Method) >>> >> at java.lang.Class.privateGetDeclaredConstructors(Unknown >>> >> Source) >>> >> at java.lang.Class.getConstructor0(Unknown Source) >>> >> at java.lang.Class.getDeclaredConstructor(Unknown Source) >>> >> at >>> >> >>> >> >
Re: Wicket on Google App Engine
I think the class to use is http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/ui/wicket/GAEModificationWatcher.java On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro < ernesto.reina...@jweekend.com> wrote: > You could use a modified version of resource watcher that does not use > threads and modify request cycle so that watcher is executed before each > request cycle. I remember there was some blog somewhere explaining this > technique... Maybe it was this... > > > http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-google-app-engine.html > > > > On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous > wrote: > >> I tried putting in this: >> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); >> >> But the resource still doesn't update without restarting the google >> app engine environment. I just tried it by running Start and that no >> longer updates automatically either. >> >> In the process of trying to make it work with GAE, I changed the >> pom.xml to have these lines in the build section >>src/main/webapp/WEB-INF >> >> src/main/webapp/WEB-INF/classes >> >> That means files are no longer placed in the target directory, but in >> the WEB-INF folder. Could this affect it? Have I missed another >> setting somewhere that relates to changing where the compiled classes >> are placed? >> >> Daniel >> >> On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier wrote: >> > Read here: >> > >> >https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment >> > >> > The relevant setting is: >> >getResourceSettings().setResourcePollFrequency(duration); >> > >> > Sven >> > >> > >> > On 01/04/2012 10:31 PM, Daniel Watrous wrote: >> >> >> >> Great. I now have it working with either the jar download or the >> >> dependency in the pom.xml file. In the dependency xml snippet I didn't >> >> realize that I needed to manually provide the version, but after I did >> >> then it worked fine. >> >> >> >> Whenever I update a class and save it in Eclipse, that class is >> >> updated in the running server and I don't have to restart to see the >> >> changes. This is great. >> >> >> >> However, when I change an HTML page, it's not updated in the running >> >> server, so I have to restart everything. I know that when I run a >> >> quickstart app directly (using the Start class) that updates to the >> >> HTML are updated without requiring a restart. >> >> >> >> Do you know how to make it so the HTML files are updated in the live >> >> server? >> >> >> >> Thanks so much. >> >> >> >> Daniel >> >> >> >> On Wed, Jan 4, 2012 at 1:38 PM, Sven Meier wrote: >> >>> >> >>> With maven it's very easy, just add the dependency to your pom as >> >>> suggested >> >>> and forget about it. >> >>> >> >>> Alternatively you can download the jar form maven central manually and >> >>> add >> >>> it to your project: >> >>> >> >>> >> >>> >> >>> >> http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initializer/ >> >>> >> >>> Hope this helps >> >>> Sven >> >>> >> >>> >> >>> On 01/04/2012 09:28 PM, Daniel Watrous wrote: >> >> I'm still not sure how to create the jar file. No one is commenting >> on >> it so I feel a bit silly. Should it be obvious? >> >> Am I supposed to include the source with my project or a jar. If a >> jar, how should I build the jar? >> >> On Wed, Jan 4, 2012 at 1:11 PM, Sven Meier >> wrote: >> > >> > Hi, >> > >> > make sure you have compatible versions for Wicket and >> gae-initializer, >> > i.e. >> > they should be the same. >> > >> > Sven >> > >> > >> > >> > On 01/04/2012 08:49 PM, Daniel Watrous wrote: >> >> >> >> I'm slowly making progress. >> >> >> >> I see now that what Sven replied with goes in the pom.xml. >> >> >> >> What I'm not sure of is if I still need a jar file or the source as >> >> part of my project. I have made the update to my pom.xml, and I'm >> now >> >> getting this error when I attempt to run my application: >> >> >> >> java.lang.NoClassDefFoundError: >> >> org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy >> >>at java.lang.Class.getDeclaredConstructors0(Native Method) >> >>at java.lang.Class.privateGetDeclaredConstructors(Unknown >> >> Source) >> >>at java.lang.Class.getConstructor0(Unknown Source) >> >>at java.lang.Class.getDeclaredConstructor(Unknown Source) >> >>at >> >> >> >> >> >> >> com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:133) >> >>at >> >> >> >> >> >> >> com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:131) >> >>at java.security.AccessController.doPrivileged(Native >> Method) >> >>at >> >> >> >> >> >> >> com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.j
Re: Wicket on Google App Engine
You could use a modified version of resource watcher that does not use threads and modify request cycle so that watcher is executed before each request cycle. I remember there was some blog somewhere explaining this technique... Maybe it was this... http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-google-app-engine.html On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous wrote: > I tried putting in this: > getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); > > But the resource still doesn't update without restarting the google > app engine environment. I just tried it by running Start and that no > longer updates automatically either. > > In the process of trying to make it work with GAE, I changed the > pom.xml to have these lines in the build section >src/main/webapp/WEB-INF > > src/main/webapp/WEB-INF/classes > > That means files are no longer placed in the target directory, but in > the WEB-INF folder. Could this affect it? Have I missed another > setting somewhere that relates to changing where the compiled classes > are placed? > > Daniel > > On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier wrote: > > Read here: > > > >https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment > > > > The relevant setting is: > >getResourceSettings().setResourcePollFrequency(duration); > > > > Sven > > > > > > On 01/04/2012 10:31 PM, Daniel Watrous wrote: > >> > >> Great. I now have it working with either the jar download or the > >> dependency in the pom.xml file. In the dependency xml snippet I didn't > >> realize that I needed to manually provide the version, but after I did > >> then it worked fine. > >> > >> Whenever I update a class and save it in Eclipse, that class is > >> updated in the running server and I don't have to restart to see the > >> changes. This is great. > >> > >> However, when I change an HTML page, it's not updated in the running > >> server, so I have to restart everything. I know that when I run a > >> quickstart app directly (using the Start class) that updates to the > >> HTML are updated without requiring a restart. > >> > >> Do you know how to make it so the HTML files are updated in the live > >> server? > >> > >> Thanks so much. > >> > >> Daniel > >> > >> On Wed, Jan 4, 2012 at 1:38 PM, Sven Meier wrote: > >>> > >>> With maven it's very easy, just add the dependency to your pom as > >>> suggested > >>> and forget about it. > >>> > >>> Alternatively you can download the jar form maven central manually and > >>> add > >>> it to your project: > >>> > >>> > >>> > >>> > http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initializer/ > >>> > >>> Hope this helps > >>> Sven > >>> > >>> > >>> On 01/04/2012 09:28 PM, Daniel Watrous wrote: > > I'm still not sure how to create the jar file. No one is commenting on > it so I feel a bit silly. Should it be obvious? > > Am I supposed to include the source with my project or a jar. If a > jar, how should I build the jar? > > On Wed, Jan 4, 2012 at 1:11 PM, Sven Meierwrote: > > > > Hi, > > > > make sure you have compatible versions for Wicket and > gae-initializer, > > i.e. > > they should be the same. > > > > Sven > > > > > > > > On 01/04/2012 08:49 PM, Daniel Watrous wrote: > >> > >> I'm slowly making progress. > >> > >> I see now that what Sven replied with goes in the pom.xml. > >> > >> What I'm not sure of is if I still need a jar file or the source as > >> part of my project. I have made the update to my pom.xml, and I'm > now > >> getting this error when I attempt to run my application: > >> > >> java.lang.NoClassDefFoundError: > >> org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy > >>at java.lang.Class.getDeclaredConstructors0(Native Method) > >>at java.lang.Class.privateGetDeclaredConstructors(Unknown > >> Source) > >>at java.lang.Class.getConstructor0(Unknown Source) > >>at java.lang.Class.getDeclaredConstructor(Unknown Source) > >>at > >> > >> > >> > com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:133) > >>at > >> > >> > >> > com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:131) > >>at java.security.AccessController.doPrivileged(Native Method) > >>at > >> > >> > >> > com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:130) > >>at > >> > >> > >> > org.apache.wicket.util.lang.WicketObjects.newInstance(WicketObjects.java:377) > >>at > >> org.apache.wicket.Application.addInitializer(Application.java:577) > >>at org.apache.wicket.Application.load(Application.java:615) > >>at > >> > >> > org.apache.wicket.Application.initializeComponents(
Re: Wicket on Google App Engine
On Thu, Jan 5, 2012 at 8:40 AM, Hans Lesmeister 2 wrote: > Hi Daniel, > > > Daniel Watrous-2 wrote >> >> I tried putting in this: >> getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); True! GAE Initializer actually disables the ModificationWatcher. >> > > GAE does not allow you to start additional threads and that's what > setResourcePollFrequency(...) does I think > > - > -- > Regards, > Hans > > http://cantaa.de > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-on-Google-App-Engine-tp4259205p4264458.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket on Google App Engine
Hi Daniel, Daniel Watrous-2 wrote > > I tried putting in this: > getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); > GAE does not allow you to start additional threads and that's what setResourcePollFrequency(...) does I think - -- Regards, Hans http://cantaa.de -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-on-Google-App-Engine-tp4259205p4264458.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket on Google App Engine
I tried putting in this: getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND); But the resource still doesn't update without restarting the google app engine environment. I just tried it by running Start and that no longer updates automatically either. In the process of trying to make it work with GAE, I changed the pom.xml to have these lines in the build section src/main/webapp/WEB-INF src/main/webapp/WEB-INF/classes That means files are no longer placed in the target directory, but in the WEB-INF folder. Could this affect it? Have I missed another setting somewhere that relates to changing where the compiled classes are placed? Daniel On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier wrote: > Read here: > > https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment > > The relevant setting is: > getResourceSettings().setResourcePollFrequency(duration); > > Sven > > > On 01/04/2012 10:31 PM, Daniel Watrous wrote: >> >> Great. I now have it working with either the jar download or the >> dependency in the pom.xml file. In the dependency xml snippet I didn't >> realize that I needed to manually provide the version, but after I did >> then it worked fine. >> >> Whenever I update a class and save it in Eclipse, that class is >> updated in the running server and I don't have to restart to see the >> changes. This is great. >> >> However, when I change an HTML page, it's not updated in the running >> server, so I have to restart everything. I know that when I run a >> quickstart app directly (using the Start class) that updates to the >> HTML are updated without requiring a restart. >> >> Do you know how to make it so the HTML files are updated in the live >> server? >> >> Thanks so much. >> >> Daniel >> >> On Wed, Jan 4, 2012 at 1:38 PM, Sven Meier wrote: >>> >>> With maven it's very easy, just add the dependency to your pom as >>> suggested >>> and forget about it. >>> >>> Alternatively you can download the jar form maven central manually and >>> add >>> it to your project: >>> >>> >>> >>> http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initializer/ >>> >>> Hope this helps >>> Sven >>> >>> >>> On 01/04/2012 09:28 PM, Daniel Watrous wrote: I'm still not sure how to create the jar file. No one is commenting on it so I feel a bit silly. Should it be obvious? Am I supposed to include the source with my project or a jar. If a jar, how should I build the jar? On Wed, Jan 4, 2012 at 1:11 PM, Sven Meier wrote: > > Hi, > > make sure you have compatible versions for Wicket and gae-initializer, > i.e. > they should be the same. > > Sven > > > > On 01/04/2012 08:49 PM, Daniel Watrous wrote: >> >> I'm slowly making progress. >> >> I see now that what Sven replied with goes in the pom.xml. >> >> What I'm not sure of is if I still need a jar file or the source as >> part of my project. I have made the update to my pom.xml, and I'm now >> getting this error when I attempt to run my application: >> >> java.lang.NoClassDefFoundError: >> org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy >> at java.lang.Class.getDeclaredConstructors0(Native Method) >> at java.lang.Class.privateGetDeclaredConstructors(Unknown >> Source) >> at java.lang.Class.getConstructor0(Unknown Source) >> at java.lang.Class.getDeclaredConstructor(Unknown Source) >> at >> >> >> com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:133) >> at >> >> >> com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:131) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> >> >> com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:130) >> at >> >> >> org.apache.wicket.util.lang.WicketObjects.newInstance(WicketObjects.java:377) >> at >> org.apache.wicket.Application.addInitializer(Application.java:577) >> at org.apache.wicket.Application.load(Application.java:615) >> at >> >> org.apache.wicket.Application.initializeComponents(Application.java:501) >> at >> org.apache.wicket.Application.initApplication(Application.java:808) >> at >> >> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:346) >> at >> >> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:286) >> at >> org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) >> at >> >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) >> at >> >> >> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662) >> at >> org.
Re: Wicket on Google App Engine
Read here: https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment The relevant setting is: getResourceSettings().setResourcePollFrequency(duration); Sven On 01/04/2012 10:31 PM, Daniel Watrous wrote: Great. I now have it working with either the jar download or the dependency in the pom.xml file. In the dependency xml snippet I didn't realize that I needed to manually provide the version, but after I did then it worked fine. Whenever I update a class and save it in Eclipse, that class is updated in the running server and I don't have to restart to see the changes. This is great. However, when I change an HTML page, it's not updated in the running server, so I have to restart everything. I know that when I run a quickstart app directly (using the Start class) that updates to the HTML are updated without requiring a restart. Do you know how to make it so the HTML files are updated in the live server? Thanks so much. Daniel On Wed, Jan 4, 2012 at 1:38 PM, Sven Meier wrote: With maven it's very easy, just add the dependency to your pom as suggested and forget about it. Alternatively you can download the jar form maven central manually and add it to your project: http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initializer/ Hope this helps Sven On 01/04/2012 09:28 PM, Daniel Watrous wrote: I'm still not sure how to create the jar file. No one is commenting on it so I feel a bit silly. Should it be obvious? Am I supposed to include the source with my project or a jar. If a jar, how should I build the jar? On Wed, Jan 4, 2012 at 1:11 PM, Sven Meierwrote: Hi, make sure you have compatible versions for Wicket and gae-initializer, i.e. they should be the same. Sven On 01/04/2012 08:49 PM, Daniel Watrous wrote: I'm slowly making progress. I see now that what Sven replied with goes in the pom.xml. What I'm not sure of is if I still need a jar file or the source as part of my project. I have made the update to my pom.xml, and I'm now getting this error when I attempt to run my application: java.lang.NoClassDefFoundError: org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getDeclaredConstructor(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:133) at com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:131) at java.security.AccessController.doPrivileged(Native Method) at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:130) at org.apache.wicket.util.lang.WicketObjects.newInstance(WicketObjects.java:377) at org.apache.wicket.Application.addInitializer(Application.java:577) at org.apache.wicket.Application.load(Application.java:615) at org.apache.wicket.Application.initializeComponents(Application.java:501) at org.apache.wicket.Application.initApplication(Application.java:808) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:346) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:286) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:191) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:239) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:146) at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:164) at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48) at com.go
Re: Wicket on Google App Engine
Great. I now have it working with either the jar download or the dependency in the pom.xml file. In the dependency xml snippet I didn't realize that I needed to manually provide the version, but after I did then it worked fine. Whenever I update a class and save it in Eclipse, that class is updated in the running server and I don't have to restart to see the changes. This is great. However, when I change an HTML page, it's not updated in the running server, so I have to restart everything. I know that when I run a quickstart app directly (using the Start class) that updates to the HTML are updated without requiring a restart. Do you know how to make it so the HTML files are updated in the live server? Thanks so much. Daniel On Wed, Jan 4, 2012 at 1:38 PM, Sven Meier wrote: > With maven it's very easy, just add the dependency to your pom as suggested > and forget about it. > > Alternatively you can download the jar form maven central manually and add > it to your project: > > > http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initializer/ > > Hope this helps > Sven > > > On 01/04/2012 09:28 PM, Daniel Watrous wrote: >> >> I'm still not sure how to create the jar file. No one is commenting on >> it so I feel a bit silly. Should it be obvious? >> >> Am I supposed to include the source with my project or a jar. If a >> jar, how should I build the jar? >> >> On Wed, Jan 4, 2012 at 1:11 PM, Sven Meier wrote: >>> >>> Hi, >>> >>> make sure you have compatible versions for Wicket and gae-initializer, >>> i.e. >>> they should be the same. >>> >>> Sven >>> >>> >>> >>> On 01/04/2012 08:49 PM, Daniel Watrous wrote: I'm slowly making progress. I see now that what Sven replied with goes in the pom.xml. What I'm not sure of is if I still need a jar file or the source as part of my project. I have made the update to my pom.xml, and I'm now getting this error when I attempt to run my application: java.lang.NoClassDefFoundError: org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getDeclaredConstructor(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:133) at com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:131) at java.security.AccessController.doPrivileged(Native Method) at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:130) at org.apache.wicket.util.lang.WicketObjects.newInstance(WicketObjects.java:377) at org.apache.wicket.Application.addInitializer(Application.java:577) at org.apache.wicket.Application.load(Application.java:615) at org.apache.wicket.Application.initializeComponents(Application.java:501) at org.apache.wicket.Application.initApplication(Application.java:808) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:346) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:286) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:191) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:239) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:146) a
Re: Wicket on Google App Engine
With maven it's very easy, just add the dependency to your pom as suggested and forget about it. Alternatively you can download the jar form maven central manually and add it to your project: http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initializer/ Hope this helps Sven On 01/04/2012 09:28 PM, Daniel Watrous wrote: I'm still not sure how to create the jar file. No one is commenting on it so I feel a bit silly. Should it be obvious? Am I supposed to include the source with my project or a jar. If a jar, how should I build the jar? On Wed, Jan 4, 2012 at 1:11 PM, Sven Meier wrote: Hi, make sure you have compatible versions for Wicket and gae-initializer, i.e. they should be the same. Sven On 01/04/2012 08:49 PM, Daniel Watrous wrote: I'm slowly making progress. I see now that what Sven replied with goes in the pom.xml. What I'm not sure of is if I still need a jar file or the source as part of my project. I have made the update to my pom.xml, and I'm now getting this error when I attempt to run my application: java.lang.NoClassDefFoundError: org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getDeclaredConstructor(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:133) at com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:131) at java.security.AccessController.doPrivileged(Native Method) at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:130) at org.apache.wicket.util.lang.WicketObjects.newInstance(WicketObjects.java:377) at org.apache.wicket.Application.addInitializer(Application.java:577) at org.apache.wicket.Application.load(Application.java:615) at org.apache.wicket.Application.initializeComponents(Application.java:501) at org.apache.wicket.Application.initApplication(Application.java:808) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:346) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:286) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:191) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:239) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:146) at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:164) at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.(DevAppServerMain.java:113) at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:89) Caused by: java.lang.ClassNotFoundException: org.apache.wicket.pageStore.memory.IDataStoreEvictionStrategy at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:176) at java.lang.ClassLoader.loadClass(Unknown Source) ... 35 more Since gae-initializer did compile when I compiled with maven I also tried simply putting the compile classes next to my other classes for the deployment, but it still gives this error. Thanks for all your help. Daniel On Wed, Jan 4, 2012 at 11:45 AM, Daniel Watrous wrote: Is that the s
Re: Wicket on Google App Engine
I'm still not sure how to create the jar file. No one is commenting on it so I feel a bit silly. Should it be obvious? Am I supposed to include the source with my project or a jar. If a jar, how should I build the jar? On Wed, Jan 4, 2012 at 1:11 PM, Sven Meier wrote: > Hi, > > make sure you have compatible versions for Wicket and gae-initializer, i.e. > they should be the same. > > Sven > > > > On 01/04/2012 08:49 PM, Daniel Watrous wrote: >> >> I'm slowly making progress. >> >> I see now that what Sven replied with goes in the pom.xml. >> >> What I'm not sure of is if I still need a jar file or the source as >> part of my project. I have made the update to my pom.xml, and I'm now >> getting this error when I attempt to run my application: >> >> java.lang.NoClassDefFoundError: >> org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy >> at java.lang.Class.getDeclaredConstructors0(Native Method) >> at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) >> at java.lang.Class.getConstructor0(Unknown Source) >> at java.lang.Class.getDeclaredConstructor(Unknown Source) >> at >> com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:133) >> at >> com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:131) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:130) >> at >> org.apache.wicket.util.lang.WicketObjects.newInstance(WicketObjects.java:377) >> at >> org.apache.wicket.Application.addInitializer(Application.java:577) >> at org.apache.wicket.Application.load(Application.java:615) >> at >> org.apache.wicket.Application.initializeComponents(Application.java:501) >> at >> org.apache.wicket.Application.initApplication(Application.java:808) >> at >> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:346) >> at >> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:286) >> at >> org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) >> at >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) >> at >> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662) >> at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) >> at >> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) >> at >> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) >> at >> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) >> at >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) >> at >> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) >> at >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) >> at >> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) >> at org.mortbay.jetty.Server.doStart(Server.java:224) >> at >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) >> at >> com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:191) >> at >> com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:239) >> at >> com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:146) >> at >> com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:164) >> at >> com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48) >> at >> com.google.appengine.tools.development.DevAppServerMain.(DevAppServerMain.java:113) >> at >> com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:89) >> Caused by: java.lang.ClassNotFoundException: >> org.apache.wicket.pageStore.memory.IDataStoreEvictionStrategy >> at java.net.URLClassLoader$1.run(Unknown Source) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> at >> com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:176) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> ... 35 more >> >> Since gae-initializer did compile when I compiled with maven I also >> tried simply putting the compile classes next to my other classes for >> the deployment, but it still gives this error. >> >> Thanks for all your help. >> >> Daniel >> >> On Wed, Jan 4, 2012 at 11:45 AM, Daniel Watrous >> wrote: >>> >>> Is that the same thing as adding the jar file to the build path in >>> eclipse? >>> >>> How do I build gae-init
Re: Wicket on Google App Engine
Hi, make sure you have compatible versions for Wicket and gae-initializer, i.e. they should be the same. Sven On 01/04/2012 08:49 PM, Daniel Watrous wrote: I'm slowly making progress. I see now that what Sven replied with goes in the pom.xml. What I'm not sure of is if I still need a jar file or the source as part of my project. I have made the update to my pom.xml, and I'm now getting this error when I attempt to run my application: java.lang.NoClassDefFoundError: org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getDeclaredConstructor(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:133) at com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:131) at java.security.AccessController.doPrivileged(Native Method) at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:130) at org.apache.wicket.util.lang.WicketObjects.newInstance(WicketObjects.java:377) at org.apache.wicket.Application.addInitializer(Application.java:577) at org.apache.wicket.Application.load(Application.java:615) at org.apache.wicket.Application.initializeComponents(Application.java:501) at org.apache.wicket.Application.initApplication(Application.java:808) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:346) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:286) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:191) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:239) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:146) at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:164) at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.(DevAppServerMain.java:113) at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:89) Caused by: java.lang.ClassNotFoundException: org.apache.wicket.pageStore.memory.IDataStoreEvictionStrategy at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:176) at java.lang.ClassLoader.loadClass(Unknown Source) ... 35 more Since gae-initializer did compile when I compiled with maven I also tried simply putting the compile classes next to my other classes for the deployment, but it still gives this error. Thanks for all your help. Daniel On Wed, Jan 4, 2012 at 11:45 AM, Daniel Watrous wrote: Is that the same thing as adding the jar file to the build path in eclipse? How do I build gae-initializer.jar? I tried running 'mvn jar', but it gave an error about unknown lifecycle phase. Daniel On Wed, Jan 4, 2012 at 11:38 AM, Sven Meier wrote: Hi Daniel, you just have to add the gae-initializer as a dependency to your project: org.wicketstuff wicketstuff-gae-initializer ${wicket.version} That's all. Sven On 01/04/2012 07:35 PM, Daniel Watrous wrote: Also, where do I put the wicket.properties file, and do I need to update any xml files to indicate that there is a wicket.properties file
Re: Wicket on Google App Engine
I'm slowly making progress. I see now that what Sven replied with goes in the pom.xml. What I'm not sure of is if I still need a jar file or the source as part of my project. I have made the update to my pom.xml, and I'm now getting this error when I attempt to run my application: java.lang.NoClassDefFoundError: org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getDeclaredConstructor(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:133) at com.google.appengine.tools.development.agent.runtime.Runtime$2.run(Runtime.java:131) at java.security.AccessController.doPrivileged(Native Method) at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:130) at org.apache.wicket.util.lang.WicketObjects.newInstance(WicketObjects.java:377) at org.apache.wicket.Application.addInitializer(Application.java:577) at org.apache.wicket.Application.load(Application.java:615) at org.apache.wicket.Application.initializeComponents(Application.java:501) at org.apache.wicket.Application.initApplication(Application.java:808) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:346) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:286) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:191) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:239) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:146) at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:164) at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.(DevAppServerMain.java:113) at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:89) Caused by: java.lang.ClassNotFoundException: org.apache.wicket.pageStore.memory.IDataStoreEvictionStrategy at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:176) at java.lang.ClassLoader.loadClass(Unknown Source) ... 35 more Since gae-initializer did compile when I compiled with maven I also tried simply putting the compile classes next to my other classes for the deployment, but it still gives this error. Thanks for all your help. Daniel On Wed, Jan 4, 2012 at 11:45 AM, Daniel Watrous wrote: > Is that the same thing as adding the jar file to the build path in eclipse? > > How do I build gae-initializer.jar? I tried running 'mvn jar', but it > gave an error about unknown lifecycle phase. > > Daniel > > On Wed, Jan 4, 2012 at 11:38 AM, Sven Meier wrote: >> Hi Daniel, >> >> you just have to add the gae-initializer as a dependency to your project: >> >> >> org.wicketstuff >> wicketstuff-gae-initializer >> ${wicket.version} >> >> >> That's all. >> Sven >> >> >> On 01/04/2012 07:35 PM, Daniel Watrous wrote: >>> >>> Also, where do I put the wicket.properties file, and do I need to >>> update any xml files to indicate that there is a wicket.properties >>> file >>> >>> On Wed, Jan 4, 2012 at 11:30 AM, Daniel Watrous >>> wrote: How do I create the
Re: Wicket on Google App Engine
Is that the same thing as adding the jar file to the build path in eclipse? How do I build gae-initializer.jar? I tried running 'mvn jar', but it gave an error about unknown lifecycle phase. Daniel On Wed, Jan 4, 2012 at 11:38 AM, Sven Meier wrote: > Hi Daniel, > > you just have to add the gae-initializer as a dependency to your project: > > > org.wicketstuff > wicketstuff-gae-initializer > ${wicket.version} > > > That's all. > Sven > > > On 01/04/2012 07:35 PM, Daniel Watrous wrote: >> >> Also, where do I put the wicket.properties file, and do I need to >> update any xml files to indicate that there is a wicket.properties >> file >> >> On Wed, Jan 4, 2012 at 11:30 AM, Daniel Watrous >> wrote: >>> >>> How do I create the gae-initializer.jar? >>> >>> I have run mvn compile and generated the class files. I can zip those >>> up, but I'm not sure if there should be a META-INF folder and what it >>> should have. >>> >>> Daniel >>> >>> On Wed, Jan 4, 2012 at 12:21 AM, Martin Grigorov >>> wrote: Hi, gae-initializer project provides https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaeInitializer.java which is an implementation of org.apache.wicket.IInitializer and declares it in https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/resources/wicket.properties. That means that when gae-initializer.jar is in the classpath Wicket will use it to initialize the Application instance. Check the source of GaeInitializer.jar to see what exactly it configures. On Wed, Jan 4, 2012 at 1:52 AM, Daniel Watrous wrote: > > Hi, > > I've been working for a few days to get a wicket application going for > Google App Engine with mixed results. I hope these questions aren't > too noobie for this list? > > There are a couple of really old articles which Google brings up first: > > http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html > > http://www.danwalmsley.com/2009/04/08/apache-wicket-on-google-app-engine-for-java/ > > I've also found this resource after digging through the wicket users > list, but I can't figure out how I'm supposed to use it: > > https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/gae-initializer-parent > > I'm using eclipse with the GAE plugin. > > So far this is what I have accomplished. > 1) the first link above provides a download demo as an eclipse > project. I can get this to run, but it's working with old versions > (wicket 1.3.5, appengine sdk 1.2.0). I haven't successfully updated. > 2) I can create a new google app engine project in eclipse. It runs > fine and I can develop servlets. > 3) I can user the maven build script from the quickstart to get a > functional wicket project. > > I'm really struggling trying to figure out how to use the > gae-initializer or a base GAE project from eclipse and end up with a > functional wicket application... > > I'm not sure what other information to include at this point. Please > share any pointers or links to other tutorials that might help me. > > Daniel > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket on Google App Engine
Hi Daniel, you just have to add the gae-initializer as a dependency to your project: org.wicketstuff wicketstuff-gae-initializer ${wicket.version} That's all. Sven On 01/04/2012 07:35 PM, Daniel Watrous wrote: Also, where do I put the wicket.properties file, and do I need to update any xml files to indicate that there is a wicket.properties file On Wed, Jan 4, 2012 at 11:30 AM, Daniel Watrous wrote: How do I create the gae-initializer.jar? I have run mvn compile and generated the class files. I can zip those up, but I'm not sure if there should be a META-INF folder and what it should have. Daniel On Wed, Jan 4, 2012 at 12:21 AM, Martin Grigorov wrote: Hi, gae-initializer project provides https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaeInitializer.java which is an implementation of org.apache.wicket.IInitializer and declares it in https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/resources/wicket.properties. That means that when gae-initializer.jar is in the classpath Wicket will use it to initialize the Application instance. Check the source of GaeInitializer.jar to see what exactly it configures. On Wed, Jan 4, 2012 at 1:52 AM, Daniel Watrous wrote: Hi, I've been working for a few days to get a wicket application going for Google App Engine with mixed results. I hope these questions aren't too noobie for this list? There are a couple of really old articles which Google brings up first: http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html http://www.danwalmsley.com/2009/04/08/apache-wicket-on-google-app-engine-for-java/ I've also found this resource after digging through the wicket users list, but I can't figure out how I'm supposed to use it: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/gae-initializer-parent I'm using eclipse with the GAE plugin. So far this is what I have accomplished. 1) the first link above provides a download demo as an eclipse project. I can get this to run, but it's working with old versions (wicket 1.3.5, appengine sdk 1.2.0). I haven't successfully updated. 2) I can create a new google app engine project in eclipse. It runs fine and I can develop servlets. 3) I can user the maven build script from the quickstart to get a functional wicket project. I'm really struggling trying to figure out how to use the gae-initializer or a base GAE project from eclipse and end up with a functional wicket application... I'm not sure what other information to include at this point. Please share any pointers or links to other tutorials that might help me. Daniel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket on Google App Engine
Also, where do I put the wicket.properties file, and do I need to update any xml files to indicate that there is a wicket.properties file On Wed, Jan 4, 2012 at 11:30 AM, Daniel Watrous wrote: > How do I create the gae-initializer.jar? > > I have run mvn compile and generated the class files. I can zip those > up, but I'm not sure if there should be a META-INF folder and what it > should have. > > Daniel > > On Wed, Jan 4, 2012 at 12:21 AM, Martin Grigorov wrote: >> Hi, >> >> gae-initializer project provides >> https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaeInitializer.java >> which is an implementation of org.apache.wicket.IInitializer and declares it >> in >> https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/resources/wicket.properties. >> That means that when gae-initializer.jar is in the classpath Wicket >> will use it to initialize the Application instance. >> Check the source of GaeInitializer.jar to see what exactly it configures. >> >> On Wed, Jan 4, 2012 at 1:52 AM, Daniel Watrous >> wrote: >>> Hi, >>> >>> I've been working for a few days to get a wicket application going for >>> Google App Engine with mixed results. I hope these questions aren't >>> too noobie for this list? >>> >>> There are a couple of really old articles which Google brings up first: >>> http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html >>> http://www.danwalmsley.com/2009/04/08/apache-wicket-on-google-app-engine-for-java/ >>> >>> I've also found this resource after digging through the wicket users >>> list, but I can't figure out how I'm supposed to use it: >>> https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/gae-initializer-parent >>> >>> I'm using eclipse with the GAE plugin. >>> >>> So far this is what I have accomplished. >>> 1) the first link above provides a download demo as an eclipse >>> project. I can get this to run, but it's working with old versions >>> (wicket 1.3.5, appengine sdk 1.2.0). I haven't successfully updated. >>> 2) I can create a new google app engine project in eclipse. It runs >>> fine and I can develop servlets. >>> 3) I can user the maven build script from the quickstart to get a >>> functional wicket project. >>> >>> I'm really struggling trying to figure out how to use the >>> gae-initializer or a base GAE project from eclipse and end up with a >>> functional wicket application... >>> >>> I'm not sure what other information to include at this point. Please >>> share any pointers or links to other tutorials that might help me. >>> >>> Daniel >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket on Google App Engine
How do I create the gae-initializer.jar? I have run mvn compile and generated the class files. I can zip those up, but I'm not sure if there should be a META-INF folder and what it should have. Daniel On Wed, Jan 4, 2012 at 12:21 AM, Martin Grigorov wrote: > Hi, > > gae-initializer project provides > https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaeInitializer.java > which is an implementation of org.apache.wicket.IInitializer and declares it > in > https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/resources/wicket.properties. > That means that when gae-initializer.jar is in the classpath Wicket > will use it to initialize the Application instance. > Check the source of GaeInitializer.jar to see what exactly it configures. > > On Wed, Jan 4, 2012 at 1:52 AM, Daniel Watrous > wrote: >> Hi, >> >> I've been working for a few days to get a wicket application going for >> Google App Engine with mixed results. I hope these questions aren't >> too noobie for this list? >> >> There are a couple of really old articles which Google brings up first: >> http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html >> http://www.danwalmsley.com/2009/04/08/apache-wicket-on-google-app-engine-for-java/ >> >> I've also found this resource after digging through the wicket users >> list, but I can't figure out how I'm supposed to use it: >> https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/gae-initializer-parent >> >> I'm using eclipse with the GAE plugin. >> >> So far this is what I have accomplished. >> 1) the first link above provides a download demo as an eclipse >> project. I can get this to run, but it's working with old versions >> (wicket 1.3.5, appengine sdk 1.2.0). I haven't successfully updated. >> 2) I can create a new google app engine project in eclipse. It runs >> fine and I can develop servlets. >> 3) I can user the maven build script from the quickstart to get a >> functional wicket project. >> >> I'm really struggling trying to figure out how to use the >> gae-initializer or a base GAE project from eclipse and end up with a >> functional wicket application... >> >> I'm not sure what other information to include at this point. Please >> share any pointers or links to other tutorials that might help me. >> >> Daniel >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket on Google App Engine
Hi, gae-initializer project provides https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaeInitializer.java which is an implementation of org.apache.wicket.IInitializer and declares it in https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/resources/wicket.properties. That means that when gae-initializer.jar is in the classpath Wicket will use it to initialize the Application instance. Check the source of GaeInitializer.jar to see what exactly it configures. On Wed, Jan 4, 2012 at 1:52 AM, Daniel Watrous wrote: > Hi, > > I've been working for a few days to get a wicket application going for > Google App Engine with mixed results. I hope these questions aren't > too noobie for this list? > > There are a couple of really old articles which Google brings up first: > http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html > http://www.danwalmsley.com/2009/04/08/apache-wicket-on-google-app-engine-for-java/ > > I've also found this resource after digging through the wicket users > list, but I can't figure out how I'm supposed to use it: > https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/gae-initializer-parent > > I'm using eclipse with the GAE plugin. > > So far this is what I have accomplished. > 1) the first link above provides a download demo as an eclipse > project. I can get this to run, but it's working with old versions > (wicket 1.3.5, appengine sdk 1.2.0). I haven't successfully updated. > 2) I can create a new google app engine project in eclipse. It runs > fine and I can develop servlets. > 3) I can user the maven build script from the quickstart to get a > functional wicket project. > > I'm really struggling trying to figure out how to use the > gae-initializer or a base GAE project from eclipse and end up with a > functional wicket application... > > I'm not sure what other information to include at this point. Please > share any pointers or links to other tutorials that might help me. > > Daniel > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket on Google App Engine support for IPageStore on BigTable
Not really... I just had the idea of storing pages directly to the BigTable, so this is more of a PoC. :-) Bruno Borges www.brunoborges.com.br +55 21 76727099 "The glory of great men should always be measured by the means they have used to acquire it." - Francois de La Rochefoucauld On Sat, Oct 2, 2010 at 2:41 PM, Ben Tilford wrote: > Nice > > Have you tried this with wicket 1.5? > > On Fri, Oct 1, 2010 at 7:22 AM, Bruno Borges > wrote: > > > Like I've tweeted a few days ago, I've implemented a BigTableGAEPageStore > > for Wicket so we can advance another step further full compatibility with > > Google App Engine. > > > > The project can be seen at http://code.google.com/p/gawcket > > > > It is a fork of wicket-gae-template with a modified Guestbook to not use > > LoadableDetachableModel and the BigTableGAEPageStore. > > > > With this said, you can go to http://gawcket.appspot.com and test it. > > Submit > > the form a few times and then modify the URL to reference an older > version. > > > > You can check this video on YouTube to see how data is being stored at > > GAE's > > Datastore: http://youtu.be/ObvA9ao8U2Q > > > > I just hope I've done everything correctly on this implementation. So I > ask > > the experts to take a look, and more important: to try it on your apps > that > > run on more than one CPU at GAE. > > > > Thank you, > > > > Long live Wicket!! > > > > Bruno Borges > > > > Bruno Borges > > www.brunoborges.com.br > > +55 21 76727099 > > > > "The glory of great men should always be > > measured by the means they have used to > > acquire it." > > - Francois de La Rochefoucauld > > >
Re: Wicket on Google App Engine support for IPageStore on BigTable
Nice Have you tried this with wicket 1.5? On Fri, Oct 1, 2010 at 7:22 AM, Bruno Borges wrote: > Like I've tweeted a few days ago, I've implemented a BigTableGAEPageStore > for Wicket so we can advance another step further full compatibility with > Google App Engine. > > The project can be seen at http://code.google.com/p/gawcket > > It is a fork of wicket-gae-template with a modified Guestbook to not use > LoadableDetachableModel and the BigTableGAEPageStore. > > With this said, you can go to http://gawcket.appspot.com and test it. > Submit > the form a few times and then modify the URL to reference an older version. > > You can check this video on YouTube to see how data is being stored at > GAE's > Datastore: http://youtu.be/ObvA9ao8U2Q > > I just hope I've done everything correctly on this implementation. So I ask > the experts to take a look, and more important: to try it on your apps that > run on more than one CPU at GAE. > > Thank you, > > Long live Wicket!! > > Bruno Borges > > Bruno Borges > www.brunoborges.com.br > +55 21 76727099 > > "The glory of great men should always be > measured by the means they have used to > acquire it." > - Francois de La Rochefoucauld >