Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43B77D1CD for ; Mon, 19 Nov 2012 11:41:00 +0000 (UTC) Received: (qmail 2415 invoked by uid 500); 19 Nov 2012 11:41:00 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 2374 invoked by uid 500); 19 Nov 2012 11:40:59 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 2357 invoked by uid 99); 19 Nov 2012 11:40:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 11:40:59 +0000 Date: Mon, 19 Nov 2012 11:40:59 +0000 (UTC) From: "Alex Parvulescu (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1289188433.2483.1353325259541.JavaMail.jiratomcat@arcas> In-Reply-To: <413500725.2463.1353325018318.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (JCR-3459) RmiRepositoryFactory regression, invalid stream header MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu resolved JCR-3459. ---------------------------------- Resolution: Fixed Fix Version/s: 2.6 fixed with rev r1411132. It seems that extracting the #getRemoteRepository part in a dedicated class fixes the issue. I'd like to see what others think. > RmiRepositoryFactory regression, invalid stream header > ------------------------------------------------------ > > Key: JCR-3459 > URL: https://issues.apache.org/jira/browse/JCR-3459 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-jcr-rmi > Reporter: Alex Parvulescu > Assignee: Alex Parvulescu > Fix For: 2.6 > > > Following JCR-3454 I've noticed a regression, I have a remote test failing with the following trace [0] > I've narrowed it down to rev 1409181, which means that this change is not visible with JR 2.5.2, but it is with 2.6-SNAPSHOT (a fresh trunk build). > [0] > org.apache.jackrabbit.rmi.client.RemoteRepositoryException: java.rmi.RemoteException: Failed to read the resource at URL http://localhost:52833/....; nested exception is: > java.io.StreamCorruptedException: invalid stream header: 3C68746D > at org.apache.jackrabbit.rmi.client.SafeClientRepository.remoteLogin(SafeClientRepository.java:112) > at org.apache.jackrabbit.rmi.client.SafeClientRepository.login(SafeClientRepository.java:120) > at org.apache.jackrabbit.rmi.client.SafeClientRepository.login(SafeClientRepository.java:131) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira