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, &quot;이희승 (Trustin Lee)&quot; <span dir="ltr">&lt;<a href="mailto:trustin@gmail.com">trustin@gmail.com</a>&gt;</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&#39;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>
&gt; I just noticed that am in a mistake.<br>
&gt; There are two classes.<br>
&gt;<br>
&gt; java.net.InetAddress<br>
&gt; java.net.InetSocketAddress<br>
&gt;<br>
&gt; The factory methods are in the InetAddress.<br>
&gt;<br>
&gt; For some reason InetSocketAddress has a constructors that uses the<br>
&gt; InetAddress.<br>
&gt;<br>
&gt; So this make things harder solve. If those were in a separate factory<br>
&gt; class maybe GAE team would put them in the white list.<br>
&gt; But since they are not I am afraid this won&#39;t be working on gae soon.<br>
&gt;<br>
&gt; Any toughts?<br>
&gt; --<br>
&gt; tsachev<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jul 22, 2010 at 1:56 PM, Vladimir Tsanev &lt;<a href="mailto:tsachev@gmail.com">tsachev@gmail.com</a><br>
</div><div><div></div><div class="h5">&gt; &lt;mailto:<a href="mailto:tsachev@gmail.com">tsachev@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi,<br>
&gt;     I was trying to run embedded jboss messaging on Google App Engine. I<br>
&gt;     configured  org.jboss.netty.channel.socket.http.HttpTunnelingServlet<br>
&gt;     as below:<br>
&gt;     &lt;servlet&gt;<br>
&gt;             &lt;servlet-name&gt;NettyServlet&lt;/servlet-name&gt;<br>
&gt;<br>
&gt;     &lt;servlet-class&gt;org.jboss.netty.channel.socket.http.HttpTunnelingServlet&lt;/servlet-class&gt;<br>
&gt;             &lt;init-param&gt;<br>
&gt;                 &lt;param-name&gt;endpoint&lt;/param-name&gt;<br>
&gt;                 &lt;param-value&gt;local:org.jboss.jbm&lt;/param-value&gt;<br>
&gt;             &lt;/init-param&gt;<br>
&gt;             &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;<br>
&gt;         &lt;/servlet&gt;<br>
&gt;         &lt;servlet-mapping&gt;<br>
&gt;             &lt;servlet-name&gt;NettyServlet&lt;/servlet-name&gt;<br>
&gt;             &lt;url-pattern&gt;/jbm&lt;/url-pattern&gt;<br>
&gt;         &lt;/servlet-mapping&gt;<br>
&gt;<br>
&gt;     Unfortunately it seems that java.net.SocketAddress is not in the<br>
&gt;     GAE&#39;s JRE whitelist. I can see reason for restricting<br>
&gt;     java.net.InetAddress (for its factory methods) but I just need to<br>
&gt;     use local (in VM) address.<br>
&gt;     Well the LocalAddress class extends java.net.SocketAddress which is<br>
&gt;     just an empty (serializable) class.<br>
&gt;<br>
&gt;     I wonder if it would be possible to run HttpTunnelingServlet on GAE<br>
&gt;     for local address-es if java.net.SocketAddress was not restricted?<br>
&gt;<br>
&gt;     --<br>
&gt;     Cheers,<br>
&gt;     tsachev<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; netty-users mailing list<br>
&gt; <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
&gt; <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>