ESQL problem - current cocoon HEAD

2003-01-09 Thread Leszek Gawron
I'm using cocoon to communicate with MS SQL Server via MS JDBC driver (Java 1.3). After switching to current HEAD I get an error message that did not exist in my previous version: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error

Re: Simple esql problem - Oh I see the trouble.

2002-04-24 Thread Christian Haul
[EMAIL PROTECTED] wrote: > Christian Haul says: > class not found".> Looks like there is a problem with your XSP or - if any - your > >>logicsheets. There should be another message telling you exactly what >>went wrong. Cocoon is very verbose on errors so sometimes one doesn't >>spot the root cau

Re: Simple esql problem, I think

2002-04-24 Thread jsexton
Christian Haul says: > On 24.Apr.2002 -- 08:54 AM, [EMAIL PROTECTED] wrote: > > Christian Haul says: > > Looks like there is a problem with your XSP or - if any - your > logicsheets. There should be another message telling you exactly what > went wrong. Cocoon is very verbose on errors so someti

Re: Simple esql problem - Oh I see the trouble.

2002-04-24 Thread jsexton
Christian Haul says: class not found".> Looks like there is a problem with your XSP or - if any - your > logicsheets. There should be another message telling you exactly what > went wrong. Cocoon is very verbose on errors so sometimes one doesn't > spot the root cause. > > Your XSP will be trans

Re: Simple esql problem, I think

