Hello thanks for considering my problem....
well! when i have deployed the firebird-ds.xml and firebirdsql.jar jboss gives the following message in its context: 00:32:38,562 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | MBeans waiting for other MBeans: | ObjectName: jboss.jca:service=TxCM,name=FirebirdDS | state: CREATED | I Depend On: jboss.jca:service=ManagedConnectionPool,name=FirebirdDS | jboss.jca:service=CachedConnectionManager | jboss:service=TransactionManager | | Depends On Me: jboss.jca:service=ConnectionFactoryBinding,name=FirebirdDS | | ObjectName: jboss.jca:service=ManagedConnectionPool,name=FirebirdDS | state: CREATED | I Depend On: jboss.jca:service=ManagedConnectionFactory,name=FirebirdDS | | Depends On Me: jboss.jca:service=TxCM,name=FirebirdDS | | ObjectName: jboss.jca:service=ManagedConnectionFactory,name=FirebirdDS | state: FAILED | I Depend On: jboss.jca:service=RARDeployment,name='firebirdsql.rar' | | Depends On Me: jboss.jca:service=ManagedConnectionPool,name=FirebirdDS | org.jboss.deployment.DeploymentException: couldn't get oldRarDeployment! jboss.jca:service=RARDeployment,name='firebirdsql.rar'; - nested throwable: (org.jboss.deployment.DeploymentException: ConnectionDefinition 'null' not found in rar 'firebirdsql.rar') | ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=FirebirdDS | state: CREATED | I Depend On: jboss.jca:service=TxCM,name=FirebirdDS | | Depends On Me: | | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: | ObjectName: jboss.jca:service=ManagedConnectionFactory,name=FirebirdDS | state: FAILED | I Depend On: jboss.jca:service=RARDeployment,name='firebirdsql.rar' | | Depends On Me: jboss.jca:service=ManagedConnectionPool,name=FirebirdDS | org.jboss.deployment.DeploymentException: couldn't get oldRarDeployment!jboss.jca:service=RARDeployment,name='firebirdsql.rar'; - nested throwable: (org.jboss.deployment.DeploymentException: ConnectionDefinition 'null' not found in rar 'firebirdsql.rar') and in addition when i used java:/FirebirdDS in my jboss.xml file i got the follwoing message at jboss server console: 00:36:43,203 INFO [STDOUT] ejbCreate() | 00:36:43,296 INFO [STDOUT] | Day 9: Demonstrate the use of JDBC... | 00:36:43,296 INFO [STDOUT] initDB: Get initial context from the JNDI service... | | 00:36:43,312 INFO [STDOUT] Lookup the DataSource as configured by administrator | ... | 00:36:43,343 INFO [STDOUT] Exception was thrown: Could not dereference object | 00:36:43,359 INFO [STDOUT] Run some DDL statements: But it worked out fine when i used java:/DefaultDS(which is set to hypersonic database) in jboss.xml file and it gives the following message 00:43:09,656 INFO [STDOUT] ejbCreate() | 00:43:09,796 INFO [STDOUT] | Day 9: Demonstrate the use of JDBC... | 00:43:09,796 INFO [STDOUT] initDB: Get initial context from the JNDI service... | | 00:43:09,796 INFO [STDOUT] Lookup the DataSource as configured by administrator | ... | 00:43:09,812 INFO [STDOUT] Getting a Connection from the pool... | 00:43:09,812 INFO [STDOUT] Connection is obtained... | 00:43:09,828 INFO [STDOUT] Run some DDL statements: | 00:43:09,828 INFO [STDOUT] Query Database Metadata: | 00:43:10,000 INFO [STDOUT] Product Name: HSQL Database Engine | 00:43:10,000 INFO [STDOUT] Driver Name: HSQL Database Engine Driver | 00:43:10,000 INFO [STDOUT] Database Schemas: | 00:43:10,140 INFO [STDOUT] TABLE_SCHEM | 00:43:10,140 INFO [STDOUT] , | 00:43:10,140 INFO [STDOUT] TABLE_CATALOG | 00:43:10,140 INFO [STDOUT] Printing all Data Tables for Schema: TABLE_SCHEM | 00:43:10,156 INFO [STDOUT] Hello world method called | 00:36:43,375 INFO [STDOUT] Query Database Metadata: | 00:36:43,375 INFO [STDOUT] Exception was thrown: null | 00:36:43,375 INFO [STDOUT] Hello world method called you can see the code for bean impleantation class and Client in QueryDBBean.java and Client.java respectively in my last query posted with sender name ishq. thanks again for considering my query ishq View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855063#3855063 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855063 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
