Re: Wicket on Google App Engine

2012-03-02 Thread Kayode Odeyemi
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 kev...@gmail.com 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

2012-03-01 Thread kevjay
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

2012-01-07 Thread Rahman USTA
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 rahman.usta...@gmail.com

 Thanks a lot Daniel, it's ok now.


 2012/1/6 Rahman USTA rahman.usta...@gmail.com

 Now, http://chopapp.com/#7pmdaqmd


 2012/1/6 Rahman USTA rahman.usta...@gmail.com

 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 daniel.watr...@gmail.com

 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 rahman.usta...@gmail.com
 wrote:
  i handled them, but now server is giving me internal error,
  http://chopapp.com/#8lc105ni
 
  2012/1/6 Daniel Watrous daniel.watr...@gmail.com
 
  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 hielke.ho...@topicus.nl
  
   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.comwrote:
   
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
   directorysrc/main/webapp/WEB-INF/directory
   
   
  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
   
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 s...@meiers.net
 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

RE: Wicket on Google App Engine

2012-01-06 Thread 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.comwrote:

 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
            directorysrc/main/webapp/WEB-INF/directory

  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory

 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 s...@meiers.net 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 Meiers...@meiers.net  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-initia
 lizer/
 
  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 Meiers...@meiers.net
  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

Re: Wicket on Google App Engine

2012-01-06 Thread Rahman USTA
i did Daniel's way, but when run the application,
http://chopapp.com/#1gyxqdm6

2012/1/6 Hielke Hoeve hielke.ho...@topicus.nl

 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.comwrote:
 
  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
 directorysrc/main/webapp/WEB-INF/directory
 
   outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
 
  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 s...@meiers.net 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 Meiers...@meiers.net  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-initia
  lizer/
  
   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 Meiers...@meiers.net
   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

Re: Wicket on Google App Engine

2012-01-06 Thread 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 hielke.ho...@topicus.nl

 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.comwrote:
 
  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
             directorysrc/main/webapp/WEB-INF/directory
 
   outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
 
  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 s...@meiers.net 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 Meiers...@meiers.net  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-initia
  lizer/
  
   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 Meiers...@meiers.net
   wrote:
  
   Hi,
  
   make sure you have compatible versions for Wicket

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
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 hielke.ho...@topicus.nl 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 
 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.comwrote:

 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
            directorysrc/main/webapp/WEB-INF/directory

  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory

 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 s...@meiers.net 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 Meiers...@meiers.net  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-initia
 lizer/
 
  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 Meiers...@meiers.net
  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

Re: Wicket on Google App Engine

2012-01-06 Thread Rahman USTA
i handled them, but now server is giving me internal error,
http://chopapp.com/#8lc105ni

2012/1/6 Daniel Watrous daniel.watr...@gmail.com

 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 hielke.ho...@topicus.nl
 
  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.comwrote:
  
   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
  directorysrc/main/webapp/WEB-INF/directory
  
outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
  
   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 s...@meiers.net 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 Meiers...@meiers.net
  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-initia
   lizer/
   
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

Re: Wicket on Google App Engine

2012-01-06 Thread 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 rahman.usta...@gmail.com wrote:
 i handled them, but now server is giving me internal error,
 http://chopapp.com/#8lc105ni

 2012/1/6 Daniel Watrous daniel.watr...@gmail.com

 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 hielke.ho...@topicus.nl
 
  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.comwrote:
  
   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
              directorysrc/main/webapp/WEB-INF/directory
  
    outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
  
   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 s...@meiers.net 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 Meiers...@meiers.net
  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-initia
   lizer

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
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 rahman.usta...@gmail.com 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 daniel.watr...@gmail.com

 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 rahman.usta...@gmail.com
 wrote:
  i handled them, but now server is giving me internal error,
  http://chopapp.com/#8lc105ni
 
  2012/1/6 Daniel Watrous daniel.watr...@gmail.com
 
  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 hielke.ho...@topicus.nl
  
   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.comwrote:
   
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
           directorysrc/main/webapp/WEB-INF/directory
   
   
  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
   
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 s...@meiers.net
 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

Re: Wicket on Google App Engine

2012-01-06 Thread Rahman USTA
Now, http://chopapp.com/#7pmdaqmd

2012/1/6 Rahman USTA rahman.usta...@gmail.com

 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 daniel.watr...@gmail.com

 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 rahman.usta...@gmail.com
 wrote:
  i handled them, but now server is giving me internal error,
  http://chopapp.com/#8lc105ni
 
  2012/1/6 Daniel Watrous daniel.watr...@gmail.com
 
  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 hielke.ho...@topicus.nl
  
   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.comwrote:
   
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
   directorysrc/main/webapp/WEB-INF/directory
   
   
  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
   
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 s...@meiers.net
 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

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
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 rahman.usta...@gmail.com wrote:
 Now, http://chopapp.com/#7pmdaqmd

 2012/1/6 Rahman USTA rahman.usta...@gmail.com

 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 daniel.watr...@gmail.com

 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 rahman.usta...@gmail.com
 wrote:
  i handled them, but now server is giving me internal error,
  http://chopapp.com/#8lc105ni
 
  2012/1/6 Daniel Watrous daniel.watr...@gmail.com
 
  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 hielke.ho...@topicus.nl
  
   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.comwrote:
   
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
           directorysrc/main/webapp/WEB-INF/directory
   
   
  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
   
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 s...@meiers.net
 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

