jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Huber <shub...@jahia.com>
Subject Re: [VOTE] Release Apache Jackrabbit 2.2.4
Date Mon, 14 Feb 2011 10:19:59 GMT

Hello Thomas, 

I just tested the patch and this works fine here. Thanks a lot, I suggest you commit it also
on the 2.2 branch if that's ok ?

Best regards,
  Serge Huber.

On 14 févr. 2011, at 10:50, Thomas Mueller wrote:

> Hi,
> 
> The H2 database server thinks that the localhost connection is actually
> coming from another machine, and therefore reject it (for security
> reasons). To disable this check, apply the following patch:
> 
> ### Eclipse Workspace Patch 1.0
> #P jackrabbit-core
> Index: src/test/java/org/apache/jackrabbit/core/cluster/DbClusterTest.java
> ===================================================================
> --- 
> src/test/java/org/apache/jackrabbit/core/cluster/DbClusterTest.java (revisi
> on 1067983)
> +++ 
> src/test/java/org/apache/jackrabbit/core/cluster/DbClusterTest.java (workin
> g copy)
> @@ -37,9 +37,9 @@
>     public void setUp() throws Exception {
>         deleteAll();
>         server1 = Server.createTcpServer("-tcpPort", "9001", "-baseDir",
> -                "./target/dbClusterTest/db1").start();
> +                "./target/dbClusterTest/db1", "-tcpAllowOthers").start();
>         server2 = Server.createTcpServer("-tcpPort", "9002", "-baseDir",
> -                "./target/dbClusterTest/db2").start();
> +                "./target/dbClusterTest/db2", "-tcpAllowOthers").start();
>         FileUtils.copyFile(
>                 new
> File("./src/test/resources/org/apache/jackrabbit/core/cluster/repository-h2
> .xml"),
>                 new File("./target/dbClusterTest/node1/repository.xml"));
> 
> 
> 
> I will apply it in the trunk if this solves the problem for you.
> 
> Regards,
> Thomas
> 


Mime
View raw message