OT: ESQL, MySQL, and the GPL

2001-08-14 Thread Chris Newland
Hi All, A quick question about licensing. If I use the ESQL logicsheet (Apache license?) with the MM JDBC driver (LGPL) to connect to a MySQL DB server (GPL), is my XSP code protected from the GPL ? Thanks, and sorry for the off-topic post. -Chris PS. If you don't already have this configurat

request taglib + query

2001-08-14 Thread annemarie . hartvigsen
Hi all, and thanks for helping me so much! Unfortunately, I still cannot get my page to do what I want: *I am able to pick up the http request parameter from the URL and display it *I am able to run the query if I hardcode the value *But I am not able to run the query with the value that I pick

RE: request taglib + query

2001-08-14 Thread Morrison, John
The logicsheets are prob being applied in the wrong order... try select name as reg_name, deviceID as reg_deviceID, description as reg_description, startTime as reg_startTime, endTime as reg_endTime from user, terminal, deviceTy

Re: Sitemap and Action

2001-08-14 Thread Sergio Carvalho
Thanks for sharing your solution. C2 is in its infancy, in terms of user base, so the rate of new users is high. Use cases are always helpfull. Yes, actions are one possible way to do it. They are definitely the correct way if you think of CMS in terms of an adapting sitemap. One other, equal

Re: request taglib + query

2001-08-14 Thread Christian Haul
Anne Marie, as far as I can see, the resulting java source is OK. A comparison of the two fragments that reference the request parameter are identical which they should be as both return a String. On 14.Aug.2001 -- 11:22 AM, [EMAIL PROTECTED] wrote: Printing ID to greet the user: > xsp

Re: OT: ESQL, MySQL, and the GPL

2001-08-14 Thread Sergio Carvalho
My first advise is: Contact a lawyer. You are not bound to find lawyers in this forum, and all you'll get are random opinions about GPL licensing. Now, for my random opinion - I am not a lawyer, so take it with a ton of salt: (MySQL DB) I'm fairly sure you are not affected by a server's li

[C2] Deploy in iPlanet6

2001-08-14 Thread Tomas Andersson
Is there any person out there which have succeeded to deploy Cocoon 2 in iPlanet 6. The only availible information on iPlanet's website is that you should not deploy but integrate(?) Cocoon 2 into iPlanet. Any suggestions, answers, comments? Regards Tomas Andersson Ellipsus Systems Inc.

Cocoon2: ant problem

2001-08-14 Thread Andre Juffer
Hi All, I experience a somewhat perculiar problem when I try to install cocoon2 on a Redhat Linux box. If I run build.sh, I get the following Apache Cocoon 2 Build System ./build.sh: /usr/local/xml-cocoon2/bin/ant: No such file or directory But, the /usr/local/xml-

Re: Cocoon2: ant problem

2001-08-14 Thread Sébastien Lefebvre
I had the same problem yesterday Cocoon 2.02B, Tomcat 3.2.2, Apache 1.3.19 on RH7 Any help is welcome ! Sébastien >Hi All, > >I experience a somewhat perculiar problem when I try to install cocoon2 >on a Redhat Linux box. If I run build.sh, I get the following > > >Apache Cocoon 2 Build System >-

Re: Cocoon2: ant problem

2001-08-14 Thread Andre Juffer
Hi Sébastien, I kept on looking in the archive in the mean time, and ultimately found a solution, just seconds ago (after 1 hour of search). It is not the build.sh script but the bin/ant file itself. It seems that this file was created on a DOS system, so you have to run dos2unix on bin/ant and b

RE: Cocoon2: ant problem

2001-08-14 Thread Chris Newland
Hi, I had this problem too running the build script from the Cocoon2.0b2 distribution on SuSE 7.2, Sun JDK1.3.1 A solution that works for me is to edit the /bin/ant script and resave it and then it works fine. #! /bin/sh echo in ant script <--- Line that I added if [ -f "$H

RE: Strange problem with the Reader

2001-08-14 Thread Vadim Gritsenko
Assuming you do not see image correctly after refresh: I had similar problem, but it's gone now for some reason. What I do remember: Try and test this under Tomcat - problem should go away. Also, if you put resin behind HTTP cache, problem should disappear. I do not have explanation for this. M

couple of questions about latest build

