Re: cocoon won't deploy

2002-11-05 Thread Karl Øie
from initializing cocoons logger, check where cocoon wants to place it's logs, and then assign permissions to your appserver for cocoon. mvh karl øie On Tuesday, Nov 5, 2002, at 16:39 Europe/Oslo, Kyle Koss wrote: - Root Cause - java.security.AccessControlException: acc

RE: How can i pass my request-parameter to my servlet

2002-02-25 Thread Karl Øie
Title: How can i pass my request-parameter to my servlet you know, i was not answering to your question here. sorry! :-)   mvh karl -Original Message-From: Karl Øie [mailto:[EMAIL PROTECTED]]Sent: 25. februar 2002 12:06To: [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: RE: How

RE: How can i pass my request-parameter to my servlet

2002-02-25 Thread Karl Øie
Title: How can i pass my request-parameter to my servlet         >             you will have to add "use-request-parameters" equals "true" to the transformer.   mvh karl øie -Original Message-From: 罗鸣/eNet/技术服务事业部/系统部/总监 [mailto

RE: XML --> CSV file download to client

2002-02-15 Thread Karl Øie
x11 support at all by just commenting out the "svgxml" serializer from the sitemap and remove all the examples using it... i dont know if this fixes your problem but i can run without xvfb or pja this way. mvh karl øie

RE: RE: XML --> CSV file download to client

2002-02-15 Thread Karl Øie
if i get this right, the easiest way would be to put up a new match in the pipeline; then the cvs file would get the name some-page.cvs ?!

RE: XML --> CSV file download to client

2002-02-15 Thread Karl Øie
you could just try "test/plain" for csv -Original Message- From: Baer Peter [mailto:[EMAIL PROTECTED]] Sent: 15. februar 2002 10:44 To: [EMAIL PROTECTED] Subject: XML --> CSV file download to client Hi, I'm currently stuck with creating and sending a CSV file. (1) When a user cl

RE: Applet With cocoon

2002-01-07 Thread Karl Øie
since the sitemap servlet "takes over" "/" you might have to put up a match for *.class files into the sitemap just like jpg, gif, js, css and other files.   mvh karl øie   -Original Message-From: Ferran Urgell [mailto:[EMAIL PROTECTED]]Sent: 7. januar 200

RE: Could not load class..

2001-12-21 Thread Karl Øie
what jdk do you use? i had this exact same error while running ibm-jdk-1.3. please tell me if you resolve this! mvh karl øie -Original Message- From: Aguirre, Carlos (C.) [mailto:[EMAIL PROTECTED]] Sent: 20. desember 2001 21:51 To: '[EMAIL PROTECTED]' Subject: Could not

RE: Http 404

2001-12-13 Thread Karl Øie
please supply a stack-trace? mvh karl øie > -Original Message- > From: vishakha kulkarni [mailto:[EMAIL PROTECTED]] > Sent: 13. desember 2001 17:31 > To: [EMAIL PROTECTED] > Subject: Http 404 > > Hi all, > > I recently downloaded cocoon 2 a

RE: urgent encoding problem...

2001-12-13 Thread Karl Øie
/formatter/   please note that it looks like the formatter in c1 is not using javax.xml directly, but rather org.apache.xml api's.     mvh karl øie   -Original Message-From: Arun.N [mailto:[EMAIL PROTECTED]]Sent: 13. desember 2001 13:32To: [EMAIL PROTECTED]; [EMAIL PROT

RE: urgent encoding problem...

2001-12-12 Thread Karl Øie
erm... that code snipple was from the XMLSerializer, not the HTMLSerializer as i wrote, but the approach should be the same.. sorry!   mvh karl øie -Original Message-From: Karl Øie [mailto:[EMAIL PROTECTED]]Sent: 12. desember 2001 13:51To: [EMAIL PROTECTED]; Arun.NSubject

RE: urgent encoding problem...

2001-12-12 Thread Karl Øie
this note from the xalan faq   http://xml.apache.org/xalan-j/usagepatterns.html#outputencoding     mvh karl øie     -Original Message-From: Arun.N [mailto:[EMAIL PROTECTED]]Sent: 12. desember 2001 13:33To: [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: Re: urgent encoding pr

RE: urgent encoding problem...

2001-12-12 Thread Karl Øie
s cocoon are using the jsp mechanism to send the response back to the user. the best place to start looking is the xalan faqs and docs because if you use the xml or html serializer it's using the xalan implementations. mvh karl øie   -Original Message-From: Arun.N [mailto:[E

RE: no such method error!

2001-12-11 Thread Karl Øie
you might got a problem with crimson and xalan fighting for jaxp status in the classpath, se the faq. mvh karl øie -Original Message- From: Phillip Gibb [mailto:[EMAIL PROTECTED]] Sent: 11. desember 2001 07:52 To: '[EMAIL PROTECTED]' Subject: no such method error! Hi, I

RE: Using document() in a stylesheet

2001-12-11 Thread Karl Øie
one approach that worked for me was to rewrite/subclass the org.apache.cocoon.components.xslt.XSLTransformerImpl to not use the mru-store, or even better conditionally use the store, say by checking a "nocache" parameter (what i did). mvh karl øie -Original Message- From:

RE: Cocoon War and Command line

2001-12-10 Thread Karl Øie
use jar to unpack your war file, inside you will find the cocoon.jar.   mvh karl øie     -Original Message-From: vendo [mailto:[EMAIL PROTECTED]]Sent: 8. desember 2001 14:52To: cocoonSubject: Cocoon War and Command line Hi, I got the latest release of cocoon, for

RE: Problem installing under JBoss + Tomcat (NoClassDefFoundError:Generator)

2001-12-07 Thread Karl Øie
what jdk are you using? -Original Message- From: Yuri Gadow [mailto:[EMAIL PROTECTED]] Sent: 6. desember 2001 14:28 To: Cocoon Users Subject: Problem installing under JBoss + Tomcat (NoClassDefFoundError:Generator) Looking for pointers on tracking down the following problem: On trying

RE: Installing Coccon 2

2001-12-06 Thread Karl Øie
work on it's data. mvh karl øie -Original Message- From: Tanzila Mohammad [mailto:[EMAIL PROTECTED]] Sent: 6. desember 2001 15:16 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Installing Coccon 2 Thanks, I now unfortunately have this error: Server.run/init: java.sql.SQ

RE: Installing Coccon 2

2001-12-06 Thread Karl Øie
have you removed jaxp.jar as well? mvh karl øie -Original Message- From: Tanzila Mohammad [mailto:[EMAIL PROTECTED]] Sent: 6. desember 2001 14:55 To: [EMAIL PROTECTED] Subject: Installing Coccon 2 Hello all, I am trying to install Cocoon 2 (cocoon-2.0rc2). I am using Tomcat 3.2.3

RE: Inserting / Comining XML data

2001-12-06 Thread Karl Øie
...): > >req = >(HttpServletRequest)manager.lookup(HttpEnvironment.HTTP_SERVLET_CONTEXT); >ses = req.getSession(); erm... this is ofcourse a big lie! "HttpEnvironment.HTTP_SERVLET_CONTEXT" is not necessarily in the component manager's register by default... someon

RE: Inserting / Comining XML data

2001-12-06 Thread Karl Øie
kup ) you will find it has it's own store implementation, but here is a problem because the transformers are not cacheable (i think) like the generators. you will have to produce your own caching system, but that one chould preferably be at the other side of the protoco