Re: Wicket on Google App Engine

2012-01-06 Thread Rahman USTA
Thanks a lot Daniel, it's ok now.

2012/1/6 Rahman USTA rahman.usta...@gmail.com

 Now, http://chopapp.com/#7pmdaqmd


 2012/1/6 Rahman USTA rahman.usta...@gmail.com

 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 daniel.watr...@gmail.com

 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 rahman.usta...@gmail.com
 wrote:
  i handled them, but now server is giving me internal error,
  http://chopapp.com/#8lc105ni
 
  2012/1/6 Daniel Watrous daniel.watr...@gmail.com
 
  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 hielke.ho...@topicus.nl
  
   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.comwrote:
   
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
   directorysrc/main/webapp/WEB-INF/directory
   
   
  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
   
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 s...@meiers.net
 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

Re: Wicket on Google App Engine

2012-01-05 Thread Daniel Watrous
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-google-app-engine.html



 On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
 daniel.watr...@gmail.comwrote:

 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
            directorysrc/main/webapp/WEB-INF/directory

  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory

 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 s...@meiers.net 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 Meiers...@meiers.net  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 Meiers...@meiers.net
  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

Re: Wicket on Google App Engine

2012-01-05 Thread Ernesto Reinaldo Barreiro
Thanks for sharing!

On Thu, Jan 5, 2012 at 7:35 PM, Daniel Watrous daniel.watr...@gmail.comwrote:

 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-google-app-engine.html
 
 
 
  On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
 daniel.watr...@gmail.comwrote:
 
  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
 directorysrc/main/webapp/WEB-INF/directory
 
   outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
 
  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 s...@meiers.net 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 Meiers...@meiers.net  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 Meiers...@meiers.net
   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

Re: Wicket on Google App Engine

2012-01-04 Thread Daniel Watrous
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 mgrigo...@apache.org 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 daniel.watr...@gmail.com 
 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

2012-01-04 Thread Daniel Watrous
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
daniel.watr...@gmail.com 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 mgrigo...@apache.org 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 daniel.watr...@gmail.com 
 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

2012-01-04 Thread Sven Meier

Hi Daniel,

you just have to add the gae-initializer as a dependency to your project:

dependency
groupIdorg.wicketstuff/groupId
artifactIdwicketstuff-gae-initializer/artifactId
version${wicket.version}/version
/dependency

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
daniel.watr...@gmail.com  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 Grigorovmgrigo...@apache.org  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 Watrousdaniel.watr...@gmail.com  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

2012-01-04 Thread Daniel Watrous
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 s...@meiers.net wrote:
 Hi Daniel,

 you just have to add the gae-initializer as a dependency to your project:

 dependency
 groupIdorg.wicketstuff/groupId
 artifactIdwicketstuff-gae-initializer/artifactId
 version${wicket.version}/version
 /dependency

 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
 daniel.watr...@gmail.com  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 Grigorovmgrigo...@apache.org
  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 Watrousdaniel.watr...@gmail.com
  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

2012-01-04 Thread Daniel Watrous
, Daniel Watrous
 daniel.watr...@gmail.com  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 Grigorovmgrigo...@apache.org
  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 Watrousdaniel.watr...@gmail.com
  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

2012-01-04 Thread Sven Meier
 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
daniel.watr...@gmail.comwrote:

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 Grigorovmgrigo...@apache.org
  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 Watrousdaniel.watr...@gmail.com
  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




-
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

2012-01-04 Thread Daniel Watrous
:

 Hi Daniel,

 you just have to add the gae-initializer as a dependency to your
 project:

 dependency
 groupIdorg.wicketstuff/groupId
 artifactIdwicketstuff-gae-initializer/artifactId
 version${wicket.version}/version
 /dependency

 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
 daniel.watr...@gmail.com    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 Grigorovmgrigo...@apache.org
  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
 Watrousdaniel.watr...@gmail.com
  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



 -
 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

2012-01-04 Thread Sven Meier
daniel.watr...@gmail.comwrote:

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 Meiers...@meiers.netwrote:

Hi Daniel,

you just have to add the gae-initializer as a dependency to your
project:

dependency
groupIdorg.wicketstuff/groupId
artifactIdwicketstuff-gae-initializer/artifactId
version${wicket.version}/version
/dependency

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
daniel.watr...@gmail.com  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 Grigorovmgrigo...@apache.org
  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
Watrousdaniel.watr...@gmail.com
  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



-
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

