[JBoss-dev] Rabbit Hole with PostgreSQL

2001-11-19 Thread Hunter Hillegas

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



Re: [JBoss-dev] Rabbit Hole with PostgreSQL

2001-11-19 Thread Dave Smith

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=JndiNameDefaultDS/attribute
attribute name=TransactionManagerNamejava:/TransactionManager/attribute
		mbean-ref name=ResourceAdapterNameJCA:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter/mbean-ref
		mbean-ref name=ConnectionManagerFactoryLoaderNameJCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory/mbean-ref

attribute name=ConnectionManagerProperties
  InvalidateOnError=false
  Blocking=true
  IdleTimeoutMillis=180
  MaxSize=10
  TimestampUsed=false
  IdleTimeoutEnabled=false
  GCIntervalMillis=12
  MinSize=0
  GCMinIdleMillis=120
  GCEnabled=false
  MaxIdleTimeoutPercent=1.0
/attribute
attribute name=PrincipalMappingClass
  org.jboss.resource.security.ManyToOnePrincipalMapping
   /attribute
attribute name=PrincipalMappingProperties
  UserName=dave
/attribute
  /mbean
/server




Re: [JBoss-dev] Rabbit Hole with PostgreSQL

2001-11-19 Thread Andreas Schaefer

Here is a sample.

Have fun - Andy

- Original Message - 
From: Hunter Hillegas [EMAIL PROTECTED]
To: JBoss Dev [EMAIL PROTECTED]
Sent: Monday, November 19, 2001 10:18 AM
Subject: [JBoss-dev] Rabbit Hole with PostgreSQL


 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?


!-- = --
!--   --
!--  foo App DataSource   --
!--   --
!-- = --

!-- $Id: foo-postgres-service.xml,v 1.0 2001/09/20 20:00:05 icoloma Exp $ --

server

  dependsJBOSS-SYSTEM:service=Naming/depends
  dependsJBOSS-SYSTEM:service=TransactionManager/depends

  classpath archives=
	 jdbc7.0-1.2.jar, 
	 jbosscx.sar/

  !--  --
  !-- JDBC - Initialize the databases  --
  !-- to ConnectionFactoryLoader   --
  !--  --

  mbean code=org.jboss.resource.ConnectionFactoryLoader 
	 name=DefaultDomain:service=ConnectionFactoryLoader,name=FooPostgresDS
attribute name=ManagedConnectionFactoryPropertiesConnectionURL=jdbc:postgresql://192.168.0.4:5432/foo
  DriverClass=org.postgresql.Driver
  UserName=postgres
  Password=postgres/attribute
attribute name=JndiNameFooPostgresDS/attribute
attribute name=TransactionManagerNamejava:/TransactionManager/attribute
attribute name=ResourceAdapterNameMinerva JDBC LocalTransaction ResourceAdapter/attribute
attribute name=RARDeployerNameJCA:service=RARDeployer/attribute
attribute name=ConnectionManagerFactoryNameMinervaSharedLocalCMFactory/attribute 
attribute name=ConnectionManagerProperties#
  #Wed Aug 15 16:17:29 EDT 2001
  InvalidateOnError=false
  BlockingTimeoutMillis=50
  IdleTimeoutMillis=180
  MaxSize=10
  TimestampUsed=false
  IdleTimeoutEnabled=false
  CleanupIntervalMillis=12
  MinSize=0
  GCMinIdleMillis=120
  GCEnabled=false
  MaxIdleTimeoutPercent=1.0
/attribute
attribute name=PrincipalMappingClass
  org.jboss.resource.security.ManyToOnePrincipalMapping
/attribute
attribute name=PrincipalMappingPropertiesUserName=/attribute
  /mbean

/server