I saw some tutorials about deploying wicket app to gae , they did not mention any problem with resource loading , I think I am the only one having problems deploying wicket app , is there any article which tells more about resource handling with wicket in gae ?
On Jan 8, 10:22 am, Didier Durand <durand.did...@gmail.com> wrote: > Hi, > > The issue is that when you upload on GAE (i.e copy the files in the > cloud), all what it sees is the file that you 've copied to the > appropriate subdir of the /war in your eclipse project: if you don't > copy them to /war/x/y/z, it just won't work because needed classes > won't be present. > > regards > didier > > On Jan 8, 3:07 pm, fachhoch <fachh...@gmail.com> wrote: > > > > > > > > > this same application if I deploy to jetty it works, finding all these > > resources are not problem when deployed to tomcat , weblogic, jetty > > any other server .its wicket way of handling the resources , all these > > resources are in the wicket jar files,I am assuming there would be > > some means to tell app engine how to load wicket resources is there > > any setting for app engine ? > > > On Jan 8, 1:07 am, Didier Durand <durand.did...@gmail.com> wrote: > > > > Hi, > > > > After analyzing your error messages, I think that you need to create > > > a /app/resources in your /war created by the jdk, copy in it all the > > > files and subdirs mentions in your error message: wicket-ajax.js, > > > org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/ > > > modal.js, after you located them in you dev env, redeploy the app and > > > that should be better. > > > > Don't forget to allow access to those files via the directives > > > ofhttp://code.google.com/appengine/docs/java/config/appconfig.html#Stat... > > > > It may help even if we don't know yet if your application uses only > > > classes from the JRE white list (http://code.google.com/appengine/docs/ > > > java/jrewhitelist.html) as external classes. > > > > Let us know how your progress. > > > > regards > > > > didier > > > > On Jan 8, 2:16 am, fachhoch <fachh...@gmail.com> wrote: > > > > > Please help me with the issue , I am trying to deploy wicket in > > > > google app engine, i was able to bring up the home page ,then for > > > > further testing I added a simple ajaxlink , when I click on the > > > > link nothing happens then I enabled logging of wicket > > > > and saw this in logs > > > > > [code] > > > > > FINE: ending request for page [Page class = > > > > org.radiosai.saibaba.web.page.HomePage, id = 0, version = 0], request > > > > [method = GET, protocol = HTTP/1.1, requestURL > > > > =http://localhost:8888/app/, > > > > contentType = null, contentLength = -1, contextPath = , pathInfo = > > > > null, requestURI = /app/, servletPath = /app/, pathTranslated = null] > > > > Jan 8, 2011 1:04:01 AM > > > > com.google.appengine.tools.development.LocalResourceFileServlet doGet > > > > WARNING: No file found for: /app/resources/ > > > > org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js > > > > Jan 8, 2011 1:04:01 AM > > > > com.google.appengine.tools.development.LocalResourceFileServlet doGet > > > > WARNING: No file found for: /app/resources/ > > > > org.apache.wicket.markup.html.WicketEventReference/wicket-event.js > > > > Jan 8, 2011 1:04:01 AM > > > > com.google.appengine.tools.development.LocalResourceFileServlet doGet > > > > WARNING: No file found for: /app/resources/ > > > > org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/ > > > > modal.css > > > > Jan 8, 2011 1:04:01 AM > > > > com.google.appengine.tools.development.LocalResourceFileServlet doGet > > > > WARNING: No file found for: /app/resources/ > > > > org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/ > > > > modal.js > > > > [/code] > > > > > please advice me how to resolve this ? I am running the app with > > > > google eclipse plugin. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.