Netty on GAE

Vladimir Tsanev tsachev at gmail.com
Thu Jul 22 06:56:52 EDT 2010


Hi,
I was trying to run embedded jboss messaging on Google App Engine. I
configured  org.jboss.netty.channel.socket.http.HttpTunnelingServlet as
below:
<servlet>
        <servlet-name>NettyServlet</servlet-name>

<servlet-class>org.jboss.netty.channel.socket.http.HttpTunnelingServlet</servlet-class>
        <init-param>
            <param-name>endpoint</param-name>
            <param-value>local:org.jboss.jbm</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>NettyServlet</servlet-name>
        <url-pattern>/jbm</url-pattern>
    </servlet-mapping>

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.
Well the LocalAddress class extends java.net.SocketAddress which is just an
empty (serializable) class.

I wonder if it would be possible to run HttpTunnelingServlet on GAE for
local address-es if java.net.SocketAddress was not restricted?

--
Cheers,
tsachev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20100722/480f322f/attachment.html 


More information about the netty-users mailing list