Hi,

At the moment, I will not implement the workaround #2 (socket = new
Socket(Proxy.NO_PROXY)).
Thanks for your help!

Regards,
Thomas

On Sun, Jun 14, 2009 at 11:35 AM, AjMaster<[email protected]> wrote:
>
> Hi,
>
> Good Job for IPv6.
>
> For proxy, I have trace problem with eclipse debug and it's not really
> an h2 problem.
> In fact, the jvm ignore the internet explorer parameter "Don't use
> Proxy for local host" and use socks proxy with class
> InetSocketAddress.
>
> There is two solution:
>
> 1- In final application (not in h2) configure a specific ProxySelector
>
> 2- In org.h2.util.NetUtils.createSocket(InetAddress, int, boolean),
> replace
> Socket socket = new Socket();
>
> by
>
> Socket socket = null;
> if(address.isSiteLocalAddress() || address.isLoopbackAddress())
>        socket = new Socket(Proxy.NO_PROXY);
> else
>        socket = new Socket();
>
> The first solution is more flexible for users.
>
> Aurelien
>
>> > //if i don't set this property, I have any error but application is
>> > blocked
>>
>> Could you post a full thread dump? To get it, use jps -l (to get the
>> process id) and then jstack <pid>. Or you can click Ctrl+Break
>> (Windows) or kill -QUIT <pid> (Linux).
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to