Hi Chiaw Huat Lee, Thanks a lot for your response.
sorry for my bad explanation about my problem.
Actual problem is that already we are using the PostgreSQL as a database it is already configured. But now we want to use HSQLDB as a default database.
the steps i done :
____________________________
i modified the hsqldb-ds.xml and placed that in jboss/server/default/deploy
folder
and removed the postresql-ds.xml from jboss/server/default/deploy folder
and started the JBoss
then it is giving the following Error:
11:31:28,222 INFO [Engine] StandardWrapper[/edge:invoker]: Loading container
servlet invoker
11:31:28,589 INFO [EARDeployer] Started J2EE application: file:/usr/apps/jboss-3.2.3/server/default/deploy/edge.ear
11:31:28,590 INFO [MainDeployer] Deployed package: file:/usr/apps/jboss-3.2.3/server/default/deploy/edge.ear
11:31:28,592 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)]
11:31:28,663 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
11:31:28,767 INFO [MainDeployer] Deployed package: file:/usr/apps/jboss-3.2.3/server/default/conf/jboss-service.xml
11:31:28,771 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 1m:55s:807ms
please help me regarding this problem.
I think the problem occuring since it is trying to read Postgresql-ds.xml
not the hsqldb-ds.xml . If we found the solution, how to avoid in reading other databases in Jboss, there in that file we can say how to avoid Postgresql-ds.xml
plz help me for this problem