Hi friends,
I am using Jboss 3.0.0 and mysql database,
In my application i am using MessageDrivenBeans(MDB),
How to mention the database (Datasource )in my MDB lookup and in ejb-jar file?
I have given the mysql database name in mysql-service.xml is
////////////////
<mbean code="org.jboss.resource.connectionmanager.RARDeployment"
name="jboss.jca:service=LocalTxDS,name=MySQL">
<attribute name="JndiName">java:/MySQL</attribute>
<attribute name="ManagedConnectionFactoryProperties">
<properties>
<config-property name="ConnectionURL"
type="java.lang.String">jdbc:mysql://192.168.5.1:3306/IGSMsg</config-property>
<config-property name="DriverClass"
type="java.lang.String">org.gjt.mm.mysql.Driver</config-property>
<!--set these only if you want only default logins, not through
JAAS -->
<config-property name="UserName"
type="java.lang.String">root</config-property>
<config-property name="Password"
type="java.lang.String"></config-property>
</properties>
</attribute>
///////////////////////////
in my standardjaws.xml file i have given like this:
<jaws>
<datasource>java:/MySQL</datasource>
<type-mapping>mySQL</type-mapping>
<debug>false</debug>
//////////////////////////////
Thanks in advance.
--
Madhu Sudhan .A
M.Tech,MIGS,(MS)
Software Engineer
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
infoGLYPTIC Software (P) Ltd
Ph: 523 4448/49/50, fax: 523 4451 ext: 335
Cell: 98451 05295
[EMAIL PROTECTED]
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user