2012-01-04 Thread Daniel Watrous
)
        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
 daniel.watr...@gmail.com    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 Meiers...@meiers.net    wrote:

 Hi Daniel,

 you just have to add the gae-initializer as a dependency to your
 project:

 dependency
 groupIdorg.wicketstuff/groupId
 artifactIdwicketstuff-gae-initializer/artifactId
 version${wicket.version}/version
 /dependency

 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
 daniel.watr...@gmail.com      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
 Grigorovmgrigo...@apache.org
  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
 Watrousdaniel.watr...@gmail.com
  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

Re: Wicket on Google App Engine

2012-01-04 Thread Sven Meier
(Parser.java:48)
at

com.google.appengine.tools.development.DevAppServerMain.init(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
daniel.watr...@gmail.com  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 Meiers...@meiers.net  wrote:

Hi Daniel,

you just have to add the gae-initializer as a dependency to your
project:

dependency
groupIdorg.wicketstuff/groupId
artifactIdwicketstuff-gae-initializer/artifactId
version${wicket.version}/version
/dependency

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
daniel.watr...@gmail.comwrote:

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
Grigorovmgrigo...@apache.org
  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
Watrousdaniel.watr...@gmail.com
  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

Re: Wicket on Google App Engine

2012-01-04 Thread Daniel Watrous
)
        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.init(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
 daniel.watr...@gmail.com      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 Meiers...@meiers.net
  wrote:

 Hi Daniel,

 you just have to add the gae-initializer as a dependency to your
 project:

 dependency
 groupIdorg.wicketstuff/groupId
 artifactIdwicketstuff-gae-initializer/artifactId
 version${wicket.version}/version
 /dependency

 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
 daniel.watr...@gmail.com        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
 Grigorovmgrigo...@apache.org
  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
 Watrousdaniel.watr...@gmail.com
  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

Re: Wicket on Google App Engine

2012-01-04 Thread Hans Lesmeister 2
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

2012-01-04 Thread Martin Grigorov
On Thu, Jan 5, 2012 at 8:40 AM, Hans Lesmeister 2
hans.lesmeis...@lessy-software.de 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

2012-01-04 Thread Ernesto Reinaldo Barreiro
)
 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.init(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
  daniel.watr...@gmail.com  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 Meiers...@meiers.net
   wrote:
 
  Hi Daniel,
 
  you just have to add the gae-initializer as a dependency to your
  project:
 
  dependency
  groupIdorg.wicketstuff/groupId
  artifactIdwicketstuff-gae-initializer/artifactId
  version${wicket.version}/version
  /dependency
 
  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
  daniel.watr...@gmail.comwrote:
 
  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
  Grigorovmgrigo...@apache.org
   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
  Watrousdaniel.watr...@gmail.com
   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

Re: Wicket on Google App Engine

2012-01-04 Thread Ernesto Reinaldo Barreiro
?
 
  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
 
 
 -
  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
 
 
 
  -
  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




 --
 Regards - Ernesto Reinaldo Barreiro

 jWeekend
 Training, Consulting, Development
 http://jWeekend.com http://jweekend.com/




-- 
Regards - Ernesto Reinaldo Barreiro
jWeekend
Training, Consulting, Development
http://jWeekend.com http://jweekend.com/


Wicket on Google App Engine

2012-01-03 Thread Daniel Watrous
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



Re: Wicket on Google App Engine

2012-01-03 Thread Martin Grigorov
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 daniel.watr...@gmail.com 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

2010-10-02 Thread Ben Tilford
Nice

Have you tried this with wicket 1.5?

On Fri, Oct 1, 2010 at 7:22 AM, Bruno Borges bruno.bor...@gmail.com 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

2010-10-02 Thread Bruno Borges
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 b...@tilford.info wrote:

 Nice

 Have you tried this with wicket 1.5?

 On Fri, Oct 1, 2010 at 7:22 AM, Bruno Borges bruno.bor...@gmail.com
 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
 



Wicket on Google App Engine support for IPageStore on BigTable

2010-10-01 Thread Bruno Borges
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: DefaultObjectStreamFactory | Re: AccessControlException with Wicket on Google App Engine (GAE)

2009-11-03 Thread A. Maza

Thanks Igor,


I have seen that the Objects class provides a static setter in order to 
use a different Implementation of IObjectStreamFactory instead of the 
DefaultObjectStreamFactory.


Where would you recommend to place the code to set my own implementation 
of IObjectStreamFactory using the static setter provided by Objects. I 
am not sure if it is enough to place it in the init method of my class 
that derives from org.apache.wicket.Application. (i.e., may the Objects 
instance be cleared at some time by the GC?)


thanks,
andr






On 02.11.2009 17:28, Igor Vaynberg wrote:

that should most likely work without problems.

-igor

On Mon, Nov 2, 2009 at 1:47 AM, Andreas Mazaandr.m...@gmail.com  wrote:

just to circumvent the problem for a while, I am thinking of the following
workaround:

what would be the implications if I change the implementation of
IObjectStreamFactor.DefaultObjectStreamFactory so that
newObjectInputStream() and newObjectOutputStream return the regular  JDK
ObjectInputStream and ObjectOutputStream, respectively?

To my mind, this would eliminate the AccessControlException problem since I
am not subclassing ObjectInputStream and ObjectOutputStream.

thanks,
andr


On 30.10.2009 10:27, A. Maza wrote:


yes, except the fact that I am trying to use a Memcache-based
implementation of the IPageStore instead of the HTTPSessionStore (based on
the TerracottaPageStore. However, in my case the exception occurs when I am
trying to serialize the page using the provided method of the
AbstractPageStore.

The exception of the second stacktrace I posted was reported by another
user in the GAE forum [1], but happening in a totally different scenario.

In my initial post I forgot the link to the issue I have opened on the GAE
project site. [2]

I am using Wicket 1.4.3 (I have also tried it with 1.4.2) and the latest
GAE SDK (1.2.6)

regards,
andr



[1]
http://groups.google.com/group/google-appengine-java/browse_thread/thread/b80648c126778ef5/0a259ba5bba8078f?lnk=gstq=wicket+accesscontrolexception#0a259ba5bba8078f

[2]http://code.google.com/p/googleappengine/issues/detail?id=2334







On 29.10.2009 21:56, Esteban Masoero wrote:


I'm sure the answer is yes but to be sure: have you done everything
that is said here

http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html
?
Also, what versions of gae sdk and wicket are you using?

A. Maza escribió:


Hi,

I've encountered now (and have seen reported by other users) several
different cases where Wicket on GAE throws an AccessControlException
when serializing an object to a byte array.

Although this is clearly an issue of GAE permissions, I would like to
ask if someone could give me a hint, why this exception occurs or if
someone may know a workaround. I've already filed an issue for this on
the GAE project site [1] and would forward any findings of the wicket
community.

Below I include snippets of two different stacktraces.

Thanks in advance,
andr


snip1

java.security.AccessControlException: access denied
(java.io.SerializablePermission enableSubclassImplementation)
at

java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)

at

java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at

com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:151)

