Forums Register Login

H2 database - Connection is broken

+Pie Number of slices to send: Send
Hi,
If someone here is working with H2 db and can give me any advice, i'll very appreciate it.
I'm working with H2 db and suddenly I started to get : Connection is broken [90067-122] stack trace
When I invoke my java application.
I have the database, and I'm connecting it with the H2 console successfuly.
Any idea ?
Just to clarify it: I'm connecting with tcp like this: jdbc:h2:tcp://localhost//C://myDB;FILE_LOCK=NO
Thanks.
+Pie Number of slices to send: Send
Hi,
the problem was probably because I tried to create a new db on the disk and there was a security problem.
To solve it, i run the h2 db as a service, and then give permitions thru the service.
Thanks anyways.
+Pie Number of slices to send: Send
Thanks for posting the solution Moshi!
Squanch that. And squanch this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 3341 times.
Similar Threads
Seam In Action - Question to Dan Allen
connection to mssql server database
Oracle Connection in WSAD 5.0
How to check whether DB is alive
Trouble Connecting to MSSQL Server 2005 (Struts+Hibernate): TCP/IP Error
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 00:44:31.