I saw that there is a way to run apache http client on GAE. I have not tried it yet but I think that the problems with httpclient library are pretty much the same as those with netty servlet. I do not have time to investigate it now but I saw this link <a href="http://peterkenji.blogspot.com/2009/08/using-apache-httpclient-4-with-google.html">http://peterkenji.blogspot.com/2009/08/using-apache-httpclient-4-with-google.html</a> and will try it soon.<br>
<br>--<br>Vlado<br><br><div class="gmail_quote">On Mon, Aug 16, 2010 at 9:26 AM, "이희승 (Trustin Lee)" <span dir="ltr"><<a href="mailto:trustin@gmail.com">trustin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Ahh, that's a very interesting use case. Let me try to investigate if I<br>
can fix it.<br>
<br>
Thanks for a great idea,<br>
Trustin<br>
<div class="im"><br>
On 07/23/2010 03:25 AM, Vladimir Tsanev wrote:<br>
> I just noticed that am in a mistake.<br>
> There are two classes.<br>
><br>
> java.net.InetAddress<br>
> java.net.InetSocketAddress<br>
><br>
> The factory methods are in the InetAddress.<br>
><br>
> For some reason InetSocketAddress has a constructors that uses the<br>
> InetAddress.<br>
><br>
> So this make things harder solve. If those were in a separate factory<br>
> class maybe GAE team would put them in the white list.<br>
> But since they are not I am afraid this won't be working on gae soon.<br>
><br>
> Any toughts?<br>
> --<br>
> tsachev<br>
><br>
><br>
> On Thu, Jul 22, 2010 at 1:56 PM, Vladimir Tsanev <<a href="mailto:tsachev@gmail.com">tsachev@gmail.com</a><br>
</div><div><div></div><div class="h5">> <mailto:<a href="mailto:tsachev@gmail.com">tsachev@gmail.com</a>>> wrote:<br>
><br>
> Hi,<br>
> I was trying to run embedded jboss messaging on Google App Engine. I<br>
> configured org.jboss.netty.channel.socket.http.HttpTunnelingServlet<br>
> as below:<br>
> <servlet><br>
> <servlet-name>NettyServlet</servlet-name><br>
><br>
> <servlet-class>org.jboss.netty.channel.socket.http.HttpTunnelingServlet</servlet-class><br>
> <init-param><br>
> <param-name>endpoint</param-name><br>
> <param-value>local:org.jboss.jbm</param-value><br>
> </init-param><br>
> <load-on-startup>1</load-on-startup><br>
> </servlet><br>
> <servlet-mapping><br>
> <servlet-name>NettyServlet</servlet-name><br>
> <url-pattern>/jbm</url-pattern><br>
> </servlet-mapping><br>
><br>
> Unfortunately it seems that java.net.SocketAddress is not in the<br>
> GAE's JRE whitelist. I can see reason for restricting<br>
> java.net.InetAddress (for its factory methods) but I just need to<br>
> use local (in VM) address.<br>
> Well the LocalAddress class extends java.net.SocketAddress which is<br>
> just an empty (serializable) class.<br>
><br>
> I wonder if it would be possible to run HttpTunnelingServlet on GAE<br>
> for local address-es if java.net.SocketAddress was not restricted?<br>
><br>
> --<br>
> Cheers,<br>
> tsachev<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> netty-users mailing list<br>
> <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
<font color="#888888"><br>
--<br>
what we call human nature in actuality is human habit<br>
<a href="http://gleamynode.net/" target="_blank">http://gleamynode.net/</a><br>
<br>
</font><br>_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br></blockquote></div><br>