Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 95882 invoked by uid 500); 29 Jul 2003 02:44:15 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 95848 invoked from network); 29 Jul 2003 02:44:14 -0000 Received: from ns62.tstt.net.tt (209.94.205.62) by daedalus.apache.org with SMTP; 29 Jul 2003 02:44:14 -0000 Received: from ns33.tstt.net.tt (ns33.tstt.net.tt [196.3.132.33]) by ns62.tstt.net.tt (Postfix) with SMTP id 507E814982F for ; Mon, 28 Jul 2003 22:41:27 -0400 (AST) Received: (qmail 22622 invoked from network); 29 Jul 2003 02:44:11 -0000 Received: from unknown (HELO leo) (209.94.217.5) by ns33.tstt.net.tt with SMTP; 29 Jul 2003 02:44:11 -0000 From: "Leo" To: "forrest" Subject: EXist in Forrest Date: Mon, 28 Jul 2003 22:46:43 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi folks Firstly let me say thanks,to all who have given this newbie to forrest help in the past. I am still trying to get EXist to work in Forrest. I followed the steps on trail : http://wiki.cocoondev.org/Wiki.jsp?page=EXistInCocoon and got to the point where when I type forrest run I see the following: (Also I am able to load page- admin, which the above trail says indicates EXist is running) run: 21:27:37.763 EVENT Checking Resource aliases 21:27:38.705 EVENT Starting Jetty/4.2.8 21:27:39.476 EVENT Started WebApplicationContext[/,Forrest] - xincon web & webdav administration interface for xindice INFO - xincon web & webdav administration interface for xindice - made by Jan Metzner jan.metzner@fhm.edu INFO - made by Jan Metzner jan.metzner@fhm.edu - let's have fun! INFO - let's have fun! DEBUG - log4j priority: DEBUG DEBUG [init] log4j layout: %-5p [%M] %m%n - initialize database connection INFO [initDB] initialize database connection DEBUG [initDB] database driver: org.exist.xmldb.DatabaseImpl DEBUG [initDB] database root: xmldb:exist:///db DEBUG [initDB] for tomcat: set openorb.home=C:\My2ndForrest\build\webapp\WEB-INF \openorb 21:27:44.844 EVENT org.exist.DatabaseAdminServlet: DatabaseAdminServlet: exist. home=C:\My2ndForrest\build\webapp\WEB-INF 21:27:44.854 EVENT org.exist.DatabaseAdminServlet: reading configuration from C :\My2ndForrest\build\webapp\WEB-INF\conf.xml 21:27:45.424 EVENT org.exist.DatabaseAdminServlet: configuring eXist instance 21:27:46.957 EVENT org.exist.DatabaseAdminServlet: registering XMLDB driver 21:27:47.337 EVENT Started SocketListener on 0.0.0.0:8888 21:27:47.337 EVENT Started org.mortbay.jetty.Server@de3f2d I have the configurations for XSP (in cocoon.xconf) set up and this works fine when there are no xmldb namespace references. I also have in cocoon.xconf builtin-logicsheet for xmldb Trying to access an XSP page(simple1.xsp) with references to xmldb: . . String doc = request.getParameter("doc"); if(doc != null && doc.length() > 0) {

Retrieving document doc

doc }
The Problem: I get the following error when trying to access the page simple.xsp: 21:28:27.745 EVENT ERROR (2003-07-28) 21:28.27:735 [access ] (/functions imple1.xsp) PoolThread-3/CocoonServlet: Internal Cocoon Problem org.apache.cocoon.ProcessingException: java.lang.RuntimeException: Namespace f prefix 'xmldb' has not been declared.: java.lang.RuntimeException: java.lang. ntimeException: Namespace for prefix 'xmldb' has not been declared. at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPages nerator.java:208) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.se pPipeline(AbstractProcessingPipeline.java:378) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessin ipeline.setupPipeline(AbstractCachingProcessingPipeline.java:672) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.pr arePipeline(AbstractProcessingPipeline.java:505) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.pr ess(AbstractProcessingPipeline.java:467) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.in ke(SerializeNode.java:150) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessing de.invokeNodes(AbstractParentProcessingNode.java:84) Regards Leo