Re: [appengine-java] Digest for google-appengine-java@googlegroups.com - 20 Messages in 8 Topics

2012-02-29 Thread Ignacio Vela


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Slow cold starts

2012-02-29 Thread Anders
I see now that my email address indeed is visible. How is that possible?! 
Has Google not been able to fix such a serious privacy leak yet?!!!

>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/NjhNGFhzc60J.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Slow cold starts

2012-02-29 Thread Anders
Hmm... Not good. Google writes that setting minimum number of instances 
means keeping them in reserve so that cold starts will be unlikely unless 
there are exceptionally high load spikes. Sounds like a bug in GAE then if 
your application is set to minimum one instance and you still get many cold 
starts.

Plus to Google: Seems like my email address is sometimes published because 
I usually get zero spam mail in my Gmail account except when I have 
recently posted something in a Google Group like this. So spammers seem to 
be able to somehow get my email address by scraping information from Google 
Groups or via some subscription mechanism. Very bad indeed if true (with 
the disclaimer that maybe it's not Google that is leaking email addresses).

On Wednesday, February 29, 2012 7:24:45 PM UTC+1, Mark Rathwell wrote:
>
> > Ok, interesting. Have you tried setting minimum instances to one?
>
> I have an app I've been testing, with billing enabled and minimum
> instances set to one.  I check the app 1 - 2 times per day, and the
> overwhelming majority of those requests are cold starts.  I just set
> the minimum instances to 2, so I'll see how it responds over the next
> few days.
>
> On Wed, Feb 29, 2012 at 6:25 AM, Anders wrote:
> > Ok, interesting. Have you tried setting minimum instances to one?
> >
> >
> > On Monday, February 27, 2012 8:40:41 AM UTC+1, Tapir wrote:
> >>
> >> From my experience, an app without billing enabled will encounter many
> >> many slow cold starts.
> >> That is why although my app visits is small but I still made my app
> >> billing enabled.
> >> But today, there are suddenly many cold starts again on my app even if
> >> it is billing enabled.
> >>
> >> On Feb 27, 12:30 am, Anders wrote:
> >> > Thanks. The app no longer has billing enabled (needed to be able to
> >> > adjust
> >> > minimum instances), but that could be worth trying.
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > On Sunday, February 26, 2012 2:26:00 PM UTC+1, Mike Lawrence wrote:
> >> >
> >> > > I noticed similar behavior.
> >> > > I think the auto setting for minimum number
> >> > > of instances changed from two to zero active
> >> > > instances.
> >> > > I changed from auto to one, and my app
> >> > > is much more responsive. setting minimum
> >> > > instances higher will co$t you more
> >> >
> >> > > On Feb 25, 9:36 am, Anders wrote:
> >> > > > In the recent weeks the cold starts for Java apps have started to
> >> > > > take a
> >> > > > long time in my experience. More than three seconds to load a
> >> > > > webpage is
> >> > > > too long generally for a high quality end user experience. I 
> assume
> >> > > > it
> >> > > > happens when the physical GAE servers become too crowded resulting
> >> > > > in
> >> > > > sluggish cold start loading of apps from the file system (and/or
> >> > > > maybe
> >> > > > because of delays in the distributed file system itself).
> >
> > --
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/GZ1p0GyAe6MJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] i can't understand why this simple code doens't work on local and app engine.

2012-02-29 Thread JT
What version of jdk did you use?
On Feb 29, 2012 7:25 PM, "배현규"  wrote:

> package test06;
>
> import java.io.IOException;
>
> import javax.servlet.http.*;
>
> import com.google.appengine.api.users.User;
> import com.google.appengine.api.users.UserService;
> import com.google.appengine.api.users.UserServiceFactory;
>
> //-XX:-UseSplitVerifier
>
> @SuppressWarnings("serial")
> public class TEST06Servlet extends HttpServlet {
> public void doGet(HttpServletRequest req, HttpServletResponse resp)
> throws IOException {
> UserService userService = UserServiceFactory.getUserService();
> User user = userService.getCurrentUser();
> if (user != null) {
> resp.setContentType("text/html");
> resp.getWriter().println("Hello, " + user.getNickname());
> resp.getWriter().println(" userService.createLogoutURL(req.getRequestURI()) + "\">logout");
> } else {
>
> resp.sendRedirect(userService.createLoginURL(req.getRequestURI()));
> }
>
> } // doGet
> } // class
>
>
>
>
>
>
> code is simple. but when run this on local, app engine
> both occured error. error messages are here.
>
>
>
>
> HTTP ERROR 500
>
> Problem accessing /test06. Reason:
>
> Expecting a stackmap frame at branch target 98 in method 
> test06.TEST06Servlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
>  at offset 14
>
> Caused by:
>
> java.lang.VerifyError: Expecting a stackmap frame at branch target 98 in 
> method 
> test06.TEST06Servlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
>  at offset 14
>   at java.lang.Class.getDeclaredConstructors0(Native Method)
>   at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
>   at java.lang.Class.getConstructor0(Unknown Source)
>   at java.lang.Class.newInstance0(Unknown Source)
>   at java.lang.Class.newInstance(Unknown Source)
>   at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
>   at 
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428)
>   at 
> org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
>   at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
>   at 
> com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:35)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>   at 
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:60)
>   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 
> com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
>   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.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:78)
>   at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>   at 
> com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:362)
>   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)
>
> --
> *Powered b