at java.io.ObjectOutputStream.init(ObjectOutputStream.java:253)
at

org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.init(IObjectStreamFactory.java:150)

at

org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory.newObjectOutputStream(IObjectStreamFactory.java:114)

at
org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:)
at

org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:203)


/snip1

snip2
(java.io.SerializablePermission enableSubstitution)
at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:264)
at java.security.AccessController.checkPermission
(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
532)
at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:122)
at java.io.ObjectOutputStream.enableReplaceObject
(ObjectOutputStream.java:556)
at org.apache.wicket.util.lang.Objects
$ReplaceObjectOutputStream.init(Objects.java:179)
at org.apache.wicket.util.lang.Objects
$ReplaceObjectOutputStream.init(Objects.java:170)
at org.apache.wicket.util.lang.Objects.cloneModel(Objects.java:442)
at org.apache.wicket.version.undo.ModelChange.init(ModelChange.java:
103)
at org.apache.wicket.version.undo.ChangeList.componentModelChanging
(ChangeList.java:64)
at

org.apache.wicket.version.undo.UndoPageVersionManager.componentModelChangin­g


Re: DefaultObjectStreamFactory | Re: AccessControlException with Wicket on Google App Engine (GAE)

2009-11-03 Thread Igor Vaynberg
application init should be fine.

-igor

