[appengine-java] Wicket tabpanel gives access denied error.
When tab was switched , it gives an exception. Is there any solution for this exception? WicketMessage: Method onLinkClicked of interface org.apache.wicket.markup.html.link.ILinkListener targeted at component [MarkupContainer [Component id = link]] threw an exception Root cause: *java.security.AccessControlException: access denied (java.io.SerializablePermission enableSubstitution) 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:166) at java.io.ObjectOutputStream.enableReplaceObject(ObjectOutputStream.java:592)* at org.apache.wicket.util.lang.Objects$ReplaceObjectOutputStream.(Objects.java:183) at org.apache.wicket.util.lang.Objects$ReplaceObjectOutputStream.(Objects.java:174) at org.apache.wicket.util.lang.Objects.cloneModel(Objects.java:461) at org.apache.wicket.version.undo.ModelChange.(ModelChange.java:103) at org.apache.wicket.version.undo.ChangeList.componentModelChanging(ChangeList.java:64) at org.apache.wicket.version.undo.UndoPageVersionManager.componentModelChanging(UndoPageVersionManager.java:123) at org.apache.wicket.Page.componentModelChanging(Page.java:1598) at org.apache.wicket.Component.modelChanging(Component.java:2206) at org.apache.wicket.Component.setDefaultModelObject(Component.java:3046) at org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.setSelectedTab(TabbedPanel.java:338) at com.chrome.demo.wf.page.OrderPage$3.setSelectedTab(OrderPage.java:54) at org.apache.wicket.extensions.markup.html.tabs.TabbedPanel$5.onClick(TabbedPanel.java:319) at org.apache.wicket.markup.html.link.Link.onLinkClicked(Link.java:224) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:182) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:352) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) at
[appengine-java] No Quota Reset today
Hello, my apps should have had a quota reset 1 hour ago. It says now: "Next reset in 23 hours". But no reset has taken place during the last hour at all. What's wrong? Henning www.study-hebrew-online.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.
[appengine-java] Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
Hi, I've got a strange problem with (I believe) my servlet mapping. I'm trying to map all requests for "/mountain/*" to a JSP file called "mountain.jsp". It works fine when I run it on my localhost, but when I upload the project to AppEngine, I get errors like the following: /mountain/5429370/index.html/index.html/index.html/index.html/ index.html/index.html/index.html/index.html/...etc The "/index.html" is repeated over and over until Chrome gives me the following error: "Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects." Chrome suggests clearing the cookies for the site, but I there are no cookies to clear. Here is my web.xml: http://java.sun.com/dtd/web-app_2_3.dtd";> mountain mountain.jsp mountain /mountain/* PeakPeekSite.html Has anyone seen this problem or understand what is going on? Thanks much, Chris -- 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] Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
Your JSP file should be not a relative path but absolute, i.e. */absoulute/path/to/*mountain.jsp 2010/3/16 Chris > Hi, > > I've got a strange problem with (I believe) my servlet mapping. I'm > trying to map all requests for "/mountain/*" to a JSP file called > "mountain.jsp". It works fine when I run it on my localhost, but when > I upload the project to AppEngine, I get errors like the following: > > /mountain/5429370/index.html/index.html/index.html/index.html/ > index.html/index.html/index.html/index.html/...etc > > The "/index.html" is repeated over and over until Chrome gives me the > following error: > "Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many > redirects." > > Chrome suggests clearing the cookies for the site, but I there are no > cookies to clear. > > Here is my web.xml: > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" >"http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > mountain > mountain.jsp > > > > mountain > /mountain/* > > > > >PeakPeekSite.html > > > > > Has anyone seen this problem or understand what is going on? > > Thanks much, > Chris > > -- > 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] Too many open files
I believe this is something that needs attention of the App Engine Team. My webapp was working fine for months, but a few days ago one of the pages started to report server error with logs like this one: Uncaught exception from servlet java.io.FileNotFoundException: /base/data/home/apps/myapp/1.340488091741834760/inc/somefile.txt (Too many open files) This page is different from the others only in the way of using a few jsp:include tags, and it is quite popular too. I've read around and found a reasonable suggestion that a problem like this can happen because of a faulty Jasper implementation - the tag handler doesn't close the file properly. Simple redeployment of the webapp resolved the problem, but today it has appeared again. My guess is that about a week ago some new version of the App Engine was deployed, and it uses a faulty Jasper. I wonder if it can be fixed? This server error on the most popular page doesn't do anything good for my webapp. Thanks, Alex On Tue, Mar 16, 2010 at 7:54 AM, Henning wrote: > Hello, > > my apps should have had a quota reset 1 hour ago. It says now: "Next > reset in 23 hours". But no reset has taken place during the last hour > at all. > > What's wrong? > > Henning > > www.study-hebrew-online.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. > > -- 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: No Quota Reset today
Finally I got a reset 1.5 hours late. Henning www.studyhebrewonline.com On 16 Mrz., 08:54, Henning wrote: > Hello, > > my apps should have had a quota reset 1 hour ago. It says now: "Next > reset in 23 hours". But no reset has taken place during the last hour > at all. > > What's wrong? > > Henning > > www.study-hebrew-online.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.
Re: [appengine-java] Re: Text type and the Development console viewer
@Persistent(serialized="true", defaultFetchGroup="true") private Text content; public String getContent() { return content.getValue(); } public void setContent(String content) { this.content = new Text(content); } 2010/3/16 rissen > ... > String content = "some string"; > Text text = new Text(content); > Syetem.out.println(text); > Syetem.out.println(text.getValue()); > > the console out: > > some string > > so if you want display the Text field on Jsp pages, u should > use .getValue method like this <%=text.getValue()%> > > > > > > On 2月27日, 上午9时48分, John Howe wrote: > > I don't see the Text fields of persisted objects when listing the > entities > > from the Development Console. E.g., using JDO, I have Text field "foo", > as > > declared below: > > > > @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = > > "true") > > public class LocationData implements Serializable { > > ... > > @Persistent(defaultFetchGroup = "true") > > Text foo; > > ... > > > > Should I expect the viewer to display the contents of "foo", or should I > > assume that the viewer simply does not list it since it may be (and > actually > > is) quite long (>500 char)? > > -- > 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. > > -- dream or truth -- 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: Best way to perform search on DataStore - Design Question
haha, up to now,i use compass okay! On Tue, Mar 16, 2010 at 8:53 AM, objectuser wrote: > I think there are a lot of posts here that conclude Compass is not > viable. Has that changed? > > On Mar 15, 12:23 am, yjun hu wrote: > > you can try compass to make you project searchable. a simple demo > herehttp://hapeblog.appspot.com/blog.shtml?id=7002 > > > > On Sun, Mar 14, 2010 at 8:36 PM, John Patterson >wrote: > > > > > > > > > Interesting to see the existence protected > Query.setFullTextSearch(String) > > > method when you open the Query class in Eclipse. I suppose it won't be > too > > > far away. I can't wait to see if they just give us a > take-it-or-leave-it > > > solution or also the tools required to roll your own. > > > > > On 14 Mar 2010, at 15:05, Robert Lancer wrote: > > > > > Haha, like many of us you probably thought that GOOGLE app engine > > >> would have decent text search capabilities. > > > > >> It looks like your doing all you can do by creating the inverse table, > > >> you may just want to star > > >>http://code.google.com/p/googleappengine/issues/detail?id=217 > > > > >> On Mar 13, 8:59 pm, niraj wrote: > > > > >>> My case: > > >>> I am building a website that has several searchable fields from > > >>> various entities (example Artist names from artist entity , Album > > >>> names from album entity). To have an efficient search capability I > > >>> have defined another Entity - SearchType which carries the Searchable > > >>> string and the Foreign key to the Entity. Instead of querying all the > > >>> Entities one my one - I query SearchType. > > > > >>> My preliminary tests indicate that the query performance on > > >>> SearchType is not great (the names are indexed) . I need google > > >>> suggest like quick results in a drop down. What is the best way to > > >>> design this. > > > > >>> I have considered Memcache , but I dont think I can run queries on > > >>> Memcache . i.e I am running a startsWith() query on JDO today. > > > > >>> Any best practices . > > > > >> -- > > >> 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. > > > > -- > > dream or truth > > -- > 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. > > -- dream or truth -- 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: how to save binary data in JDO
upload image into datastore,and display on webpage here http://www.hapeblog.com/blog.shtml?id=2002 2010/3/15 rissen > In my app , I upload image file by Apache Commons FileUpload and save > it in datastore, then get the binary data from the datastore and > display the image in serlvet. > the detail : http://mimaiji.appspot.com/article?method=view&id=9001 > > > > > > On 3月2日, 下午11时37分, Valentino Hankypants wrote: > > hi jake, > > > > thanks for your replies. > > in my case i have jsp-page with a form. the user should have the > > possibility to select a file. i used the > name="test"> directive from html. > > after the user selected a file, he clicks a button. by clicking this > > button the binary data of the selected file should be read and saved > > in a blob in the GAE storage. > > afterwards i'll give the user the possibility to open the uploaded > > file by clicking a link... > > > > therefore, should i use this gaevfs or not? > > > > up to now my major problem is, how can i get the binary data from the > > form in my servlet class where i handle the form actions? i got all > > other informations by HttpServletRequest.getParameter("test"); > > > > greatz and hoping for some help ;-) > > flo > > > > On 2 Mrz., 15:24, Jake wrote: > > > > > You're not limited to 1MB - you're just limited to using 1MB > > > entities. The GAEVFS link I sent you implies that it's files can span > > > multiple entities. As Mrityunjay stated, though, large storage > > > requires payment. See the quotas for details: > http://code.google.com/appengine/docs/quotas.html > > > > > Jake > > > > > On Mar 1, 12:43 pm, Valentino Hankypants wrote: > > > > > > so i only can upload binary data up to 1 MB? > > > > any possibility to upload binary data with GBs? > > > > > > greatz > > > > > > On 1 Mrz., 18:36, Jake wrote: > > > > > > > Hey, > > > > > > > Saving binary data to the datastore isn't too difficult - you can > just > > > > > use a Blob type and ensure that you don't break the 1MB capacity of > a > > > > > single entity. You can see my class declaration below. The "hard" > > > > > part is converting a file upload to a byte[] and then from a byte[] > > > > > back into what you would consider a "downloadable" file. That > > > > > depends, somewhat, on your implementation. For example, I use the > > > > > Wicket architecture and all I need to do is > > > > > > > FileUpload f = fileUploadField.getFileUpload(); > > > > > BinaryFileData b = new BinaryFileData(f.getBytes()); > > > > > pm.makePersistent(b); > > > > > > > I presume you are not using Wicket, but some other framework. > You'll > > > > > need to look into how it handles file uploads. > > > > > > > You may also find this interesting: > http://code.google.com/p/gaevfs/ > > > > > I haven't used it, but it skips the whole byte[] thing entirely. > > > > > > > Jake > > > > > > > @PersistenceCapable(identityType = IdentityType.APPLICATION) > > > > > public class BinaryFileData implements Serializable { > > > > > > > private static final long serialVersionUID = 1L; > > > > > > > @PrimaryKey > > > > > @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) > > > > > private Key key; > > > > > > > @Persistent > > > > > private String name; > > > > > > > @Persistent > > > > > private String mimeType; > > > > > > > @Persistent(defaultFetchGroup="true") > > > > > private Blob data; > > > > > > > public BinaryFileData(byte[] bytes) { > > > > > this.data = new Blob(bytes); > > > > > } > > > > > > > public byte[] getData() { > > > > > return data.getBytes(); > > > > > } > > > > > > > public void setData(byte[] d) { > > > > > this.data = new Blob(d); > > > > > } > > > > > > > } > > > > > > > On Mar 1, 11:25 am, Valentino Hankypants wrote: > > > > > > > > hello together, > > > > > > > > i started working with the app engine some days ago, and now i > want to > > > > > > save some binary data (pdf, etc.) from my app (eg by clicking a > > > > > > button) in the storage system. > > > > > > > > anybody who can help me doing this? (tutorials, etc.) > > > > > > > > greatz > > > > > > flo > > -- > 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. > > -- dream or truth -- 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 m
[appengine-java] Re: Best way to perform search on DataStore - Design Question
I am using compass as well and it works fine. The indexing part is costly and you might need to do task queue if you reindex large amount of data. Starting the search manager is slow and it happens a lot due to the suspend policy. You can also take a look at this project: http://code.google.com/p/gaelucene/ I hope there will be a native solution by GAE one day (is there an issue to vote for?) On Mar 16, 10:21 am, yjun hu wrote: > haha, up to now,i use compass okay! > > > > > > On Tue, Mar 16, 2010 at 8:53 AM, objectuser wrote: > > I think there are a lot of posts here that conclude Compass is not > > viable. Has that changed? > > > On Mar 15, 12:23 am, yjun hu wrote: > > > you can try compass to make you project searchable. a simple demo > > herehttp://hapeblog.appspot.com/blog.shtml?id=7002 > > > > On Sun, Mar 14, 2010 at 8:36 PM, John Patterson > >wrote: > > > > > Interesting to see the existence protected > > Query.setFullTextSearch(String) > > > > method when you open the Query class in Eclipse. I suppose it won't be > > too > > > > far away. I can't wait to see if they just give us a > > take-it-or-leave-it > > > > solution or also the tools required to roll your own. > > > > > On 14 Mar 2010, at 15:05, Robert Lancer wrote: > > > > > Haha, like many of us you probably thought that GOOGLE app engine > > > >> would have decent text search capabilities. > > > > >> It looks like your doing all you can do by creating the inverse table, > > > >> you may just want to star > > > >>http://code.google.com/p/googleappengine/issues/detail?id=217 > > > > >> On Mar 13, 8:59 pm, niraj wrote: > > > > >>> My case: > > > >>> I am building a website that has several searchable fields from > > > >>> various entities (example Artist names from artist entity , Album > > > >>> names from album entity). To have an efficient search capability I > > > >>> have defined another Entity - SearchType which carries the Searchable > > > >>> string and the Foreign key to the Entity. Instead of querying all the > > > >>> Entities one my one - I query SearchType. > > > > >>> My preliminary tests indicate that the query performance on > > > >>> SearchType is not great (the names are indexed) . I need google > > > >>> suggest like quick results in a drop down. What is the best way to > > > >>> design this. > > > > >>> I have considered Memcache , but I dont think I can run queries on > > > >>> Memcache . i.e I am running a startsWith() query on JDO today. > > > > >>> Any best practices . > > > > >> -- > > > >> 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 > > >> unsubscr...@googlegroups.com> > > > %252bunsubscr...@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 > > > unsubscr...@googlegroups.com> > > > %252bunsubscr...@googlegroups.com> > > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-appengine-java?hl=en. > > > > -- > > > dream or truth > > > -- > > 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 > unsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > dream or truth -- 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] Please fix the buggy Jasper
Dear App Engine team, Could you please fix the buggy Jasper that keeps causing the 'Too many open files' problem when jsp:include is used on the page. This problem didn't happen for months before, but it happened a few days ago, now it reappeared after just one hour. Please fix it. Thanks, Alex -- 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] Blobstore upload callback without a redirect?
Hi, Don't know if it helps but we have a servlet that processes the fileupload and then redirects to another servlet with /some/code And that servlet is the one responding to the form just by writing a JSON string on the writer. In the FormCompleteHandler you can parse the JSON or check for errors. 2010/3/15 fletcher > Hello - > > I'm trying to create a file upload form that writes to Blobstore. > Let's say my form has two inputs, one of type file, and another, of > type text. We'll call the text input the Caption. When the form gets > submitted via an XMLHttpRequest from Javascript, I want to be able to > say there was a problem with the Caption without having to refresh or > redirect the page. Is there any way to do this on App Engine? Or do I > need to split up my ajaxy forms and my file upload forms? > > -- > 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: it's terrible slow when loading resource files
hi, The average ping time is as the following: Reply from 72.14.203.141: bytes=32 time=96ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=94ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=99ms TTL=51 Reply from 72.14.203.141: bytes=32 time=98ms TTL=51 Reply from 72.14.203.141: bytes=32 time=97ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=97ms TTL=51 Reply from 72.14.203.141: bytes=32 time=98ms TTL=51 It looks like just normal. I found the page initialize spent time is quite different on different browsers. My testing behavior is always press "F5" to reload the page. The spent time compare is as the following: Firefox 3.6 < IE 8 << Chrome 4.1 = Safari 4.04 Safari & Chrome is very very very very very SLOW to initialize the page. The average spent time is about 10~14 seconds when page reload. Firefox just spent 3~4 seconds to finish initialize the page. Even IE8 (spent 5 ~ 6 seconds) is faster than Chrome and Safari, very strange... ( In my memory, IE should be the worst browser of them. ) For a normal web service, a page init time should not over 3 seconds I think. Any suggestions? BTW, If I set billing to add "Bandwidth Out" resource will improve the server response time? The reason why I choose to deploy on Google App Engine is that I think the server response and performance should be extremely fast like other Google web services. But the result is quite different as I wonder. :((( On 3月16日, 上午1時54分, Don Schwarz wrote: > It looks like your files are taking about 400ms each, which may not be that > bad depending on where you are located relative to App Engine's datacenters. > What's an average ping time to your application's appspot.com page? > > I believe that the beige bars in the graph are time spent waiting due to > your browser's per-host connection limit. You should try something like > YSlow (http://developer.yahoo.com/yslow/) for advice on how to concatenate > CSS and JS files, merge images, etc. > > > > On Mon, Mar 15, 2010 at 7:43 AM, firestoke wrote: > > hi, > > > I write a HTML page that use many jQuery plugins and AJAX call. And I > > import many css and js files in this page. After I deploy it on Google > > App Engine server and testing. > > It's terrible slow when page initialize. See this firebug screenshot, > > you will know what I am talking about. > >http://picasaweb.google.com/davidhung168/UntitledAlbum#54488373827239... > > > is it because the Java version of app engine still on BETA? > > BTW, I didn't use billing yet. > > > -- > > 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 > 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: Discussion on will-it-play-in-app-engine
thank you Chau for your fast reply, but I already looked in there, and the mentioned version (1.2.28) doesn't exist in the struts official web page or any known public maven2 repository, that is why I raised my question here. Any help would be appreciated. I also thought that maybe the version was wrong, and maybe it just needs a correction on the version number. thanks in advance! On Mar 15, 11:54 pm, Chau Huynh wrote: > Hi, > The struts binaries can be found on Struts download > page:http://struts.apache.org/download.cgi > Although it's quite a bit difficult to find on Struts 1 page...On Tue, Mar > 16, 2010 at 4:28 AM, eldandi wrote: > > Hi, I was wondering if someone could please add a link to the download > > page of the struts 1.2.28 version, as I find it very hard to find and > > I see that most of the other supported frameworks have their own > > links. > > > 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 > 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] java.io.IOException: Could not fetch URL problem and google spreadsheet api
Hi, guys. When my application trying to put user credentials into spreadsheet service, I've got this exception: com.google.gdata.util.AuthenticationException: Error connecting with login URI at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java: 479) at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java: 336) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java: 362) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java: 317) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java: 301) Caused by: java.io.IOException: Could not fetch URL: https://www.google.com/accounts/ClientLogin at com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java: 106) at com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java: 39) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.fetchResponse(URLFetchServiceStreamHandler.java:404) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.getInputStream(URLFetchServiceStreamHandler.java:283) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.getResponseCode(URLFetchServiceStreamHandler.java:136) at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(GoogleAuthTokenFactory.java: 550) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java: 477) I'm using Eclipse Plug-In and GAE SDK v1.3.1. Also, I was trying my code with version 1.3.0 and 1.2.9. And I can tell you that this happens only with development server, error disappears on production server. That's point - I can't even do any debugging stuff. So, could you give me any feedback on this issue? Best regards, Alexander. -- 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: Cannot Install Plugin
Hi, Can you tell me exactly which JEE distribution you downloaded? I'd like to see if I can reproduce the error locally. Rajeev On Mon, Mar 15, 2010 at 11:54 AM, the.cologne wrote: > > > On 15 Mrz., 10:30, Rajeev Dayal wrote: > Hi, > > I tried that already. I got it working finally, I used the Java > Eclipse Distribution instead of JEE Distribution. Now the plugin > installed fine. I even loaded down a new JEE Distribution, in that > environment the error is reproducable. > > Thanks and regards, > Thomas > > Hi, > > > > Can you try removing the Google Update Site from your list of update > sites > > in Eclipse? Then, restart Eclipse, and go back in and re-add it. See if > that > > helps. > > > > Rajeev > > > > On Fri, Mar 12, 2010 at 4:20 PM, the.cologne > wrote: > > > Hi, > > > > > I'd like to try out the App Engine and set up a fresh Eclipse 3.5 > > > Install with a clean workspace. > > > > > But when I try to install the plugin I recieve the following error > > > message: > > > eclipse.buildId=unknown > > > java.version=1.6.0_17 > > > java.vendor=Sun Microsystems Inc. > > > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE > > > Framework arguments: -product org.eclipse.epp.package.jee.product > > > Command-line arguments: -os win32 -ws win32 -arch x86 -product > > > org.eclipse.epp.package.jee.product > > > > > Error > > > Fri Mar 12 22:15:00 CET 2010 > > > No repository found containing: > > > > org.eclipse.update.feature,com.google.gwt.eclipse.sdkbundle.e35.feature. > > > 2.0.3,2.0.3.v201002191036 > > > > > Any thoughts or hints? > > > > > Thanks, > > > Thomas > > > > > -- > > > 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 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. > > -- 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: Discussion on will-it-play-in-app-engine
Hi, I looked in archive link (http://archive.apache.org/dist/struts/binaries/) and I could not find the version 1.2.28 as Google document, might be 1.2.8? (How embarrassed I did not read your message appropriately). On Tue, Mar 16, 2010 at 8:26 PM, eldandi wrote: > thank you Chau for your fast reply, but I already looked in there, and > the mentioned version (1.2.28) doesn't exist in the struts official > web page or any known public maven2 repository, that is why I raised > my question here. Any help would be appreciated. I also thought that > maybe the version was wrong, and maybe it just needs a correction on > the version number. > > thanks in advance! > > On Mar 15, 11:54 pm, Chau Huynh wrote: > > Hi, > > The struts binaries can be found on Struts download page: > http://struts.apache.org/download.cgi > > Although it's quite a bit difficult to find on Struts 1 page...On Tue, > Mar 16, 2010 at 4:28 AM, eldandi wrote: > > > Hi, I was wondering if someone could please add a link to the download > > > page of the struts 1.2.28 version, as I find it very hard to find and > > > I see that most of the other supported frameworks have their own > > > links. > > > > > 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 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. > > -- 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] Too many open files
On Tue, Mar 16, 2010 at 4:01 AM, Alexander Kolesnikov wrote: > I believe this is something that needs attention of the App Engine Team. > > My webapp was working fine for months, but a few days ago one of the pages > started to report server error with logs like this one: > > Uncaught exception from servlet > java.io.FileNotFoundException: > /base/data/home/apps/myapp/1.340488091741834760/inc/somefile.txt (Too many > open files) > > > This page is different from the others only in the way of using a few > jsp:include tags, and it is quite popular too. I've read around and found a > reasonable suggestion that a problem like this can happen because of a > faulty Jasper implementation - the tag handler doesn't close the file > properly. > Do you have a link to a bug / issue in a tracker or a page that describes this fault (and which versions of Jasper it might be in)? > > Simple redeployment of the webapp resolved the problem, but today it has > appeared again. My guess is that about a week ago some new version of the > App Engine was deployed, and it uses a faulty Jasper. > > I wonder if it can be fixed? This server error on the most popular page > doesn't do anything good for my webapp. > > Thanks, > > Alex > > > On Tue, Mar 16, 2010 at 7:54 AM, Henning wrote: > >> Hello, >> >> my apps should have had a quota reset 1 hour ago. It says now: "Next >> reset in 23 hours". But no reset has taken place during the last hour >> at all. >> >> What's wrong? >> >> Henning >> >> www.study-hebrew-online.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. >> >> > -- > 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.
Re: [appengine-java] Re: it's terrible slow when loading resource files
On Tue, Mar 16, 2010 at 8:04 AM, firestoke wrote: > hi, > > The average ping time is as the following: > Reply from 72.14.203.141: bytes=32 time=96ms TTL=51 > Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 > Reply from 72.14.203.141: bytes=32 time=94ms TTL=51 > Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 > Reply from 72.14.203.141: bytes=32 time=99ms TTL=51 > Reply from 72.14.203.141: bytes=32 time=98ms TTL=51 > Reply from 72.14.203.141: bytes=32 time=97ms TTL=51 > Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 > Reply from 72.14.203.141: bytes=32 time=97ms TTL=51 > Reply from 72.14.203.141: bytes=32 time=98ms TTL=51 > > Hmm, interesting. What about doing something like 'time curl http://yourapp.appspot.com/.../a-small-file' ? Also, you mentioned resource files. Just to confirm, are you talking about serving static files, or are you serving these files (and doing the 304 handling) yourself with Java code? If you send me your app id privately I can double-check this for you. > It looks like just normal. I found the page initialize spent time is > quite different on different browsers. > My testing behavior is always press "F5" to reload the page. The spent > time compare is as the following: > > Firefox 3.6 < IE 8 << Chrome 4.1 = Safari 4.04 > > Safari & Chrome is very very very very very SLOW to initialize the > page. The average spent time is about 10~14 seconds when page reload. > Firefox just spent 3~4 seconds to finish initialize the page. Even IE8 > (spent 5 ~ 6 seconds) is faster than Chrome and Safari, very > strange... ( In my memory, IE should be the worst browser of them. ) > For a normal web service, a page init time should not over 3 seconds I > think. Any suggestions? > Have you tried YSlow or something equivalent? That may be useful. > BTW, If I set billing to add "Bandwidth Out" resource will improve the > server response time? > > No. We don't do any throttling of bandwidth. > The reason why I choose to deploy on Google App Engine is that I think > the server response and performance should be extremely fast like > other Google web services. > But the result is quite different as I wonder. :((( > > > On 3月16日, 上午1時54分, Don Schwarz wrote: > > It looks like your files are taking about 400ms each, which may not be > that > > bad depending on where you are located relative to App Engine's > datacenters. > > What's an average ping time to your application's appspot.com page? > > > > I believe that the beige bars in the graph are time spent waiting due to > > your browser's per-host connection limit. You should try something like > > YSlow (http://developer.yahoo.com/yslow/) for advice on how to > concatenate > > CSS and JS files, merge images, etc. > > > > > > > > On Mon, Mar 15, 2010 at 7:43 AM, firestoke wrote: > > > hi, > > > > > I write a HTML page that use many jQuery plugins and AJAX call. And I > > > import many css and js files in this page. After I deploy it on Google > > > App Engine server and testing. > > > It's terrible slow when page initialize. See this firebug screenshot, > > > you will know what I am talking about. > > >http://picasaweb.google.com/davidhung168/UntitledAlbum#54488373827239. > .. > > > > > is it because the Java version of app engine still on BETA? > > > BTW, I didn't use billing yet. > > > > > -- > > > 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 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. > > -- 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] GAE Java + Authsub + GData
Hi - My App Engine Java application is restricted to a Google Apps domain. Users are authenticated in my application using the App Engine UserService. How do I obtain a AuthSub session token for the user that is already logged into my application to push data into a spreadsheet in his Google Apps account? The following URL talks about GData access from GAE Python. How can this be achieved in the Java version? http://code.google.com/appengine/articles/gdata.html Thanks, s8 -- 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] Discussion sur will-it-play-in-app-engine
Hi, I don't find puremvc4gwt in this list. Is it compatible ? Is it possible to use this framework on GAE ? 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: Cryptography on App Engine
That works, but it's limited in strangth : you won't be able to use keys longer than 128 bits. I opened an issue to install the policy files in order to enable strong cryptography : http://code.google.com/p/googleappengine/issues/detail?id=2889 On 12 mar, 21:06, Spines wrote: > I ended up just using javax.Crypto. If I try out bouncy castle in the > future I'll post the results here. > > On Mar 12, 10:24 am, "Ikai L (Google)" wrote: > -- 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: Discussion on will-it-play-in-app-engine
haha, ok, no problem! so now the question is: is the struts version 1.2.2 or 1.2.8 or 1.2.28 (which is a strange build not known by the apache people :P haha)? should the document be corrected with the correct version or a link added to the mysterious build? who chould we tell about this? On Mar 16, 12:27 pm, Chau Huynh wrote: > Hi, > I looked in archive link (http://archive.apache.org/dist/struts/binaries/) > and I could not find the version 1.2.28 as Google document, might be 1.2.8? > (How embarrassed I did not read your message appropriately). > > On Tue, Mar 16, 2010 at 8:26 PM, eldandi wrote: > > thank you Chau for your fast reply, but I already looked in there, and > > the mentioned version (1.2.28) doesn't exist in the struts official > > web page or any known public maven2 repository, that is why I raised > > my question here. Any help would be appreciated. I also thought that > > maybe the version was wrong, and maybe it just needs a correction on > > the version number. > > > thanks in advance! > > > On Mar 15, 11:54 pm, Chau Huynh wrote: > > > Hi, > > > The struts binaries can be found on Struts download page: > >http://struts.apache.org/download.cgi > > > Although it's quite a bit difficult to find on Struts 1 page...On Tue, > > Mar 16, 2010 at 4:28 AM, eldandi wrote: > > > > Hi, I was wondering if someone could please add a link to the download > > > > page of the struts 1.2.28 version, as I find it very hard to find and > > > > I see that most of the other supported frameworks have their own > > > > links. > > > > > 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 > 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. -- 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] Discussion sur will-it-play-in-app-engine
Yes, we are using PureMVC for Java with GWT and it's working fine. On Tue, Mar 16, 2010 at 7:37 AM, Cédric B. wrote: > Hi, > I don't find puremvc4gwt in this list. Is it compatible ? Is it > possible to use this framework on GAE ? > 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. > > -- - José M. Saldaña M. Software Developer 6942 7906 -- 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] Why do custom indexes require single-property indexes?
On Mon, Mar 15, 2010 at 11:04 PM, John Patterson wrote: > > On 16 Mar 2010, at 12:25, Jeff Schnitzer wrote: > >> I'm puzzled by the behavior of custom indexes. I have a simple test >> case below, a simple equality filter on one property combined with a >> descending sort on another property. If I set the properties with >> setUnindexedProperty(), the query fails to find the result. If I set >> the properties with setProperty(), it does. > > I also wondered why - I assume that the custom index build reads the single > property indexes directly which must be more efficient than reading the > Entities "table". I guess that is possible, but seems like a poor design decision. It makes adding custom indexes after-the-fact really, really painful. Can someone official chime in on this? Is it intended behavior, or should we file an issue against it? The documentation doesn't say much on the subject, and all the conceptual explanation of queries suggests that these extra single-property indexes will be unused. Jeff -- 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] JDO - PM object 'involvement' in transaction
I am seeing some transaction-related behavior, using JDO and GAE 1.3.1, that puzzles me. I get an exception if I do something like the following. All entities below are in (their own) separate entity groups: PersistenceManager pm = PMF.get().getPersistenceManager(); //... fetch entity a1 of kind A, modify a1... // create or update several instances of kind 'B' in sep. transactions // (none share an entity group) for (String i: coll) { Transaction tx = pm.currentTransaction(); tx.begin(); //... create or update instance i of kind B, make persistent tx.commit(); } // ... pm.close(); Each transaction only includes work on a single entity (of kind B). However, the transactions throw the "can't operate on multiple entity groups in a single transaction" exception with respect to kinds A and B. Note that entity a1 was NOT actually part of any transactional activity but *was* accessed first as part of the PersistenceManager session. When I use a second different PersistenceManager session for the series of transactions (and make no other code mods), all is well. e.g.: PersistenceManager pm = PMF.get().getPersistenceManager(); //... fetch entity A1 of kind A, modify A1... PersistenceManager pm2 = PMF.get().getPersistenceManager(); for (String i: coll) { Transaction tx = pm2.currentTransaction(); tx.begin(); //... create or update instance i of kind B, make persistent tx.commit(); } pm2.close(); // ... pm.close(); Here, each of the different instances of kind B are in their own individual entity group, but the series of transactions can share a PersistenceManager session without error. But, sharing a PersistenceManager session with the entity of kind A was problematic. Is it that one can't 'mix' transactions and non- transactional operations in the same PersistenceManager session? -- 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: Blobstore upload callback without a redirect?
Ah that sounds like it might be what I'm looking for. Do you have to do anything special to ensure the POST parameters get redirected as well? Or can I just do a request.sendRedirect from the file upload servlet to the form processing servlet? On Mar 16, 3:39 am, bimbo jones wrote: > Hi, > > Don't know if it helps but we have a servlet that processes the fileupload > and then redirects to another servlet with /some/code > And that servlet is the one responding to the form just by writing a JSON > string on the writer. > In the FormCompleteHandler you can parse the JSON or check for errors. > > 2010/3/15 fletcher > > > Hello - > > > I'm trying to create a file upload form that writes to Blobstore. > > Let's say my form has two inputs, one of type file, and another, of > > type text. We'll call the text input the Caption. When the form gets > > submitted via an XMLHttpRequest from Javascript, I want to be able to > > say there was a problem with the Caption without having to refresh or > > redirect the page. Is there any way to do this on App Engine? Or do I > > need to split up my ajaxy forms and my file upload forms? > > > -- > > 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] DeadlineExceededException and Spring initialization
Hi, I'm having problems with my web application initialization process and the 30s per request limit. So I wonder what does everybody else do in this situation, because I think it should be quite common to everyone using GAE with Spring. First of all, sometimes, the delay between the request being accepted by the server, and the application being called sums up to several seconds. For example, here is a log, in which the application is being started, and the GAE waits 16 seconds to start my application from the moment the request has been received 03-12 07:47PM 22.698 / 500 30232ms 23651cpu_ms 65api_cpu_ms 0kb Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1),gzip(gfe),gzip(gfe) 58.61.164.40 - - [12/Mar/2010:19:47:52 -0800] "GET / HTTP/1.1" 500 0 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1),gzip(gfe),gzip(gfe)" "" I 03-12 07:47PM 38.041 javax.servlet.ServletContext log: Initializing Spring root WebApplicationContext So, that leaves my application 15s to initialize and handle the request. Something easy in my local computer, but rather difficult in GAE, don't know why. Is there a way to improve this? Why does it happen? Why is so big the delay?? It bothers me, in other situations too; when I wan to improve my app total request/second capability. I have, on one side the 30 simultaneous request limit, and the time a request takes to complete. My second concern, is how to improve spring startup time. We tried setting default-lazy-init=true; also we have 2 servlets, and we set web.xml: to false. But we are still receiving the DeadlineExceededException sometimes. Any ideas or strategies to improve the startup time?? Finally, I was wondering if it is possible to handle within spring the DeadlineExceededException, and show a nicer error page. Is it enough to use the Spring HandlerExceptionResolver mechanism? Or maybe GAE won't give enough time to finish the exception processing? Any help or ideas will be greatly appreciated!!! Thanks in advance Mariano -- 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: Blobstore upload callback without a redirect?
Hi, Haven't tried it, i can have a look at httpfox data if you still need it. 2010/3/16 fletcher > Ah that sounds like it might be what I'm looking for. Do you have to > do anything special to ensure the POST parameters get redirected as > well? Or can I just do a request.sendRedirect from the file upload > servlet to the form processing servlet? > > On Mar 16, 3:39 am, bimbo jones wrote: > > Hi, > > > > Don't know if it helps but we have a servlet that processes the > fileupload > > and then redirects to another servlet with /some/code > > And that servlet is the one responding to the form just by writing a JSON > > string on the writer. > > In the FormCompleteHandler you can parse the JSON or check for errors. > > > > 2010/3/15 fletcher > > > > > Hello - > > > > > I'm trying to create a file upload form that writes to Blobstore. > > > Let's say my form has two inputs, one of type file, and another, of > > > type text. We'll call the text input the Caption. When the form gets > > > submitted via an XMLHttpRequest from Javascript, I want to be able to > > > say there was a problem with the Caption without having to refresh or > > > redirect the page. Is there any way to do this on App Engine? Or do I > > > need to split up my ajaxy forms and my file upload forms? > > > > > -- > > > 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. > > -- 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] Google Plugin for Eclipse 1.3 is now available
Hi everyone, I'm happy to announce the release of version 1.3 of the Google Plugin for Eclipse (http://code.google.com/eclipse). This release is designed to make life easier for developers using GWT and/or App Engine alongside third-party tools. For example, we've taken the pain out of using the plugin with projects built with the ever-popular Maven build system: no more ugly hacks or workarounds, or polluted WEB-INF/lib directories! We've even added a new FAQ dedicated to Maven usage: http://code.google.com/eclipse/docs/faq.html#gwt_with_maven. We've also worked hard to make sure the plugin works well with Dynamic Web projects in Eclipse for Java EE. See the following FAQ for details on this scenario: http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee. In addition to improving third-party interoperability, we've also made the plugin more customizable and robust overall. Launch configurations now allow direct editing of generated command line arguments, and a new Errors/Warnings preference page lets you tweak the severity of any problem marker we create. We've also fixed a number of bugs related to App Engine ORM enhancement. To install the Google Plugin for Eclipse, you can find our update site URLs, along with detailed instructions, here: http://code.google.com/eclipse/docs/download.html If you're upgrading from a previous version of the plugin, you may want to consult our Upgrading the Plugin guide: http://code.google.com/eclipse/docs/updating_the_plugin.html *Note: If you installed the Google Plugin for Eclipse 1.3 Preview, be sure to remove the relevant subfolders from your /dropins folder before installing the official 1.3 release via the update site.* *Enhancements* - Configurable WAR directory to allow better integration with Eclipse for Java EE and projects built with Maven - Web Application launch configurations now display and allow editing of generated Program and VM arguments - Errors/Warnings preference page for customizing the severity of any generated problem marker - Projects can reference GWT/App Engine SDKs directly via JARs instead of through SDK library - GWT+App Engine projects automatically configured for optimal caching *Fixes* - GWT Issue 3583: Google Eclipse Plugin configuration is too strict - GWT Issue 3592: Eclipse plugin to add 'cache forever' configuration for new 'GWT + App Engine' projects - GWT Issue 3902: Allow users to configure the severity of problems reported by the eclipse plugin - App Engine Issue 1515: Eclipse plugin requires fixed location for war directory - App Engine Issue 2115: Using the @PersistenceAware annotation puts the Eclipse Enhancer in an Infinite Loop - App Engine Issue 1941: Plugin fails to enhance dependent classes on source level changes For a complete list of fixed issues, see the GWT issue tracker and App Engine issue tracker. We hope you enjoy using this new version of the Google Plugin for Eclipse for all your GWT/App Engine development needs! Let us know if you have questions or run into any issues. Thanks! Keith, on behalf of the Google Plugin for Eclipse team -- 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: it's terrible slow when loading resource files
On 3月17日, 上午1時22分, Don Schwarz wrote: > Hmm, interesting. What about doing something like 'time > curlhttp://yourapp.appspot.com/.../a-small-file'? Hi~ you mean upload a very small file and test the speed when browser only connect to it? > Also, you mentioned resource files. Just to confirm, are you talking about > serving static files, or are you serving these files (and doing the 304 > handling) yourself with Java code? If you send me your app id privately I > can double-check this for you. Yes, all imported files are static resources(image, css, js), I don't output them with Java code. But the page client will receive some data from server via AJAX call when page initialized. I will remove something from my app after I go home and upload it, for checking. And I will email you the app id privately. Thanks for your generous support!! :^) > Have you tried YSlow or something equivalent? That may be useful. Ya, I install the YSlow plugin in Firefox. From the check items, It indicate that imported files are too many. But currently, the page can't run normally without them(jQuery plugins), so I can't do anything to fix this problem. The only thing I can do is merge several small image icons to a big one, to reduce the request counts. -- 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: Spring MVC - File upload problem
HI, I used grails and I add in my applicationContext : But i always have the error java.lang.NoClassDefFoundError: java.rmi.server.UID is a restricted at org.springframework.web.multipart.commons.CommonsMultipartResolver.parseRequest(CommonsMultipartResolver.java: 155) It was like If I have not add in my applicationContext an idea ? -- 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] Pre-release 1.3.2 SDKs available
Hi Everyone. Just a quick note that we just uploaded pre-release 1.3.2 SDKs for Python and Java to our Google Code project page: http://code.google.com/p/googleappengine/downloads/list Both pre-release SDKs include RELEASE_NOTE files that indicate what's new, but the App Engine back-ends have not yet been updated, so please don't try to use these new features in production just yet. Please test your existing applications locally using the new SDK and report any bugs as soon as possible. Our next general release will likely follow in the next couple of weeks barring any unforeseen issues. Thanks, - Jason -- 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: GAE Java + Authsub + GData
Hi, Though it is likely already to have tried This link might be useful. http://code.google.com/intl/us/apis/gdata/docs/auth/authsub.html Please Try. thanks. > Hi - > > My App Engine Java application is restricted to a Google Apps domain. > Users are authenticated in my application using the App Engine > UserService. How do I obtain a AuthSub session token for the user that > is already logged into my application to push data into a spreadsheet > in his Google Apps account? > > The following URL talks about GData access from GAE Python. How can > this be achieved in the Java version? > > http://code.google.com/appengine/articles/gdata.html > > Thanks, > s8 -- 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.