RE: Inserting / Comining XML data

2001-12-06 Thread Karl Øie
is totally sax driven, so giving cocoon2 a http feed will lead to a parsing process. even with validation off this represent a huge overhead! mvh karl øie - Please check that your question has not already been answered in the

RE: Inserting / Comining XML data

2001-12-06 Thread Karl Øie
x27;s orriginal request; the cocoon does not accept annything else than char/byte streams as source-handlers, javax.xml does. http is only a byte/char-stream and sometimes that might not be enough. mvh karl øie >I've been following this discussion. This is not rambling, the concept >w

RE: Inserting / Comining XML data

2001-12-05 Thread Karl Øie
this email, and it also contains some source code that you can look at. mvh karl øie - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To uns

RE: Inserting / Comining XML data

2001-12-05 Thread Karl Øie
to place the point precisely: you can use document(), but it only accepts two kinds of urls, file: and cocoon:, this hack enables you to get content from say, a database or something... mvh karl øie -Original Message- From: Luke Studley [mailto:[EMAIL PROTECTED]] Sent: 5. desember

RE: Inserting / Comining XML data

2001-12-05 Thread Karl Øie
return source; } } } this way i can respond and create any SAX/DOM/Stream source for any protocol for the transformer, and i can use "document('rmi://myserver/mydatachunk')" in my xsl documents. this does not replace a g

RE: C2.0 New package

2001-12-03 Thread Karl Øie
Title: RE: C2.0 New package you will have to download the src package if you want to compile c2 yourself, else you can unpack the war file manually with jar.   mvh karl øie -Original Message-From: Jon Hawkesworth [mailto:[EMAIL PROTECTED]]Sent: 3. desember 2001 11:20To

