|
Should I be able to (or should I) delete
the DefaultDS from jboss.jcml and leave my PostgresqlDB mbean in
jboss.jcml.
If I do delete DefaultDS, my access to postgresql
will no longer work even though I've got an entry strictly for Postgresql (which
tells me I've got something wrong in the config).
Any suggestions, ideas?
------------------- JDBC section of jboss.jcml
--------------------
<mbean code="org.jboss.jdbc.JdbcProvider"
name="DefaultDomain:service=JdbcProvider">
<attribute name="Drivers">org.postgresql.Driver</attribute> </mbean> <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:postgresql:acais:@localhost:5432</attribute> <attribute name="GCMinIdleTime">1200000</attribute> <attribute name="JDBCUser">xxx</attribute> <attribute name="MaxSize">10</attribute> <attribute name="Password">xxx</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> <mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=PostgresqlDB"> <attribute name="PoolName">PostgresqlDB</attribute> <attribute name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attribute> <attribute name="Properties"></attribute> <attribute name="URL">jdbc:postgresql:acais:@localhost:5432</attribute> <attribute name="GCMinIdleTime">1200000</attribute> <attribute name="JDBCUser">xxx</attribute> <attribute name="MaxSize">10</attribute> <attribute name="Password">xxx</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> |
- Re: [JBoss-user] jboss.jcml db entries David Jencks
- Re: [JBoss-user] jboss.jcml db entries G.L. Grobe
- G.L. Grobe
