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 InetAddress.<br>
<br>So this make things harder solve. If those were in a separate factory 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><div class="gmail_quote">On Thu, Jul 22, 2010 at 1:56 PM, Vladimir Tsanev <span dir="ltr"><<a href="mailto:tsachev@gmail.com">tsachev@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;">
Hi,<br>I was trying to run embedded jboss messaging on Google App Engine. I configured org.jboss.netty.channel.socket.http.HttpTunnelingServlet as below:<br><servlet><br> <servlet-name>NettyServlet</servlet-name><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 GAE's JRE whitelist. I can see reason for restricting java.net.InetAddress (for its factory methods) but I just need to use local (in VM) address. <br>
Well the LocalAddress class extends java.net.SocketAddress which is just an empty (serializable) class.<br><br>I wonder if it would be possible to run HttpTunnelingServlet on GAE for local address-es if java.net.SocketAddress was not restricted?<br>
<font color="#888888">
<br>--<br>Cheers,<br>tsachev<br><br>
</font></blockquote></div><br>