RE: cocoon2 dont run .. Please HELP

2001-11-22 Thread Karl Øie
Parser.parse(JaxpParser.java:67) mvh karl øie -Original Message- From: Sebastian Mäder [mailto:[EMAIL PROTECTED]] Sent: 22. november 2001 17:04 To: [EMAIL PROTECTED] Subject: cocoon2 dont run .. Please HELP Hola, I have installed tomcat 3.2.3, cocoon 2.0b2, JDK 1.3.1 with linux 2.4.10 (Suse). Then I

RE: cocoon2 dont run .. Please HELP

2001-11-22 Thread Karl Øie
ot;$TOMCAT_OPTS -Djavax.xml.parsers.SAXParserFactory=org.apache.xe rces.jaxp.SAXParserFactoryImpl" i allways start my tomcat with this bootstrap. mvh karl øie -Original Message- From: Sebastian Mäder [mailto:[EMAIL PROTECTED]] Sent: 22. november 2001 17:04 To: [EMAIL PROTECTED] Subject: cocoon2 dont run .. Pl

RE: log messages ?

2001-11-21 Thread Karl Øie
try /webapps/cocoon/WEB-INF/logs/ you can also adjust the log setting in the file /webapps/cocoon/WEB-INF/logkit.xconf mvh karl øie -Original Message- From: Andreas Gruenhagen [mailto:[EMAIL PROTECTED]] Sent: 21. november 2001 15:12 To: [EMAIL PROTECTED] Subject: log messages

RE: Cocoon2 and Javascript

2001-11-20 Thread Karl Øie
are you placing the javascript in a cdata section?   <BR><xsl:comment><![CDATA[<BR>function hahaha() {</SPAN></FONT></DIV> <DIV><FONT color=#ff face=Arial size=2><SPAN class=533210716-20112001>    }    

RE: SAX tree?

2001-11-13 Thread Karl Øie
catch( Exception e ) { arg!!! } } } SAXSource msg = Controller.execute(); myFragment myfrag = new myFragment( msg ); myfrag mvh karl øie

RE: SAX tree?

2001-11-13 Thread Karl Øie
obviously I cant type right, the SAXSource msg is supposed to be used in the transform command, not the undeclared mystic source variable transformer.transform( msg, result ); mvh karl øie -Original Message- From: Karl Øie [mailto:[EMAIL PROTECTED]] Sent: 13. november 2001 13:50

RE: SAX tree?

2001-11-13 Thread Karl Øie
I'm doing wrong here? Best regards Søren -Oprindelig meddelelse- Fra: Karl Øie [mailto:[EMAIL PROTECTED]] Sendt: 13. november 2001 03:03 Til: [EMAIL PROTECTED] Emne: RE: SAX tree? there is no such thing as a SAX tree, if it is a tree it is a DOM tree. SAX is an interface that generates

RE: SAX tree?

2001-11-13 Thread Karl Øie
equired to the SAX Handler. hope this helped a bit! :-) mvh karl øie -Original Message- From: Søren Neigaard [mailto:[EMAIL PROTECTED]] Sent: 13. november 2001 20:30 To: [EMAIL PROTECTED] Subject: SAX tree? This subject is a little offtopic :) Ok I will try to return a SAX tree to C2

RE: The encoding "Cp1252" is not supported. Xerces/Jaxp problem induces by cocoon, under jboss ?

2001-11-12 Thread Karl Øie
i had the same problem. the problem is that the tomcat-test.ear file contains xml files with the Cp1252 encoding, and somehow it doesn't work with xerces, just remove the tomcat-test.ear file, or repack it with iso8859-1 encoding in the xml files. -Original Message- From: Coetmeur, Ala

RE: Deploying Cocoon2 in JBoss under Linux

