This content has been marked as final.
Show 2 replies
-
1. Re: JBoss 4.0.0 postgresql Datasource Configuration Problem
nusa Jun 30, 2005 6:31 PM (in response to usrganesan)Which *-ds.xml are you using ?
-
2. Re: JBoss 4.0.0 postgresql Datasource Configuration Problem
usrganesan Jul 1, 2005 12:42 AM (in response to usrganesan)i am using postgres-ds.xml
i pasted copy of that
<local-tx-datasource>
<jndi-name>jdbc/ejb20-containerManaged-AccountHome</jndi-name>
<connection-url>jdbc:postgresql://localhost:5432/POS</connection-url>
<driver-class>org.postgresql.Driver</driver-class>
<user-name>postgres</user-name>
postgres
<!-- sql to call when connection is created
<new-connection-sql>some arbitrary sql</new-connection-sql>
-->
<!-- sql to call on an existing pooled connection when it is obtained from pool
<check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
-->
<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
<type-mapping>PostgreSQL</type-mapping>
</local-tx-datasource>