Jboss 5.1.0 datasource postgres
J'essaie de créer une datasource pour postgres.
Voilà mon fichier postgres-ds.xml :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
<datasources>
<local-tx-datasource>
<jndi-name>PostgresDS</jndi-name>
<connection-url>jdbc:postgresql://localhost:5432/bdcdb</connection-url>
<driver-class>org.postgresql.Driver</driver-class>
<user-name>postgres</user-name>
<password>password</password>
<metadata>
<type-mapping>PostgreSQL 7.2</type-mapping>
</metadata>
</local-tx-datasource>
</datasources> |
Quand je vais voir sur la console d'administration de JBOSS, ma datasource est toujours down :
http://www.imageshotel.org/images/Goschan/ds.jpg
Quelqu'un pourrait-il me guider svp ? :)