2001-08-14 Thread java guru
Hi., I may be behind schedule but correct me if i am wrong.. All of this is about latest build of c2 1. There is supposed to be FOPSerializer..where is it gone..I see pdfserializer? 2. The sitemap that comes with cvs version in webapp/ doesnt have pdfsearializer defined as serializer for fo2

minimal sitemap for c2

2001-08-14 Thread java guru
Hi., I wanted to minimize the memory usage by c2 as the server is extreemly memory sensitive... 1. Are there any hit areas in c2 where i can cut down substantial memory usage(I mean buy taking certain components out of sitemap or something like that..I know this depends on what my appliation us

RE: couple of questions about latest build

2001-08-14 Thread Morrison, John
Oops, that might be my fault; all the FOP generated Serializers are undergoing a fair amount of re-coding atm to allow support of more FOP generated stuff. FOPSerializer doesn't really _say_ what it is. Unless you _know_ that FOP generates PDF it's a little miss-leading. > -Original Message

RE: minimal sitemap for c2

2001-08-14 Thread Morrison, John
> -Original Message- > From: java guru [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 14 August 2001 3:33 pm > To: cocoon users > Subject: minimal sitemap for c2 > > > Hi., > I wanted to minimize the memory usage by c2 as the > server is extremely memory sensitive... > > 1. Are there a

RE: couple of questions about latest build

2001-08-14 Thread java guru
Thanks for both replies man.. cya --- "Morrison, John" <[EMAIL PROTECTED]> wrote: > Oops, that might be my fault; all the FOP generated > Serializers are > undergoing a fair amount of re-coding atm to allow > support of more FOP > generated stuff. > > FOPSerializer doesn't really _say_ what it

RE: couple of questions about latest build

2001-08-14 Thread Morrison, John
No worries - check out the cvs now - dim's has been recoding! > -Original Message- > From: java guru [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 14 August 2001 3:51 pm > To: [EMAIL PROTECTED] > Subject: RE: couple of questions about latest build > > > Thanks for both replies man.. > >

[c2] Q: IBM JDK & Cocoon

2001-08-14 Thread Tony Click
Has anyone gotten Cocoon to compile w/IBM's JDK? I'm getting the following build: C:\Java\xml-cocoon2>build -Dinclude.webapp.libs=yes -Dinstall.war=c:\java\jakarta-tomcat-3.2.3\webapps webapp Buildfile: build.xml init: [echo] --- Apache Cocoon 2.1-dev [1999-2001] --

RE: [c2] Q: IBM JDK & Cocoon

2001-08-14 Thread Tony Click
One more piece of info - everything works just fine if I switch to using sun's Jdk -Original Message- From: Tony Click [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 10:53 AM To: '[EMAIL PROTECTED]' Subject: [c2] Q: IBM JDK & Cocoon Has anyone gotten Cocoon to compile w/IBM's

Re: request taglib + query

2001-08-14 Thread Christopher Painter-Wakefield
Anne Marie, this may sound completely stupid, but remove the semicolon at the end of your query. I copied your XML into a new file in my project and edited it to make the query match tables in my database and changed the pool to one of my own pools. I also removed your stylesheets and used a s

Re: I can't make XSL to work for cocoon1.8.2

2001-08-14 Thread Christopher Painter-Wakefield
Could you be more specific as to what is different in your output from Cocoon that with Xalan? The code you put in your e-mail does have a typo: " cc: Subject: I can't make XSL to work for cocoon1.8.2 Hi, I have this XSL script which works with xalan (I use cooktop), but when Itry the same c

RE: request taglib + query

2001-08-14 Thread annemarie . hartvigsen
THANK YOU It's working like a dream now. Thanks also to all you others who have helped me figure out this problem, I am so grateful for all the time and effort you have put into it! Typical, the worst mistake is always just a semicolon... [blush] /Anne Marie [still blushing] -Original

Question on xsp element/attribute tag generation

2001-08-14 Thread Ganesh Radhakrishnan
hi all, I am once again sending this problem that I am having with dynamic xml attribute generation using xsp, hope someone would have come across the same issue. I am facing this problem while using "java.org.apache.cocoon.Cocoon" programatically (not running the servlet engine) from my java cod

RE: I can't make XSL to work for cocoon1.8.2

2001-08-14 Thread Uslu, Cihan Y (MED)
Hi, When I use cocoon I am getting too many tables filled with spaces, and attributes in the wrong cells and repeating many times. With xalan I get 7 tables filled with attribute values in the cells of the tables. There are 7 LiteralExample tags withing the XML file. I'm attaching a snippet from x

Custom producer question

2001-08-14 Thread Kilmer, Erich
Currently I am running Cocoon 1 integrated into Orion apps server. I have run the Cocoon FO samples. Then I converted my own XMLs to PDFs in the browser via the URL: http://localhost:8080/samples/fo/mydoc.xml?dummy=mydoc.pdf Now I am trying to extend the AbstractProducer to add my own producer to

RE: ESQL, MySQL, and the GPL

2001-08-14 Thread Luca Morandini
Chris, I think so. Since you didn't modify the source code of the tools you mentioned (Apache, Cocoon, ESQL, ...) you are not breaking GPL. On the ohter hand, if you, say, modified the ESQL logicsheet, you would have been forced to shar the modified source code with the community

Re: Cocoon2: ant problem

2001-08-14 Thread Rolf Heckemann
(First message on this list -- hope it's alright) Hi On Tue, Aug 14, 2001 at 03:21:50PM +0300, Andre Juffer wrote: > I experience a somewhat perculiar problem when I try to install cocoon2 > on a Redhat Linux box. If I run build.sh, I get the following > > > Apache Cocoon 2 Build System >

[C2] Stream Generator

2001-08-14 Thread Eric ...
I've found something about the Stream Generator in the Cocoon documentation. I've made the following modifications to the file sitemap.xmap : ... But I got this error : Error creating the resource Exception in StreamGener

RE: Strange problem with the Reader

2001-08-14 Thread Vadim Gritsenko
Did you tried this with tomcat? Vadim > -Original Message- > From: Jörn Heid [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 14, 2001 2:18 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: AW: Strange problem with the Reader > > > Thanks for your answer. > But now I found

RE: [C2] Stream Generator

2001-08-14 Thread Vadim Gritsenko
Try this: > > > Vadim > -Original Message- > From: Eric ... [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 14, 2001 2:19 PM > To: [EMAIL PROTECTED] > Subject: [C2] Stream Generator > > > I've found something about the Stream Generator in the Cocoon documentation.

AW: Strange problem with the Reader

2001-08-14 Thread Jörn Heid
Addition: I used the source of the ResourceReader and added some System.out in some methods. Perhaps, this helps. Loading in IE (image could be seen): setup shouldSetContentLength Generate recycle Netscape 6.1 (image could not be seen): setup shouldSetContentLength Generate recycle setup recycle

Where to put custom producer

2001-08-14 Thread Kilmer, Erich
Has anyone out there gotten a customer Producer to work in Cocoon 1? I have been playing with Cocoon1 and running it in my Orion apps server. With this I have been able to convert XML file input to PDF output on the fly. That works fine and I have been pleased with the results. In our applicatio

mail taglib in C2

2001-08-14 Thread John Yoost
sendmail is in C2 but does anyone know when mail will be? - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTEC

Question displaying results HTML & Cocoon.

2001-08-14 Thread Gustavo Mejia
Hello everyone,,   Maybe it is not related with this list, but maybe you know, I am trying to show all my records using an HTML with xmldso and other file XML using esql tags, If call just the esql file It works fine, but when I call it by my HTML, when I press next I got an error message that sa

XSP equivalent to JSP:Include

2001-08-14 Thread Paul Hammant
I have had a trawl through the mail list archives, but can only see the **| util:include|** feature for the styling stage. Is there a direct XSP operation to include content from another page? Regards, - Paul H - Please chec

Finally mail: Strange problem with the Reader

2001-08-14 Thread Jörn Heid
Sorry, here's a second addition: When I change my file ending from .jpg to .gif and back again it seems that it's not a problem of the ending as the gif makes problems with the ending .jpg, too. The jpg doesn't with a .gif ending. As a workaround I changed the following lines public long getLas

AW: Strange problem with the Reader

2001-08-14 Thread Jörn Heid
Thanks for your answer. But now I found out something stranger: It works with JPEGs! But not with GIFs ... When trying to save the gif to disk after two seconds it saved correctly. I tried the cocoon webapp and I think there the cocoon.gif doesn't disappear ... For me it's a HUGE bug and if no

Re: C2 request object

2001-08-14 Thread Cassandra Bonner
Hmmm, we hit this as well while migrating, but i assumed from the posting below that there is no way to get to the javax.servlet.HttpServletReq/Resp.?. I've moved to the cocoon req,resp (which according to this posting is more generic), but I don't understand how this will be portable. As you