|
Hi,
Add this code to ur jboss.jcml in the
jboss_inst_dir\jboss\conf\tomcat\jboss.jcml
Modify according to ur
settings
Harish
<mbean
code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=DefaultDS">
<attribute name="PoolName">DefaultDS</attribute> <attribute name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attribute> <attribute name="Properties"></attribute> <attribute name="URL">jdbc:oracle:thin:@Oracle_host:port:DB</attribute> <attribute name="GCMinIdleTime">1200000</attribute> <attribute name="JDBCUser">username</attribute> <attribute name="MaxSize">10</attribute> <attribute name="Password">passwd</attribute> <attribute name="GCEnabled">false</attribute> <attribute name="InvalidateOnError">false</attribute> <attribute name="TimestampUsed">false</attribute> <attribute name="Blocking">true</attribute> <attribute name="GCInterval">120000</attribute> <attribute name="IdleTimeout">1800000</attribute> <attribute name="IdleTimeoutEnabled">false</attribute> <attribute name="LoggingEnabled">true</attribute> <attribute name="MaxIdleTimeoutPercent">1.0</attribute> <attribute name="MinSize">0</attribute> </mbean> |
- Tomcat + Jboss + Oracle Brian Moynihan
- Re: Tomcat + Jboss + Oracle [Thomas, Lionel SMETS]
- Harish K Kottarathil
