Cameron Tabor wrote:

> Hello,
>   Can someone please post the configuration for Postgres and jboss 2.1  
> I had it with 2.0, but something is very different now.
>     Thanks,
>        Cameron Tabor
> 
> 
> 
> 
> Cameron Tabor, Software Engineer
> Rievent Technologies, LLC
> email: [EMAIL PROTECTED]
> Phone: 757-547-8076
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

jboss.conf

<MLET CODE = "org.jboss.jdbc.JdbcProvider" 
ARCHIVE="jboss.jar,jdbc7.0-1.2.jar" CODEBASE="../../lib/ext/">
</MLET>


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


jboss.jcml

<mbean name="DefaultDomain:service=XADataSource,name=PostgresDB">
        <attribute name="Properties"></attribute>
        <attribute 
name="URL">jdbc:postgresql://devel.candata.com/Import</attribute>
        <attribute name="GCMinIdleTime">1200000</attribute>
        <attribute name="JDBCUser">jboss</attribute>
        <attribute name="MaxSize">0</attribute>
        <attribute name="Password">jboss1</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">false</attribute>
        <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
        <attribute name="MinSize">0</attribute>
      </mbean>

jboss.properties

jdbc.drivers=org.postgresql.Driver

standardjaws.xml

datasource>java:/PostgresDB</datasource>
<type-mapping>PostgreSQL</type-mapping>




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to