Velocity and sitemap

2001-09-07 Thread Daniel Owsianski
Hi, I use Cocoon2b2 and Tomcat 3.2.3 with Apache. sitemap has the following entries: Why only 'C' works fine ?? Both 'A' and 'B' generates processing exception (unable to find 'templates/hello-page.vm') in VelocityGenerat

[C2b2] Getting "java.io.IOException: Protocol not supported" using JSP generator.

2001-09-07 Thread Paul Spencer
Getting "java.io.IOException: Protocol not supported" using JSP generator. The problem is related to the how the src attribute is used. You must include the path relative to webapps/cocoon, regardless of current directory. Path to the JSP file: /webapps/cocoon/Mikon/DaySummary.jsp Current

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

Re: [c1] HTML Output and xmlns

2001-09-07 Thread Michael McKibben
Hello, you can restrict the output of namespace prefixes by adding the exclude-result-prefixes attribute to the root xsl:stylesheet element in your stylesheets. The attribute accepts whitespace separated namespace prefixes to exclude from the result. For example, http://www.w3.org/1999/XSL/Transf

Error Messaging

2001-09-07 Thread Brent L Johnson
Since I'm using cocoon in a production environment I'd rather not have the nasty Cocoon error message (I'd like a nice conforming error page). Is there a way to implement this in Cocoon 1.8.2 (I'm using it under Tomcat 3.2.2). Thanks, - Brent --

[c1] HTML Output and xmlns

2001-09-07 Thread Brent L Johnson
Quick question - probably easy to answer - but why when I view the source of the transformed HTML document in my browser, why do I see xmlns tags in the HTML document (along with some other xml related code). Can I restrict it to only HTML compliant that will work for most all browsers? Here are

Successful Cocoon Install

2001-09-07 Thread Anthony Diodato
Ive been successful installing Cocoon 1.7.2 & Cocoon 1.8.2 on the following systems. Windows NT 4.0 SP6 & Windows 2000 Professional Website Professional 2.0, 2.3.7, 2.5.4 (Now Deerfield Website) JRun 2.3.3 jdk 1.2.2 & 1.3.1 Thanks, just wanted to share this info. Visit our website at http://ww

RE: Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Anthony Diodato
Berin, Just an FYI. I fixed the problem. Stupid me. I had the xalan file spelled wrong in the classpath. Thanks for the help. -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: Friday, September 07, 2001 1:05 PM To: '[EMAIL PROTECTED]' Subject: RE: Error Message In

Re: SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Jack Hirasawa
Berin, Thanks again for your reply... I'm stumped. The index.xml file is the one that came with the distribution (unmodified). I've tried the other samples as well, but no luck Any other ideas? It must be a configuration issue, but I can't figure out what it is Thanks, Jack >From:

Re: SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Jack Hirasawa
Berin, Thanks for your reply, much appreciated... I tried adding the xerces jar as the first entry in the com.ibm.ejs.sm.adminserver.classpath property in c:\WebSphere\AppServer\bin\admin.config but it didn't make any difference. Was this the WebSphere properties file that you were refering

RE: Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Anthony Diodato
Im not really sure how JRun handles this. Can anyone offer suggestions?? It is greatly appreciated. Thanks Anthony -Original Message- From: Berin Loritsch [mailto:[EMAIL PROTECTED]] Sent: Friday, September 07, 2001 12:02 PM To: [EMAIL PROTECTED] Subject: Re: Error Message Installing Cocoo

aggregate to files on the fly

2001-09-07 Thread florent barbare
Hi all, in Cocoon 2b2, i want to aggregate to files (one xsp and one xml) on the fly. Any idea ? Thanks in advance have a good weekend Florent - Please check that your question has not already been answered in the FAQ befor

