RE: Trouble starting cocoon2

2001-06-26 Thread giacomo
On Mon, 25 Jun 2001, RAO,YENUGANTI (Non-HP-Cupertino,ex1) wrote: Please could you clear the Bugzilla bug #2319 concerning this issue here? TIA Giacomo Thank you dims, now it is working!! -Rao -Original Message- From: Davanum Srinivas [SMTP:[EMAIL PROTECTED]]

Handler:java.io.FileNotFoundException: /sitemap.xmap (No such file or directory)

2001-06-26 Thread Apostolou, Kostantinos
Hi I got the following problem java.io.FileNotFoundException: /sitemap.xmap (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:68) at

RE: how to precompile the xsp ?

2001-06-26 Thread tom . klaasen
An XSP is only compiled the first time it is called. Each subsequent time, this compiled version is used. So the way to pre-compile an XSP is to call it in your browser. hth, tomK -Original Message- From: Ling Kok Choon [mailto:[EMAIL PROTECTED]] Sent: dinsdag 26 juni 2001 16:32 To:

RE: [C2] Bug in HTML-Serializer?

2001-06-26 Thread tom . klaasen
Why is this a problem? Do you want to make the html human-readable? If not, don't care about it too much. Your browser will ignore the newline. hth, tomK -Original Message- From: Jörn Heid [mailto:[EMAIL PROTECTED]] Sent: dinsdag 26 juni 2001 9:13 To: [EMAIL PROTECTED] Subject: AW:

AW: [C2] Bug in HTML-Serializer?

2001-06-26 Thread Jörn Heid
First, the resulting page is smaller so it's not nicely formatted but it's faster. Second, not all browser will ignore that newline. E.g. NN 4.x will add more space between the tables than the 10 pixels... Ain't here anybody who can say to me if it is a bug? In C1 I think it would work...

Re: SV: ident and spaces (Netscape problem)

