Please have a look at the MS Access example in the JDBC chapter of the JBoss manual.
You are using JBoss 2.2.2 ? Otheriwse you would have to use another <attribute name="DataSourceClass" ...> check the docu.
Of course you would have to change "ODBC datasource name", "username" and "password" to the values that apply to your configuration.
Also do not forgert to include the <mbean ...> snippet about rg.jboss.jdbc.JdbcProvider . Look at the docu again please.
If something does not work like described in the manual let us know please.
i made the database and also specified the username and password which was configured in the database .... it was just tht i copied that jboss.jcml file in the question that i had posted .... the version i am using is jboss 2.4 , i think there is a problem with spcifying a connection pool... the documentaton says that a connection pool is essential .... i dont know how to make a connection pool.... also the snippet is included about rg.jboss.jdbc.JdbcProvider .