On Tue, Nov 3, 2009 at 5:02 AM, A. Maza andr.m...@gmail.com wrote:
 Thanks Igor,


 I have seen that the Objects class provides a static setter in order to use
 a different Implementation of IObjectStreamFactory instead of the
 DefaultObjectStreamFactory.

 Where would you recommend to place the code to set my own implementation of
 IObjectStreamFactory using the static setter provided by Objects. I am not
 sure if it is enough to place it in the init method of my class that
 derives from org.apache.wicket.Application. (i.e., may the Objects instance
 be cleared at some time by the GC?)

 thanks,
 andr






 On 02.11.2009 17:28, Igor Vaynberg wrote:

 that should most likely work without problems.

 -igor

 On Mon, Nov 2, 2009 at 1:47 AM, Andreas Mazaandr.m...@gmail.com  wrote:

 just to circumvent the problem for a while, I am thinking of the
 following
 workaround:

 what would be the implications if I change the implementation of
 IObjectStreamFactor.DefaultObjectStreamFactory so that
 newObjectInputStream() and newObjectOutputStream return the regular  JDK
 ObjectInputStream and ObjectOutputStream, respectively?

 To my mind, this would eliminate the AccessControlException problem since
 I
 am not subclassing ObjectInputStream and ObjectOutputStream.

 thanks,
 andr


 On 30.10.2009 10:27, A. Maza wrote:

 yes, except the fact that I am trying to use a Memcache-based
 implementation of the IPageStore instead of the HTTPSessionStore (based
 on
 the TerracottaPageStore. However, in my case the exception occurs when I
 am
 trying to serialize the page using the provided method of the
 AbstractPageStore.

 The exception of the second stacktrace I posted was reported by another
 user in the GAE forum [1], but happening in a totally different
 scenario.

 In my initial post I forgot the link to the issue I have opened on the
 GAE
 project site. [2]

 I am using Wicket 1.4.3 (I have also tried it with 1.4.2) and the latest
 GAE SDK (1.2.6)

 regards,
 andr



 [1]

 http://groups.google.com/group/google-appengine-java/browse_thread/thread/b80648c126778ef5/0a259ba5bba8078f?lnk=gstq=wicket+accesscontrolexception#0a259ba5bba8078f

 [2]http://code.google.com/p/googleappengine/issues/detail?id=2334







 On 29.10.2009 21:56, Esteban Masoero wrote:

 I'm sure the answer is yes but to be sure: have you done everything
 that is said here


 http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html
 ?
 Also, what versions of gae sdk and wicket are you using?

 A. Maza escribió:

 Hi,

 I've encountered now (and have seen reported by other users) several
 different cases where Wicket on GAE throws an AccessControlException
 when serializing an object to a byte array.

 Although this is clearly an issue of GAE permissions, I would like to
 ask if someone could give me a hint, why this exception occurs or if
 someone may know a workaround. I've already filed an issue for this on
 the GAE project site [1] and would forward any findings of the wicket
 community.

 Below I include snippets of two different stacktraces.

 Thanks in advance,
 andr


 snip1

 java.security.AccessControlException: access denied
 (java.io.SerializablePermission enableSubclassImplementation)
 at


 java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)

 at


 java.security.AccessController.checkPermission(AccessController.java:546)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
 at


 com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:151)

 at java.io.ObjectOutputStream.init(ObjectOutputStream.java:253)
 at


 org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.init(IObjectStreamFactory.java:150)

 at


 org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory.newObjectOutputStream(IObjectStreamFactory.java:114)

 at

 org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:)
 at


 org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:203)


 /snip1

 snip2
 (java.io.SerializablePermission enableSubstitution)
 at java.security.AccessControlContext.checkPermission
 (AccessControlContext.java:264)
 at java.security.AccessController.checkPermission
 (AccessController.java:427)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:
 532)
 at com.google.appengine.tools.development.DevAppServerFactory
 $CustomSecurityManager.checkPermission(DevAppServerFactory.java:122)
 at java.io.ObjectOutputStream.enableReplaceObject
 (ObjectOutputStream.java:556)
 at org.apache.wicket.util.lang.Objects
 $ReplaceObjectOutputStream.init(Objects.java:179)
 at org.apache.wicket.util.lang.Objects
 $ReplaceObjectOutputStream.init(Objects.java:170)
 at org.apache.wicket.util.lang.Objects.cloneModel(Objects.java:442)
 at 

DefaultObjectStreamFactory | Re: AccessControlException with Wicket on Google App Engine (GAE)

2009-11-02 Thread Andreas Maza
just to circumvent the problem for a while, I am thinking of the 
following workaround:


what would be the implications if I change the implementation of 
IObjectStreamFactor.DefaultObjectStreamFactory so that 
newObjectInputStream() and newObjectOutputStream return the regular  JDK 
ObjectInputStream and ObjectOutputStream, respectively?


To my mind, this would eliminate the AccessControlException problem 
since I am not subclassing ObjectInputStream and ObjectOutputStream.


thanks,
andr


On 30.10.2009 10:27, A. Maza wrote:
yes, except the fact that I am trying to use a Memcache-based 
implementation of the IPageStore instead of the HTTPSessionStore 
(based on the TerracottaPageStore. However, in my case the exception 
occurs when I am trying to serialize the page using the provided 
method of the AbstractPageStore.


The exception of the second stacktrace I posted was reported by 
another user in the GAE forum [1], but happening in a totally 
different scenario.


In my initial post I forgot the link to the issue I have opened on the 
GAE project site. [2]


I am using Wicket 1.4.3 (I have also tried it with 1.4.2) and the 
latest GAE SDK (1.2.6)


regards,
andr



[1] 
http://groups.google.com/group/google-appengine-java/browse_thread/thread/b80648c126778ef5/0a259ba5bba8078f?lnk=gstq=wicket+accesscontrolexception#0a259ba5bba8078f 



[2] http://code.google.com/p/googleappengine/issues/detail?id=2334







On 29.10.2009 21:56, Esteban Masoero wrote:

I'm sure the answer is yes but to be sure: have you done everything
that is said here
http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html 


?
Also, what versions of gae sdk and wicket are you using?

A. Maza escribió:

Hi,

I've encountered now (and have seen reported by other users) several
different cases where Wicket on GAE throws an AccessControlException
when serializing an object to a byte array.

Although this is clearly an issue of GAE permissions, I would like to
ask if someone could give me a hint, why this exception occurs or if
someone may know a workaround. I've already filed an issue for this on
the GAE project site [1] and would forward any findings of the wicket
community.

Below I include snippets of two different stacktraces.

Thanks in advance,
andr


snip1

java.security.AccessControlException: access denied
(java.io.SerializablePermission enableSubclassImplementation)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) 



at
java.security.AccessController.checkPermission(AccessController.java:546) 


at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at
com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:151) 



at java.io.ObjectOutputStream.init(ObjectOutputStream.java:253)
at
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.init(IObjectStreamFactory.java:150) 



