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 697789FCE for ; Tue, 7 Feb 2012 12:31:22 +0000 (UTC) Received: (qmail 30281 invoked by uid 500); 7 Feb 2012 12:31:21 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 29603 invoked by uid 500); 7 Feb 2012 12:31:20 -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 29510 invoked by uid 99); 7 Feb 2012 12:31:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2012 12:31:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2012 12:31:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 509AF1A72BB for ; Tue, 7 Feb 2012 12:30:59 +0000 (UTC) Date: Tue, 7 Feb 2012 12:30:59 +0000 (UTC) From: "Julian Reschke (Commented) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <172040730.7877.1328617859331.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1897147833.7536.1328609099727.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JCR-3228) WebDav/DavEx remoting throws workspace missmatch exceptions when running on port 80. 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-3228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202288#comment-13202288 ] Julian Reschke commented on JCR-3228: ------------------------------------- maybe caused by the authority part of URI sometimes normalized (":80" removed) or not? > WebDav/DavEx remoting throws workspace missmatch exceptions when running on port 80. > ------------------------------------------------------------------------------------- > > Key: JCR-3228 > URL: https://issues.apache.org/jira/browse/JCR-3228 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-spi2dav, jackrabbit-webdav > Affects Versions: 2.2.9 > Reporter: Timothee Maret > > When running on port 80, the webdav remoting shows unexpected behavior such as listing incomplete folder content. > Moreover the following exception is thrown: > The exception I get: java.lang.IllegalArgumentException: Workspace missmatch. > [org.apache.jackrabbit.spi2dav.IdURICache.add(IdURICache.java:60), > org.apache.jackrabbit.spi2dav.URIResolverImpl.getItemUri(URIResolverImpl.java:129), > org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.getItemUri(RepositoryServiceImpl.java:391), > org.apache.jackrabbit.spi2davex.RepositoryServiceImpl.getPath(RepositoryServiceImpl.java:149), > org.apache.jackrabbit.spi2davex.RepositoryServiceImpl.getPath(RepositoryServiceImpl.java:138), > org.apache.jackrabbit.spi2davex.RepositoryServiceImpl.getItemInfos(RepositoryServiceImpl.java:265), > org.apache.jackrabbit.jcr2spi.state.WorkspaceItemStateFactory.createNodeState(WorkspaceItemStateFactory.java:93), > org.apache.jackrabbit.jcr2spi.state.TransientISFactory.createNodeState(TransientISFactory.java:97), > org.apache.jackrabbit.jcr2spi.hierarchy.NodeEntryImpl.doResolve(NodeEntryImpl.java:990), > org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntryImpl.resolve(HierarchyEntryImpl.java:133), > org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntryImpl.getItemState(HierarchyEntryImpl.java:252), > org.apache.jackrabbit.jcr2spi.hierarchy.NodeEntryImpl.getItemState(NodeEntryImpl.java:71), > org.apache.jackrabbit.jcr2spi.ItemManagerImpl.getItem(ItemManagerImpl.java:199), > org.apache.jackrabbit.jcr2spi.LazyItemIterator.prefetchNext(LazyItemIterator.java:138), > org.apache.jackrabbit.jcr2spi.LazyItemIterator.next(LazyItemIterator.java:251), > org.apache.jackrabbit.jcr2spi.LazyItemIterator.nextNode(LazyItemIterator.java:154), > com.adobe.drive.connector.adep.GetChildrenHandler.execute(GetChildrenHandler.java:121), > com.adobe.drive.connector.adep.GetChildrenHandler.execute(GetChildrenHandler.java:43), > com.adobe.drive.model.internal.synchronization.AssetSynchronizer.execute(AssetSynchronizer.java:432), > com.adobe.drive.model.internal.synchronization.AssetSynchronizer.synchronizeStructure(AssetSynchronizer.java:352), > com.adobe.drive.internal.data.manager.DataManager.getChildren(DataManager.java:2602), > com.adobe.drive.internal.biz.versioncue.service.call.GetChildren$1.call(GetChildren.java:98), > com.adobe.drive.internal.biz.versioncue.service.call.GetChildren$1.call(GetChildren.java:73), > com.adobe.drive.model.context.Context.run(Context.java:88), > com.adobe.drive.internal.biz.versioncue.service.call.GetChildren.executeItem(GetChildren.java:126), > com.adobe.drive.internal.biz.versioncue.service.call.GetChildren.executeItem(GetChildren.java:50), > com.adobe.drive.internal.biz.versioncue.service.call.VersionCueCall$1.run(VersionCueCall.java:125), > com.adobe.drive.internal.biz.versioncue.service.call.VersionCueCall$1.run(VersionCueCall.java:119), > com.adobe.drive.data.internal.persistence.PersistenceRunner.run(PersistenceRunner.java:119), > com.adobe.drive.internal.biz.versioncue.service.call.VersionCueCall.execute(VersionCueCall.java:134), > com.adobe.drive.internal.biz.versioncue.service.VersionCueService.getChildren(VersionCueService.java:269), > com.adobe.drive.ncomm.versioncue.GetChildren.handle(GetChildren.java:59), > com.adobe.drive.ncomm.versioncue.VersionCueRequestHandler$1.run(VersionCueRequestHandler.java:185), > com.adobe.drive.core.internal.jobs.JobHandler$JobWrapper.run(JobHandler.java:270), > com.adobe.drive.core.internal.jobs.JobHandler$JobWrapper.run(JobHandler.java:286), > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886), > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908), > java.lang.Thread.run(Thread.java:680)] > I have tracked this issue and actually the HTTP "Host" header which is used to identify the webdav server does not contain the port (only the host) when running on port 80, whereas it contains the : when running on any other port. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira