Where is PJA?

2002-02-07 Thread Moritz Petersen
Hi List, this is not a specific Cocoon question, but recently I wanted to download the PJA (Pure Java Toolkit) from http://www.eteks.com/pja/en/ but unfortunately, the server is not responding. Is there a possibility to download the package (especially for IBM AIX)? Or is there any alternative to

odd problem with transformer

2002-02-07 Thread Johannes Schwarz
Hi List! I programmed a directory scanner. It scans a directory structure and builds a tree structure from the files, which match given filter name. The first code snippet of my sitemap shows the output without a transformation. And it operates without any problems (it shows me the directory

RE: HowTo Cocoon pages

2002-02-07 Thread DURDINA Michal
XSLT is quite complex but not hard to learn if you are programmer (maybe LISP or Prolog programmer :). I have a book XSLT Programmer's Reference from Michael Kay (Saxon author) with 900pages of great text. But you can find many tutorials on web i.e. (I used all of them and are good)

PJA on AIX [was: Where is PJA?]

2002-02-07 Thread Moritz Petersen
OK, got it. Must have been a problem with my Internet connection. Next question: did anyone run PJA on AIX successfully? Are there any experiences with AIX, IBM WebSphere and PJA? Because it is quite off-topic, off-list replys are apreciated. Thank you in advance, Moritz. -Original

Re: odd problem with transformer

2002-02-07 Thread Jozsa Kristof
Hi, If it works from the sitemap without transformation, then I guess the problem is with the xsl transformation after. Without knowing the tags you used in your source, and the xsl file, I cant say much, but I suggest trying and testing out the transformation from the command line with an

Not able to start cocoon

2002-02-07 Thread Rabi Shankar
Title: Not able to start cocoon hi everybody, i am usinng Cocoon 2 and tomcat 3.2.4. i tried giving http://localhost:8080/cocoon in the browser and i get the following error Cocoon 2 - Internal server error exception org.apache.cocoon.ProcessingException: The sitemap handler's sitemap

RE: Not able to start cocoon

2002-02-07 Thread Luca Morandini
Rabi, look into cocoon.log.x and/or components.log.x, usually these logs contain more detailed information than the stacktrace displayed in the browser. Best regards, P.S. Next time, please, use plain text. - Luca Morandini

Re: odd problem with transformer

2002-02-07 Thread tinu
Jozsa Kristof writes: Under linux I use xsltproc, and it shortens the xsl-tinkering/testing/aint-work cycle very much. Great tool, I didn't know that. An alternative (and dirty) approach is to intercept the SAX stream in the pipeline and write it to a file. Place this into the sitemap

RE: Not able to start cocoon

2002-02-07 Thread Rabi Shankar
Title: RE: Not able to start cocoon hi luca, thanx for u r suggestion. i could find out the problem and solve it.( i was stupid enought not to put xalan in the lib directory of tomcat). and sorry about those bold fonts. rgds, Rabi -Original Message- From: Luca Morandini

Problem with cocoon2.0 on tomcat 4.0.1

2002-02-07 Thread Anil_Kandula
Hi All, I have downloaded cocoon2.0 cvs and deployed it on tomcat 4.0.1. When i am accessing http://localhost:8080/cocoon/. I am getting the following problem - cocoon2 - Internal server error type fatal message The sitemap handler's sitemap is not available. Please check logs for the

Docbook stylesheets and FOP ?

2002-02-07 Thread Yann Secq
Hi, I'm trying to publish DocBook documents with Cocoon. I have a small document sample (test.xml) that is quite simple. I tried to transform it using Norman Walsh stylesheets and Xalan : it worked and produced test.fo (see attachment). When I try to use fo2pdf on this file, my request never

RE: Problem with cocoon2.0 on tomcat 4.0.1

2002-02-07 Thread Vadim Gritsenko
From: Anil_Kandula [mailto:[EMAIL PROTECTED]] Hi All, I have downloaded cocoon2.0 cvs 2.0 or 2.0.2-dev? snip/ ERROR (2002-02-07) 18:00.00:380 [sitemap] (/cocoon/) HttpProcessor[8080][4]/Handler: Error compiling sitemap java.lang.NoSuchFieldError: manager at Read

RE: odd problem with transformer

2002-02-07 Thread Vadim Gritsenko
From: Johannes Schwarz [mailto:[EMAIL PROTECTED]] Hi List! I programmed a directory scanner. It scans a directory structure and builds a tree structure from the files, which match given filter name. You know, directory generator supplied with Cocoon does exactly the same, and more:

Re: Not able to start cocoon

2002-02-07 Thread java guru
hi., This is most generic error u have posted here and nothing can be concluded from this. As numerous other mail lists points from archive, the sitemap needs to be compiled by cocoon before it starts its operation. Any error in the sitemap sytax or the components specified in the sitemap

RE: JSPGenerator problem

2002-02-07 Thread Chitharanjan Das
Hello, Shouldn't your generator point to JSP pages map:generate type=jsp src=../../{1}.jsp/ Regds, Chiths -Original Message- From: MOODAD (Shadi LB Soft) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 10:55 PM To: cocoon-dev; [EMAIL PROTECTED] Subject:

AW: Could not read resource file

2002-02-07 Thread Thorsten Mauch
Hi meanwhile I know a little bit more. The error only orccure with a Transformer that extends AbstractDOMTransformer exist in the pipe. To be sure that is not related to my code i implement a simplest thinkable DOMTransformer: public class XFormTrans extends AbstractDOMTransformer { public

profiling

2002-02-07 Thread Jozsa Kristof
Hi, Today I've redesigned my sitemap structure, so it's much cleaner (for humans at least;), but since then, page access had slowed down significally. An avarage (cached) page comes up in ~1.8 sec (mesaured with 'time wget ..'), and this is horrible slow, even comparing to the yesterday results.

sitemap include/import

2002-02-07 Thread Jozsa Kristof
Is there such a sitemap tag available/implemented to include/import text files? It'd be nice to place eg. every pipeline of the sitemap in a separate file to be able to edit them paralelly.. Christopher -- .Digital.Yearning.for.Networked.Assassination.and.Xenocide

Re: JSPGenerator problem

2002-02-07 Thread MOODAD (Shadi LB Soft)
Hi in fact yes it points to the jsp pages but this is an typing error. until now i didn't find the solution Chitharanjan Das wrote: Hello,     Shouldn't your generator point to JSP pages map:generate type=jsp src=../../{1}.jsp/ Regds, Chiths -Original Message- From:

Re: HowTo Cocoon pages

2002-02-07 Thread Mohamed El-Refaey
Hi I just try to configure and run the example of cocoon2 and tomcat 4 u made on JBuilder 5 and followed all the configuration instruction u put in the project and it rais an internal server error. I wish u tell me how to solve this problem. Thanx Mohamed - Original Message - From:

problem with the connection pool

2002-02-07 Thread LEBRETON Philippe
In my cocoon.xconf i have declare a connection pool with a database install in other host. When this host backup the database, the database is down and on my cocoon, the connection pool does work. how i can restart only the connection pool but not cocoon? Thanks Philippe LEBRETON

Re: sitemap include/import

2002-02-07 Thread Nicola Ken Barozzi
From: Jozsa Kristof [EMAIL PROTECTED] Is there such a sitemap tag available/implemented to include/import text files? It'd be nice to place eg. every pipeline of the sitemap in a separate file to be able to edit them paralelly.. As with any xml file, you can include external entities, as

JSPGenerator encoding problem

2002-02-07 Thread yuryx
Hello all! I have following problem. JSPGenerator doesn't normally encoding non english characters. Simple sample: sample.jsp: %out.println(?xml version='1.0' encoding='koi8-r'?);% %@ page language=java import=java.text.SimpleDateFormat,java.util.*,java.sql.*% page content

Re: JSPGenerator encoding problem

2002-02-07 Thread Piroumian, Konstantin
Is it the problem of JSPGenerator or maybe this happens during transformation or serialization? Try to remove the transformer from the pipeline or replace JSPGenerator with FileGenerator and use static content in KOI8-r to find out what is the cause of the problem. Regards, Konstantin

Re: JSPGenerator encoding problem

2002-02-07 Thread yuryx
Without transformation I have page content paraETH;Ograve;Eacute;times;Aring;Ocirc;!/para /content /page Problem with generation, I know... Piroumian, Konstantin wrote: Is it the problem of JSPGenerator or maybe this happens during transformation or serialization? Try to

Tomcat on RedHat 7.0

2002-02-07 Thread MAHE Vincent FTRD/DIH/REN
I installed tomcat 4.0 on a redhat 7.0 with apache and jdk 1.3. When I launch startup.sh, I always get a big core file in my bin directory and, as a result, nothing when I test http://localhost:8080/ Does any one know if there are some problems with redhat 7.0 and jdk1.3 ? Or some other

Re: webDAV

2002-02-07 Thread Koen Pellegrims
Normally, the webDAV servlet will be enabled on Tomcat. The servlet makes all files under ${TOMCAT_HOME}/webapps/webdav available to a webdav client. The easiest way to make your cocoon files accessible is to put a symbolic link in this directory and make it point to the Cocoon documents

Competition: Cocoon in php

2002-02-07 Thread Koen Pellegrims
Guys, has anyone seen this (http://www.interakt.ro/products/Krysalis/)? it seems to be a publishing framework in php and the developers have really (and I mean *really*) been inspired by Cocoon 2... regards, Koen. - Please

[Livesites] Cocoon2 http://www.g-ne.de

2002-02-07 Thread Michael Simon
Hi! Under the URL http://www.g-ne.de (G-NE group for net-intelligence GmbH. Germany) you can find a running coocon 2. It is much like the cocoon documentation examples. The only language available at the moment is german, sorry. But we plan to make it available at least in english too. The site

external cgi

2002-02-07 Thread Ratty
Hi! Can anyone answer me - how can i call from xsp page external cgi program ? I dont need redirect to that page - i only need output what it generate which would be processed in Cocoon Or may be i must write some generator which would read output of this cgi and create xml? Thanx for any

Re: problem with the connection pool

2002-02-07 Thread Bertrand Delacretaz
On Thursday 07 February 2002 16:35, LEBRETON Philippe wrote: In my cocoon.xconf i have declare a connection pool with a database install in other host. When this host backup the database, the database is down and on my cocoon, the connection pool does work. how i can restart only the

javaservlet xml cocoon

2002-02-07 Thread Vishal Khatnani
Hi, The problem im having is with cocoon and java servlets. I am using cocoon with iplanet web server and i can successfully view static xml pages. The problem is that my java servlet prints xml output, and it doesn't get passed to cocoon. All i get is a blank page. However, when i go to view

Re: javaservlet xml cocoon

2002-02-07 Thread Vishal Khatnani
I am using cocoon 1.8 by the way. Vishal Khatnani wrote: Hi, The problem im having is with cocoon and java servlets. I am using cocoon with iplanet web server and i can successfully view static xml pages. The problem is that my java servlet prints xml output, and it doesn't get passed

devnce independence

2002-02-07 Thread as_black
It is well documented that you can use the http header information to find out what device is sending the request and then tailor the page to that device. However I have found many examples that use ASP to look at the http header information but none on cocoon. Just wondering if anyone can help

RE: profiling

2002-02-07 Thread Vadim Gritsenko
From: Jozsa Kristof [mailto:[EMAIL PROTECTED]] Hi, Today I've redesigned my sitemap structure, so it's much cleaner (for humans at least;), but since then, page access had slowed down significally. An avarage (cached) page comes up in ~1.8 sec (mesaured with 'time wget ..'), and this is

RE: JSPGenerator encoding problem

2002-02-07 Thread Vadim Gritsenko
Your JSP is not valid. It does not declares JSP encoding as it should. Obviously JSP runtime is unable to read characters correctly. Regards, Vadim -Original Message- From: yuryx [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 1:06 PM To: [EMAIL PROTECTED] Subject: Re:

RE: external cgi

2002-02-07 Thread Vadim Gritsenko
See Cinclude and Xinclude transformers. Check out aggregation examples, including aggregate.xsp. Regular FileGenerator is good enough for you also, check out samples in the sub sitemap (http://localhost:8080/cocoon/sub/) Vadim -Original Message- From: Ratty [mailto:[EMAIL PROTECTED]]

RE: devnce independence

2002-02-07 Thread Vadim Gritsenko
Browser selector is in the sitemap.xmap since the day one. Read also user documentation on the Cocoon site. Vadim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 1:46 PM To: [EMAIL PROTECTED] Subject: devnce independence

Re: javaservlet xml cocoon

2002-02-07 Thread Joseph Jupin
are you calling the servlet first and having it talk to cocoon? If so, then you need to use the map:generate type=stream pipeline to capture the output and then have it processed by the rest of the pipeline - this is what I do with my stuff (plus some other URLConnection setup stuff in the

Re: javaservlet xml cocoon

2002-02-07 Thread Joseph Jupin
oh - I'm using Cocoon 2.0.1... sorry. peace. JOe... On Thu, 07 Feb 2002 11:22:52 -0700 Vishal Khatnani [EMAIL PROTECTED] wrote: I am using cocoon 1.8 by the way. Vishal Khatnani wrote: Hi, The problem im having is with cocoon and java servlets. I am using cocoon with iplanet web

Problem with Actions (C2)

2002-02-07 Thread Andre Thenot
Hi, I've looked in the docs and in the archives but I can't find out why I'm having trouble with actions in Cocoon 2.0 (binary version). Here's what I did: 1. I created a HelloPoohAction.java, almost identical to the one in the Creating and using actions docs, except that I added import

Serving wbmp images in cocoon

2002-02-07 Thread Sean Malone
Hi, I am using cocoon to deliver wml, in one of my stylesheets i have img src=images/imagename.wbmp alt=alt text/ this does not seem to work from cocoon, I always get the alt text. Any ideas ? Thanking you in anticipation -

Re: javaservlet xml cocoon

2002-02-07 Thread Vishal Khatnani
Hi, Thanks for your help I will install cocoon 2. Can you send me some examples? e.g source code Thanks, Vishal Joseph Jupin wrote: are you calling the servlet first and having it talk to cocoon? If so, then you need to use the map:generate type=stream pipeline to capture the

RE: Problem with Actions (C2)

2002-02-07 Thread Vadim Gritsenko
From: Andre Thenot [mailto:[EMAIL PROTECTED]] Hi, I've looked in the docs and in the archives but I can't find out why I'm having trouble with actions in Cocoon 2.0 (binary version). Here's what I did: 1. I created a HelloPoohAction.java, almost identical to the one in the Creating

RE: Getting dbxml to work with Cocoon and tomcat 4

2002-02-07 Thread Vadim Gritsenko
From: Michael Homeijer [mailto:[EMAIL PROTECTED]] Hi, Can anybody give me some hints on how to get dbxml to work with cocoon and tomcat 4. I tried placing jars in just about any location that could make sense, but I can't get it working completely. (OpenOrb is the initial problem, it

can't extend AbstractDOMTransformer, was Could not read resource file

2002-02-07 Thread Thorsten Mauch
Hi all You may seen my previous messages. Now I can explain my exact environment. Under win2000 I installed a new version from Tomcat 4.01 and Cocoon 2.0.1 jdk1.3.1 I wrote a simple Transformer that extends AbstractDOMTransformer: public class XFormTrans extends AbstractDOMTransformer {

Re: Problem with Actions (C2)

2002-02-07 Thread Andre Thenot
On Thursday, February 7, 2002, at 04:06 , Vadim Gritsenko wrote: Make a change: (snip) map:generate type=serverpages src=docs/samples/xsp/{../1}.xsp/ (snip) Note that {1} replaced with {../1}. It's like a path. Actions/matchers are like nodes. Yeehaa! Thanks a lot! Now that I look

can't extend AbstractDOMTransformer, aditional info

2002-02-07 Thread Thorsten Mauch
in the sitemap.log I found: org.apache.cocoon.ProcessingException: Could not read resource file:/C:/tomcat/webapps/cocoon/chiba/sapdb.xml: java.lang.NullPointerException at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115) at

a question on xsp and a question on parameterizing xslt

2002-02-07 Thread Donald Ball
hi guys, long time no see. if anyone's curious where i've been, see the apologetic post to cocoon-dev i just sent in. now, on to my questions. :) 1. a long while back, we had some discussion on whether or not one should be able to send a redirect from an xsp page. i'd thought the eventual

Problem in accessing cocoon on weblogic

2002-02-07 Thread S Manoj
Hi, I couldnt register my name to the cocoon-user list..so posting this from my personal mailid. Please reply me on the mailid itself. I am facing the following exception when i deploy cocoon on weblogic 6.1 : - I guess, the same problem was posted by Christophe de Kerviler on Mon, 25 Jun

Re: JSPGenerator encoding problem

2002-02-07 Thread yuryx
Thanx for ideas ,Vadim. But I can't undestand how declare JSP encoding. instead of %out.println(?xml version='1.0' encoding='koi8-r'?);% I try ?xml version='1.0' encoding='KOI8-R'? in sample.jsp but again it doesn't work :( Yury Vadim Gritsenko wrote: Your JSP is not valid. It does not

Re: JSPGenerator encoding problem

2002-02-07 Thread Piroumian, Konstantin
Another idea: %@ page language=java encoding=koi8-r% or something like %@ page language=java % % response.setContentType(text/xml; charset=KOI8-r); % If you can send your JSP page to me I can take a look at it. - Original Message - From: yuryx [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: JSPGenerator encoding problem

2002-02-07 Thread yuryx
Hi Peter! I try your recomendation but it don't solved my problem :( Encoding problem in Generator , or, maybe, in jasper compiller... Yury Peter Schwenke wrote: Hi Yury, Have you tried map:serializers default=html map:serializer name=links

Re: JSPGenerator encoding problem

2002-02-07 Thread yuryx
Piroumian, Konstantin wrote: Another idea: %@ page language=java encoding=koi8-r% Hi Konstantin! with this idea I have next exception /org.apache.cocoon.ProcessingException: ServletException in JspGenerator.generate()/ or something like %@ page language=java % %