Xindice and Cocoon How To

2002-02-21 Thread Perry Molendijk
Infexions (WA) Pty LtdHope this is useful to anyone Finally got around to attempt to make xindice / dbxml work with C2. Checked the FAQ's and archive and ended up very confused. Anyway I kind of summarised all the advice / postings I found and got it to work [in the end]. Here is a rundown on wh

[C1] Installation problem

2002-02-21 Thread Aleksey Globets
- Original Message - From: "Aleksey Globets" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 20, 2002 5:45 PM Subject: [C1] New version of Xerces > Hi, > > I'm trying to install a newer version of Xerces. I have two systems: > > (1)FreeBSD 4.4 > JDK 1.1

Re: Cocoon 2.0 sitemap

2002-02-21 Thread Yvon Bricole
>What's the secret to getting Cocoon 2.0 to serve up PDF files? Is it the >sitemap file? Do I have to edit it? >I have one xml file and one xsl-fo file. How does Cocoon put the two together? > >G.Howze no secret at all ! read the samples, as for example one of cocoon folder just modified a litt

RE: XMLDBGenerator

2002-02-21 Thread Vadim Gritsenko
> From: Stephan Michels [mailto:[EMAIL PROTECTED]] > > On Thu, 21 Feb 2002, Gianugo Rabellino wrote: > > > xmldb:dbxml:///db/ > > > > Base should be is xmldb:xindice///db/. > > > > Also, you are getting the error from the XML:DB source protocol, not > > from the generators, please double chec

RE: Cocoon 2.0 sitemap

2002-02-21 Thread Vadim Gritsenko
Read: http://xml.apache.org/cocoon/ http://xml.apache.org/cocoon/overview.html http://xml.apache.org/cocoon/userdocs/concepts/index.html http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html And on your hard drive, in the Cocoon webapp, sitemap.xmap file. Yes, you have to edit sitemap.xma

RE: Tomcat 4.0.2, Cocoon 2.0.1, JDK 1.4.0 Build Problem

2002-02-21 Thread Vadim Gritsenko
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > That worked up to a point :) Now I'm getting this build error: > > /build/cocoon/scratchpad/src/org/apache/cocoon/transformation/pagination /Pages > heet.java:67: Class org.apache.cocoon.util.ResizableContainer not found in > import. > im

Re: XMLDBGenerator

2002-02-21 Thread Stephan Michels
On Thu, 21 Feb 2002, Martin Holz wrote: > Stephan Michels wrote: > > On Thu, 21 Feb 2002, Gianugo Rabellino wrote: > > > Stephan Michels wrote: > > > > I try to use cocoon with xindice. > > > > > > Please avoid, if possible, the XML:DB generators, swith to the Source > > > implementation, which

Cocoon 2.0 sitemap

2002-02-21 Thread Garry Howze
What's the secret to getting Cocoon 2.0 to serve up PDF files? Is it the sitemap file? Do I have to edit it? I have one xml file and one xsl-fo file. How does Cocoon put the two together?   G.Howze

Re: Having a function in a XSP.

2002-02-21 Thread Ed Jenkins
You can put an inner class inside an xsp:logic tag if it appears before your main element, i.e. . I did this at first. But when I needed the inner class again in another page, I moved it out of the pages and put it in a separate .java file and made sure the resulting .class file was on the cl

Re: Tomcat 4.0.2, Cocoon 2.0.1, JDK 1.4.0 Build Problem

2002-02-21 Thread tod . thomas
That worked up to a point :) Now I'm getting this build error: /build/cocoon/scratchpad/src/org/apache/cocoon/transformation/pagination/Pagesheet.java:67: Class org.apache.cocoon.util.ResizableContainer not found in import. import org.apache.cocoon.util.ResizableContainer; Anybody seen this on

Fw: howto make use of default database add, delete, update action for mutilple table at a time

2002-02-21 Thread marco
> Thanks a lot. I was able to insert records to more than one table at a time, > but according to the documentaion of the actions "DatabaseUpdateAction" and > "DatabaseDeleteAction" that they can handle only one table at a time. Please > advise. > > - Original Message - > From: "Christi

RE: Calling MS SQL stored procedure

2002-02-21 Thread neil
I'm using instead of IN parameters: { ? = call sp( '', ) } The MS JDBC driver had trouble parsing a query with new lines in it, but at least it gets by with one long line. In reply to: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101429060624988&w=2

RE: Uninterruptable Sleep

2002-02-21 Thread Colin Hall
Hi Gerhard, I am using a source distribution I downloaded from from the apache dist site at the end of January. Some further information that might be of interest: - My testing environment did NOT exhibited this behaviour even after I bombarded it for a full hour using jmeter running 30+ threads