2001-06-26 Thread Sergio Carvalho
As a general rule, when removing the DOCTYPE removes a 'bug' on mozilla, it's just that mozilla is behaving correctly as per the standard (the one DOCTYPE refers to!), and reverts to quirk-mode when there's no DOCTYPE. I had the same problem with image layout (which was introducing spurious

AW: SV: ident and spaces (Netscape problem)

2001-06-26 Thread Jörn Heid
Is it the same problem as mine in '[C2] Bug in HTML-Serializer?' -Ursprüngliche Nachricht- Von: Sergio Carvalho [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 26. Juni 2001 12:28 An: [EMAIL PROTECTED] Betreff: Re: SV: ident and spaces (Netscape problem) As a general rule, when

[C2]How to get the serialized result ?

2001-06-26 Thread Ling Kok Choon
hi, May i know how to get the serialized result from Cocoon2. For example, when i request a xsp from the cocoon2, the cocoon2 will serialize a HTML response and send back to my browser. But now, is it posible to store / save the result HTML file to the server, so that other person can

Re: cocoon and xalan2

2001-06-26 Thread Frans Thamura
It is not work, you have to used xalan 1.1, But you can cojoin it with several application that used xalan 2, like JetSpeed 1.3a2 Frans --- Thorsten Mauch [EMAIL PROTECTED] wrote: Hi I using Coocon 1.8.2 with Xalan2. I use the XalanTransformer privided by Rick Knowles. I'am not sure if

[C2] How to make a redirect in a xsp page before the xsl ??

2001-06-26 Thread Samuel ARNOD-PRIN
Hello I've got a xsp page that will be transformed with a xsl file. But when I make response.sendredirect .. the message is transformed with xsl !! what is the syntax to redirect properly ? - Please check that your question

Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread bhj
Hi, Does anyone have some source that gets cached by the Cocoon 1.8.2 engine? If so please send it to me, so I should se if it works in my environment also. I have been running Cocoon for some time, but have never seen the: “!-- This page was served in * from cache ..” - but only the “!-- This

RE: Handler:java.io.FileNotFoundException: /sitemap.xmap (No such fil e or directory)

2001-06-26 Thread Apostolou, Kostantinos
Thanks You were right! But I didn't touch the cocoon.xconfig file! It was as I got it from the war file! Any way now I have other problems (the Dr Watson error) It seams that my jdk1.2 is not good enough so I will try with jdk1.3.1 let see if it is going to work this time. -Original

[C2] NT : Problem with XSP : it works the first time and then no more (You can not select a component from a disposed ComponentSelector)

2001-06-26 Thread Samuel ARNOD-PRIN
What's this bug about ?? I've got no problem using Linux but on Windows JDK1.3 ... I don't understand.. thanx for helping - Please check that your question has not already been answered in the FAQ before posting.

C2 initialization problem

2001-06-26 Thread Martin Mauri
Hi Cocooners, I've just installed Cocoon 2, but I get the following error while trying to start it. It sounds strange as I've followed exactly the installation instructions. Error: 500 Localization: /cocoon/ Internal servlet error: java.lang.VerifyError: (class:

RE: Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread JEULIN Olivier
Hi, as explained in the caching section of the documentation, some contents are never cached, except if you tell cocoon to do so. If you use XSP, you'll have to overload the 'hasChanged' method and put a util:cacheable/. Anyway, here is a small example that is cached for me, and with the very

RE: Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread bhj
Thanks for your help. But I ran your sample-code, and it works fine but the page is NOT cached on my system - it outputs the HTML and this: !-- This page was served in 187 milliseconds by Cocoon 1.8.2 -- So it was served in, not served from cache - so any idea of why this works on your

Re: how can I redirect my Result ? Using fp tag

2001-06-26 Thread Gustavo Mejia
Hello !! Anybody read my message ?? any idea ?? please, I need your help !! I still trying but I don't get it ! Gustavo ! Gustavo Mejia wrote: Hi, I am still trying to save my XML to a file, I am using fp tags, here I am trying to get and to save the field empno from the employee table, I need

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.

2001-06-26 Thread florent barbare
Hi, I have the following errors when i used my new cocoon site. it works with tomcat 3.2. org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. Any idea ? thanks regards Florent -Original Message- From: Uli Mayring [mailto:[EMAIL PROTECTED]] Sent:

RE: Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread JEULIN Olivier
Yup, ...served from cache in 1 ms... My advices are: 1) (how could I forget this one) clear your browser's cache... ! I've try it right now: IE was reading the old file. I bet 1 euro on this one ;) 2) if you have invalidated the cache while developping you app., restart cocoon to be sure the new

[c2] ESQL, get-xml and entities like nbsp;

2001-06-26 Thread Stefan Seifert
I use ESQL and get-xml to get XHTML-Fragments from the database. The Problem: The XHTML conatins sometimes entities like nbsp;, which are vaild for XTHML, but not for XML. In an XSL-Stylesheet i can use a statement like !DOCTYPE xsl:stylesheet [ !ENTITY % HTMLlat1 PUBLIC

RE: Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread bhj
Thank you very much. Now I managed to get the from cache in the bottom :-) In IE5.5 it is not enough to left-shift and reload - you have to use the menu: InternetOptions/DeleteFiles - now I know that. But why can the same page NOT be cached in both IE and Netscape? I understand that the page

Is SQLTransformer gonna be there?..Re: SQL Transfomer

2001-06-26 Thread java guru
This may look like newbie question..but is SQLTransformer and taglib gonna continue or deprecated??? What about esql..what is the difference. And finally i could never run the sql-page.xml example from cocoon2 to work..i dont know whats the problem.i could run esql example successful..

Re: Re[4]: How to use xsp-request:get-parameter

