Hi All,

I have a database connection that I successfully setup
for CMP but I need to access the database directly in
one of my session beans. When I try to lookup the JNDI
name, I get an error message that the context is not
bound.. 

Following are some excerpts from my configuration
files:

JAWS.XML: 
<jaws>
   
<datasource>java:/SqlSvrConnectionPool</datasource>
    ...
</jaws>

JBOSS.JCML:
<server>
     <mbean
name="DefaultDomain:service=XADataSource,name=SqlSvrConnectionPool">
     ...
</server>

JBOSS.PROPERTIES:
jdbc.drivers=org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,com.inet.tds.TdsDriver

CMP works fine, but I just need to know the JNDI name
to lookup to start my own database connections..

Thanks!
Steve
       



=====
Steven Haines
Technical Lead
IPNet Solutions
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(949)476-4463 x388

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to