Re: [AUTO_SERVER] Connection takes 2 minutes

2012-11-25 Thread LRichard
Thank you Noel We will investigate this and check if all names in the proxy exclusion list (or even the proxy name itself) are OK on the system with the issue. Regards Laurent -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discus

Re: [AUTO_SERVER] Connection takes 2 minutes

2012-11-22 Thread Noel Grandin
sounds like a DNS misconfiguration. Something is trying to do a DNS resolution, timing out, then continuing. On 2012-11-21 12:43, LRichard wrote: Hi, We had to set the system java property *java.net.useSystemProxies* to *false *to get rid of this 2 minutes connection delay in AUTO_SERVER mode.

Re: [AUTO_SERVER] Connection takes 2 minutes

2012-11-21 Thread LRichard
Hi, We had to set the system java property *java.net.useSystemProxies* to *false *to get rid of this 2 minutes connection delay in AUTO_SERVER mode. However, I don't understand why this setting led to this delay. After waiting 2 minutes, the connection was OK. Moreover, our customer gave his

Re: [AUTO_SERVER] Connection takes 2 minutes

2012-11-14 Thread LRichard
Hi, I joined the results of jstack (stack.txt) and testNetwork (network.txt) from the system. I don't feel able to conclude anything from this... I'll ask our customer to do one more test because I wonder if the cause could not be the definition of proxies on the system (by default, our applica

Re: [AUTO_SERVER] Connection takes 2 minutes

2012-11-12 Thread LRichard
OK. Found the code of testNetwork in Build.java. I will package it in a standalone jar in order to help our customer executing it. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.co

Re: [AUTO_SERVER] Connection takes 2 minutes

2012-11-12 Thread LRichard
Thanks a lot for your answer Thomas. I'll do my best to get the information you mention but I don't have access to the system encountering the problem and I don't know if a JDK can easily be installed on it. Is there a way to execute something equivalent to "build testNetwork" without the whole

Re: [AUTO_SERVER] Connection takes 2 minutes

2012-11-12 Thread Thomas Mueller
Hi, Could you try to find out what the database is doing during the 2 minutes? To find out, you could use "jps -l" (to get the process id) and then "jstack -l " (to get a few full thread dumps). I guess it's some kind of networking issue, but I'm not sure. Could you also run "./build.sh testNetwor

[AUTO_SERVER] Connection takes 2 minutes

2012-11-12 Thread LRichard
We're using H2 to embed a database with our product for some months now and we really appreciate the functionalities of H2. We're using the auto-mixed (AUTO_SERVER) mode in order to allow concurrent access from several processes without imposing our customers to set up a H2 server. This works fi