at
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory.newObjectOutputStream(IObjectStreamFactory.java:114) 



at
org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:) 


at
org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:203) 




/snip1

snip2
(java.io.SerializablePermission enableSubstitution)
at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:264)
at java.security.AccessController.checkPermission
(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
532)
at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:122)
at java.io.ObjectOutputStream.enableReplaceObject
(ObjectOutputStream.java:556)
at org.apache.wicket.util.lang.Objects
$ReplaceObjectOutputStream.init(Objects.java:179)
at org.apache.wicket.util.lang.Objects
$ReplaceObjectOutputStream.init(Objects.java:170)
at org.apache.wicket.util.lang.Objects.cloneModel(Objects.java:442)
at org.apache.wicket.version.undo.ModelChange.init(ModelChange.java:
103)
at org.apache.wicket.version.undo.ChangeList.componentModelChanging
(ChangeList.java:64)
at
org.apache.wicket.version.undo.UndoPageVersionManager.componentModelChangin­g 



(UndoPageVersionManager.java:123)
at org.apache.wicket.Page.componentModelChanging(Page.java:1555)
at org.apache.wicket.Component.modelChanging(Component.java:2197)
at org.apache.wicket.Component.setDefaultModelObject(Component.java:
3020)
at
org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.setSelectedTab 


(TabbedPanel.java:346)
at org.apache.wicket.extensions.markup.html.tabs.TabbedPanel$5.onClick
(TabbedPanel.java:327)
at org.apache.wicket.markup.html.link.Link.onLinkClicked(Link.java:
221)




/snip2

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: 

Re: DefaultObjectStreamFactory | Re: AccessControlException with Wicket on Google App Engine (GAE)

2009-11-02 Thread Igor Vaynberg
that should most likely work without problems.

-igor

On Mon, Nov 2, 2009 at 1:47 AM, Andreas Maza andr.m...@gmail.com wrote:
 just to circumvent the problem for a while, I am thinking of the following
 workaround:

 what would be the implications if I change the implementation of
 IObjectStreamFactor.DefaultObjectStreamFactory so that
 newObjectInputStream() and newObjectOutputStream return the regular  JDK
 ObjectInputStream and ObjectOutputStream, respectively?

 To my mind, this would eliminate the AccessControlException problem since I
 am not subclassing ObjectInputStream and ObjectOutputStream.

 thanks,
 andr


 On 30.10.2009 10:27, A. Maza wrote:

 yes, except the fact that I am trying to use a Memcache-based
 implementation of the IPageStore instead of the HTTPSessionStore (based on
 the TerracottaPageStore. However, in my case the exception occurs when I am
 trying to serialize the page using the provided method of the
 AbstractPageStore.

 The exception of the second stacktrace I posted was reported by another
 user in the GAE forum [1], but happening in a totally different scenario.

 In my initial post I forgot the link to the issue I have opened on the GAE
 project site. [2]

 I am using Wicket 1.4.3 (I have also tried it with 1.4.2) and the latest
 GAE SDK (1.2.6)

 regards,
 andr



 [1]
 http://groups.google.com/group/google-appengine-java/browse_thread/thread/b80648c126778ef5/0a259ba5bba8078f?lnk=gstq=wicket+accesscontrolexception#0a259ba5bba8078f

 [2] http://code.google.com/p/googleappengine/issues/detail?id=2334







 On 29.10.2009 21:56, Esteban Masoero wrote:

 I'm sure the answer is yes but to be sure: have you done everything
 that is said here

 http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html
 ?
 Also, what versions of gae sdk and wicket are you using?

 A. Maza escribió:

 Hi,

 I've encountered now (and have seen reported by other users) several
 different cases where Wicket on GAE throws an AccessControlException
 when serializing an object to a byte array.

 Although this is clearly an issue of GAE permissions, I would like to
 ask if someone could give me a hint, why this exception occurs or if
 someone may know a workaround. I've already filed an issue for this on
 the GAE project site [1] and would forward any findings of the wicket
 community.

 Below I include snippets of two different stacktraces.

 Thanks in advance,
 andr


 snip1

 java.security.AccessControlException: access denied
 (java.io.SerializablePermission enableSubclassImplementation)
 at

 java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)

 at

 java.security.AccessController.checkPermission(AccessController.java:546)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
 at

 com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:151)

 at java.io.ObjectOutputStream.init(ObjectOutputStream.java:253)
 at

 org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.init(IObjectStreamFactory.java:150)

 at

 org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory.newObjectOutputStream(IObjectStreamFactory.java:114)

 at
 org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:)
 at

 org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:203)


 /snip1

 snip2
 (java.io.SerializablePermission enableSubstitution)
 at java.security.AccessControlContext.checkPermission
 (AccessControlContext.java:264)
 at java.security.AccessController.checkPermission
 (AccessController.java:427)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:
 532)
 at com.google.appengine.tools.development.DevAppServerFactory
 $CustomSecurityManager.checkPermission(DevAppServerFactory.java:122)
 at java.io.ObjectOutputStream.enableReplaceObject
 (ObjectOutputStream.java:556)
 at org.apache.wicket.util.lang.Objects
 $ReplaceObjectOutputStream.init(Objects.java:179)
 at org.apache.wicket.util.lang.Objects
 $ReplaceObjectOutputStream.init(Objects.java:170)
 at org.apache.wicket.util.lang.Objects.cloneModel(Objects.java:442)
 at org.apache.wicket.version.undo.ModelChange.init(ModelChange.java:
 103)
 at org.apache.wicket.version.undo.ChangeList.componentModelChanging
 (ChangeList.java:64)
 at

 org.apache.wicket.version.undo.UndoPageVersionManager.componentModelChangin­g

 (UndoPageVersionManager.java:123)
 at org.apache.wicket.Page.componentModelChanging(Page.java:1555)
 at org.apache.wicket.Component.modelChanging(Component.java:2197)
 at org.apache.wicket.Component.setDefaultModelObject(Component.java:
 3020)
 at
 org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.setSelectedTab
 (TabbedPanel.java:346)
 at org.apache.wicket.extensions.markup.html.tabs.TabbedPanel$5.onClick
 (TabbedPanel.java:327)
 at org.apache.wicket.markup.html.link.Link.onLinkClicked(Link.java:
 221)




 

