Yes, indeed. AUTO_MIXED mode needs access directly to the file. You can 
play some tricks by telling it to use samba share and redirecting the samba 
traffic thru the tunnel, but it is not a simple task at all.

You will be much better if you just use in your client a network mode url:
jdbc:h2:tcp://localhost:<tunel_port>/<database>

If you feel more adventures 

On Thursday, December 4, 2014 1:27:24 PM UTC+2, ArchangelAurora wrote:
>
> Secondary processes that connect to DB has to have direct access to DB 
> files. That's the reason why the tunnel does not work I think :
>
> http://www.h2database.com/html/features.html#auto_mixed_mode 
> <http://www.google.com/url?q=http%3A%2F%2Fwww.h2database.com%2Fhtml%2Ffeatures.html%23auto_mixed_mode&sa=D&sntz=1&usg=AFQjCNGPDwJgcrFYnLU9IjaRqVSRBHYvjQ>
>  
>  Says all processes has to have access to files.
>
> On Wednesday, 3 December 2014 13:00:45 UTC+2, rado wrote:
>>
>> Hello, 
>> for tunnel to work- the client must connect to the port of the tunnel, 
>> and the tunnel must connect to the h2 server 
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to