You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2011/02/17 17:22:24 UTC
[jira] Created: (JCR-2900) DbClusterTest failure due to network
configuration
DbClusterTest failure due to network configuration
--------------------------------------------------
Key: JCR-2900
URL: https://issues.apache.org/jira/browse/JCR-2900
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: jackrabbit-core
Affects Versions: 2.2.4
Reporter: Jukka Zitting
Priority: Minor
Fix For: 2.2.5
As reported by Serge, the DbClusterTest case fails when run with certain network configuration.
Thomas already suggested a fix:
### 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"));
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (JCR-2900) DbClusterTest failure due to network
configuration
Posted by "Serge Huber (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996308#comment-12996308 ]
Serge Huber commented on JCR-2900:
----------------------------------
Thanks Jukka for creating this bug. I can confirm the fix works fine.
> DbClusterTest failure due to network configuration
> --------------------------------------------------
>
> Key: JCR-2900
> URL: https://issues.apache.org/jira/browse/JCR-2900
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.2.4
> Reporter: Jukka Zitting
> Assignee: Thomas Mueller
> Priority: Minor
> Fix For: 2.2.5
>
>
> As reported by Serge, the DbClusterTest case fails when run with certain network configuration.
> Thomas already suggested a fix:
> ### 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"));
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (JCR-2900) DbClusterTest failure due to network
configuration
Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller reassigned JCR-2900:
-----------------------------------
Assignee: Thomas Mueller
> DbClusterTest failure due to network configuration
> --------------------------------------------------
>
> Key: JCR-2900
> URL: https://issues.apache.org/jira/browse/JCR-2900
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.2.4
> Reporter: Jukka Zitting
> Assignee: Thomas Mueller
> Priority: Minor
> Fix For: 2.2.5
>
>
> As reported by Serge, the DbClusterTest case fails when run with certain network configuration.
> Thomas already suggested a fix:
> ### 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"));
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (JCR-2900) DbClusterTest failure due to network
configuration
Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller resolved JCR-2900.
---------------------------------
Resolution: Fixed
Sorry, I forgot...
> DbClusterTest failure due to network configuration
> --------------------------------------------------
>
> Key: JCR-2900
> URL: https://issues.apache.org/jira/browse/JCR-2900
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.2.4
> Reporter: Jukka Zitting
> Assignee: Thomas Mueller
> Priority: Minor
> Fix For: 2.2.5
>
>
> As reported by Serge, the DbClusterTest case fails when run with certain network configuration.
> Thomas already suggested a fix:
> ### 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"));
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira