I use Wildfly and added a datasource to it with the connection URL 
jdbc:h2:mem:test. The data is however lost when my Enterprice-app is shut 
down. I then tried to make H2 file based, by adding a datasource with the 
connection URL  jdbc:h2:~/test. I then got this error:

"WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not 
valid"

So how can I add a file-based H2-datasource to Wildfly?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/0aa3ee2c-0273-456a-99c9-8433575dc414%40googlegroups.com.

Reply via email to