1 Reply Latest reply on Feb 15, 2005 9:00 PM by Gioele Barabucci

    How to connect to the running DB?

    Gioele Barabucci Newbie

      I use JBoss 3.2.5, with the default "defaul" server conf

      I have a servlet that creates some entity EJB objects.
      The objects are created and stored in the DB (I can retrieve them after a jboss shutdown/restart cycle), and so are the Tables (02:12:20,958 INFO [Article] Table 'ARTICLE' already exists).
      Somehow the localDB file jboss-3.2.5/server/default/data/hypersonic/localDB.data is empty, while the localDB.script file contains all the needed data.
      I tried to connect via org.hsqldb.util.DatabaseManagerSwing to jdbc:hsqldb:localhost (u:"sa" p:"") and it shows an empty DB.

      So,

      • how can I connect and inspect the default DB?
      • where is the DB stored when jboss is stopped?