Re: AccessControlException with Wicket on Google App Engine (GAE)

2009-10-30 Thread A. Maza
yes, except the fact that I am trying to use a Memcache-based 
implementation of the IPageStore instead of the HTTPSessionStore (based 
on the TerracottaPageStore. However, in my case the exception occurs 
when I am trying to serialize the page using the provided method of the 
AbstractPageStore.


The exception of the second stacktrace I posted was reported by another 
user in the GAE forum [1], but happening in a totally different scenario.


In my initial post I forgot the link to the issue I have opened on the 
GAE project site. [2]


I am using Wicket 1.4.3 (I have also tried it with 1.4.2) and the latest 
GAE SDK (1.2.6)


regards,
andr



[1] 
http://groups.google.com/group/google-appengine-java/browse_thread/thread/b80648c126778ef5/0a259ba5bba8078f?lnk=gstq=wicket+accesscontrolexception#0a259ba5bba8078f 



[2] http://code.google.com/p/googleappengine/issues/detail?id=2334







On 29.10.2009 21:56, Esteban Masoero wrote:

I'm sure the answer is yes but to be sure: have you done everything
that is said here
http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html
?
Also, what versions of gae sdk and wicket are you using?

A. Maza escribió:

Hi,

I've encountered now (and have seen reported by other users) several
different cases where Wicket on GAE throws an AccessControlException
when serializing an object to a byte array.

Although this is clearly an issue of GAE permissions, I would like to
ask if someone could give me a hint, why this exception occurs or if
someone may know a workaround. I've already filed an issue for this on
the GAE project site [1] and would forward any findings of the wicket
community.

Below I include snippets of two different stacktraces.

Thanks in advance,
andr


snip1

java.security.AccessControlException: access denied
(java.io.SerializablePermission enableSubclassImplementation)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)

at
java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at
com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:151)

at java.io.ObjectOutputStream.init(ObjectOutputStream.java:253)
at
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.init(IObjectStreamFactory.java:150)

at
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory.newObjectOutputStream(IObjectStreamFactory.java:114)

at
org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:)
at
org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:203)


/snip1

snip2
(java.io.SerializablePermission enableSubstitution)
at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:264)
at java.security.AccessController.checkPermission
(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
532)
at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:122)
at java.io.ObjectOutputStream.enableReplaceObject
(ObjectOutputStream.java:556)
at org.apache.wicket.util.lang.Objects
$ReplaceObjectOutputStream.init(Objects.java:179)
at org.apache.wicket.util.lang.Objects
$ReplaceObjectOutputStream.init(Objects.java:170)
at org.apache.wicket.util.lang.Objects.cloneModel(Objects.java:442)
at org.apache.wicket.version.undo.ModelChange.init(ModelChange.java:
103)
at org.apache.wicket.version.undo.ChangeList.componentModelChanging
(ChangeList.java:64)
at
org.apache.wicket.version.undo.UndoPageVersionManager.componentModelChangin­g

(UndoPageVersionManager.java:123)
at org.apache.wicket.Page.componentModelChanging(Page.java:1555)
at org.apache.wicket.Component.modelChanging(Component.java:2197)
at org.apache.wicket.Component.setDefaultModelObject(Component.java:
3020)
at
org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.setSelectedTab
(TabbedPanel.java:346)
at org.apache.wicket.extensions.markup.html.tabs.TabbedPanel$5.onClick
(TabbedPanel.java:327)
at org.apache.wicket.markup.html.link.Link.onLinkClicked(Link.java:
221)




/snip2

-
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



AccessControlException with Wicket on Google App Engine (GAE)

2009-10-29 Thread A. Maza

Hi,

I've encountered now (and have seen reported by other users) several 
different cases where Wicket on GAE throws an AccessControlException 
when serializing an object to a byte array.