Re: Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Berin Loritsch
Anthony Diodato wrote: > > Im not sure if I understand what you mean. Here is the Cocoon stuff that is > in my classpath. > > java.classpath= > C:\\cocoon-1.8.2\\lib\\xerces_1_2.jar; > C:\\cocoon-1.8.2\\lib\\stylebook-1.0-b2.jar; > C:\\cocoon-1.8.2\\lib\\fop_0_15_0.jar; > C:\\cocoon-1.8.2\\bin\\

Problem with sessions on Cocoon 2

2001-09-07 Thread David Hénot
Hello, I'm trying to use Cocoon 2 with SessionValidatorAction and DatabaseAuthenticatorAction to handle user authentication, but I'm unable to get the session validator to see the session variables set by the database authenticator. Searching mail and groups archives didn't help much ... Versi

RE: Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Anthony Diodato
Im not sure if I understand what you mean. Here is the Cocoon stuff that is in my classpath. java.classpath= C:\\cocoon-1.8.2\\lib\\xerces_1_2.jar; C:\\cocoon-1.8.2\\lib\\stylebook-1.0-b2.jar; C:\\cocoon-1.8.2\\lib\\fop_0_15_0.jar; C:\\cocoon-1.8.2\\bin\\cocoon-1.8.2-with-nullpatch.jar; C:\\cocoo

Re: Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Berin Loritsch
Anthony Diodato wrote: > > Hi Cocoon Users. I need a little help. Im installing Cocoon 1.8.2 with JRun > 2.3.3. > > I have everything set up I THINK, and I get the following error message > > Cocoon 1.8.2 > Publishing Engine could not be initialized. java.lang.RuntimeException: > Error creating

Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Anthony Diodato
Hi Cocoon Users. I need a little help. Im installing Cocoon 1.8.2 with JRun 2.3.3. I have everything set up I THINK, and I get the following error message Cocoon 1.8.2 Publishing Engine could not be initialized. java.lang.RuntimeException: Error creating org.apache.cocoon.transformer.Xalan

Re: SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Berin Loritsch
Jack Hirasawa wrote: > > Hi cocoon-users! > > I recently installed cocoon 1.8.2 on Websphere 3.5.4 using the install > script. I had to fix cocoon.java so it would get the file cocoon.properties > instead of a resource. I was able to successfully get the Cocoon.xml page > to display. When I t

SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Jack Hirasawa
Hi cocoon-users! I recently installed cocoon 1.8.2 on Websphere 3.5.4 using the install script. I had to fix cocoon.java so it would get the file cocoon.properties instead of a resource. I was able to successfully get the Cocoon.xml page to display. When I tried to display the index.xml pag

TurbineResources.properties error msg

2001-09-07 Thread Mark S. Kent
We installed Cocoon 1.8.2 in Tomcat 3.2.1 and were able to use the provided examples to connect to our databases using the standard JDBC connection. This being so slow we then added the code lines to turn on the ESQL database pooling which is much faster. However, now when we try to run an comma

Re: [C2b2] JSP Generator example fails with "Error creating the resource Exception JspGenerator.generate()"

2001-09-07 Thread Paul Spencer
Yes, I was able to get the JSP working by copping jasper-compiler.jar to WEB-INF/lib. The question was directed to the Cocoon developers since the JSP example did not work with Tomcat 4 when both are installed as documented. Paul Spencer "Piroumian, Konstantin" wrote: > > > Tomcat v4 has 2 ja

Producers Vs Servlets

2001-09-07 Thread Alexandre Victoor
Hello, I would like to know if it is possible to have a persistent producer working with cocoon. Right now the best solution is to chain a servlet with cocoon, instead of using a producer... I haven't found anything about the life cycle of producer objects in cocoon doc. Thanks Alexandre -

Re: Background-image question/status

2001-09-07 Thread java guru
Hi., I have run quick check on this..the apache fop site lists ONLY the thingies supported..so what ever is not listed is NOT supported yet...and I dont see the background-image stuff in the list... --- "Kilmer, Erich" <[EMAIL PROTECTED]> wrote: > Hello, > I am interested in getting an update