2001-06-26 Thread Daniel Pfuhl
--- Zeljko Rajic [EMAIL PROTECTED] schrieb: Hi Daniel, on Monday, June 25, 2001, you wrote: did you specify the Namespaces and the programming language in your xsp-file correctly ? e.g. like this: xsp:page language=java xmlns:xsp=http://apache.org/xsp;

RE: Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread JEULIN Olivier
You're right, it doesn't work. You've found a bug :-/ I haven't found it in the bug database (but you may want to check again; see it in the 'bug database' section of cocoon's homepage). I'll let you submit it, to take ll credit for it... Fame starts small ;) -Message d'origine- De

help reg...sqltranformer

2001-06-26 Thread java guru
Hi., I am trying the sql tranformer example ...and nothing ever show up..i actually see my query as it is select * on to the screen.. The connection pool is properly defined and the esql example works but not the sql example... Please help.. Thanks

RE: Is SQLTransformer gonna be there?..Re: SQL Transfomer

2001-06-26 Thread Vadim Gritsenko
-Original Message- From: java guru [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 11:31 To: [EMAIL PROTECTED] Subject: Is SQLTransformer gonna be there?..Re: SQL Transfomer This may look like newbie question..but is SQLTransformer and taglib gonna continue or

RE: Is SQLTransformer gonna be there?..Re: SQL Transfomer

2001-06-26 Thread Beauprez Sven
Mr. guru, If it is up to me, the SQLTransformer will never be depricated ;-). But the functionallity might slightly change and the implementation might be completly redone if necessary as long as the usage stays the same (i am not planning to change anything, but someone might be...). I never

Re: XML-XSP-XML-HTML

2001-06-26 Thread Peter Nuetzel - inglobo
AFAIK this is not possible with Cocoon2. Currently XSP can only be used as Generator. - peter -Ursprüngliche Nachricht- Von: franck delarue [EMAIL PROTECTED] An: [EMAIL PROTECTED] [EMAIL PROTECTED] Datum: Dienstag, 26. Juni 2001 19:40 Betreff: XML-XSP-XML-HTML hi, I want to produce a

Error in import

2001-06-26 Thread Fang Huang
Hi, how should I use my own class in xsp? I wrote xsp:structure xsp:includeMyJavaClass/xsp:include /xsp:structure but got the exception: Class MyJavaClass not found in import. I have set classpath to current directory, what should I do? thanks. Fang

RE: XML-XSP-XML-HTML

2001-06-26 Thread Luca Morandini
Franck, if I got it right, you have a doc.xml file with some tags (referring to the doc.xsl logicsheet) and want to produce an HTML file... is that so ? Well, if so, you have to declare the logicsheet namespace in the doc.xml and change your sitemap to resemble this: map:match

cocoon.log

2001-06-26 Thread RAO,YENUGANTI (Non-HP-Cupertino,ex1)
Hi I just installed the product. after going to the welcome page,i saw this out put in cocoon.log, Is it a serious error ?. How do I solve this problem. DEBUG 99358 [cocoon ] (Thread-24): org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.

Bug in C2b1 ?

2001-06-26 Thread Luca Morandini
Folks, I've added the empty-taglib sample (thanks Gary !) and I went about my business. After I while I deleted it from cocoon.xconf and sitemap.xmap and then: none of my XSP pages worked anymore :( After a looong while I tried to delete the files generated in the work

How to use sessions in Cocoon2

2001-06-26 Thread Anthony Mills
Hello, How does one do this: xsp:logic SomeClass sc = (SomeClass)session.getAttribute( "sc" ); session.setAttribute( "sc", sc); /xsp:logic The session logicsheet does not seem to work if you use anything but strings. For now I am having to embed the correct code into my XSP page. And

Re: org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.

2001-06-26 Thread S.J.Chun
For me, adding cocoon classes into the system classpath or servlet engine's classpath solves this problem. Tomcat 4.0 aka Catalina runs well without this kind of problem. So, the servlet engine's classloader has this problem, I think. - Original Message - From: florent barbare