[appengine-java] Re: Local Persistance of Data
Is it related to ur FIle Upload. are you trying to upload a file??? There is some config you wil have to take care for upload functionality of Strut2 and GAE . Check this link, hope it might be of some help http://whyjava.wordpress.com/2009/10/04/file-upload-on-google-app-engine-using-struts2/ Regards Prateek On Jun 27, 1:56 am, lisandrodc wrote: > I have a next exception in console, I use Struts 2 v2.1.8: > > 26/06/2010 20:48:56 > com.google.appengine.tools.development.AbstractContainerService > loadPropertiesFile > ADVERTENCIA: Unable to load properties file, D:\eclipse2\PruebaProde > \PruabProd\war > java.io.FileNotFoundException: D:\eclipse2\PruebaProde\PruabProd\war > (Acceso denegado) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:106) > at > com.google.appengine.tools.development.AbstractContainerService.loadPropert > iesFile(AbstractContainerService.java: > 394) > at > com.google.appengine.tools.development.AbstractContainerService.updateLoggi > ngConfiguration(AbstractContainerService.java: > 350) > at > com.google.appengine.tools.development.AbstractContainerService.loadAppEngi > neWebXml(AbstractContainerService.java: > 240) > at > com.google.appengine.tools.development.AbstractContainerService.startup(Abs > tractContainerService.java: > 144) > at > com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerI > mpl.java: > 222) > at com.google.appengine.tools.development.DevAppServerMain > $StartAction.apply(DevAppServerMain.java:171) > at com.google.appengine.tools.util.Parser > $ParseResult.applyArgs(Parser.java:48) > at > com.google.appengine.tools.development.DevAppServerMain.(DevAppServer > Main.java: > 120) > at > com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMa > in.java: > 96) > 26/06/2010 20:48:56 com.google.apphosting.utils.jetty.JettyLogger info > INFO: jetty-6.1.x > 26/06/2010 20:48:57 > com.opensymphony.xwork2.util.logging.commons.CommonsLogger info > INFO: Parsing configuration file [struts-default.xml] > 26/06/2010 20:48:57 > com.opensymphony.xwork2.util.logging.commons.CommonsLogger info > INFO: Unable to locate configuration files of the name struts- > plugin.xml, skipping > 26/06/2010 20:48:57 > com.opensymphony.xwork2.util.logging.commons.CommonsLogger info > INFO: Parsing configuration file [struts-plugin.xml] > 26/06/2010 20:48:57 > com.opensymphony.xwork2.util.logging.commons.CommonsLogger info > INFO: Parsing configuration file [struts.xml] > 26/06/2010 20:48:57 > com.opensymphony.xwork2.util.logging.commons.CommonsLogger info > INFO: Overriding property struts.i18n.reload - old value: false new > value: true > 26/06/2010 20:48:57 > com.opensymphony.xwork2.util.logging.commons.CommonsLogger info > INFO: Overriding property struts.configuration.xml.reload - old value: > false new value: true > 26/06/2010 20:48:58 com.google.apphosting.utils.jetty.JettyLogger info > INFO: Started selectchannelconnec...@127.0.0.1: > 26/06/2010 20:48:58 > com.google.appengine.tools.development.DevAppServerImpl start > INFO: The server is running athttp://localhost:/ > > On 25 jun, 18:47, lisandrodc wrote: > > > > > Thanks Prateek! The struts version that tape-worm was old (2.1.2). > > The problem was solved by the version 2.1.8!!! > > Regards! > > Lisandro > > > On 25 jun, 03:07, Prateek wrote: > > > > Which URL are you trying to access??? > > > >http://localhost:/_ah/admin > > > > OR > > > >http://localhost:/_ah/login > > > > I guesshttp://localhost:/_ah/adminshouldworkfine. > > > > Can you even validate the struts2 jar version. Is it 2.1.8.1 > > > > Regards > > > Prateek > > > > On Jun 25, 3:02 am, lisandrodc wrote: > > > > > Hi Prateek. First thanks, but I don´t solve my local data problem. > > > > Now, my struts.xml is: > > > > > > > > > > > "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" > > > > "http://struts.apache.org/dtds/struts-2.0.dtd";> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /pages/inicio.jsp > > > > > > > > > > > class="struts.action.Default"> > > > > /pages/alta.jsp > > > > > > > > > > > class="struts.action.RegistrarEmpleado"> > > > > /pages/alta_exitosa.jsp > > > > > > > > > > > class="com.login.LoginAction"> > > > > /pages/home.jsp > > > > /pages/inicio.jsp > > > > > > > > > > > class="struts.action.MostrarEmp"> > > > > /pages/modificacion.jsp > > > > > > > > > > > > > > > > > > And my web.xml: > > > > > > > > http://www.w3.org/2001/XMLSchema-instance"; > > > > xm
[appengine-java] Re: Local Persistance of Data
I have a next exception in console, I use Struts 2 v2.1.8: 26/06/2010 20:48:56 com.google.appengine.tools.development.AbstractContainerService loadPropertiesFile ADVERTENCIA: Unable to load properties file, D:\eclipse2\PruebaProde \PruabProd\war java.io.FileNotFoundException: D:\eclipse2\PruebaProde\PruabProd\war (Acceso denegado) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at com.google.appengine.tools.development.AbstractContainerService.loadPropertiesFile(AbstractContainerService.java: 394) at com.google.appengine.tools.development.AbstractContainerService.updateLoggingConfiguration(AbstractContainerService.java: 350) at com.google.appengine.tools.development.AbstractContainerService.loadAppEngineWebXml(AbstractContainerService.java: 240) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java: 144) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java: 222) at com.google.appengine.tools.development.DevAppServerMain $StartAction.apply(DevAppServerMain.java:171) at com.google.appengine.tools.util.Parser $ParseResult.applyArgs(Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.(DevAppServerMain.java: 120) at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java: 96) 26/06/2010 20:48:56 com.google.apphosting.utils.jetty.JettyLogger info INFO: jetty-6.1.x 26/06/2010 20:48:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info INFO: Parsing configuration file [struts-default.xml] 26/06/2010 20:48:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info INFO: Unable to locate configuration files of the name struts- plugin.xml, skipping 26/06/2010 20:48:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info INFO: Parsing configuration file [struts-plugin.xml] 26/06/2010 20:48:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info INFO: Parsing configuration file [struts.xml] 26/06/2010 20:48:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info INFO: Overriding property struts.i18n.reload - old value: false new value: true 26/06/2010 20:48:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info INFO: Overriding property struts.configuration.xml.reload - old value: false new value: true 26/06/2010 20:48:58 com.google.apphosting.utils.jetty.JettyLogger info INFO: Started selectchannelconnec...@127.0.0.1: 26/06/2010 20:48:58 com.google.appengine.tools.development.DevAppServerImpl start INFO: The server is running at http://localhost:/ On 25 jun, 18:47, lisandrodc wrote: > Thanks Prateek! The struts version that tape-worm was old (2.1.2). > The problem was solved by the version 2.1.8!!! > Regards! > Lisandro > > On 25 jun, 03:07, Prateek wrote: > > > Which URL are you trying to access??? > > >http://localhost:/_ah/admin > > > OR > > >http://localhost:/_ah/login > > > I guesshttp://localhost:/_ah/adminshouldwork fine. > > > Can you even validate the struts2 jar version. Is it 2.1.8.1 > > > Regards > > Prateek > > > On Jun 25, 3:02 am, lisandrodc wrote: > > > > Hi Prateek. First thanks, but I don´t solve my local data problem. > > > Now, my struts.xml is: > > > > > > > > "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" > > > "http://struts.apache.org/dtds/struts-2.0.dtd";> > > > > > > > > > > > > > > > > > > > > > > /pages/inicio.jsp > > > > > > > > class="struts.action.Default"> > > > /pages/alta.jsp > > > > > > > > class="struts.action.RegistrarEmpleado"> > > > /pages/alta_exitosa.jsp > > > > > > > > class="com.login.LoginAction"> > > > /pages/home.jsp > > > /pages/inicio.jsp > > > > > > > > class="struts.action.MostrarEmp"> > > > /pages/modificacion.jsp > > > > > > > > > > > > > > And my web.xml: > > > > > > http://www.w3.org/2001/XMLSchema-instance"; > > > xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http:// > > > java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > > > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > > > >http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; > > > > version="2.5"> > > > > > > > struts2 > > > > > class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter > > > > > filter-class> > > > > > > > > > > struts2 > > > /* > > > > > > > > > > com.login.OgnlListener > > > > > > > > > > > But... says the p
[appengine-java] Re: Local Persistance of Data
Thanks Prateek! The struts version that tape-worm was old (2.1.2). The problem was solved by the version 2.1.8!!! Regards! Lisandro On 25 jun, 03:07, Prateek wrote: > Which URL are you trying to access??? > > http://localhost:/_ah/admin > > OR > > http://localhost:/_ah/login > > I guesshttp://localhost:/_ah/adminshould work fine. > > Can you even validate the struts2 jar version. Is it 2.1.8.1 > > Regards > Prateek > > On Jun 25, 3:02 am, lisandrodc wrote: > > > Hi Prateek. First thanks, but I don´t solve my local data problem. > > Now, my struts.xml is: > > > > > "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" > > "http://struts.apache.org/dtds/struts-2.0.dtd";> > > > > > > > > > > > > > > > /pages/inicio.jsp > > > > > class="struts.action.Default"> > > /pages/alta.jsp > > > > > class="struts.action.RegistrarEmpleado"> > > /pages/alta_exitosa.jsp > > > > > class="com.login.LoginAction"> > > /pages/home.jsp > > /pages/inicio.jsp > > > > > > /pages/modificacion.jsp > > > > > > > > > > And my web.xml: > > > > http://www.w3.org/2001/XMLSchema-instance"; > > xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http:// > > java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > > >http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; > > > version="2.5"> > > > > > struts2 > > > class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter > > > filter-class> > > > > > > > struts2 > > /* > > > > > > > com.login.OgnlListener > > > > > > > > But... says the page: > > > "Struts Problem Report > > > Struts has detected an unhandled exception: > > # Messages: There is no Action mapped for action name login." > > > On 24 jun, 15:56, Prateek wrote: > > > > Hello @ IAN @ JOHN @ lisandrodc > > > > I just try the changes. We need to work out a few more changes. > > > > we need to make changes on web.xml with respect to the filter-class. > > > that has been changed from > > > "org.apache.struts2.dispatcher.FilterDispatcher" to > > > "org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter", > > > reason behind doing this was because the excludePattern doesnot work > > > with FilterDispactcher and that was fixed in next release with the > > > StrutsPrepareAndExecuteFilter class. > > > > Ref Link : > > > http://www.mail-archive.com/@struts.apache.org/msg34677.html > > > > > > > struts2 > > > > > class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter > > > > > filter-class> > > > > > > > > > > struts2 > > > /* > > > > > > > and changes in struts.xml is > > > > > > > This should work. I worked fine for me. > > > > @ Ian : thanks buddy as the linkhttp://localhost:/_ah/admindid > > > solve my local data problem. > > > @ John : Thanks for helping and guiding. > > > > Regards and Thanks > > > Be happy and keep Smiling always > > > Prateek > > > > On Jun 24, 8:39 am, Prateek wrote: > > > > > Hello Ian and John, > > > > > Thanks a lotz guys. I guess i found the solution. Will go home and try > > > > it. > > > > > we need to include a exclude pattern in our struts.xml > > > > > > > > > > @ lisandrodc I guess that should solve our problem. > > > > Below link would help you. > > > > >http://www.benmccann.com/dev-blog/tag/struts-2/ > > > > > Thanks for all you support. > > > > Be Happy > > > > > Prateek. > > > > > On Jun 24, 10:45 am, Prateek wrote: > > > > > > Hello Ian , > > > > > > Hello John, > > > > > > Thanks for the response. > > > > > > @Ian : Yes, i m using the same URL but with my own port config > > > > > iehttp://localhost:/_ah/admin. I even > > > > > triedhttp://localhost:/_ah/login > > > > > but no output. I can see the local_db.bin file in my > > > > > WEB-INF/appengine- > > > > > generated/ directory. > > > > > > @ John, yep you are correct, all my request are mapped to be handle by > > > > > struts. its by default '/' mapping. But that is required for my apps. > > > > > if i config my struts to handle /_ah/admin as well where would i > > > > > redirect him. > > > > > > Thanks and Regards > > > > > Prateek > > > > > > So you > > > > > > On Jun 24, 10:19 am, John Patterson wrote: > > > > > > > You probably have struts configured to handle all requests. Wicket > > > > > > > > > > > > uses a filter rather than a servlet so it can pass unhandled URL's > > > > > > down the chain. Can you configure Struts like this? > > > > > > > On
[appengine-java] Re: Local Persistance of Data
Which URL are you trying to access??? http://localhost:/_ah/admin OR http://localhost:/_ah/login I guess http://localhost:/_ah/admin should work fine. Can you even validate the struts2 jar version. Is it 2.1.8.1 Regards Prateek On Jun 25, 3:02 am, lisandrodc wrote: > Hi Prateek. First thanks, but I don´t solve my local data problem. > Now, my struts.xml is: > > "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" > "http://struts.apache.org/dtds/struts-2.0.dtd";> > > > > > > > > /pages/inicio.jsp > > class="struts.action.Default"> > /pages/alta.jsp > > class="struts.action.RegistrarEmpleado"> > /pages/alta_exitosa.jsp > > class="com.login.LoginAction"> > /pages/home.jsp > /pages/inicio.jsp > > > /pages/modificacion.jsp > > > > > > And my web.xml: > > http://www.w3.org/2001/XMLSchema-instance"; > xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http:// > java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; > > version="2.5"> > > > struts2 > class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter filter-class> > > > > struts2 > /* > > > > com.login.OgnlListener > > > > > But... says the page: > > "Struts Problem Report > > Struts has detected an unhandled exception: > # Messages: There is no Action mapped for action name login." > > On 24 jun, 15:56, Prateek wrote: > > > > > Hello @ IAN @ JOHN @ lisandrodc > > > I just try the changes. We need to work out a few more changes. > > > we need to make changes on web.xml with respect to the filter-class. > > that has been changed from > > "org.apache.struts2.dispatcher.FilterDispatcher" to > > "org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter", > > reason behind doing this was because the excludePattern doesnot work > > with FilterDispactcher and that was fixed in next release with the > > StrutsPrepareAndExecuteFilter class. > > > Ref Link : http://www.mail-archive.com/@struts.apache.org/msg34677.html > > > > > struts2 > > > class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter > > > filter-class> > > > > > > > struts2 > > /* > > > > > and changes in struts.xml is > > > > > This should work. I worked fine for me. > > > @ Ian : thanks buddy as the linkhttp://localhost:/_ah/admindid > > solve my local data problem. > > @ John : Thanks for helping and guiding. > > > Regards and Thanks > > Be happy and keep Smiling always > > Prateek > > > On Jun 24, 8:39 am, Prateek wrote: > > > > Hello Ian and John, > > > > Thanks a lotz guys. I guess i found the solution. Will go home and try > > > it. > > > > we need to include a exclude pattern in our struts.xml > > > > > > > > @ lisandrodc I guess that should solve our problem. > > > Below link would help you. > > > >http://www.benmccann.com/dev-blog/tag/struts-2/ > > > > Thanks for all you support. > > > Be Happy > > > > Prateek. > > > > On Jun 24, 10:45 am, Prateek wrote: > > > > > Hello Ian , > > > > > Hello John, > > > > > Thanks for the response. > > > > > @Ian : Yes, i m using the same URL but with my own port config > > > > iehttp://localhost:/_ah/admin. I even > > > > triedhttp://localhost:/_ah/login > > > > but no output. I can see the local_db.bin file in my WEB-INF/appengine- > > > > generated/ directory. > > > > > @ John, yep you are correct, all my request are mapped to be handle by > > > > struts. its by default '/' mapping. But that is required for my apps. > > > > if i config my struts to handle /_ah/admin as well where would i > > > > redirect him. > > > > > Thanks and Regards > > > > Prateek > > > > > So you > > > > > On Jun 24, 10:19 am, John Patterson wrote: > > > > > > You probably have struts configured to handle all requests. Wicket > > > > > uses a filter rather than a servlet so it can pass unhandled URL's > > > > > down the chain. Can you configure Struts like this? > > > > > > On 24 Jun 2010, at 06:36, lisandrodc wrote: > > > > > > > Hi! I have a same problem that Prateek. I use Struts 2. > > > > > > I try to access the development web server console web > > > > > > application.http://localhost:8080, run, but at run > > > > > >http://localhost:8080/_ah/admin > > > > > > or: > > > > > >http://localhost:8080/_ah/login > > > > > > But for both, says the page: > > > > > > > "Struts Problem Report > > > > > > > Struts has detected an unhandle
[appengine-java] Re: Local Persistance of Data
Hi Prateek. First thanks, but I don´t solve my local data problem. Now, my struts.xml is: http://struts.apache.org/dtds/struts-2.0.dtd";> /pages/inicio.jsp /pages/alta.jsp /pages/alta_exitosa.jsp /pages/home.jsp /pages/inicio.jsp /pages/modificacion.jsp And my web.xml: http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http:// java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5"> struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* com.login.OgnlListener But... says the page: "Struts Problem Report Struts has detected an unhandled exception: # Messages: There is no Action mapped for action name login." On 24 jun, 15:56, Prateek wrote: > Hello @ IAN @ JOHN @ lisandrodc > > I just try the changes. We need to work out a few more changes. > > we need to make changes on web.xml with respect to the filter-class. > that has been changed from > "org.apache.struts2.dispatcher.FilterDispatcher" to > "org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter", > reason behind doing this was because the excludePattern doesnot work > with FilterDispactcher and that was fixed in next release with the > StrutsPrepareAndExecuteFilter class. > > Ref Link : http://www.mail-archive.com/@struts.apache.org/msg34677.html > > > struts2 > class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter filter-class> > > > > struts2 > /* > > > and changes in struts.xml is > > > This should work. I worked fine for me. > > @ Ian : thanks buddy as the linkhttp://localhost:/_ah/admindid > solve my local data problem. > @ John : Thanks for helping and guiding. > > Regards and Thanks > Be happy and keep Smiling always > Prateek > > On Jun 24, 8:39 am, Prateek wrote: > > > Hello Ian and John, > > > Thanks a lotz guys. I guess i found the solution. Will go home and try > > it. > > > we need to include a exclude pattern in our struts.xml > > > > > > @ lisandrodc I guess that should solve our problem. > > Below link would help you. > > >http://www.benmccann.com/dev-blog/tag/struts-2/ > > > Thanks for all you support. > > Be Happy > > > Prateek. > > > On Jun 24, 10:45 am, Prateek wrote: > > > > Hello Ian , > > > > Hello John, > > > > Thanks for the response. > > > > @Ian : Yes, i m using the same URL but with my own port config > > > iehttp://localhost:/_ah/admin. I even > > > triedhttp://localhost:/_ah/login > > > but no output. I can see the local_db.bin file in my WEB-INF/appengine- > > > generated/ directory. > > > > @ John, yep you are correct, all my request are mapped to be handle by > > > struts. its by default '/' mapping. But that is required for my apps. > > > if i config my struts to handle /_ah/admin as well where would i > > > redirect him. > > > > Thanks and Regards > > > Prateek > > > > So you > > > > On Jun 24, 10:19 am, John Patterson wrote: > > > > > You probably have struts configured to handle all requests. Wicket > > > > uses a filter rather than a servlet so it can pass unhandled URL's > > > > down the chain. Can you configure Struts like this? > > > > > On 24 Jun 2010, at 06:36, lisandrodc wrote: > > > > > > Hi! I have a same problem that Prateek. I use Struts 2. > > > > > I try to access the development web server console web > > > > > application.http://localhost:8080, run, but at run > > > > >http://localhost:8080/_ah/admin > > > > > or: > > > > >http://localhost:8080/_ah/login > > > > > But for both, says the page: > > > > > > "Struts Problem Report > > > > > > Struts has detected an unhandled exception: > > > > > # Messages: There is no Action mapped for action name login." > > > > > > On 23 jun, 16:50, Ian Marshall wrote: > > > > >> Hello Prateek, > > > > > >> Are you trying to access the development web server console web > > > > >> application? If so, is the full URL you tried > > > > > >> http://localhost:8080/_ah/admin > > > > > >> (or whatever port number you use locally to test your URLs using the > > > > >> dev app server)? > > > > > >> Cheers, > > > > > >> Ian > > > > > >> On Jun 23, 6:37 pm, Prateek wrote: > > > > > >>> Hello Ian, > > > > > >>> I did try the URL but couldnt get the VIEW. I have configured my > > > > >>> apps > > > > >>> with struts2 and tiles2. do i have to included any thing else in my > > > >
[appengine-java] Re: Local Persistance of Data
Hello @ IAN @ JOHN @ lisandrodc I just try the changes. We need to work out a few more changes. we need to make changes on web.xml with respect to the filter-class. that has been changed from "org.apache.struts2.dispatcher.FilterDispatcher" to "org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter", reason behind doing this was because the excludePattern doesnot work with FilterDispactcher and that was fixed in next release with the StrutsPrepareAndExecuteFilter class. Ref Link : http://www.mail-archive.com/d...@struts.apache.org/msg34677.html struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* and changes in struts.xml is This should work. I worked fine for me. @ Ian : thanks buddy as the link http://localhost:/_ah/admin did solve my local data problem. @ John : Thanks for helping and guiding. Regards and Thanks Be happy and keep Smiling always Prateek On Jun 24, 8:39 am, Prateek wrote: > Hello Ian and John, > > Thanks a lotz guys. I guess i found the solution. Will go home and try > it. > > we need to include a exclude pattern in our struts.xml > > > > @ lisandrodc I guess that should solve our problem. > Below link would help you. > > http://www.benmccann.com/dev-blog/tag/struts-2/ > > Thanks for all you support. > Be Happy > > Prateek. > > On Jun 24, 10:45 am, Prateek wrote: > > > > > Hello Ian , > > > Hello John, > > > Thanks for the response. > > > @Ian : Yes, i m using the same URL but with my own port config > > iehttp://localhost:/_ah/admin. I even > > triedhttp://localhost:/_ah/login > > but no output. I can see the local_db.bin file in my WEB-INF/appengine- > > generated/ directory. > > > @ John, yep you are correct, all my request are mapped to be handle by > > struts. its by default '/' mapping. But that is required for my apps. > > if i config my struts to handle /_ah/admin as well where would i > > redirect him. > > > Thanks and Regards > > Prateek > > > So you > > > On Jun 24, 10:19 am, John Patterson wrote: > > > > You probably have struts configured to handle all requests. Wicket > > > uses a filter rather than a servlet so it can pass unhandled URL's > > > down the chain. Can you configure Struts like this? > > > > On 24 Jun 2010, at 06:36, lisandrodc wrote: > > > > > Hi! I have a same problem that Prateek. I use Struts 2. > > > > I try to access the development web server console web > > > > application.http://localhost:8080, run, but at run > > > >http://localhost:8080/_ah/admin > > > > or: > > > >http://localhost:8080/_ah/login > > > > But for both, says the page: > > > > > "Struts Problem Report > > > > > Struts has detected an unhandled exception: > > > > # Messages: There is no Action mapped for action name login." > > > > > On 23 jun, 16:50, Ian Marshall wrote: > > > >> Hello Prateek, > > > > >> Are you trying to access the development web server console web > > > >> application? If so, is the full URL you tried > > > > >> http://localhost:8080/_ah/admin > > > > >> (or whatever port number you use locally to test your URLs using the > > > >> dev app server)? > > > > >> Cheers, > > > > >> Ian > > > > >> On Jun 23, 6:37 pm, Prateek wrote: > > > > >>> Hello Ian, > > > > >>> I did try the URL but couldnt get the VIEW. I have configured my > > > >>> apps > > > >>> with struts2 and tiles2. do i have to included any thing else in my > > > >>> Mapping. I m getting an ERROR as > > > > >>> HTTP ERROR 404 > > > > >>> Problem accessing /_ah/admin. Reason: > > > > >>> There is no Action mapped for namespace / and action name admin. > > > >>> Powered by Jetty:// > > > > >>> can you guide me to as how to resolve it. > > > > >>> Thanks and Regards > > > >>> Prateek > > > > >>> On Jun 23, 6:37 am, Ian Marshall wrote: > > > > You're welcome. > > > > Of course, if you do not want to view your locally-persisted > > > entities > > > and just want to delete them all, just follow the instructions give > > > at: > > > > http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht > > > ... > > > > > -- > > > > 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-java@googlegroups.com > > > > . > > > > To unsubscribe from this group, send email to > > > > google-appengine-java+unsubscr...@googlegroups.com > > > > . > > > > For more options, visit this group > > > > athttp://groups.google.com/group/google-appengine-java?hl=en > > > > . -- 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:/
[appengine-java] Re: Local Persistance of Data
Hello Ian and John, Thanks a lotz guys. I guess i found the solution. Will go home and try it. we need to include a exclude pattern in our struts.xml @ lisandrodc I guess that should solve our problem. Below link would help you. http://www.benmccann.com/dev-blog/tag/struts-2/ Thanks for all you support. Be Happy Prateek. On Jun 24, 10:45 am, Prateek wrote: > Hello Ian , > > Hello John, > > Thanks for the response. > > @Ian : Yes, i m using the same URL but with my own port config > iehttp://localhost:/_ah/admin. I even triedhttp://localhost:/_ah/login > but no output. I can see the local_db.bin file in my WEB-INF/appengine- > generated/ directory. > > @ John, yep you are correct, all my request are mapped to be handle by > struts. its by default '/' mapping. But that is required for my apps. > if i config my struts to handle /_ah/admin as well where would i > redirect him. > > Thanks and Regards > Prateek > > So you > > On Jun 24, 10:19 am, John Patterson wrote: > > > > > You probably have struts configured to handle all requests. Wicket > > uses a filter rather than a servlet so it can pass unhandled URL's > > down the chain. Can you configure Struts like this? > > > On 24 Jun 2010, at 06:36, lisandrodc wrote: > > > > Hi! I have a same problem that Prateek. I use Struts 2. > > > I try to access the development web server console web > > > application.http://localhost:8080, run, but at run > > >http://localhost:8080/_ah/admin > > > or: > > >http://localhost:8080/_ah/login > > > But for both, says the page: > > > > "Struts Problem Report > > > > Struts has detected an unhandled exception: > > > # Messages: There is no Action mapped for action name login." > > > > On 23 jun, 16:50, Ian Marshall wrote: > > >> Hello Prateek, > > > >> Are you trying to access the development web server console web > > >> application? If so, is the full URL you tried > > > >> http://localhost:8080/_ah/admin > > > >> (or whatever port number you use locally to test your URLs using the > > >> dev app server)? > > > >> Cheers, > > > >> Ian > > > >> On Jun 23, 6:37 pm, Prateek wrote: > > > >>> Hello Ian, > > > >>> I did try the URL but couldnt get the VIEW. I have configured my > > >>> apps > > >>> with struts2 and tiles2. do i have to included any thing else in my > > >>> Mapping. I m getting an ERROR as > > > >>> HTTP ERROR 404 > > > >>> Problem accessing /_ah/admin. Reason: > > > >>> There is no Action mapped for namespace / and action name admin. > > >>> Powered by Jetty:// > > > >>> can you guide me to as how to resolve it. > > > >>> Thanks and Regards > > >>> Prateek > > > >>> On Jun 23, 6:37 am, Ian Marshall wrote: > > > You're welcome. > > > Of course, if you do not want to view your locally-persisted > > entities > > and just want to delete them all, just follow the instructions give > > at: > > > http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht > > ... > > > > -- > > > 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-java@googlegroups.com > > > . > > > To unsubscribe from this group, send email to > > > google-appengine-java+unsubscr...@googlegroups.com > > > . > > > For more options, visit this group > > > athttp://groups.google.com/group/google-appengine-java?hl=en > > > . -- 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.
[appengine-java] Re: Local Persistance of Data
Hello Ian , Hello John, Thanks for the response. @Ian : Yes, i m using the same URL but with my own port config ie http://localhost:/_ah/admin. I even tried http://localhost:/_ah/login but no output. I can see the local_db.bin file in my WEB-INF/appengine- generated/ directory. @ John, yep you are correct, all my request are mapped to be handle by struts. its by default '/' mapping. But that is required for my apps. if i config my struts to handle /_ah/admin as well where would i redirect him. Thanks and Regards Prateek So you On Jun 24, 10:19 am, John Patterson wrote: > You probably have struts configured to handle all requests. Wicket > uses a filter rather than a servlet so it can pass unhandled URL's > down the chain. Can you configure Struts like this? > > On 24 Jun 2010, at 06:36, lisandrodc wrote: > > > > > Hi! I have a same problem that Prateek. I use Struts 2. > > I try to access the development web server console web > > application.http://localhost:8080, run, but at run > >http://localhost:8080/_ah/admin > > or: > >http://localhost:8080/_ah/login > > But for both, says the page: > > > "Struts Problem Report > > > Struts has detected an unhandled exception: > > # Messages: There is no Action mapped for action name login." > > > On 23 jun, 16:50, Ian Marshall wrote: > >> Hello Prateek, > > >> Are you trying to access the development web server console web > >> application? If so, is the full URL you tried > > >> http://localhost:8080/_ah/admin > > >> (or whatever port number you use locally to test your URLs using the > >> dev app server)? > > >> Cheers, > > >> Ian > > >> On Jun 23, 6:37 pm, Prateek wrote: > > >>> Hello Ian, > > >>> I did try the URL but couldnt get the VIEW. I have configured my > >>> apps > >>> with struts2 and tiles2. do i have to included any thing else in my > >>> Mapping. I m getting an ERROR as > > >>> HTTP ERROR 404 > > >>> Problem accessing /_ah/admin. Reason: > > >>> There is no Action mapped for namespace / and action name admin. > >>> Powered by Jetty:// > > >>> can you guide me to as how to resolve it. > > >>> Thanks and Regards > >>> Prateek > > >>> On Jun 23, 6:37 am, Ian Marshall wrote: > > You're welcome. > > Of course, if you do not want to view your locally-persisted > entities > and just want to delete them all, just follow the instructions give > at: > > http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht > ... > > > -- > > 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-java@googlegroups.com > > . > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com > > . > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine-java?hl=en > > . -- 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.
Re: [appengine-java] Re: Local Persistance of Data
You probably have struts configured to handle all requests. Wicket uses a filter rather than a servlet so it can pass unhandled URL's down the chain. Can you configure Struts like this? On 24 Jun 2010, at 06:36, lisandrodc wrote: Hi! I have a same problem that Prateek. I use Struts 2. I try to access the development web server console web application. http://localhost:8080, run, but at run http://localhost:8080/_ah/admin or: http://localhost:8080/_ah/login But for both, says the page: "Struts Problem Report Struts has detected an unhandled exception: # Messages: There is no Action mapped for action name login." On 23 jun, 16:50, Ian Marshall wrote: Hello Prateek, Are you trying to access the development web server console web application? If so, is the full URL you tried http://localhost:8080/_ah/admin (or whatever port number you use locally to test your URLs using the dev app server)? Cheers, Ian On Jun 23, 6:37 pm, Prateek wrote: Hello Ian, I did try the URL but couldnt get the VIEW. I have configured my apps with struts2 and tiles2. do i have to included any thing else in my Mapping. I m getting an ERROR as HTTP ERROR 404 Problem accessing /_ah/admin. Reason: There is no Action mapped for namespace / and action name admin. Powered by Jetty:// can you guide me to as how to resolve it. Thanks and Regards Prateek On Jun 23, 6:37 am, Ian Marshall wrote: You're welcome. Of course, if you do not want to view your locally-persisted entities and just want to delete them all, just follow the instructions give at: http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht ... -- 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-java@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 . -- 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.
[appengine-java] Re: Local Persistance of Data
Hi! I have a same problem that Prateek. I use Struts 2. I try to access the development web server console web application. http://localhost:8080, run, but at run http://localhost:8080/_ah/admin or: http://localhost:8080/_ah/login But for both, says the page: "Struts Problem Report Struts has detected an unhandled exception: # Messages: There is no Action mapped for action name login." On 23 jun, 16:50, Ian Marshall wrote: > Hello Prateek, > > Are you trying to access the development web server console web > application? If so, is the full URL you tried > > http://localhost:8080/_ah/admin > > (or whatever port number you use locally to test your URLs using the > dev app server)? > > Cheers, > > Ian > > On Jun 23, 6:37 pm, Prateek wrote: > > > Hello Ian, > > > I did try the URL but couldnt get the VIEW. I have configured my apps > > with struts2 and tiles2. do i have to included any thing else in my > > Mapping. I m getting an ERROR as > > > HTTP ERROR 404 > > > Problem accessing /_ah/admin. Reason: > > > There is no Action mapped for namespace / and action name admin. > > Powered by Jetty:// > > > can you guide me to as how to resolve it. > > > Thanks and Regards > > Prateek > > > On Jun 23, 6:37 am, Ian Marshall wrote: > > > > You're welcome. > > > > Of course, if you do not want to view your locally-persisted entities > > > and just want to delete them all, just follow the instructions give > > > at: > > > > http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht... -- 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.
[appengine-java] Re: Local Persistance of Data
Hello Prateek, Are you trying to access the development web server console web application? If so, is the full URL you tried http://localhost:8080/_ah/admin (or whatever port number you use locally to test your URLs using the dev app server)? Cheers, Ian On Jun 23, 6:37 pm, Prateek wrote: > Hello Ian, > > I did try the URL but couldnt get the VIEW. I have configured my apps > with struts2 and tiles2. do i have to included any thing else in my > Mapping. I m getting an ERROR as > > HTTP ERROR 404 > > Problem accessing /_ah/admin. Reason: > > There is no Action mapped for namespace / and action name admin. > Powered by Jetty:// > > can you guide me to as how to resolve it. > > Thanks and Regards > Prateek > > On Jun 23, 6:37 am, Ian Marshall wrote: > > > You're welcome. > > > Of course, if you do not want to view your locally-persisted entities > > and just want to delete them all, just follow the instructions give > > at: > > > http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht... -- 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.
[appengine-java] Re: Local Persistance of Data
Hello Ian, I did try the URL but couldnt get the VIEW. I have configured my apps with struts2 and tiles2. do i have to included any thing else in my Mapping. I m getting an ERROR as HTTP ERROR 404 Problem accessing /_ah/admin. Reason: There is no Action mapped for namespace / and action name admin. Powered by Jetty:// can you guide me to as how to resolve it. Thanks and Regards Prateek On Jun 23, 6:37 am, Ian Marshall wrote: > You're welcome. > > Of course, if you do not want to view your locally-persisted entities > and just want to delete them all, just follow the instructions give > at: > > http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht... -- 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.
[appengine-java] Re: Local Persistance of Data
You're welcome. Of course, if you do not want to view your locally-persisted entities and just want to delete them all, just follow the instructions give at: http://code.google.com/intl/en/appengine/docs/java/tools/devserver.html#Using_the_Datastore -- 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.
[appengine-java] Re: Local Persistance of Data
Thanks Ian. I guess that should solve my problem. Regards Prateek On Jun 23, 11:30 am, Ian Marshall wrote: > Hello Prateek, > > Take a look at: > > http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht... > > I seem to remember that one can delete persistence entities using this > tool, but my memory could be at fault. > > Regards, > > Ian -- 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.
[appengine-java] Re: Local Persistance of Data
Hello Prateek, Take a look at: http://code.google.com/intl/en/appengine/docs/java/tools/devserver.html#The_Development_Console I seem to remember that one can delete persistence entities using this tool, but my memory could be at fault. Regards, Ian -- 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.