Re: [appengine-java] Re: Deploy Hangs - Please help

2012-02-29 Thread Jonathan Chen
On Thursday, 1 March 2012 13:35:29 UTC+13, Matthew Johnson wrote:

> I had the same issue last night, incrementing the version number this 
> morning made seemed to allow it to deploy successfully.


Bumping the version number did not do it for my app. This really makes me 
lose faith in Java GAE. 

>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/oe8YcF19G34J.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Deploy Hangs - Please help

2012-02-29 Thread Matthew Johnson
I had the same issue last night, incrementing the version number this morning 
made seemed to allow it to deploy successfully.

On Feb 29, 2012, at 11:44 AM, Asaf wrote:

> Im having this issue for the last 10 hours
> 
> tried to deploy to new increased version of the app ... no luck
> 
> this bug is really mean
> 
> 
> 
> On Feb 29, 8:07 am, treguess  wrote:
>> I am getting stuck when deploy. I get the following message
>> 
>> 52% Initializing precompilation...
>> 90% Deploying new version.
>> 95% Will check again in 1 seconds.
>> 98% Will check again in 2 seconds.
>> 99% Will check again in 4 seconds.
>> 99% Will check again in 8 seconds.
>> 99% Will check again in 16 seconds.
>> 99% Will check again in 32 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
>> 99% Will check again in 60 seconds.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" group.
> To post to this group, send email to google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine-java?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Deploy Hangs - Please help

2012-02-29 Thread Jonathan Chen
Hmm, looks like there's a maintenance outage at the moment?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/Ws3EsMTzOOkJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Deploy Hangs - Please help

2012-02-29 Thread Asaf
Im having this issue for the last 10 hours

tried to deploy to new increased version of the app ... no luck

this bug is really mean



On Feb 29, 8:07 am, treguess  wrote:
> I am getting stuck when deploy. I get the following message
>
> 52% Initializing precompilation...
> 90% Deploying new version.
> 95% Will check again in 1 seconds.
> 98% Will check again in 2 seconds.
> 99% Will check again in 4 seconds.
> 99% Will check again in 8 seconds.
> 99% Will check again in 16 seconds.
> 99% Will check again in 32 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.
> 99% Will check again in 60 seconds.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Deploy Hangs - Please help

2012-02-29 Thread Jonathan Chen
Same here. I've been trying for more than 12 hours now, and still have 
failures during deployment.


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/SKILrw7luDYJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Slow cold starts

2012-02-29 Thread Mark Rathwell
> Ok, interesting. Have you tried setting minimum instances to one?

I have an app I've been testing, with billing enabled and minimum
instances set to one.  I check the app 1 - 2 times per day, and the
overwhelming majority of those requests are cold starts.  I just set
the minimum instances to 2, so I'll see how it responds over the next
few days.

On Wed, Feb 29, 2012 at 6:25 AM, Anders  wrote:
> Ok, interesting. Have you tried setting minimum instances to one?
>
>
> On Monday, February 27, 2012 8:40:41 AM UTC+1, Tapir wrote:
>>
>> From my experience, an app without billing enabled will encounter many
>> many slow cold starts.
>> That is why although my app visits is small but I still made my app
>> billing enabled.
>> But today, there are suddenly many cold starts again on my app even if
>> it is billing enabled.
>>
>> On Feb 27, 12:30 am, Anders  wrote:
>> > Thanks. The app no longer has billing enabled (needed to be able to
>> > adjust
>> > minimum instances), but that could be worth trying.
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Sunday, February 26, 2012 2:26:00 PM UTC+1, Mike Lawrence wrote:
>> >
>> > > I noticed similar behavior.
>> > > I think the auto setting for minimum number
>> > > of instances changed from two to zero active
>> > > instances.
>> > > I changed from auto to one, and my app
>> > > is much more responsive. setting minimum
>> > > instances higher will co$t you more
>> >
>> > > On Feb 25, 9:36 am, Anders  wrote:
>> > > > In the recent weeks the cold starts for Java apps have started to
>> > > > take a
>> > > > long time in my experience. More than three seconds to load a
>> > > > webpage is
>> > > > too long generally for a high quality end user experience. I assume
>> > > > it
>> > > > happens when the physical GAE servers become too crowded resulting
>> > > > in
>> > > > sluggish cold start loading of apps from the file system (and/or
>> > > > maybe
>> > > > because of delays in the distributed file system itself).
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-java/-/gCjF8DpwWJcJ.
>
> To post to this group, send email to google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Question about one-to-many relationships in JDO

