[appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-19 Thread mscwd01
aduru-app

I wanted "aduru" but you enforce a minimum limit of 6 characters for
some reason ;)

On Oct 19, 7:50 pm, "Ikai Lan (Google)" 
wrote:
> What's your application ID? I want to make sure you aren't in the pool of
> applications still on 1.3.7.
>
> --
> 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 Tue, Oct 19, 2010 at 11:41 AM, mscwd01  wrote:
> > Hey,
>
> > I was very pleased to see the class "java.net.InetAddress" present in
> > the new SDK as I've been needing it for a while. However, after
> > rebuilding my app with SDK 1.3.8 and uploading it to the App Engine's
> > live servers I get the following exception:
>
> > 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
>
> > Can someone let me know when the App Engine will be updated to support
> > the new InetAddress class please? - or let me know what I'm doing
> > wrong ;)
>
> > 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] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-19 Thread mscwd01
Any word on this?

-- 
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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-20 Thread mscwd01
Can someone please look into this as I'm seeing the same error and
really need to get this working asap. Thanks

On Oct 19, 11:15 pm, mscwd01  wrote:
> Any word on this?

-- 
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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-20 Thread Peter Liu
I had the same issue in other threads. The new OutputSetting class is
not in production and causing class not found.

Google says some instances are still in 1.3.7 and some are in 1.3.8,
which I verified because my test app is still in 1.3.7 and production
is 1.3.8. You can tell what version you are on by extracting the
SystemProperty.version object.

It's pretty annoying since there's no easy way to tell what version
the app is in, and Google never tell us that some apps will be left in
old versions for testing, nor when those apps will be pushed to new
version.

On Oct 20, 1:59 am, mscwd01  wrote:
> Can someone please look into this as I'm seeing the same error and
> really need to get this working asap. Thanks
>
> On Oct 19, 11:15 pm, mscwd01  wrote:
>
> > Any word on this?

-- 
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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-20 Thread mscwd01
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.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-20 Thread mscwd01
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  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.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-21 Thread mscwd01
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)" 
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  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  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.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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-21 Thread mscwd01
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)" 
wrote:
> So it looks like this will work if you add this to your appengine-web.xml:
>
> false
>
> 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 > 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  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)" 
> >> 
>
> >> 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  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  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.com >> > >  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 >>  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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-21 Thread mscwd01
Great! Thanks for attempting to fix this so quickly.

On Oct 21, 10:32 pm, Don Schwarz  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  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)" 
> > wrote:
> >> So it looks like this will work if you add this to your appengine-web.xml:
>
> >> false
>
> >> 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 > 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  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)" 
> >> >> 
>
> >> >> 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  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  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.com >> >> > >  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 >> >>  unsubscr...@googlegroups.com>
> >> >> .
> >> >> For more options, visit this group at
> >> >>http://gr

[appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-22 Thread mscwd01
Thanks for the update and thanks again for the quick fix!

On Oct 22, 4:02 pm, Don Schwarz  wrote:
> The fix for this has now been rolled out to all applications.
>
>
>
> On Thu, Oct 21, 2010 at 4:40 PM, mscwd01  wrote:
> > Great! Thanks for attempting to fix this so quickly.
>
> > On Oct 21, 10:32 pm, Don Schwarz  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  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)" 
> >> > wrote:
> >> >> So it looks like this will work if you add this to your 
> >> >> appengine-web.xml:
>
> >> >> false
>
> >> >> 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 > 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  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)" 
> >> >> >> 
>
> >> >> >> 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  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  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.com >> >> >> > >  unsubscr...@googlegroups.com> >> >> >> unsubscr...@googlegroups.com>
> >> >> >> > > .
> >> >> >

[appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-26 Thread asianCoolz
may i know in gae, how to you set parameter for   new
LookupService(String databaseFile)  ? do you use blockstore ? what is
the path do you upload the  maxmind dat file?

-- 
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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-26 Thread asianCoolz
may i know in gae, how to you set parameter for   new
LookupService(String databaseFile)  ? do you use blockstore ? what is
the path do you upload the  maxmind dat file?

-- 
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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-26 Thread asianCoolz
may i know in gae, how to you set parameter for   new
LookupService(String databaseFile)  ? do you use blockstore ? what is
the path do you upload the  maxmind dat file?

-- 
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

2010-10-20 Thread Ikai Lan (Google)
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  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  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.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

2010-10-21 Thread Ikai Lan (Google)
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  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)" 
> 
> >
> 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  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  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.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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-21 Thread Ikai Lan (Google)
So it looks like this will work if you add this to your appengine-web.xml:

false

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 > 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  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)" 
>> 
>> >
>> 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  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  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.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: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-21 Thread Don Schwarz
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  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)" 
> wrote:
>> So it looks like this will work if you add this to your appengine-web.xml:
>>
>> false
>>
>> 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 > 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  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)" 
>> >> 
>>
>> >> 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  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  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.com> >> > >  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> >>  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-a

Re: [appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-22 Thread Don Schwarz
The fix for this has now been rolled out to all applications.

On Thu, Oct 21, 2010 at 4:40 PM, mscwd01  wrote:
> Great! Thanks for attempting to fix this so quickly.
>
> On Oct 21, 10:32 pm, Don Schwarz  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  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)" 
>> > wrote:
>> >> So it looks like this will work if you add this to your appengine-web.xml:
>>
>> >> false
>>
>> >> 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 > 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  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)" 
>> >> >> 
>>
>> >> >> 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  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  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.com> >> >> > >  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
>>