Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 58058 invoked from network); 28 Dec 2003 11:18:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Dec 2003 11:18:43 -0000 Received: (qmail 81056 invoked by uid 500); 28 Dec 2003 11:18:07 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 81026 invoked by uid 500); 28 Dec 2003 11:18:07 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 81013 invoked from network); 28 Dec 2003 11:18:07 -0000 Received: from unknown (HELO mta02-svc.ntlworld.com) (62.253.162.42) by daedalus.apache.org with SMTP; 28 Dec 2003 11:18:07 -0000 Received: from [81.98.165.178] by mta02-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031228111813.OYWT29762.mta02-svc.ntlworld.com@[81.98.165.178]> for ; Sun, 28 Dec 2003 11:18:13 +0000 Mime-Version: 1.0 (Apple Message framework v609) In-Reply-To: References: <3FEE434F.8070100@verona.se> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <89BC8B75-3927-11D8-916D-0003938366A4@beya-records.com> Content-Transfer-Encoding: 7bit From: beyaRecords - The home Urban music Subject: database issuses - (cocoon + mysql) Date: Sun, 28 Dec 2003 11:18:18 +0000 To: users@cocoon.apache.org X-Mailer: Apple Mail (2.609) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I am having an issue connecting to a MySQL database. Basically, any esql tags with data between them is being written to the screen instead of being processed and no connection to the database is being made. For example instead of mysql being processed, 'mysql' is being printed to the screen. What am i not doing correctly? The process I followed to try and ensure database connectivity was this: 1. Copy JDBC driver for MySQL into CATALINA_HOME/common/lib 2. Define a MySQL datasource: false jdbc:mysql://localhost/test user password 3. edit CATALINA_HOME/webapps/cocoon/web-inf/web.xml load-class org.gjt.mm.mysql.Driver org.postgresql.Driver 4. xsp code: trouble tickets mysql select * from TroubleTickets

Sorry, no results!

5. xsl snippet:
regards Uzo On 28 Dec 2003, at 10:40, Luca Morandini wrote: > joakim verona wrote: >> So I guess my basic question is: how do I make a pipeline that can >> take both request parameters and >> "bizdata" parameters at the same time? Or is it the other way around? >> Should the pipeline >> be made to accept "bizdata" parameters only? > > Well, let's put it this way: if I had to send two parameters ("x" and > "y") to pipeline "foo.xml", I'd do the following ("os" being the > pipeline's output and "x" and "y2 the Javascript variables holding > request parameters' values): > > cocoon.processPipelineTo('foo.xml', {'x' : x, 'y' : y}, os); > > Regards, > > ----------------------------------- > Luca Morandini - GIS Consultant > lmorandini@ieee.org > http://xoomer.virgilio.it/ukmorand/ > ----------------------------------- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org