2012-02-29 Thread michel
Hello, I need to know if it's possible to add childs after the parent
is save in the datastore
See the code after : Parent class, Child class and code to create a
new Parent and Child.

/* Parent entity */
@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable = "true")
public class Parent{
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key idParent;
@Persistent
private String Name;
@Persistent(mappedBy = "p")
private List children= new ArrayList();

public Parent(String Name) { this.Name=Name; }

//getters and setters
public Key getIdParent() { return idParent; }
public String getName() { return Name; }
public void setName(String Name) { this.Name= Name; }
public List getChild() { return children; }
public void setChild(List children) { this.children=
children; }
public void addChild(Child c){
ArrayList k = new ArrayList(children);
k.add(c);
setChild(k);
}

 /*Child entity*/
@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable = "true")
public class Child{
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key idChild;
@Persistent
private int Num;
@Persistent
private Parent p;

public Child(int Num) {this.Num = Num;}

//getters and setters
public Key getIdChild() { return idChild; }
public void setIdChild(Key idChild) { this.idChild= idChild; }
public int getNum() { return Num; }
public void setNum(int Num) { this.Num = Num; }
public Parent getParent() { return p; }
public void setParent(Parent p){ this.p = p; }

/*code to create one parent and add a child to it*/
//new parent
Parent p = new Parent("parent");
PersistenceManager pm = PMF.get().getPersistenceManager();
 try {
 pm.makePersistent(p);
 } finally {
 pm.close();
 }
//new child
Child c = new Child(1);
c.setParent(p);
p.addChild(c);
pm = PMF.get().getPersistenceManager();
 try {
 pm.makePersistent(c);
 } finally {
 pm.close();
 }

This code gives an error of the server but the parent is saved in the
datastore.
Thank's for reading and sorry for my english.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] GAE for Java, SourceCode of Sample from R. Hightower

2012-02-29 Thread Hank
hi,

does anyone have the complete sourcecode of the IBM DeveloperWorks
Article of Rich Hightower @

http://www.ibm.com/developerworks/java/library/j-gaej2/

specially the Contact application and the following apps would be of
big help, because I experience some problems

Thanks a lot
Hank

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] i can't understand why this simple code doens't work on local and app engine.

2012-02-29 Thread 배현규
package test06;

import java.io.IOException;

import javax.servlet.http.*;

import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;

//-XX:-UseSplitVerifier

@SuppressWarnings("serial")
public class TEST06Servlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
if (user != null) {
resp.setContentType("text/html");
resp.getWriter().println("Hello, " + user.getNickname());
resp.getWriter().println("logout");
} else {

resp.sendRedirect(userService.createLoginURL(req.getRequestURI()));
}

} // doGet
} // class






code is simple. but when run this on local, app engine
both occured error. error messages are here.




HTTP ERROR 500

Problem accessing /test06. Reason:

Expecting a stackmap frame at branch target 98 in method 
test06.TEST06Servlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
 at offset 14

Caused by:

java.lang.VerifyError: Expecting a stackmap frame at branch target 98 in method 
test06.TEST06Servlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
 at offset 14
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at 
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428)
at 
org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at 
com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:35)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:60)
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 
com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
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.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:78)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at 
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:362)
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)

--
*Powered by Jetty://*
*
*
*
*
*
*
*
*
*
*
*when i add*
*-XX:-UseSplitVerifier*
*at the end of VM argument, local server does work. but app engine still 
didn't...*
*
*
*why this error continuesly occured?*





















-- 
You received this message because you are s

[appengine-java] Re: Increased Average HTTP Response Times since Feb 12th 2012

2012-02-29 Thread ravi kumar
Hi Mike how do you change the instance?

On Saturday, 18 February 2012 19:20:34 UTC+5:30, Mike Lawrence wrote:
>
> I changed instaces settings in console from auto to a minimum of two 
> and the response times are again about a second 
> On Feb 16, 2:07 pm, Matthias Friedrich  wrote: 
> > hi mike, 
> > i can confirm that. The responsetime is getting higher and higher, 
> > meanwhile some are above 90 seconds, causing complete failures. I wonder 
> > whats going on there?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/xfvMnFzWksAJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Cannot Deploy - backend null. java.lang.RuntimeException: Version not ready.

