I am running JBoss (5.1) with two instances of Hypersonic database. One as in-process database and the jndi-name is "DefaultDS". Second instance, I am running as server mode and the jndi-name is "externalDS" which runs with schema used by our applications. Both works fine however during JBoss startup it gives JVM_Bind (port in use) error for the second database. Here is the configuration for the second database in hsqldb-ds.xml
As I said both the database works fine, I am trying to resolve error during JBoss startup.