2002-04-24 Thread jsexton
Christian Haul says: > On 24.Apr.2002 -- 08:54 AM, [EMAIL PROTECTED] wrote: > > Thanks, yes that makes sense. However when I use "serverpages" I get > > a class not found (BTW, I'm using JDK 1.3.1 and Tomcat 4.0.1). I'd > > sure like to have this working! Sorry if I'm missing something > > obv

Re: Simple esql problem, I think

2002-04-24 Thread Christian Haul
On 24.Apr.2002 -- 08:54 AM, [EMAIL PROTECTED] wrote: > > Christian Haul says: > > On 23.Apr.2002 -- 01:20 PM, [EMAIL PROTECTED] wrote: > Thanks, yes that makes sense. However when I use "serverpages" I get > a class not found (BTW, I'm using JDK 1.3.1 and Tomcat 4.0.1). I'd > sure like to have

Re: Simple esql problem, I think

2002-04-24 Thread jsexton
Christian Haul says: > On 23.Apr.2002 -- 01:20 PM, [EMAIL PROTECTED] wrote: > > The connection pool is fine, that's working, however something goes > > wrong with the esql. It just sents the client back the xml without an > > attempt to do the query. I can even add an xsl and that works too, >

Re: Simple esql problem, I think

2002-04-23 Thread Christian Haul
On 23.Apr.2002 -- 01:20 PM, [EMAIL PROTECTED] wrote: > > I working with on a simple database query with cocoon 2. I've done > this with the older cocoon, but here I'm having a processing problem > of some sort with the taglib. > > The connection pool is fine, that's working, however something g

Simple esql problem, I think

2002-04-23 Thread jsexton
I working with on a simple database query with cocoon 2. I've done this with the older cocoon, but here I'm having a processing problem of some sort with the taglib. The connection pool is fine, that's working, however something goes wrong with the esql. It just sents the client back the xml w

Re: jdbc or xsp or esql problem

2002-03-21 Thread Christian Haul
On 20.Mar.2002 -- 01:21 PM, von Schwerdtner, Thomas (GXS, FPI) wrote: > test.xsp contains: > >xmlns:xsp="http://apache.org/xsp"; > xmlns:xlink="http://www.w3.org/1999/xlink"; > xmlns:esql="http://apache.

Re: jdbc or xsp or esql problem

2002-03-20 Thread tvon
Keeping in mind I do not know a hell of a lot about java or jdbc, does it make any sense that I can write a little test program in java, and have it connect to the database just fine with the jdbc driver, but when used in cocoon, I get a slew of errors? The java program only goes up to "DriverMan

Re: jdbc or xsp or esql problem

2002-03-20 Thread tvon
On Wed, Mar 20, 2002, leo leonid wrote: > do the e?sql-samples work that come with the distribution using the > hsqldb-server? > I bet they don't. You are correct. I just built a recent (past few days) CVS snapshot and the ESQL samples spit that same NoValidConnectionException. This is lame...

Re: jdbc or xsp or esql problem

2002-03-20 Thread leo leonid
536) > > > > > > ===== > == > > From: leo leonid [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, March 20, 2002 1:55 PM > > To: [EMAIL PROTECTED] > > Subject: Re: jdbc or xsp or esql proble

RE: jdbc or xsp or esql problem

2002-03-20 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: jdbc or xsp or esql problem I don't remember if I tried it with jdk1.4.  I'll re-build it in a few minutes if I dont find a quicker solution. Despite the errors going away (now the xsp page spits no errors, but the resulting page is totally blank, not even a tag (more

Re: jdbc or xsp or esql problem

2002-03-20 Thread leo leonid
do the e?sql-samples work that come with the distribution using the hsqldb-server? I bet they don't. On Wednesday, March 20, 2002, at 07:21 Uhr, von Schwerdtner, Thomas (GXS, FPI) wrote: > Hey folks, > > Setup: >  cocoon-2.0.2dev (can give snapshot date if needed, it's from about a > week ag

RE: jdbc or xsp or esql problem

2002-03-20 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: jdbc or xsp or esql problem Oh my. That got rid of the errors. Thanks, -Tom > Under the work directory you'll find the generated .java for > your xsp page. > > I think you should enclose your content in between tags. >  

Re: jdbc or xsp or esql problem

2002-03-20 Thread Ivan Rubin
von Schwerdtner, Thomas (GXS, FPI) wrote: > Hey folks, > > Setup: > cocoon-2.0.2dev (can give snapshot date if needed, it's from about a > week ago) > tomcat 4.0.3-LE > jdk1.4 > linux > java2/1.2/1.3/1.4 postgresql jdbc driver is in classpath (downloaded > bianry from jdbc.postgresql.or

jdbc or xsp or esql problem

2002-03-20 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: jdbc or xsp or esql problem Hey folks, Setup:  cocoon-2.0.2dev (can give snapshot date if needed, it's from about a week ago)  tomcat 4.0.3-LE  jdk1.4  linux  java2/1.2/1.3/1.4 postgresql jdbc driver is in classpath (downloaded bianry from jdbc.postgresql.org which specified th

C1.8 ESQL problem?

2001-09-07 Thread Martin Mauri
Hi users,   I'm facing with a problem while trying to show a database field through ESQL. The thing is that the field contains a "º" simbol (ASCII character 167). But when I render it with Cocoon, I get the symbol "º" instead.   Any idea?   thanks!   Lic. Martin O. MauriProfesion + Auge A.F.J

ESQL : Problem with the "esql:no-results" tag (CVS broken, so I can't try a 1.54+ version)

2001-07-23 Thread Luís Góis
Look at this fragment from the esql taglib and read the comments I've placed in it : _esql_query.statement = _esql_connection.connection.createStatement(); _esql_query.results = _esql_query.statement.execute(_esql_query.query); // my debug System.out.println("ESQL : _esql_query

Re: esql problem

2001-07-07 Thread Christian Haul
On 06.Jul.2001 -- 03:18 PM, JEULIN Olivier wrote: > It seems you should put it inside xsp:logic like this > > rowNum = ; > > (if C2 is a bit like C1 ;) ) If you didn't want to assign to a variable, then you'd need to enclose the "rowNum=..." code with a element. I'll patch that into the logic

RE: esql problem

2001-07-06 Thread JEULIN Olivier
It seems you should put it inside xsp:logic like this rowNum = ; (if C2 is a bit like C1 ;) ) > -Message d'origine- > De : Marco Spinetti [mailto:[EMAIL PROTECTED]] > Envoyé : vendredi 6 juillet 2001 15:08 > À : [EMAIL PROTECTED] > Objet : R: esql problem > &g

Re: R: esql problem

2001-07-06 Thread Christian Haul
On 06.Jul.2001 -- 03:07 PM, Marco Spinetti wrote: > I saw prova_xsp.java and I found this code: > > while (_esql_query.resultset.next()) { > this.characters("\n\t\t\t\t\trowNum = "); > (_esql_query.resultset.getInt("result")) The above is not terminated. A

R: esql problem

2001-07-06 Thread Marco Spinetti
esql_query.position++; break; } _esql_query.position++; } but I don't see any error. Am I mistake? Marco - Original Message - From: JEULIN Olivier <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 2:56 PM

RE: esql problem

2001-07-06 Thread JEULIN Olivier
rigine- > De : Christian Haul [mailto:[EMAIL PROTECTED]] > Envoyé : vendredi 6 juillet 2001 14:49 > À : [EMAIL PROTECTED] > Objet : Re: esql problem > > > On 06.Jul.2001 -- 02:30 PM, JEULIN Olivier wrote: > > Well, esql:get-int needs a column name, > > so try: &

Re: esql problem

2001-07-06 Thread Christian Haul
On 06.Jul.2001 -- 02:30 PM, JEULIN Olivier wrote: > Well, esql:get-int needs a column name, > so try: "select count(*) as thecount from..." > and use: That's not true. It takes either a label or a number. So should work (and it's translated correctly to _esql_query_resultset.getInt(1). Proble

R: esql problem

2001-07-06 Thread Marco Spinetti
Friday, July 06, 2001 2:30 PM Subject: RE: esql problem > Well, esql:get-int needs a column name, > so try: "select count(*) as thecount from..." > and use: > Olivier > -Message d'origine- > Hi all, > I have a question about esql. In my application I do a

RE: esql problem

2001-07-06 Thread JEULIN Olivier
Well, esql:get-int needs a column name, so try: "select count(*) as thecount from..." and use: Olivier -Message d'origine- Hi all, I have a question about esql. In my application I do a query "select count(*) from." and I try to get the number result in this way: elenco1

esql problem

2001-07-06 Thread Marco Spinetti
Hi all, I have a question about esql. In my application I do a query "select count(*) from." and I try to get the number result in this way:   elenco1 query   rowNum = ;    but cocoon2 gives me a error:   Invalid expression statement. (_esql_q