2012-02-29 Thread treguess
Hi All,
The problem started last night. Since then, I was not able to deploy. 
Deploy get stuck at 86% 



There is a new version of the SDK available.

---

Latest SDK:

Release: 1.6.3

Timestamp: Tue Jan 31 12:54:06 PST 2012

API versions: [1.0]


---

Your SDK:

Release: 1.6.1

Timestamp: Mon Dec 12 14:53:13 PST 2011

API versions: [1.0]


---

Please visit http://code.google.com/appengine for the latest SDK.




 Deploying frontend 


Preparing to deploy:

Created staging directory at: 
'/var/folders/JY/JYPiJhZnFoi4XHyWuWyx2U+++TI/-Tmp-/appcfg1064336464616060847.tmp'

Scanning for jsp files.

Compiling jsp files.

Scanning files on local disk.

Scanned 250 files.

Initiating update.

Cloning 88 static files.

Cloning 257 application files.

Cloned 100 files.

Cloned 200 files.


Deploying:

Uploading 0 files.

Initializing precompilation...

Deploying new version.


Verifying availability:

Will check again in 1 seconds.

Will check again in 2 seconds.

Will check again in 4 seconds.

Will check again in 8 seconds.

Will check again in 16 seconds.

Will check again in 32 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

Will check again in 60 seconds.

 on backend null.

java.lang.RuntimeException: Version not ready.


Debugging information may be found in 
/private/var/folders/JY/JYPiJhZnFoi4XHyWuWyx2U+++TI/-Tmp-/appengine-deploy3027388026892993990.log



Can someone help please.


tareq

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/HeX8ZkQXdOcJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Slow cold starts

2012-02-29 Thread Anders
Ok, interesting. Have you tried setting minimum instances to one?

On Monday, February 27, 2012 8:40:41 AM UTC+1, Tapir wrote:
>
> From my experience, an app without billing enabled will encounter many 
> many slow cold starts. 
> That is why although my app visits is small but I still made my app 
> billing enabled. 
> But today, there are suddenly many cold starts again on my app even if 
> it is billing enabled. 
>
> On Feb 27, 12:30 am, Anders  wrote: 
> > Thanks. The app no longer has billing enabled (needed to be able to 
> adjust 
> > minimum instances), but that could be worth trying. 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Sunday, February 26, 2012 2:26:00 PM UTC+1, Mike Lawrence wrote: 
> > 
> > > I noticed similar behavior. 
> > > I think the auto setting for minimum number 
> > > of instances changed from two to zero active 
> > > instances. 
> > > I changed from auto to one, and my app 
> > > is much more responsive. setting minimum 
> > > instances higher will co$t you more 
> > 
> > > On Feb 25, 9:36 am, Anders  wrote: 
> > > > In the recent weeks the cold starts for Java apps have started to 
> take a 
> > > > long time in my experience. More than three seconds to load a 
> webpage is 
> > > > too long generally for a high quality end user experience. I assume 
> it 
> > > > happens when the physical GAE servers become too crowded resulting 
> in 
> > > > sluggish cold start loading of apps from the file system (and/or 
> maybe 
> > > > because of delays in the distributed file system itself).

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/gCjF8DpwWJcJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Deploy Hangs - Please help

2012-02-29 Thread treguess
Here is the error description
com.google.appengine.tools.admin.AdminException: Unable to update app:
Version not ready.
at
com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:
333)
at
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
52)
at
com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:
400)
at
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:
148)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.RuntimeException: Version not ready.
at
com.google.appengine.tools.admin.AppVersionUpload.commit(AppVersionUpload.java:
535)
at
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:
141)
at
com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:
328)
... 5 more

On Feb 28, 11:02 pm, treguess  wrote:
> Thank you!. I am stuck here.
>
> On Feb 28, 10:36 pm, Prashant  wrote:
>
>
>
>
>
>
>
> > looks like server side issue. retry after some time ...
>
> > On Wed, Feb 29, 2012 at 11:37 AM,treguess wrote:
> > > I am getting stuck when deploy. I get the following message
>
> > > 52% Initializing precompilation...
> > > 90% Deploying new version.
> > > 95% Will check again in 1 seconds.
> > > 98% Will check again in 2 seconds.
> > > 99% Will check again in 4 seconds.
> > > 99% Will check again in 8 seconds.
> > > 99% Will check again in 16 seconds.
> > > 99% Will check again in 32 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
> > > 99% Will check again in 60 seconds.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google App Engine for Java" group.
> > > To post to this group, send email to
> > > google-appengine-java@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine-java+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.