Netty on GAE
"이희승 (Trustin Lee)"
trustin at gmail.com
Mon Aug 16 02:26:42 EDT 2010
Ahh, that's a very interesting use case. Let me try to investigate if I
can fix it.
Thanks for a great idea,
Trustin
On 07/23/2010 03:25 AM, Vladimir Tsanev wrote:
> I just noticed that am in a mistake.
> There are two classes.
>
> java.net.InetAddress
> java.net.InetSocketAddress
>
> The factory methods are in the InetAddress.
>
> For some reason InetSocketAddress has a constructors that uses the
> InetAddress.
>
> So this make things harder solve. If those were in a separate factory
> class maybe GAE team would put them in the white list.
> But since they are not I am afraid this won't be working on gae soon.
>
> Any toughts?
> --
> tsachev
>
>
> On Thu, Jul 22, 2010 at 1:56 PM, Vladimir Tsanev <tsachev at gmail.com
> <mailto:tsachev at gmail.com>> wrote:
>
> 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
>
>
>
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
--
what we call human nature in actuality is human habit
http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20100816/d2cffc00/attachment.bin
More information about the netty-users
mailing list