Re: [appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers
The fix for this has now been rolled out to all applications. On Thu, Oct 21, 2010 at 4:40 PM, mscwd01 mscw...@gmail.com wrote: Great! Thanks for attempting to fix this so quickly. On Oct 21, 10:32 pm, Don Schwarz schwa...@google.com wrote: This is a temporary workaround only. We should have this fixed in a few hours. On Thu, Oct 21, 2010 at 4:29 PM, mscwd01 mscw...@gmail.com wrote: Thanks for the update, changing precompilation from true to false did indeed solve the problem. Is this considered a fix or a temporary work-around? I'm not sure if the new functionality I've added warrants removing precompilation. Oh and I need InetAddress as I'm using the Java API from MaxMind to determine the country of origin of visitors to my app. Their API uses InetAddress. On Oct 21, 9:56 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: So it looks like this will work if you add this to your appengine-web.xml: precompilation-enabledfalse/precompilation-enabled Depending on how much you need it, you can enable it today by adding this - but you lose Java precompilation, so there may be some impact on your cold startup times. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Thu, Oct 21, 2010 at 11:44 AM, Ikai Lan (Google) ikai.l+gro...@google.com ikai.l%2bgro...@google.com wrote: I've reproduced this. I'm following up. What is it you need this class for? You can't do host resolution yet, even in the dev app server. The extent of what you can do is this: InetAddress address = InetAddress.getLocalHost(); resp.getWriter().println(Address: + address.getHostAddress()); resp.getWriter().println(Hostname: + address.getHostName()); address = InetAddress.getByAddress(new byte[] { 8, 8, 8, 8 }); resp.getWriter().println(Address: + address.getHostAddress()); resp.getWriter().println(Hostname: + address.getHostName()); Inane example, but I hope you get my point. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Thu, Oct 21, 2010 at 10:38 AM, mscwd01 mscw...@gmail.com wrote: Thanks for looking into it Ikai. If you were to guess is this likely to be a quick fix or a lengthy drawn-out one? I've made many changes to my app now java.net.InetAddress has been supported and I cant launch the update because of this issue. On Oct 21, 12:38 am, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: You're in the 1.3.8 pool. I don't know why you are getting the error, since others are reporting that it's working fine for them. I'm hoping to try to reproduce this when I get a chance. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Wed, Oct 20, 2010 at 4:27 PM, mscwd01 mscw...@gmail.com wrote: Okay now I'm confused. I added a quick test page to see what version my app is running and it appears I am on 1.3.8. http://aduru-app.appspot.com/test.jsp How can I be getting this error then? Internal Server Error (500) - com/google/apphosting/runtime/security/ shared/stub/java/net/InetAddress ... Caused by: java.lang.NoClassDefFoundError: com/google/apphosting/ runtime/security/shared/stub/java/net/InetAddress On Oct 20, 11:12 pm, mscwd01 mscw...@gmail.com wrote: Ikai, did you get a chance to look into this? When can we expect every app to be upgraded to 1.3.8? -- 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.comgoogle-appengine-java%2B unsubscr...@googlegroups.comgoogle-appengine-java%2B 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.comgoogle-appengine-java%2B 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
Re: [appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers
I've reproduced this. I'm following up. What is it you need this class for? You can't do host resolution yet, even in the dev app server. The extent of what you can do is this: InetAddress address = InetAddress.getLocalHost(); resp.getWriter().println(Address: + address.getHostAddress()); resp.getWriter().println(Hostname: + address.getHostName()); address = InetAddress.getByAddress(new byte[] { 8, 8, 8, 8 }); resp.getWriter().println(Address: + address.getHostAddress()); resp.getWriter().println(Hostname: + address.getHostName()); Inane example, but I hope you get my point. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Thu, Oct 21, 2010 at 10:38 AM, mscwd01 mscw...@gmail.com wrote: Thanks for looking into it Ikai. If you were to guess is this likely to be a quick fix or a lengthy drawn-out one? I've made many changes to my app now java.net.InetAddress has been supported and I cant launch the update because of this issue. On Oct 21, 12:38 am, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: You're in the 1.3.8 pool. I don't know why you are getting the error, since others are reporting that it's working fine for them. I'm hoping to try to reproduce this when I get a chance. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Wed, Oct 20, 2010 at 4:27 PM, mscwd01 mscw...@gmail.com wrote: Okay now I'm confused. I added a quick test page to see what version my app is running and it appears I am on 1.3.8. http://aduru-app.appspot.com/test.jsp How can I be getting this error then? Internal Server Error (500) - com/google/apphosting/runtime/security/ shared/stub/java/net/InetAddress ... Caused by: java.lang.NoClassDefFoundError: com/google/apphosting/ runtime/security/shared/stub/java/net/InetAddress On Oct 20, 11:12 pm, mscwd01 mscw...@gmail.com wrote: Ikai, did you get a chance to look into this? When can we expect every app to be upgraded to 1.3.8? -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B 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.comgoogle-appengine-java%2bunsubscr...@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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers
This is a temporary workaround only. We should have this fixed in a few hours. On Thu, Oct 21, 2010 at 4:29 PM, mscwd01 mscw...@gmail.com wrote: Thanks for the update, changing precompilation from true to false did indeed solve the problem. Is this considered a fix or a temporary work-around? I'm not sure if the new functionality I've added warrants removing precompilation. Oh and I need InetAddress as I'm using the Java API from MaxMind to determine the country of origin of visitors to my app. Their API uses InetAddress. On Oct 21, 9:56 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: So it looks like this will work if you add this to your appengine-web.xml: precompilation-enabledfalse/precompilation-enabled Depending on how much you need it, you can enable it today by adding this - but you lose Java precompilation, so there may be some impact on your cold startup times. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Thu, Oct 21, 2010 at 11:44 AM, Ikai Lan (Google) ikai.l+gro...@google.com ikai.l%2bgro...@google.com wrote: I've reproduced this. I'm following up. What is it you need this class for? You can't do host resolution yet, even in the dev app server. The extent of what you can do is this: InetAddress address = InetAddress.getLocalHost(); resp.getWriter().println(Address: + address.getHostAddress()); resp.getWriter().println(Hostname: + address.getHostName()); address = InetAddress.getByAddress(new byte[] { 8, 8, 8, 8 }); resp.getWriter().println(Address: + address.getHostAddress()); resp.getWriter().println(Hostname: + address.getHostName()); Inane example, but I hope you get my point. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Thu, Oct 21, 2010 at 10:38 AM, mscwd01 mscw...@gmail.com wrote: Thanks for looking into it Ikai. If you were to guess is this likely to be a quick fix or a lengthy drawn-out one? I've made many changes to my app now java.net.InetAddress has been supported and I cant launch the update because of this issue. On Oct 21, 12:38 am, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: You're in the 1.3.8 pool. I don't know why you are getting the error, since others are reporting that it's working fine for them. I'm hoping to try to reproduce this when I get a chance. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Wed, Oct 20, 2010 at 4:27 PM, mscwd01 mscw...@gmail.com wrote: Okay now I'm confused. I added a quick test page to see what version my app is running and it appears I am on 1.3.8. http://aduru-app.appspot.com/test.jsp How can I be getting this error then? Internal Server Error (500) - com/google/apphosting/runtime/security/ shared/stub/java/net/InetAddress ... Caused by: java.lang.NoClassDefFoundError: com/google/apphosting/ runtime/security/shared/stub/java/net/InetAddress On Oct 20, 11:12 pm, mscwd01 mscw...@gmail.com wrote: Ikai, did you get a chance to look into this? When can we expect every app to be upgraded to 1.3.8? -- 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.comgoogle-appengine-java%2B unsubscr...@googlegroups.comgoogle-appengine-java%2B 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.comgoogle-appengine-java%2B 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
Re: [appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers
You're in the 1.3.8 pool. I don't know why you are getting the error, since others are reporting that it's working fine for them. I'm hoping to try to reproduce this when I get a chance. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Oct 20, 2010 at 4:27 PM, mscwd01 mscw...@gmail.com wrote: Okay now I'm confused. I added a quick test page to see what version my app is running and it appears I am on 1.3.8. http://aduru-app.appspot.com/test.jsp How can I be getting this error then? Internal Server Error (500) - com/google/apphosting/runtime/security/ shared/stub/java/net/InetAddress ... Caused by: java.lang.NoClassDefFoundError: com/google/apphosting/ runtime/security/shared/stub/java/net/InetAddress On Oct 20, 11:12 pm, mscwd01 mscw...@gmail.com wrote: Ikai, did you get a chance to look into this? When can we expect every app to be upgraded to 1.3.8? -- 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.comgoogle-appengine-java%2bunsubscr...@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.