• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Watn to use HSQLDB , How to avoid other database configurations in JBoss

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello friends,

i am trying to configure HSQLDB in Jboss. Already we are using PostgreSQL in our application. i configured the hsql database as follows


TYPE : HSQL Database Engine Server
DRIVER : org.hsqldb.JdbcDriver
URL : jdbc:hsqldb:hsql://localhost:1701
USER : user
PASSWORD : pass


to use this database where should i configure this database name( in which file should i configure the database name).

I removed postgresql-ds.xml from ..server/default/deploy folder
and replaced the hsqldb-ds.xml in to ..server/default/deploy folder

But it is still trying to read PostgreSQL-ds.xml only

and when start the Jboss it giving error like

10:36:49,415 INFO [Engine] StandardWrapper[/edge:invoker]: Loading container servlet invoker
10:36:49,816 INFO [EARDeployer] Started J2EE application: file:/usr/apps/jboss-3.2.3/server/default/deploy/edge.ear
10:36:49,817 INFO [MainDeployer] Deployed package: file:/usr/apps/jboss-3.2.3/server/default/deploy/edge.ear
10:36:49,818 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
<none>
MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: jboss.j2ee:jndiName=EISequenceEntityLocalHome,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data source: java:/PostgresDS; - nested throwable: (javax.naming.NameNotFoundException: PostgresDS not bound)]
10:36:49,894 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
10:36:50,016 INFO [MainDeployer] Deployed package: file:/usr/apps/jboss-3.2.3/server/default/conf/jboss-service.xml
10:36:50,019 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 1m:57s:236ms




please any one help me if know

thanks a lot
 
reply
    Bookmark Topic Watch Topic
  • New Topic