We are using jboss 4.3.0 with default database i.e., hsql.
We are interested in accessing hypersonic (JBoss) Specific tables (JBM_USER). This table is being used by JBoss internally for managing users.
To achieve one of the functionality related to this table, we would like to access/add row(s) in this table. When we do that from java class we see below error-
ERROR [STDERR] java.sql.SQLException: The database is already in use by another process: org.hsqldb
localDB.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: java.io.IOException: The p
rocess cannot access the file because another process has locked a portion of the file :
It seems JBoss has locked this table when server has been started, and release this lock when server goes down. But we are interested in acquiring some rights in between the process.
Please can any one add some thoughts to achieve this?
Thanks in advance for your help.