1 Reply Latest reply on Sep 22, 2009 11:57 AM by peterj

    Disable Hypersonic DB persistence?

    drcallaway

      We are using JBoss in our organization but only for hosting servlets and JSPs (no EJBs, JMB, JTA, etc.). However, we're running into this error when starting JBoss in the production environment:

      Starting failed
      jboss:database=localDB,service=Hypersonic
      java.sql.SQLException: The database is already in use by another process:
      org.hsqldb.NIOLockFile@8d4b7015[file
      =/home/deploy/jboss-4.2.3/server/default/data/hypersonic/localDB.lck

      I think that the fact that we're installing to a shared NFS mount may be the problem. I understand that JBoss strongly recommends against using the embedded Hypersonic database in production. However, I'm wondering if we need a database at all if we're only using the servlet container (Tomcat) portion of JBoss. If not, is there a way to completely disable all persistence rather than switching to a different database? Or does JBoss require a persistent data store to run basic servlet/JSP applications?

      Thanks!

      Dustin