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-enabled>false</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.com<ikai.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.com<google-appengine-java%2B
> >> > >  unsubscr...@googlegroups.com><google-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<google-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.

Reply via email to