2001-11-12 Thread Karl Øie
oon.war file into it. it works very well, except that tomcat4 still has a troubles with removing stale work files, so sometimes i have to kill jboss/tomcat/work/* to allow changes to take place. mvh karl øie -Original Message- From: Parc Place [mailto:[EMAIL PROTECTED]] Sent: 11. november 2

RE: Unable to pass a parameter

2001-10-02 Thread Karl Øie
have you included "use-request-parameters" in your pipeline? mvh karl -Original Message- From: Hewko, Doug [mailto:[EMAIL PROTECTED]] Sent: 2. oktober 2001 16:26 To: '[EMAIL PROTECTED]' Subject: Unable to pass a parameter Can someone please help me pass a parameter to a X

DOM Generator problem (again)

2001-10-02 Thread Karl Øie
get the correct result. anyone have a idea about what I am doing wrong? I would be really grateful for any advice! mvh karl øie - Please check that your question has not already been answered in the FAQ before posting. <

Generators and DTD/Schemas

2001-09-24 Thread Karl Øie
Source of the DOM and pass it to the xsl transformer. both works with the exception of the above mentioned problem. I would be really grateful for any advice! mvh karl øie - Please check that your question has not already been a

RE: everything down

2001-09-24 Thread Karl Øie
g files): > > CheckedIODemo: java.net.UnknownHostException: www.localhost > > The only way is to restart Tomcat. > Here is my make2.xsp (mainly from Karl Øie in his answer in thread "RE: > Nobody Knows HOW TO SAVE STREAM ON DISK!!"): > > > >

RE: Nobody Knows HOW TO SAVE STREAM ON DISK!!

2001-09-11 Thread Karl Øie
t testet if it's compiling! :-) buy a book about java programming, it will be well spent time/money if you are to work with cocoon! mvh karl øie > -Original Message- > From: cib [mailto:[EMAIL PROTECTED]] > Sent: 10. september 2001 20:30 > To: Cocoon User Mail List >

RE: Apache/tomcat : Q about C2 and C1 ?

2001-08-24 Thread Karl Øie
under Linux it is quite simple to duplicate cocoon into more webapps, what I have done is: in the webapps directory of tomcat I mkdir a new folder for a new webapp, then inside that I mkdir a WEB-INF folder. inside that folder I have created a softlink ln -s to the lib folder in the cocoon/WEB_IN

RE: performance tuning... (match="id(xxx)" versus match="//*[@id=xxx]")

2001-08-24 Thread Karl Øie
wget timings of match="id(xxx)" versus match="//*[@id=xxx]": time wget http://saturn.gan.no:/mup/xpath.xsp?xpath=KAP1 - 0m14.686s (first hit) time wget http://saturn.gan.no:/mup/xpath.xsp?xpath=KAP1 - 0m0.030s (second hit) time

RE: separation of content and logic

2001-08-23 Thread Karl Øie
oufcourse, i'll give you wget timings tomorrow! mvh karl > btw: I'll try the "id(xxx)" tip you gave me, perhaps it can speed up > things a lot! :-) Can you give us a feed back? ;) Thanks, --Arnaud - Please check that your q

RE: separation of content and logic

2001-08-23 Thread Karl Øie
I agree to your point that jsp/java is not a standard like XSLT, but my point here is that the jsp page comes at the end of the pipeline so it must be regarded as a "serializer" of the strange kind. but since my pipeline (xml->xsl->jsp) is pure up to the end point it is easy to re-use the xml-xsl

RE: performance tuning...

2001-08-23 Thread Karl Øie
t;/> > > value="true"/> > > > > > but it doesn't really cut the cheese, after a some > usage the site starts to > regenerate the pages again, and the visitors will > have to wait for nearly a > minute for each call.

RE: performance tuning...

2001-08-23 Thread Karl Øie
cheese, after a some usage the site starts to regenerate the pages again, and the visitors will have to wait for nearly a minute for each call... am I doing something wrong here? mvh karl øie -Original Message- From: Berin Loritsch [mailto:[EMAIL PROTECTED]] Sent: 22. august 20

performance tuning...

2001-08-22 Thread Karl Øie
rearrange the output. The file "oversikten.xml" is about 4mb large, and the site performs quite badly. Is there any tips for improving the performance short of splitting the file into smaller parts as this I am not all

RE: JRE 1.3.1 problem

2001-08-17 Thread Karl Øie
I run w2k+apache+tomcat.3.2.3+cocoon2.0b2+jdk1.3.1 and it works fine, what cind of errors do you get? mvh k -Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent: 17. august 2001 14:30 To: Cocoon-users Subject: JRE 1.3.1 problem Anyone having problems with SUN's

RE: Forms pseudo and passwd encryption

2001-08-17 Thread Karl Øie
ssl now secures the actual connection between your server and the client, but it is still uncrypted on both the client and server machine.   to further secure your form data you should use an encryption on whatever medium you store the data in on the server, and preferably an encryption that

C2:Xpath and generators...

2001-08-15 Thread Karl Øie
i know this is some really newbie questions, but is it possible to: - filter a generator through xpath? - create a custom serializer that can access session variables? in advance thanks! mvh karl - Please check that your quest