jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsp_ <piccina...@ibest.com.br>
Subject Re: Errors on production environment, help.
Date Wed, 04 Oct 2006 15:04:51 GMT

The file is in 
XXX10117:/usr/lib/jboss4/server/default/deploy# cat
gtf-jackrabbit-local-ds.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- =====================================================================
-->
<!--  JBoss Server Configuration                                          
-->
<!-- =====================================================================
-->
<!-- $Id: gtf-jackrabbit-local-ds.xml,v 1.2 2006/08/07 21:08:46 xxxxx Exp $
-->
<!-- ====================================================================
-->
<!--  Datasource config for Postgres                                     
-->
<!-- ====================================================================
-->
<datasources>
  <local-tx-datasource>
    <jndi-name>jdbc/EscribaRepositorioDS</jndi-name>
    <connection-url>jdbc:postgresql://10.15.23.88/pinhao</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>sa_x_rep</user-name>
    <password>x</password>
    <min-pool-size>2</min-pool-size>
    <max-pool-size>4</max-pool-size>
    <check-valid-connection-sql>SELECT 1+1</check-valid-connection-sql>
  </local-tx-datasource>
  <local-tx-datasource>
    <jndi-name>jdbc/EscribaWorkspaceDS</jndi-name>
    <connection-url>jdbc:postgresql://10.15.23.88/pinhao</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>sa_x_ws</user-name>
    <password>x</password>
    <min-pool-size>2</min-pool-size>
    <max-pool-size>4</max-pool-size>
    <check-valid-connection-sql>SELECT 1+1</check-valid-connection-sql>
  </local-tx-datasource>
  <local-tx-datasource>
    <jndi-name>jdbc/EscribaPersistenciaWorkspaceDS</jndi-name>
    <connection-url>jdbc:postgresql://10.15.23.88/pinhao</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>sa_x_pws</user-name>
    <password>x</password>
    <min-pool-size>2</min-pool-size>
    <max-pool-size>4</max-pool-size>
    <check-valid-connection-sql>SELECT 1+1</check-valid-connection-sql>
  </local-tx-datasource>
  <local-tx-datasource>
    <jndi-name>jdbc/EscribaVersionamentoDS</jndi-name>
    <connection-url>jdbc:postgresql://10.15.23.88/pinhao</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>sa_x_ver</user-name>
    <password>x</password>
    <min-pool-size>2</min-pool-size>
    <max-pool-size>4</max-pool-size>
    <check-valid-connection-sql>SELECT 1+1</check-valid-connection-sql>
  </local-tx-datasource>
  <local-tx-datasource>
    <jndi-name>jdbc/EscribaPersistenciaVersionamentoDS</jndi-name>
    <connection-url>jdbc:postgresql://10.15.23.88/pinhao</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>sa_x_pver</user-name>
    <password>x</password>
    <min-pool-size>2</min-pool-size>
    <max-pool-size>4</max-pool-size>
    <check-valid-connection-sql>SELECT 1+1</check-valid-connection-sql>
  </local-tx-datasource>
</datasources>





Jukka Zitting-3 wrote:
> 
> Hi,
> 
> On 10/4/06, hsp_ <piccinatto@ibest.com.br> wrote:
>> I am using the release 1.0.1 of jackrabbit.
>> There in a datasource file for each "<param name="dataSourceLocation"
>> value="java:jdbc/xxxxxx" />".
> 
> Where and how have you configured the JDBC data sources? Could there
> be a connection timeout that's causing the problem.
> 
> BR,
> 
> Jukka Zitting
> 
> -- 
> Yukatan - http://yukatan.fi/ - info@yukatan.fi
> Software craftsmanship, JCR consulting, and Java development
> 
> 

-- 
View this message in context: http://www.nabble.com/Errors-on-production-environment%2C-help.-tf2344949.html#a6641369
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.


Mime
View raw message