i want to access a MS access Table in JBOSS.
so i modify the jboss.jcml to add a new MBean.
so it will load  jdbc:odbc driver(Sun's) with initializing.
  
 <mbean code= "org.jboss.jdbc.JdbcProvider"name="DefaultDomain:service=JdbcProvider">
     <attribute name="Drivers">org.hsql.jdbcDriver</attribute>
  </mbean>
 
and also i add lines to add a data source in jboss.jcml
 
<mbean code="org.jboss.jdbc.XADataSourceLoader"name="DefaultDomain:service=XADataSource,name=JetEngineDB">
 <attribute name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
 <attribute name="PoolName">InterBaseDS</attribute>  
 <attribute name="URL">jdbc:odbc:EjbDataSource</attribute>
  <attribute name="JDBCUser"></attribute>
 <attribute name="Password"></attribute>
 </mbean>
EjbDataSouce is the DNS in windows.
 
all the things sees ok when i start jboss.and successfully it load the sun's jdbc odbc driver.
 
so i write a entity bean and in the jaws.xml i specify the table name in the datasoure.when
i try to deploy it.the jboss throw exceptions:
    EjbDataSource not bound.
 
why? how can i do now??
any one have some experience pls help me out.
 
 
_________________________________________________
IncrediMail - Email has finally evolved - Click Here

Reply via email to