Hi,

When I was using Jboss2.4.4, for a direct stateless session bean to jdbc
connection, i had a file called jboss.jcml which had the following mbean
code --

 <mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=OracleDB">
  <attribute name="PoolName">OracleDB</attribute>
  <attribute
name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attribute>

  <attribute
name="URL">jdbc:oracle:thin:@192.168.0.124:2000:ORCL</attribute>
  <attribute name="JDBCUser">abcd</attribute>
  <attribute name="Password">abcd</attribute>
 </mbean>

The classfile "org.jboss.jdbc.XADataSourceLoader" was present in
jboss.jar in Jboss2.4.4 version.

Now, I want to make a direct jdbc connection from a stateless session
bean using jboss3.0

I find that jboss.jcml file does not exist. Instead oracle-service.xml
file exists. Can anyone give me the corresponding mbean code in
oracle-service.xml file for direct jdbc connection ??

IMPORTANT ..  Also,  I find that the jboss.jar file that has been
provided with jboss version 3.0 does not have XADataSourceLoader. Any
pointers for this ?

Regards,
  Arijit



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to