RE: Can't build Cocoon 2.0.1

2002-02-19 Thread fred . tsang
Ok, maybe I'm being a little thick here. I'm looking at: build/cocoon/src/org/apache/cocoon/components/language/markup/xsp/EsqlConnec tion.java the only lines with 'JDBC' are line 26: public static final int LIMIT_METHOD_JDBC = 3; and line 75 and 86 have: limitMethod = LIMIT_METHOD_JDBC;

RE: Can't build Cocoon 2.0.1

2002-02-19 Thread fred . tsang
Hi Torsten, I thought there was something wrong with doing that! Sorry, I don't quite understand which files to modify, and what to modify in them. do you mean EsqlConnection.java and EsqlConnectionCocoon2.java? or do you mean remove the 'filter-jdbc'/'nofilter-jdbc' targets from build.xml?

RE: Can't build Cocoon 2.0.1

2002-02-19 Thread fred . tsang
All, Looks like one way to fix this problem is to declare the 2 classes as abstract: cocoon-2.0.1/build/cocoon/src/org/apache/cocoon/components/language/markup/x sp/EsqlConnection.java (line 22): public abstract class EsqlConnection implements Connection { cocoon-2.0.1

RE: Can't build Cocoon 2.0.1

2002-02-19 Thread fred . tsang
Title: RE: Can't build Cocoon 2.0.1 Nael,   I get the same compile problems using:   jdk 1.4.0 linux - kernel 2.4.17   This looks more like a class problem, not an install path problem.  To repeat, the root error looks like: cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\components\languag

RE: ESQL doc.

2002-02-15 Thread fred . tsang
Here is an example I worked out (with help). Don't know if this works for 2 embedded queries: pooledConnect select dept from department_table

RE: [C2] esql: using query results in another query

2002-01-17 Thread fred . tsang
Aargh! thanks for the help Harald! I'm very sorry, I had filled the dept field with a string, but what I really needed was the dept id. So, not surprisingly, the query didn't return anything. Cheers, Fred<-- An idiot -Original Message- From: SunnyDay [mailto:[EMAIL PROTECTED]] Sent: 1

[C2] Testing your esql pooled connection

2002-01-14 Thread fred . tsang
All, Is there any way to check if cocoon2 has properly loaded external jdbc drivers and has an established connection to a db url? I'm trying to get esql to work following the examples by the book with no luck. I'm thinking somehow I've messed up the setup, but can't verify this. Thanks in adva

RE: [C2] with Tomcat 3.2.1 under Solaris 2.6

2001-07-31 Thread Fred Tsang
Tim, I have made numerous postings to this group suggesting there is something wrong with the Jdk 1.3.0 and 1.3.0_01 run times. I could not get cocoon running at all on my Solaris 2.8 system until I changed to Jdk 1.3.1 (and I even used RC1). Can someone please put this in the cocoon faq or som

RE: Problem starting up new C2 beta

2001-06-07 Thread Fred Tsang
Hi Alexander, take a look at the following forwarded email response from Berin Loritsch at Apache. If you have the same setup as me, this should do the trick: == Fred Tsang wrote: > > Sorry, > > My environment is: > > Tomcat 3.2.1 >

RE: [C2.0a5] java.lang.ClassNotFoundException: org.apache.cocoon.www. sitemap_xmap

2001-05-31 Thread Fred Tsang
Drasko, I've just gotten the latest c2.0a7 working on tomcat 3.2.1, solaris 2.8 and JDK 1.3.1. I had some problems using any JDK 1.3.0 (including 1.3.0_02). Could have been me though, because of classpath problems. Cheers, Fred -Original Message- From: Drasko Kokic [mailto:[EMAIL PROTEC

[c2] SVG X11 display problem

2001-05-31 Thread Fred Tsang
Berin, Thanks for your help! (and yes, it is MUCH better than placing all the jars into /lib) I have noticed one thing though. I'm using cocoon on a Netra T1, and they don't have any graphics cards. I had to remove all references to svg in the sitemap and cocoon.xconf. Otherwise, cocoon will

RE: [c2] Problem with Avalon

2001-05-31 Thread Fred Tsang
coon can't find the classes, how will it operate? thanks for the tip! cheers, Fred -Original Message- From: Berin Loritsch [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 31, 2001 1:37 PM To: [EMAIL PROTECTED] Subject: Re: [c2] Problem with Avalon Fred Tsang wrote: > > I'

[c2] Problem with Avalon

2001-05-31 Thread Fred Tsang
I'm having a problem getting the latest c2 build to work. After building the war file and installing it on Tomcat, I get a "The sitemap handler's sitemap is not available" error. The cocoon.log shows the following: java.lang.NoClassDefFoundError: org/apache/avalon/logger/AbstractLoggable