Background-image question/status

2001-09-07 Thread Kilmer, Erich
Hello, I am interested in getting an update on using background-image in FOP/Cocoon. I have tried background-image in the latest FOP release 0.20.1 but it still doesn't work. On the Cocoon/FOP Apache websites I have checked the Limitations and Features pages but do not see anything. What is the is

Loading word documents

2001-09-07 Thread Mohit Narain
I am unable to link to and load up word documents from my xsp pages. I tried the following... --> I have changed the main cocoon sitemap to add the following --> Then i stored my word docs in the ../images/ folder. --> On loading, nothing loaded up. Looking forward to your help.

Re: AW: Problem with own Generator and XSLT

2001-09-07 Thread Martin Kavalar
Thank you so much, its working perfectly now. It must have been the startDocument() that caused the transformation to stop. I just closed the bug, sorry if anyone wasted time on my error. thanks once more martin Carsten Ziegeler wrote: >Hi, > >1. did you try to read and transform your file usin

AW: Problem with own Generator and XSLT

2001-09-07 Thread Carsten Ziegeler
Hi, 1. did you try to read and transform your file using the standard file generator? (in sitemap: ) 2. If you include an xml source inside your generator into your stream, your first approach (using toSAX()) is the way to go, but when using toSAX() (or any other method), all sax events

RE: site map not loading - NoClassDefFoundError DefaultComponentFactory batik-all.jar

2001-09-07 Thread Tony Goodwin
Check sitemap_xmap.java line 490. You will find it in  (I'm guessing tomcat?) tomcat_home/work(or webapp)/localhost%app%(or siteyou areusing)/org/apache/cocoon/www/sitemap_xmap.java That line should tell you what class isn't loading (from message below)   In general I would say that NoClas

Problem with own Generator and XSLT

2001-09-07 Thread Martin Kavalar
Hello, For a project we are working on, we are implementing our own generator, which is supposed to combine multiple input sources (XML-FS, OODB, RDB, ...) and output one XML. We started out with the generator having all XML hardcoded in our generator, so it would look like this: public void g

Cocoon 2 and JBuilder ?

2001-09-07 Thread Christofer Dutz
I hope this is not off-topic. I just found out that cocoon 1.8x seems to be integrated in the new JBuilder 5. Has anyone here changed this integration to Cocoon 2.0 ? Greets, Christofer Dutz - Please check that your questi

Cocoon / FOP threadsafe?

2001-09-07 Thread Norbert Rump
Hi all, I've got the following problem: we are using the fop-part of cocoon to produce pdf-files. We do it out of a servlet on a webserver with possibly many concurrent users. As there have been problems with the xml parser quick, which created a lot of threads and didn't stop them, I have to rea

aggregate.xsp - C2b2 - is working???

2001-09-07 Thread Karol Pokojowczyk/POKOJOWCZYK.COM
Hello cocoon-users, is aggregate.xsp working? I got an empty result. -- Best regards, Karol mailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ be

Sitemap parameters, session parameters and sitemap-relative descriptor parameter

2001-09-07 Thread Paolo
I am trying to implement a authentication method. It seems that Sitemap Parameters are not inherited to selectors inside others... this is my code (look for {auth_role_page} in the ):

site map not loading - NoClassDefFoundError DefaultComponentFactory batik-all.jar

2001-09-07 Thread Stefaan Nachtergaele
Hello,   The message from the browser when I go to /cocoon is   exception org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.   The cocoon.log entry is included below. I found something in the dev-cocoon list which attributes the problem to batik-al

Bugs in request logicsheet?

2001-09-07 Thread Paolo
I am working with the request logicsheet with Cocoon 2.0 and I discovered the are some errors both in online and included documentation of its tags. - 'get-remote-addr' does not exist, but there is 'get-remote-address' - 'is-user-in-role' does not exist Did you know it? Cordiali saluti, Paolo S