RE: Uninterruptable Sleep

2002-02-21 Thread Gerhard Froehlich
Hi, some side-information to the StoreJanitor: some threads to this theme:

RE: No X or AWT blues

2002-02-21 Thread David Morris
Vadim & z/i/p Series users, Thanks for getting me on track, Cocoon works fine after removing all references to svg in the various sitemaps and jars. Is this how you got it working or are you using something like RAWT or PJA? This leads me to ask whether anyone has used RAWT with Cocoon and if

RE [C2] Netscape Shows Squares For Text

2002-02-21 Thread Peter Hargreaves
Hi Folks, Confirmation from an HTMLSerializer expert required please. Further to this problem - I've now tried configuring the HTMLSerializer. The sitemap documentation in combination with the actual sitemap suggests that the following contains all options for configuring the HTMLSerializer -

Re: Moving from C1 to C2

2002-02-21 Thread Olivier Rossel
Olivier Richaud wrote: >We think it's time for us to move from C1 to C2. Along other things that we >consider, is i18n that we are force to integrate. > >Now, our system is composed of : >- XSP pages ; >- a logicsheet that supply the main common functionnality shared by the XSP >pages ; >- 1 big

Re: Uninterruptable Sleep

2002-02-21 Thread Christian Joelly
Hi! On Thu, Feb 21, 2002 at 08:57:47AM -0800, Colin Hall wrote: > > I think (but I'm not positive)that this is a garbage collection issue. This > opinion is shared by one of our fellow cocoon users. > > I have been tweaking the StoreJanitor configuration which seems to have > helped in my test

Moving from C1 to C2

2002-02-21 Thread Olivier Richaud
We think it's time for us to move from C1 to C2. Along other things that we consider, is i18n that we are force to integrate. Now, our system is composed of : - XSP pages ; - a logicsheet that supply the main common functionnality shared by the XSP pages ; - 1 big stylesheet for the whole site, a

Cocoon 2 on macOS 9.1

2002-02-21 Thread Yvon Thoraval
let me know if someone successfully did install Cocoon 2 with jakarta- tomcat-4.0.2 on macOS 9.1 i'm presently using Cocoon 1.8 with Tomcat 3.2.4 and i would apreciate upgrading. Regards, -- Yvon Thoraval - Please check tha

Re: AW: Re: [C2] Using XSP inside XSL

2002-02-21 Thread Graaf, Edgar de (Fin)
That's realy nice, but I have still the Problem that the stylesheet depends on the request parameters, but they are not available! Is it a bug, not the way it should work or my mistake? I did the following (from my sitemap): > using the latest cocoon2 from the CVS. The request parameter sh

Re: Simple SQL Example

2002-02-21 Thread Koen Pellegrims
Empty HTML pages might be caused by a bug in your stylesheet (eg. an element that is not being matched). Try accessing the page, but adding the parameter cocoon-view=content to the URL, that should give you the actual XML content that is coming from the database... On Thu, 21 Feb 2002 [EMAIL PRO

Moving from C1 to C2

2002-02-21 Thread Olivier Richaud
We think it's time for us to move from C1 to C2. Along other things that we consider, is i18n that we are force to integrate. Now, our system is composed of : - XSP pages ; - a logicsheet that supply the main common functionnality shared by the XSP pages ; - 1 big stylesheet for the whole site, a

RE: Cocoon with no X11.

2002-02-21 Thread Olivier Richaud
Olivier, We use Xvfb as a work around. Another solution is to upgrade to JDK 1.4. This is not as stable as JDK 1.3 and memory consumption it quite higher. Regards. Olivier. > -Message d'origine- > De : Olivier Rossel [mailto:[EMAIL PROTECTED]] > Envoye : jeudi 21 fevrier 2002 18:03 >

[End]: Css stylesheet problem

2002-02-21 Thread Automatic
It works perfectly Thanks a lot Xavier : ) Georg Von Sperling wrote: [EMAIL PROTECTED]"> Xavier, Took me a while as well as the documentation on sitemap.xmap is kinda sparse, but here is a snipped to put into the tag of your sitemap.xmap: What this means in English:take any

Cocoon with no X11.

2002-02-21 Thread Olivier Rossel
I wonder if pja.jar could be shipped with Cocoon. And the CATALINA_OPTS set this way: CATALINA_OPTS="-Xbootclasspath/a:/path/to/pja.jar \ -Dawt.toolkit=com.eteks.awt.PJAToolkit \ -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment \ -Djava.awt.fonts=$JAVA_HOME/jre/lib/fonts

RE: Uninterruptable Sleep

2002-02-21 Thread Colin Hall
I think (but I'm not positive)that this is a garbage collection issue. This opinion is shared by one of our fellow cocoon users. I have been tweaking the StoreJanitor configuration which seems to have helped in my test environment, but I still need to do some more testing to confirm this. By th

[C2] http request parameters

2002-02-21 Thread Christian Joelly
Hello! i have a little question concerning request parameters: i have following html form: Auftrag: Produkt: Liste: Ist-Zeiten Ist-Zeiten / Kst.

RE: Aggregating

2002-02-21 Thread Vadim Gritsenko
> From: Jeremy Quinn [mailto:[EMAIL PROTECTED]] ing > > Hi All, > > Can anyone give me an example of aggregating with the DirectoryGenerator? > > I know how to do it for assets that come from the FileGenerator but not > anything else. What's the difference? http://foo.bar.com/myspace";>

Cocoon 2 on macOS 9.1

2002-02-21 Thread Yvon Bricole
let me know if someone successfully did install Cocoon 2 with jakarta- tomcat-4.0.2 on macOS 9.1 i'm presently using Cocoon 1.8 with Tomcat 3.2.4 and i would apreciate upgrading. Regards, -- Yvon Thoraval - Please check tha

RE: question regarding FOP/Cocoon/Tomcat

2002-02-21 Thread Vadim Gritsenko
> From: Xie, David (IPCG-NJ) [mailto:[EMAIL PROTECTED]] > > Hi there, > > I have a question regarding running FOP within Cocoon. I have setup Cocoon > 2.0.1 within Jakarta Tomcat 4.0.1. The sample pages (hello.pdf) came out > fine, but i don't understand how cocoon was able > to call FOP and g

Re: Cocoon 2 installation problem

2002-02-21 Thread Brian Blakeley
Hi Stenfano, If you can try the following: shut down Tomcat ( shutdown.sh) run ( ps -aux ) look for living java processes related to Tomcat As I only am using tomcat I can (killall java) look into the tomcat work directory and (rm -rf cocoon/) the cocoon directory restart Tomcat ( startup.sh)

question regarding FOP/Cocoon/Tomcat

2002-02-21 Thread Xie, David (IPCG-NJ)
Hi there, I have a question regarding running FOP within Cocoon. I have setup Cocoon 2.0.1 within Jakarta Tomcat 4.0.1. The sample pages (hello.pdf) came out fine, but i don't understand how cocoon was able to call FOP and grab the xml and xsl files. Would anybody please explain to me how c

Re: Latest CVS Checkout - Build fails

2002-02-21 Thread Giuseppe Di Pierri
Is there someone able to help me please. I did the same one hour ago, and had same result. 1. checkout of xml-cocoon2 HEAD 2. .\build.bat -Dinclude.webapp.libs=yes webapp -- Compiling Result is: compile: [copy] Copying 32 files to D:\Program Files\Apache Group\xml-cocoon2\build

Latest CVS Checkout - Build fails

2002-02-21 Thread Joseph Rajkumar
Hi Folks I did a cvs checkout of xml-cocoon2 this morning 2/21/02 at 10:00 AM Eastern US time and tried to build it and it failed. Regards Joseph Rajkumar PS: There are similar postings on the cocoon-dev mailing list also, from earlier checkouts. -- email: [EMAIL PROTECTED] --

Printing - sunRise & sunSpot documentation

2002-02-21 Thread Joseph Rajkumar
Hi Downloaded the latest Cocoon from CVS and tried the Portal & Authentication Components and it looks SWET. So, I tried to print the documentation for sunRise and sunSpot to get an idea of where I should start for developing a custom Portal. Could somebody who has wr

Simple SQL Example

2002-02-21 Thread fpupka
Hello We are trying to get the simple sql example to work with postgresql. The connection to the Database works (an insert query instead of the select query works). But there is no output of data from the database. The html page is browsed but the table is empty. ---

Aggregating

2002-02-21 Thread Jeremy Quinn
Hi All, Can anyone give me an example of aggregating with the DirectoryGenerator? I know how to do it for assets that come from the FileGenerator but not anything else. Thanks for any help. regards Jeremy -- ___ Jeremy Qui

Applying XSP logicsheets with externally sourced XML documents

2002-02-21 Thread Yap, Mow Ching (NOW)
hi, what is the best way to apply logic to externally sourced XML, and can this be achieved using XSP? if i understand correctly, XSP logicsheets transform from XSP to XSP. if i wanted to use logicsheets, would i first need to transform the original XML document to XSP first? i figure that ins

Re: XMLDBGenerator

2002-02-21 Thread Martin Holz
Stephan Michels wrote: > On Thu, 21 Feb 2002, Gianugo Rabellino wrote: > > Stephan Michels wrote: > > > I try to use cocoon with xindice. > > > > Please avoid, if possible, the XML:DB generators, swith to the Source > > implementation, which allows you to use straightforward XML:DB URIs in > > you

Re: X Server problem solved with Java 1.4 ?

2002-02-21 Thread aaldridg
The java 1.4 'headless' solution is only a partial solution. It still requires an X server (or pja - which works best for me) for a lot of the awt calls - bit stupid really. I think the pja solution I posted in the past is the most stable - if you need me to reiterate, tell me. Regards, Anthony

Re: XMLDBGenerator

2002-02-21 Thread Stephan Michels
On Thu, 21 Feb 2002, Gianugo Rabellino wrote: > Stephan Michels wrote: > > I try to use cocoon with xindice. > > Please avoid, if possible, the XML:DB generators, swith to the Source > implementation, which allows you to use straightforward XML:DB URIs in > your sitemap. The generators are goin

Heads Up - CeBIT Get Together

2002-02-21 Thread Matthew Langham
A few weeks ago I announced that we would host a Cocoon get together at CeBIT. Here now are the exact details. We have booked one of the conference rooms (Room: 101) in the CeBIT Conference Center for an informal get together of Cocoon enthusiasts. The room is available on the 19th of March (a Tu

RE: Calling MS SQL stored procedure

2002-02-21 Thread Miller, Grant
Hi, I'm calling a procedure with no return parameters so hopefully there are no problems there. However, I cannot work out how to pass in the in parameters. If I try: {call testformike['test']} or {call testformike[?]} I get the error: Could not find stored procedure ''. But it does work

Re: XMLDBGenerator

2002-02-21 Thread Gianugo Rabellino
Stephan Michels wrote: > I try to use cocoon with xindice. Please avoid, if possible, the XML:DB generators, swith to the Source implementation, which allows you to use straightforward XML:DB URIs in your sitemap. The generators are going to be deprecated and abandoned in a short while. Anyw

XMLDBGenerator

2002-02-21 Thread Stephan Michels
Hi, I try to use cocoon with xindice. I install the current CVS build and changed the following rows in the sitemap. org.apache.xindice.client.xmldb.DatabaseImplxmldb:dbxml:///db/ org.apache.xindice.client.xmldb.DatabaseImplxmldb:dbxml:///db/ I also copy the the xindice.jar in the WEB-

Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-21 Thread Baer Peter
The URL of the XML page that helped us so much is: http://tecfa.unige.ch/guides/xml/cocoon/install-notes-2-simple.xml N.B.: It's an XML page with CSS2, so you will need an up-to-date web browser to view it. Mozilla 0.9.8 and Opera 6.0 TP 3 do the job for Linux, eg. Generating just a jar file, i

Re: Cocoon 2 installation problem

2002-02-21 Thread Bert Van Kets
There have been a lot of threads about this. Check out the archive. If you don't use X you must use xvfb or pja because FOP and Batic need a graphical screen to write on. This is also documented on the cocoon site. Bert At 10:17 21/02/2002 +0100, you wrote: >Hi, >I have just installed Cocoon 2.

Re: CSS with COCOON

2002-02-21 Thread Bert Van Kets
Consider the css request as just another request to cocoon. In other words you must make an entry in your sitemap for css files. Something like this: In you XSL file you have to make sure you get the link to your css file in. I added in the "HEAD" part of my output. I then

Monitoring Cocoon / Tomcat in a production environment

2002-02-21 Thread Matthew Langham
What are you using? I came accross this: http://awstats.sourceforge.net/ is it any good? Or are there other alternatives to monitor a production environment of Apache/Tomcat/Cocoon. I am not talking about installing JProbe etc. because this is no good on production systems. And yes - I have se

Cocoon 2 installation problem

2002-02-21 Thread Stefano Bonnin
Hi, I have just installed Cocoon 2.0.1 and Tomcat 4.0.1. When I try to start Cocoon I get the following error: *** Cocoon 2 - Internal server error type fatal message The sitemap handler's sitema

Re: CSS with COCOON

2002-02-21 Thread Richard Korthuis
Hi, I managed to get it to work. Maybe you can tell what error you receive? I added the following lines to my sitemap.xmap: Richard Korthuis - Original Message - From: "Je vous site" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 21, 2002 10:12 AM Subject

Re: howto make use of default database add, delete, update action for mutilple table at a time

2002-02-21 Thread marco
Thanks a lot. I was able to insert records to more than one table at a time, but according to the documentaion of the actions "DatabaseUpdateAction" and "DatabaseDeleteAction" that they can handle only one table at a time. Please advise. - Original Message - From: "Christian Haul" <[EMAIL

CSS with COCOON

2002-02-21 Thread Je vous site
Hello Does anybody, manage to link a CSS Stylesheet on a HTML File generated with an XML / XSL Transformation ? http://www.w3.org/1999/XSL/Transform"; version="1.0"> ... Please Help ! Xavier P S: I see that is added by the serializer. P P S In local mode, IE or Netsca

Re: Weird problem with JDK 1.4 on win32

2002-02-21 Thread Torsten Curdt
On Wed, 20 Feb 2002, Stefano Mazzocchi wrote: > I just compiled the fresh CVS and I got a bunch of compilation errors > such as > > class org.apache.cocoon.components.language.markup.xsp.EsqlConnection > must > be declared abstract. It does not define void setHoldability(int) from > interface jav

Re: Sitemap limits

2002-02-21 Thread Torsten Curdt
AFAIK this is not true anymore. The 64kb limit is per java method and the sitemap is now split up into different methods. So it's hard to tell. Should be quite big ;) With the new interpreted sitemap there is (probably) no limitation. -- Torsten On Wed, 20 Feb 2002, Carlos Araya wrote: > From pr

Re: writing xml to file

2002-02-21 Thread Ferran Urgell
Hi! No, I didn't make any changes in the xmap or xconf files... (Well in the sitemap.xmap,It's the same as a simple xml-xsl) And the directory not exists in my server...(maybe you need to reconfigure your classpath.for the file *.jar)     Regards Ferran - Original Message

Re: Sitemap limits

2002-02-21 Thread Martin Holz
Hi, Mikhail Fedotov wrote: > That are limits of current sitemap limitation ? I.e. how > huge it can be ? The compiled sitemap is limited to 64 kB of Java byte code per method, but ypu can use the interpreted (tree) sitemap from CVS, which has no arbitrary size limit. Using subsitemaps helps e

Re: Uninterruptable Sleep

2002-02-21 Thread Christian Joelly
Hello! i'm using cocoon 2.01 with jboss 2.4.4/tomcat 3.2.3 and have experienced almost the same problem. but i dont know if its cocoon related or jboss/tomcat... when i restart jboss the cocoon app is correctly answering requests again... the problem occurs, when i deploy my app i think more th

Re: Sitemap limits

2002-02-21 Thread Mikhail Fedotov
Hi! > >From previous messages to the list it appears that it > can be up to 64kb This is a limitation or one Java method, I'm almost sure this isn't the way it is done. Ok, I'll check this myself. But anyway, simple table with figures on cocoon limitations and memory consumption info (at least

Do You Need Help Understanding The Sitemap Better?

2002-02-21 Thread Georg Von Sperling
Give this article a shot: http://www.xml.com/pub/a/2002/02/13/cocoon2.html by Stefano Mazzocchi on 13.02.2002 I have seen references to it on this great portal (praised previously on this board)... http://www.need-a-cake.com/ which lead me: http://radio.weblogs.com/0103539/ Geor

RE: Css stylesheet problem

2002-02-21 Thread Georg Von Sperling
Xavier, Took me a while as well as the documentation on sitemap.xmap is kinda sparse, but here is a snipped to put into the tag of your sitemap.xmap: What this means in English: take any request to this context that ends with ".css" and respond with the content of t

RE: Weird problem with JDK 1.4 on win32

2002-02-21 Thread Georg Von Sperling
I ran into that problem as well, but the way I fixed it is to set the Environment Variables in the System Properties as follows: JAVA_HOME = {path to jdk1.4 (not the -rc, which was all screwy)} CLASSPATH = .;%JAVA_HOME%/tools.jar; now, your "Path" variable pobably looks like: ;%SystemRo

RE: Tomcat 4.0.2, Cocoon 2.0.1, JDK 1.4.0 Build Problem

2002-02-21 Thread Georg Von Sperling
#1.) don't even try Tomcat 4.0.2 with JDK 1.4.0 and Cocoon2. Nothing but problems #2.) the combination that I have working is Tomcat 4.0.1, JDK 1.4.0 and CVS checkout of xml-cocoon2(HEAD) #3.) make sure you check-out the "HEAD" tag from xml-cocoon2, others might give you dev-versions Georg