Hi,

I saw in the manual in "advanced configuration" that there are listed the
Databases with its jar files. The jar file for DB2/400 is jt400.jar. I think
DB2 and DB2/400 are different Databases, so dont't confuse them.

Here the configs:

jboss.properties:

   jdbc.drivers=com.ibm.as400.access.AS400JDBCDriver

jboss.conf:

   <MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
       <ARG TYPE="java.lang.String" VALUE="AS400Pool">
       <ARG TYPE="java.lang.String"
VALUE="org.jboss.minerva.xa.XADataSourceImpl">
   </MLET>

jboss.jcml:

     <mbean name="DefaultDomain:service=XADataSource,name=AS400Pool">
       <attribute name="Properties"></attribute>
       <attribute name="URL">jdbc:as400://[Systemname]</attribute>
       <attribute name="GCMinIdleTime">1200000</attribute>
       <attribute name="JDBCUser">jboss</attribute>
       <attribute name="MaxSize">0</attribute>
       <attribute name="Password"/>
       <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">false</attribute>
       <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
       <attribute name="MinSize">0</attribute>
     </mbean>



CU

---
Ingo Bruell
OBL GmbH ([EMAIL PROTECTED])
Hude (Oldenburg)
Germany


Reply via email to