Although this is clearly an issue of GAE permissions, I would like to 
ask if someone could give me a hint, why this exception occurs or if 
someone may know a workaround. I've already filed an issue for this on 
the GAE project site [1] and would forward any findings of the wicket 
community.


Below I include snippets of two different stacktraces.

Thanks in advance,
andr


snip1

java.security.AccessControlException: access denied 
(java.io.SerializablePermission enableSubclassImplementation)
	at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
	at 
java.security.AccessController.checkPermission(AccessController.java:546)

at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
	at 
com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:151)

at java.io.ObjectOutputStream.init(ObjectOutputStream.java:253)
	at 
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.init(IObjectStreamFactory.java:150)
	at 
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory.newObjectOutputStream(IObjectStreamFactory.java:114)

at 
org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:)
	at 
org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:203)


/snip1

snip2
(java.io.SerializablePermission enableSubstitution)
at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:264)
at java.security.AccessController.checkPermission
(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
532)
at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:122)
at java.io.ObjectOutputStream.enableReplaceObject
(ObjectOutputStream.java:556)
at org.apache.wicket.util.lang.Objects
$ReplaceObjectOutputStream.init(Objects.java:179)
at org.apache.wicket.util.lang.Objects
$ReplaceObjectOutputStream.init(Objects.java:170)
at 
org.apache.wicket.util.lang.Objects.cloneModel(Objects.java:442)
at 
org.apache.wicket.version.undo.ModelChange.init(ModelChange.java:

103)
at 
org.apache.wicket.version.undo.ChangeList.componentModelChanging

(ChangeList.java:64)
at
org.apache.wicket.version.undo.UndoPageVersionManager.componentModelChangin­g 


(UndoPageVersionManager.java:123)
at org.apache.wicket.Page.componentModelChanging(Page.java:1555)
at org.apache.wicket.Component.modelChanging(Component.java:2197)
at 
org.apache.wicket.Component.setDefaultModelObject(Component.java:

3020)
at
org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.setSelectedTab
(TabbedPanel.java:346)
at 
org.apache.wicket.extensions.markup.html.tabs.TabbedPanel$5.onClick

(TabbedPanel.java:327)
at 
org.apache.wicket.markup.html.link.Link.onLinkClicked(Link.java:

221)




/snip2

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AccessControlException with Wicket on Google App Engine (GAE)

2009-10-29 Thread Esteban Masoero
I'm sure the answer is yes but to be sure: have you done everything 
that is said here 
http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html 
?

Also, what versions of gae sdk and wicket are you using?

A. Maza escribió:

Hi,

I've encountered now (and have seen reported by other users) several 
different cases where Wicket on GAE throws an AccessControlException 
when serializing an object to a byte array.


Although this is clearly an issue of GAE permissions, I would like to 
ask if someone could give me a hint, why this exception occurs or if 
someone may know a workaround. I've already filed an issue for this on 
the GAE project site [1] and would forward any findings of the wicket 
community.


Below I include snippets of two different stacktraces.

Thanks in advance,
andr


snip1

java.security.AccessControlException: access denied 
(java.io.SerializablePermission enableSubclassImplementation)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) 

at 
java.security.AccessController.checkPermission(AccessController.java:546)
at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at 
com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:151) 


at java.io.ObjectOutputStream.init(ObjectOutputStream.java:253)
at 
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.init(IObjectStreamFactory.java:150) 

at 
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory.newObjectOutputStream(IObjectStreamFactory.java:114) 

at 
org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:)
at 
org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:203) 



/snip1

snip2
(java.io.SerializablePermission enableSubstitution)
at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:264)
at java.security.AccessController.checkPermission
(AccessController.java:427)
at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:

532)
at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:122)
at java.io.ObjectOutputStream.enableReplaceObject
(ObjectOutputStream.java:556)
at org.apache.wicket.util.lang.Objects
$ReplaceObjectOutputStream.init(Objects.java:179)
at org.apache.wicket.util.lang.Objects
$ReplaceObjectOutputStream.init(Objects.java:170)
at 
org.apache.wicket.util.lang.Objects.cloneModel(Objects.java:442)
at 
org.apache.wicket.version.undo.ModelChange.init(ModelChange.java:

103)
at 
org.apache.wicket.version.undo.ChangeList.componentModelChanging

(ChangeList.java:64)
at
org.apache.wicket.version.undo.UndoPageVersionManager.componentModelChangin­g 


(UndoPageVersionManager.java:123)
at org.apache.wicket.Page.componentModelChanging(Page.java:1555)
at org.apache.wicket.Component.modelChanging(Component.java:2197)
at 
org.apache.wicket.Component.setDefaultModelObject(Component.java:

3020)
at
org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.setSelectedTab
(TabbedPanel.java:346)
at 
org.apache.wicket.extensions.markup.html.tabs.TabbedPanel$5.onClick

(TabbedPanel.java:327)
at 
org.apache.wicket.markup.html.link.Link.onLinkClicked(Link.java:

221)




/snip2

-
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