Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 14563 invoked from network); 29 Apr 2008 09:51:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Apr 2008 09:51:22 -0000 Received: (qmail 7987 invoked by uid 500); 29 Apr 2008 09:51:23 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 7569 invoked by uid 500); 29 Apr 2008 09:51:22 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 7558 invoked by uid 99); 29 Apr 2008 09:51:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 02:51:22 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 09:50:28 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JqmU5-0000PA-22 for users@jackrabbit.apache.org; Tue, 29 Apr 2008 02:50:49 -0700 Message-ID: <16957017.post@talk.nabble.com> Date: Tue, 29 Apr 2008 02:50:49 -0700 (PDT) From: amsmota To: users@jackrabbit.apache.org Subject: SimpleWevdavServlet with Spring DispatcherServlet/ServletWrappingController MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: amsmota@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hello: I'm trying unsuccessfully for 3 days now to put up a test case for Jackrabbit and my boss just told me to kill the project if I can't solve this today. Which of course I don't want to do (kill the project, not solve the thing :) What I'm trying to do is using SimpleWevdavServlet wrapped in a DispatcherServlet/ServletWrappingController, "injecting" a bean configured repository in my SimpleWevdavServlet using the Spring WebApplicationContext. But whatever I do I allways get javax.jcr.NoSuchWorkspaceException jackrabbit Basically what I have is: com.meridianp2p.stf.kb.jcr.webdav.JcrConnector /repotest /WEB-INF/config.xml anonymous:anonymous Basic realm="Jackrabbit Webdav Server" and and in my extended SimpleWevdavServlet public void init(ServletConfig config) throws ServletException { super.init(config); final WebApplicationContext context = WebApplicationContextUtils .getWebApplicationContext(config.getServletContext()); Repository repository = (Repository) context.getBean("repository"); setRepository(repository); } Can someone please help? Thanks. -- View this message in context: http://www.nabble.com/SimpleWevdavServlet-with-Spring-DispatcherServlet-ServletWrappingController-tp16957017p16957017.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.