Lewis Henderson wrote:

> You should be looking up "java:comp/env/InterBaseDS" according to the 
> jboss.jcml you have supplied!

In jaws.xml, that would be simply "java:/InterBaseDS"


> 
>     -----Original Message-----
>     *From:* [EMAIL PROTECTED]
>     [mailto:[EMAIL PROTECTED]]*On Behalf Of *still
>     *Sent:* 17 June 2001 15:08
>     *To:* jboss-user
>     *Subject:* [JBoss-user] how to access MS Access via CMP in jboss
>     
>     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.
>     
>      
>   


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to