Here is my postgresql-default-service.xml that is in the deploy directory
Hunter Hillegas wrote: > I am starting to test my app on RH/3.0alpha so I need to get it running > against Postgres 7.1. It looks like the config for datasources has > changed/moved quite a bit. > > What files do I need to generate and where do I need to put them to get > Rabbit Hole running against PostgreSQL? > > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > >
<?xml version="1.0" encoding="UTF-8"?> <server> <classpath archives="postgresql.jar"/> <mbean code="org.jboss.resource.ConnectionFactoryLoader" name="JBOSS-SYSTEM:service=ConnectionFactoryLoader,name=DefaultDS"> <attribute name="ManagedConnectionFactoryProperties"> ConnectionURL=jdbc:postgresql://localhost/Import DriverClass=org.postgresql.Driver UserName=dave Password="" </attribute> <attribute name="JndiName">DefaultDS</attribute> <attribute name="TransactionManagerName">java:/TransactionManager</attribute> <mbean-ref name="ResourceAdapterName">JCA:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter</mbean-ref> <mbean-ref name="ConnectionManagerFactoryLoaderName">JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory</mbean-ref> <attribute name="ConnectionManagerProperties"> InvalidateOnError=false Blocking=true IdleTimeoutMillis=1800000 MaxSize=10 TimestampUsed=false IdleTimeoutEnabled=false GCIntervalMillis=120000 MinSize=0 GCMinIdleMillis=1200000 GCEnabled=false MaxIdleTimeoutPercent=1.0 </attribute> <attribute name="PrincipalMappingClass"> org.jboss.resource.security.ManyToOnePrincipalMapping </attribute> <attribute name="PrincipalMappingProperties"> UserName=dave </attribute> </mbean> </server>