[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: Google Plugin for Eclipse 3.6 is now available
On Jun 23, 11:14 pm, Jason Parekh wrote: > Hey folks, > > Google Plugin for Eclipse 1.3.3 is out with support for Eclipse 3.6. > Install it with Eclipse 3.6's new Eclipse Marketplace feature by going to > Help > Eclipse Marketplace, and search for Google Plugin for Eclipse. > > Alternatively, here are the update sites: > - Eclipse Helios (3.6):http://dl.google.com/eclipse/plugin/3.6 > - Eclipse Galileo (3.5):http://dl.google.com/eclipse/plugin/3.5 > - Eclipse Ganymede (3.4):http://dl.google.com/eclipse/plugin/3.4 > - Eclipse Europa (3.3):http://dl.google.com/eclipse/plugin/3.3 > > Need detailed instructions? Check out the quick start > guide:http://code.google.com/eclipse/docs/getting_started.html I find it a bit strange that you have and update site for each and every eclipse version. Eclipse has a very strict API versioning policy and good tool support that make it easy to create a plugin that runs on multiple versions. What's the reason why you need to do this? Cheers Philippe -- 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] java.lang.VerifyError when using Eclipse, locally testing servlets, integrating Wave and Visualization
I encountered something very strange, and I cannot find mention of it on this group or elsewhere. Here is the stack trace: java.lang.VerifyError: (class: org/datanucleus/TransactionImpl, method: internalPreRollback signature: ()V) Accessing value from uninitialized register 5 at org.datanucleus.ObjectManagerImpl.(ObjectManagerImpl.java: 283) at org.datanucleus.jdo.JDOPersistenceManager.(JDOPersistenceManager.java: 132) at org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManager.(DatastoreJDOPersistenceManager.java: 42) at org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory.newPM(DatastoreJDOPersistenceManagerFactory.java: 77) at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManager(JDOPersistenceManagerFactory.java: 578) at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManager(JDOPersistenceManagerFactory.java: 557) at edu.bsu.wtw.DataTableServlet.generateDataTable(DataTableServlet.java: 144) at com.google.visualization.datasource.DataSourceHelper.executeDataSourceServletFlow(Unknown Source) at edu.bsu.wtw.DataTableServlet.doGet(DataTableServlet.java:103) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 51) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: 122) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: 70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:349) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 542) at org.mortbay.jetty.HttpConnection $RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:582) Here is my situation: I am developing servlets in Java using the Google Plugin and Eclipse. My specific project involves combining app engine, Google Wave, and Google's visualization tools. I have set up a nice unit testing environment, and since my unit tests kept passing, I worked for quite some time without ever running the app locally and doing any manual testing. My local unit tests are based on the App Engine local unit testing approach documented in the dev guide. When I finally got around to doing some manual testing, I received this strange stack trace. My code is in edu.bsu.wtw, and the specific position in the call to generateDataTable is simply getting the persistence manager in the usual way: PersistenceManager pm = PMF.get().getPersistenceManager(); I can replicate this error by entering my system a different way. If I fake a Wave JSON message to my Wave Robot servlet, I get an almost identical stack trace: java.lang.VerifyError: (class: org/datanucleus/TransactionImpl, method: internalPreRollback signature: ()V) Accessing value from uninitialized register 5 at org.datanucleus.ObjectManagerImpl.(ObjectManagerImpl.java: 283) at org.datanucleus.jdo.JDOPersistenceManager.(JDOPersistenceManager.java: 132) at org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManager.(DatastoreJDOPersis
[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 > > > >
Re: [appengine-java] Netbeans Support for App Engine. Error encountered.
It looks like you're using gcj which we don't officially support. Most Linux distributions support OpenJDK out of the box. Can you try with that instead? On Thu, Jun 24, 2010 at 12:18 PM, jayati wrote: > > http://rocky.developerblogs.com/tutorials/getting-started-google-app-engine-netbeans/ > > I did all that was mentioned in this tutorial but am repeatedly > getting this error. > > [java] Exception in thread “main” > java.lang.UnsupportedOperationException > [java] at java.util.AbstractList.add(libgcj.so.10) > [java] at java.util.AbstractList.add(libgcj.so.10) > [java] at com.google.appengine.tools.KickStart.(KickStart.java:78) > [java] at com.google.appengine.tools.KickStart.main(KickStart.java:65) > > BUILD FAILED > /home/jayati/Documents/GoogleTools/appengine-java-sdk-1.3.4/demos/ > Guestbook/nbproject/ant-deploy.xml:29: The following error occurred > while executing this line: > /home/jayati/Documents/GoogleTools/appengine-java-sdk-1.3.4/config/ > user/ant-macros.xml:31: Java returned: 1 > > I am using NB 6.8 and have downloaded the latest plug in for App > engine. I was trying to deploy the sample guestbook Google Web Toolkit > application on local App Engine Server. The guestbook when run from > the command line works fine. But when the same guestbook is run > through Netbeans, shows this error. Could you help me? > > -- > 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. > > -- 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: Servlet filter does not work POST
I found out that POST filters only don't work if the post request comes from an _ah/upload request. On Jun 23, 1:24 pm, Mouseclicker wrote: > HI, > > is there any reason (or known issue) that a configured servlet filter > is only called for GET requests? > > With the filters something was fixed for 1.3.3.1 release, but I am > using 1.3.4. It still does not seem to work (used the local dev > server). -- 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 @ 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: Servlet filter does not work POST
No filters do work with POST requests at 1.3.4 On Jun 23, 4:24 am, Mouseclicker wrote: > HI, > > is there any reason (or known issue) that a configured servlet filter > is only called for GET requests? > > With the filters something was fixed for 1.3.3.1 release, but I am > using 1.3.4. It still does not seem to work (used the local dev > server). -- 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] Netbeans Support for App Engine. Error encountered.
http://rocky.developerblogs.com/tutorials/getting-started-google-app-engine-netbeans/ I did all that was mentioned in this tutorial but am repeatedly getting this error. [java] Exception in thread “main” java.lang.UnsupportedOperationException [java] at java.util.AbstractList.add(libgcj.so.10) [java] at java.util.AbstractList.add(libgcj.so.10) [java] at com.google.appengine.tools.KickStart.(KickStart.java:78) [java] at com.google.appengine.tools.KickStart.main(KickStart.java:65) BUILD FAILED /home/jayati/Documents/GoogleTools/appengine-java-sdk-1.3.4/demos/ Guestbook/nbproject/ant-deploy.xml:29: The following error occurred while executing this line: /home/jayati/Documents/GoogleTools/appengine-java-sdk-1.3.4/config/ user/ant-macros.xml:31: Java returned: 1 I am using NB 6.8 and have downloaded the latest plug in for App engine. I was trying to deploy the sample guestbook Google Web Toolkit application on local App Engine Server. The guestbook when run from the command line works fine. But when the same guestbook is run through Netbeans, shows this error. Could you help me? -- 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] java.lang.NoClassDefFoundError: org/apache/log4j/xml/DOMConfigurator
Deployed a minor change to my app and got this error. No dependencies changed in my pom. C 06-24 09:19AM 49.700 Uncaught exception from servlet java.lang.NoClassDefFoundError: org/apache/log4j/xml/DOMConfigurator at org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.java: 70) at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java: 152) at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java: 47) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java: 548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) 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 com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java: 191) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java: 168) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: 123) at com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: 250) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:5838) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:5836) at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java: 24) at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: 398) at com.google.net.rpc.impl.Server$2.run(Server.java:852) at com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java: 56) at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java: 576) at com.google.net.rpc.impl.Server.startRpc(Server.java:807) at com.google.net.rpc.impl.Server.processRequest(Server.java:369) at com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java: 442) at com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java: 319) at com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java: 290) at com.google.net.async.Connection.handleReadEvent(Connection.java: 474) at com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java: 831) at com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java: 207) at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: 103) at com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java: 251) at com.google.apphosting.runtime.JavaRuntime $RpcRunnable.run(JavaRuntime.java:413) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.log4j.xml.DOMConfigurator at com.google.appengine.runtime.Request.process-2f45e0fa3a38edf7(Request.java) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 32 more # I 06-24 09:19AM 49.705 This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. -- 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] Key command to restart dev server in eclipse?
Hi, I'm using eclipse for development. Is there a way we can bind restarting the dev server to a key command? I find it takes a bit of time to restart manually, especially when using a laptop trackpad! Thanks -- 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 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] Cloud based teaching system
Hello, This is Jeevan and Vijay.We are from India. We are 2010 passing out computer science engineering graduates. We worked on Google App Engine during our final year Engineering Project called "Cloud based teaching system" i.e., cloud computing technology. We are well versed with Google App Engine Technology. This is our project app. http://sdmcetcon1.appspot.com We have integrated few google resources like docs,mail,blogs etc. The objective of our project is to deliver class room content to the student through web. We are looking for some openings on Google App Enginein India, if there are any such openings please let us know. jeevan.don...@gmail.com vijay.s...@gmail.com -- 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.