HTMLGenerator and entities
Hi, i just tried to read HTML-files and replace the body-Tag (To set a different Background) using XSLT. Everything works fine, if the document doesn't contain any entities (quite unusual for german documents). How do I set the right HTML-DTD? Is there a workaround? For I don't want to interpret the entities, maybe there is a switch to ignore them? Thanks for your help, Klaus Hendrik -- Klaus-Hendrik Wolf Institute for Medical Informatics Braunschweig University of Technology Fallersleber-Tor-Wall 22Tel: +49-531-391-21 27 38100 Braunschweig Fax: +49-531-391-21 31 Germany http://khw.ifmi.org - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: RE: C1 to C2
Sorry, I thought the reply was not on the list so I posted in private. And sorry for this mail, I think the charset is not correct but I've just installed Mew (Messaging in Emacs World) and I did not configure it at the time ;) --Arnaud Arnaud, could you, please, post your reply to the cocoon-users' mailing list as well ? I think this matter is of general interest. Best regards, - Luca Morandini - -Original Message- From: Arnaud Vandyck [mailto:[EMAIL PROTECTED]] Sent: venerdì 13 luglio 2001 15.41 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: C1 to C2 On Fri, 13 Jul 2001 15:31:56 +0200, Luca Morandini [EMAIL PROTECTED] wrote: -Original Message- From: Arnaud Vandyck [mailto:[EMAIL PROTECTED]] Sent: venerdì 13 luglio 2001 14.53 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: C1 to C2 If you only pass xml files to C2, you'll loose the ability to construct dynamic pdf with the pdf extension and so on with .txt or .sh or .jpg, and so on... you may pass every URI you want to Cocoon, whathever the extension. Of course, you will have to rely on the Apache rewrite engine to handle this job (I mean: switching URI between Apache or Cocoon). This URI switching task might be pretty tricky and, moreover, is bound to put application logic outside the sitemap... which is unfortunate. I did never work with the Apache rewrite engine, this is my first error ;) In your configuration, what will you do if you got to serve static xml files (example: applet configuration)? I'll tell Apache NOT to pass xml files contained in a subsite to Cocoon. For instance, every URI in www.foobar.com/foo/static won't be passed to Cocoon but served directly by Apache, while every URI in www.foobar.com/foo/dynamic will be passed to Cocoon for further processing. I think MY mistake was to tell apache to relay * to Cocoon. The other mapping did not work anymore! But I did not want to check all the extension type (well, I should because they are not so many)! ;) Thanks for the tips, I'll try --Arnaud - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: The sitemap handler's sitemap is not available
Hi Karun, (1) Quoting is usually a good idea. It is not very clear to which message you're reacting. (2) Look in %TOMCAT_HOME%/web-apps/cocoon/WEB-INF/log/cocoon.log for the exact error description. sitemap handler's sitemap not found only indicates that the sitemap.xmap could not be compiled, and this can be caused by a zillion reasons. hth, tomK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: zaterdag 14 juli 2001 3:20 To: [EMAIL PROTECTED] Subject: Re: The sitemap handler's sitemap is not available i wish it could .. but i am having the same problem even after starting the server from the GUI environment. I have RH 7.0 and weblogic 6.0 SP1. The error . sitemap handler's sitemap not found. exception thrown from org.apache.cocoon.ProcessingException... I wish I could beat it .. Please share if you have anything relative .. Regard's Karun - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
forms in coocon2, is SchemoX dead ?
Hi All Does anyone knows a MVC framework for from processing in cocoon2 ? I downloaded the CVS from SchemoX , but the last change was in January. So it my impression is that SchemoX is dead. Is this correct ? Are there other projetcs related to Form processing ? Thanx Thorsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [C2] User Authentication
Uli Mayring wrote: On Sat, 14 Jul 2001, Berin Loritsch wrote: To further complicate things, we cannot always require a particular type of software be installed. We have to work within our customer's configuration management. That means if they don't like Tomcat but they like iPlanet w/servlets, then we have to support that configuration. Our authentication methods cannot be broken because we can no longer use Tomcat's Database Realm. This requires us to implement our own login mechanisms--adding to the complexity of our software. So basically you're saying you have custom authentication code. Where do you put it in Cocoon2? I guess in an action, because you need to redirect, right? If not, what do you do, if the user tries to access a protected page prior to authentication? For now, I use an Action. In the future, I want to migrate to formalizing Stefano's FlowMap approach. It is the process of modeling application flow in XML. The FlowMap will take care of matching actions and form pages, etc. It will also make sure that when a resource must be authenticated and authorized, you will be redirected to the login form. It is a great idea whose time has come. The problem is finding the time to implement it. S/MIME Cryptographic Signature
Re: [C2] User Authentication
Ulrich Mayring wrote: Berin Loritsch wrote: For now, I use an Action. In the future, I want to migrate to formalizing Stefano's FlowMap approach. It is the process of modeling application flow in XML. The FlowMap will take care of matching actions and form pages, etc. It will also make sure that when a resource must be authenticated and authorized, you will be redirected to the login form. It is a great idea whose time has come. The problem is finding the time to implement it. Yeah, this is consistent with Cocoon2's approach to put distinct functionality into distinct places using distinct techniques. My idea of SoC is a bit different perhaps, but perhaps not so different after all, we'll see how it plays out in the long run. For me there are three Concerns, which should be seperated in an SoC model: a) content b) logic c) output (includes display, but there is more to output than that) d) workflow (meaning program flow) In Cocoon1 we have it like this: a) Content - in XML files b) Logic - in XSP taglibs (forget about processors, they are not very useful anymore) c) Output - in XSL files d) workflow - defined by XSP taglibs and used in XML files This model has two weaknesses: first, XSL files cannot really output things, that are too different from XML, say PDF or a Word document. Second, the workflow is spread over a lot of XML files and not centrally defined somewhere. Now let's look at Cocoon2: a) Content - in XML files b) Logic - in Actions and XSP taglibs and the Sitemap and ... (did I forget something?) c) Output - in Formatters and Serializers (is that correct?) d) Workflow - in the Sitemap and in Actions, in the future in a Flowmap So there is an improvement in c) but b) was IMHO easier to use and maintain in Cocoon1. As far as d) is concerned, a Flowmap would be an improvement over Cocoon1, even though I don't think it is the optimal solution due to it being a proprietary concept like the Sitemap. The way it will change (once FlowMap is introduced): Content - in XML/XSP files (XSP is used for complex content generation). Logic - in Actions. Output - XSLT/Serializers (Readers are for non-transformed content) Workflow - FlowMap (currently in Actions). This is not really a fundamental shift in the original concepts behind Cocoon 1. XSP was really only intended to provide a way to create dynamic content. It is the absence of any other mechanism in Cocoon 1 that forces you to violate the original intent of XSP. Truth be told, if you don't need redirection, you can develop your XSP pages like before. The addition of the FlowMap will handle the XML modeling of your redirects and such. Cocoon 2's Transformers and Serializers are a powerful concept that allow you to take an XML input, and output any kind of stream. Cocoon 2 already has the ability to take XSL:FO and generate PDF; and take SVG and generate JPG and PNG images. On the developer's list, I have been proposing ways of limiting the sitemap's involvement in the overall method of creating your web resources. The reason is that the Sitemap MERGES certain concerns that hinder each site developer's role from functioning the way it is envisioned. My proposals have been meet with mixed emotions. Some of the developers like the better markup, and structure. Some are of the oppinion that the sitemap is good enough. A large part of it has to do with the overall complexity of the sites being produced. Those who create complex sites tend to favor my approach, and those who create simple sites like the sitemap the way it is. That last statement is a broad generalization, and I have only had feedback from a few folks. I know code speaks louder than words, but I have very limited time... S/MIME Cryptographic Signature
RE: hi
Raghu, This list is of little use to either of us. I have posted the exact same question (twice) without any response, and in searching the archives found another unanswered question posing the same problem. The problem is that you have too many folks like Minakshi that waste everyone's time and mail-server with assinine responses. My suggestion to Minakshi: If you don't know the answer stay off the list-serv. Raghu, if you do arrive at an answer, please post it. I will do the same. Thanks, Ben Cramer -Original Message-From: Minakshi k [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 12, 2001 1:18 PMTo: [EMAIL PROTECTED]Subject: Re: hi Please mention "cocoon" in subject instead of personal subject like "hi" From: "raghu" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: hi Date: Thu, 12 Jul 2001 18:46:31 +0530 Hi, I have Tomcat 3.2.2 , jetspeed 1.3a1, apache 1.3.11 and mod_jk.so as a link between tomcat and apache. I have installed cocoon 1.8.2, . I am able to see the Adding context /cocoon line when starting tomcat. But when i go to http://localhost:8080/cocoon/Cocoon.xml, i get the following error. What may be the error? Is it because of conflicting jar files? Do i need to have turbine-pool.jar file? Is it conflicting with jetspeed Turbine resource properties? i have renamed xml and parser to zxml and zparser. Please help. PUBLISHING ENGINE COULD NOT BE INITIALISED java.lang.RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes can be found in the classpath (org/apache/turbine/services/resources/TurbineResourceService) at org.apache.cocoon.framework.Manager.create(Manager.java:122) at org.apache.cocoon.framework.Router.init(Router.java:80) at org.apache.cocoon.framework.Manager.create(Manager.java:109) at org.apache.cocoon.Engine.(Engine.java:179) at org.apache.cocoon.Engine.getInstance(Engine.java:232) at org.apache.cocoon.Cocoon.init(Cocoon.java:157) at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317) at org.apache.tomcat.core.Handler.init(Handler.java:215) at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296) at org.apache.tomcat.core.Handler.service(Handler.java:254) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) Warning: this page has been dynamically generated. Copyright (c) 1999-2001 The Apache XML Project. All rights reserved. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>
RE: hi
tomK, I have Turbine-pool as part of my %TOMCAT_HOME%/lib. My /lib directory has the following in it: ant.jar ant_1_1.jar bsf.jar bsfengines.jar cocoon.jar fesi.jar fop_0_15_0.jar jasper.jar jaxp.jar sax-bugfix.jar servlet.jar servlet_2_2.jar stylebook-1.0-b2.jar test turbine-pool.jar w3c.jar webserver.jar xalan_1_2_D02.jar xerces.jar xt.jar zparser.jar zxml.jar I believe that I have all the necessary components and renamed those that conflict. Cocoon is running because it generated the error. Any help is much appreciated. Ben -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 8:58 AMTo: [EMAIL PROTECTED]Subject: RE: hi Did you try adding the Turbine classes to your lib? If so, what happened then? hth, tomK -Original Message-From: Benjamin Cramer [mailto:[EMAIL PROTECTED]]Sent: maandag 16 juli 2001 15:55To: '[EMAIL PROTECTED]'Subject: RE: hi Raghu, This list is of little use to either of us. I have posted the exact same question (twice) without any response, and in searching the archives found another unanswered question posing the same problem. The problem is that you have too many folks like Minakshi that waste everyone's time and mail-server with assinine responses. My suggestion to Minakshi: If you don't know the answer stay off the list-serv. Raghu, if you do arrive at an answer, please post it. I will do the same. Thanks, Ben Cramer -Original Message-From: Minakshi k [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 12, 2001 1:18 PMTo: [EMAIL PROTECTED]Subject: Re: hi Please mention "cocoon" in subject instead of personal subject like "hi" From: "raghu" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: hi Date: Thu, 12 Jul 2001 18:46:31 +0530 Hi, I have Tomcat 3.2.2 , jetspeed 1.3a1, apache 1.3.11 and mod_jk.so as a link between tomcat and apache. I have installed cocoon 1.8.2, . I am able to see the Adding context /cocoon line when starting tomcat. But when i go to http://localhost:8080/cocoon/Cocoon.xml, i get the following error. What may be the error? Is it because of conflicting jar files? Do i need to have turbine-pool.jar file? Is it conflicting with jetspeed Turbine resource properties? i have renamed xml and parser to zxml and zparser. Please help. PUBLISHING ENGINE COULD NOT BE INITIALISED java.lang.RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes can be found in the classpath (org/apache/turbine/services/resources/TurbineResourceService) at org.apache.cocoon.framework.Manager.create(Manager.java:122) at org.apache.cocoon.framework.Router.init(Router.java:80) at org.apache.cocoon.framework.Manager.create(Manager.java:109) at org.apache.cocoon.Engine.(Engine.java:179) at org.apache.cocoon.Engine.getInstance(Engine.java:232) at org.apache.cocoon.Cocoon.init(Cocoon.java:157) at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317) at org.apache.tomcat.core.Handler.init(Handler.java:215) at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296) at org.apache.tomcat.core.Handler.service(Handler.java:254) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) Warning: this page has been dynamically generated. Copyright (c) 1999-2001 The Apache XML Project. All rights reserved. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>
RE: hi
I'm a bit on a wild goose chase here, because I don't use Cocoon1.8... Does this turbine-pool.jar contain afile TurbineResourceService.class? (I can't find a reference to this jar file on the turbine site). If not, download the TDK from the Turbine website, and take the turbine-2.2-dev.jar (or a similar one, if you use a different version). This contains TurbineResourceService.class (I just checked). If you're absolutely certain this class is in one of the .jars of your lib, try copying all contents of %TOMCAT_HOME%/lib to %TOMCAT_HOME%/webapps/cocoon/WEB-INF/lib (every tomcat version seems to use a different lib dir for your webapps, and copying your jars in all possible lib dirs doesn't seem to hurt most of the time :) ) tomK -Original Message-From: Benjamin Cramer [mailto:[EMAIL PROTECTED]]Sent: maandag 16 juli 2001 16:15To: '[EMAIL PROTECTED]'Subject: RE: hi tomK, I have Turbine-pool as part of my %TOMCAT_HOME%/lib. My /lib directory has the following in it: ant.jar ant_1_1.jar bsf.jar bsfengines.jar cocoon.jar fesi.jar fop_0_15_0.jar jasper.jar jaxp.jar sax-bugfix.jar servlet.jar servlet_2_2.jar stylebook-1.0-b2.jar test turbine-pool.jar w3c.jar webserver.jar xalan_1_2_D02.jar xerces.jar xt.jar zparser.jar zxml.jar I believe that I have all the necessary components and renamed those that conflict. Cocoon is running because it generated the error. Any help is much appreciated. Ben -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 8:58 AMTo: [EMAIL PROTECTED]Subject: RE: hi Did you try adding the Turbine classes to your lib? If so, what happened then? hth, tomK -Original Message-From: Benjamin Cramer [mailto:[EMAIL PROTECTED]]Sent: maandag 16 juli 2001 15:55To: '[EMAIL PROTECTED]'Subject: RE: hi Raghu, This list is of little use to either of us. I have posted the exact same question (twice) without any response, and in searching the archives found another unanswered question posing the same problem. The problem is that you have too many folks like Minakshi that waste everyone's time and mail-server with assinine responses. My suggestion to Minakshi: If you don't know the answer stay off the list-serv. Raghu, if you do arrive at an answer, please post it. I will do the same. Thanks, Ben Cramer -Original Message-From: Minakshi k [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 12, 2001 1:18 PMTo: [EMAIL PROTECTED]Subject: Re: hi Please mention "cocoon" in subject instead of personal subject like "hi" From: "raghu" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: hi Date: Thu, 12 Jul 2001 18:46:31 +0530 Hi, I have Tomcat 3.2.2 , jetspeed 1.3a1, apache 1.3.11 and mod_jk.so as a link between tomcat and apache. I have installed cocoon 1.8.2, . I am able to see the Adding context /cocoon line when starting tomcat. But when i go to http://localhost:8080/cocoon/Cocoon.xml, i get the following error. What may be the error? Is it because of conflicting jar files? Do i need to have turbine-pool.jar file? Is it conflicting with jetspeed Turbine resource properties? i have renamed xml and parser to zxml and zparser. Please help. PUBLISHING ENGINE COULD NOT BE INITIALISED java.lang.RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes can be found in the classpath (org/apache/turbine/services/resources/TurbineResourceService) at org.apache.cocoon.framework.Manager.create(Manager.java:122) at org.apache.cocoon.framework.Router.init(Router.java:80) at org.apache.cocoon.framework.Manager.create(Manager.java:109) at org.apache.cocoon.Engine.(Engine.java:179) at org.apache.cocoon.Engine.getInstance(Engine.java:232) at org.apache.cocoon.Cocoon.init(Cocoon.java:157) at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317) at org.apache.tomcat.core.Handler.init(Handler.java:215) at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296) at org.apache.tomcat.core.Handler.service(Handler.java:254) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at
RE: hi
tomK, Thanks for the suggestions.I have confirmed that the Turbine-pool.jar contains the TurbineResourceService.class. I copied the jars in the %TOMCAT_HOME%/lib to a new /lib folder under cocoon/WEB-INF directory as you suggested. Unfortunately, there has been no change after restarting Tomcat. I was hoping to get Cocoon1.8 off the ground. If you think it would better serve my time, I would be willing to put Cocoon2 in place. However, I hadn't thought about it. Seemed that 1.8 would have been more successful. I would like to get going in Cocoon ASAP. Ben -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 9:46 AMTo: [EMAIL PROTECTED]Subject: RE: hi I'm a bit on a wild goose chase here, because I don't use Cocoon1.8... Does this turbine-pool.jar contain afile TurbineResourceService.class? (I can't find a reference to this jar file on the turbine site). If not, download the TDK from the Turbine website, and take the turbine-2.2-dev.jar (or a similar one, if you use a different version). This contains TurbineResourceService.class (I just checked). If you're absolutely certain this class is in one of the .jars of your lib, try copying all contents of %TOMCAT_HOME%/lib to %TOMCAT_HOME%/webapps/cocoon/WEB-INF/lib (every tomcat version seems to use a different lib dir for your webapps, and copying your jars in all possible lib dirs doesn't seem to hurt most of the time :) ) tomK -Original Message-From: Benjamin Cramer [mailto:[EMAIL PROTECTED]]Sent: maandag 16 juli 2001 16:15To: '[EMAIL PROTECTED]'Subject: RE: hi tomK, I have Turbine-pool as part of my %TOMCAT_HOME%/lib. My /lib directory has the following in it: ant.jar ant_1_1.jar bsf.jar bsfengines.jar cocoon.jar fesi.jar fop_0_15_0.jar jasper.jar jaxp.jar sax-bugfix.jar servlet.jar servlet_2_2.jar stylebook-1.0-b2.jar test turbine-pool.jar w3c.jar webserver.jar xalan_1_2_D02.jar xerces.jar xt.jar zparser.jar zxml.jar I believe that I have all the necessary components and renamed those that conflict. Cocoon is running because it generated the error. Any help is much appreciated. Ben -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 8:58 AMTo: [EMAIL PROTECTED]Subject: RE: hi Did you try adding the Turbine classes to your lib? If so, what happened then? hth, tomK -Original Message-From: Benjamin Cramer [mailto:[EMAIL PROTECTED]]Sent: maandag 16 juli 2001 15:55To: '[EMAIL PROTECTED]'Subject: RE: hi Raghu, This list is of little use to either of us. I have posted the exact same question (twice) without any response, and in searching the archives found another unanswered question posing the same problem. The problem is that you have too many folks like Minakshi that waste everyone's time and mail-server with assinine responses. My suggestion to Minakshi: If you don't know the answer stay off the list-serv. Raghu, if you do arrive at an answer, please post it. I will do the same. Thanks, Ben Cramer -Original Message-From: Minakshi k [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 12, 2001 1:18 PMTo: [EMAIL PROTECTED]Subject: Re: hi Please mention "cocoon" in subject instead of personal subject like "hi" From: "raghu" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: hi Date: Thu, 12 Jul 2001 18:46:31 +0530 Hi, I have Tomcat 3.2.2 , jetspeed 1.3a1, apache 1.3.11 and mod_jk.so as a link between tomcat and apache. I have installed cocoon 1.8.2, . I am able to see the Adding context /cocoon line when starting tomcat. But when i go to http://localhost:8080/cocoon/Cocoon.xml, i get the following error. What may be the error? Is it because of conflicting jar files? Do i need to have turbine-pool.jar file? Is it conflicting with jetspeed Turbine resource properties? i have renamed xml and parser to zxml and zparser. Please help. PUBLISHING ENGINE COULD NOT BE INITIALISED java.lang.RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes can be found in the classpath
How can I set the charset/encoding in coocon2
How can I set the output encoding/charset for coocon2? My xml-file, and my xsl-file as well, use ISO-8859-1 (Latin-1), but my output is UTF-8! Why? Christoph Gaffga - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: forms in coocon2, is SchemoX dead ?
I have posted similar requirement sometime back but no response...Meantime here is what i found 1. XForm from nanoworks http://xform.nanoworks.org/ I tried this but didnt feel comfortable to fit in with cocoon2.. I think the form processing in c2 with form-validator stuff is slowly moving towards this goal of full blown form processing and validation.. I was really(and desperately) looking for simple and effective mechanism to describe forms in xml and have someother component deal with preparing form and handling the validation stuff...Hope that arrives soon... --- Thorsten Mauch [EMAIL PROTECTED] wrote: Hi All Does anyone knows a MVC framework for from processing in cocoon2 ? I downloaded the CVS from SchemoX , but the last change was in January. So it my impression is that SchemoX is dead. Is this correct ? Are there other projetcs related to Form processing ? Thanx Thorsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: hi - TO TurbinePool or not.
Here's the .bat file I use to start tomcat3.2/Cocoon1.8.3 on my WindowsME system. I use the same basic setup on Linux too, with appropriate changes in filenames. If you just try to cut and paste this, notice that I've put some things in a \lib\183\.. directory that you'll need to modify for your local setup. I use Saxon XSLT out of choice, but it also works with Xalan 1.2 if you prefer. Your mileage may vary, but this works fine for me. Paul ++ set TOMCAT_HOME=c:\apache\tc32set JAVA_HOME=c:\java\122set PATH=%JAVA_HOME%\bin;C:\WINDOWS;C:\WINDOWS\COMMAND set CLASSPATH=.set CLASSPATH=%TOMCAT_HOME%\classes set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xerces_1_3.jar set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet_2_2.jarset CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\183\turbine-pool.jar rem Using xalan, must use 1.2rem set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xalan_1_2_D02.jarrem USING SAXON (6.2.1)set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\saxon.jar set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\183\bsf.jarset CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\183\bsfengines.jarset CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\183\fop_0_15_0.jar set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\183\cocoon.jar set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar java -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9 ++ -Original Message-From: Benjamin Cramer [mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 7:59 AMTo: '[EMAIL PROTECTED]'Subject: RE: hi tomK, Thanks for the suggestions.I have confirmed that the Turbine-pool.jar contains the TurbineResourceService.class. I copied the jars in the %TOMCAT_HOME%/lib to a new /lib folder under cocoon/WEB-INF directory as you suggested. Unfortunately, there has been no change after restarting Tomcat. I was hoping to get Cocoon1.8 off the ground. If you think it would better serve my time, I would be willing to put Cocoon2 in place. However, I hadn't thought about it. Seemed that 1.8 would have been more successful. I would like to get going in Cocoon ASAP. Ben -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 9:46 AMTo: [EMAIL PROTECTED]Subject: RE: hi I'm a bit on a wild goose chase here, because I don't use Cocoon1.8... Does this turbine-pool.jar contain afile TurbineResourceService.class? (I can't find a reference to this jar file on the turbine site). If not, download the TDK from the Turbine website, and take the turbine-2.2-dev.jar (or a similar one, if you use a different version). This contains TurbineResourceService.class (I just checked). If you're absolutely certain this class is in one of the .jars of your lib, try copying all contents of %TOMCAT_HOME%/lib to %TOMCAT_HOME%/webapps/cocoon/WEB-INF/lib (every tomcat version seems to use a different lib dir for your webapps, and copying your jars in all possible lib dirs doesn't seem to hurt most of the time :) ) tomK -Original Message-From: Benjamin Cramer [mailto:[EMAIL PROTECTED]]Sent: maandag 16 juli 2001 16:15To: '[EMAIL PROTECTED]'Subject: RE: hi tomK, I have Turbine-pool as part of my %TOMCAT_HOME%/lib. My /lib directory has the following in it: ant.jar ant_1_1.jar bsf.jar bsfengines.jar cocoon.jar fesi.jar fop_0_15_0.jar jasper.jar jaxp.jar sax-bugfix.jar servlet.jar servlet_2_2.jar stylebook-1.0-b2.jar test turbine-pool.jar w3c.jar webserver.jar xalan_1_2_D02.jar xerces.jar xt.jar zparser.jar zxml.jar I believe that I have all the necessary components and renamed those that conflict. Cocoon is running because it generated the error. Any help is much appreciated. Ben -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 8:58 AMTo: [EMAIL PROTECTED]Subject: RE: hi Did you try adding the Turbine classes to your lib? If so, what happened then? hth, tomK -Original Message-From: Benjamin Cramer [mailto:[EMAIL PROTECTED]]Sent: maandag 16 juli 2001 15:55To: '[EMAIL PROTECTED]'Subject: RE: hi Raghu, This list is of little use to either of us. I have posted the exact same question (twice) without any response, and in searching the archives found another unanswered question posing the same problem. The problem is that you have too many folks like Minakshi that waste
Re: forms in coocon2, is SchemoX dead ?
I also need form generation and validation. I am basing mu implementation in XFDL, a W3C recomendation for generic business forms (not wonly web-based, but paper-based ones too). If there's interest in a joint effort, I think we could set up a repository somewhere (sourceforge...) and release it under a BSD type license. Reply if interested. On Mon, 16 Jul 2001 16:39:26 +0100 (BST), java guru [EMAIL PROTECTED] wrote: -- I have posted similar requirement sometime back but no response...Meantime here is what i found 1. XForm from nanoworks http://xform.nanoworks.org/ I tried this but didnt feel comfortable to fit in with cocoon2.. I think the form processing in c2 with form-validator stuff is slowly moving towards this goal of full blown form processing and validation.. I was really(and desperately) looking for simple and effective mechanism to describe forms in xml and have someother component deal with preparing form and handling the validation stuff...Hope that arrives soon... --- Thorsten Mauch [EMAIL PROTECTED] wrote: Hi All Does anyone knows a MVC framework for from processing in cocoon2 ? I downloaded the CVS from SchemoX , but the last change was in January. So it my impression is that SchemoX is dead. Is this correct ? Are there other projetcs related to Form processing ? Thanx Thorsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sergio Carvalho --- [EMAIL PROTECTED] If at first you don't succeed, skydiving is not for you - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [C2] User Authentication
At 3:32 PM +0200 16/7/01, Ulrich Mayring wrote: Berin Loritsch wrote: For now, I use an Action. In the future, I want to migrate to formalizing Stefano's FlowMap approach. It is the process of modeling application flow in XML. The FlowMap will take care of matching actions and form pages, etc. It will also make sure that when a resource must be authenticated and authorized, you will be redirected to the login form. It is a great idea whose time has come. The problem is finding the time to implement it. I _so_ want to use flowmaps ! Yeah, this is consistent with Cocoon2's approach to put distinct functionality into distinct places using distinct techniques. My idea of SoC is a bit different perhaps, but perhaps not so different after all, we'll see how it plays out in the long run. For me there are three Concerns, which should be seperated in an SoC model: a) content b) logic c) output (includes display, but there is more to output than that) d) workflow (meaning program flow) In Cocoon1 we have it like this: a) Content - in XML files b) Logic - in XSP taglibs (forget about processors, they are not very useful anymore) We all tend to mix content and logic here, even if the logic merely comes for the ride, as logicsheet implemented logic. So what I am saying is IMHO output starts at the producer/generator stage, not the transformer stage below. c) Output - in XSL files d) workflow - defined by XSP taglibs and used in XML files This model has two weaknesses: first, XSL files cannot really output things, that are too different from XML, say PDF or a Word document. It might not be obvious how to output non-xml, but it is certainly possible, I have XSLTs that output QuickTime TextTracks . Second, the workflow is spread over a lot of XML files and not centrally defined somewhere. Now let's look at Cocoon2: a) Content - in XML files b) Logic - in Actions and XSP taglibs and the Sitemap and ... (did I forget something?) c) Output - in Formatters and Serializers (is that correct?) d) Workflow - in the Sitemap and in Actions, in the future in a Flowmap So there is an improvement in c) but b) was IMHO easier to use and maintain in Cocoon1. As far as d) is concerned, a Flowmap would be an improvement over Cocoon1, even though I don't think it is the optimal solution due to it being a proprietary concept like the Sitemap. I feel the benefit that Cocoon 2 brings, is to allow you to break down your functionality into smaller more reusable parts than is generally achieved using Cocoon 1. regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Coocon with Silver stream server
I am trying make cocoon work with silver strream server. I am using coccon 2.0, Silver stream 3.71 on Windows 2000 server. After deploying cocoon.war file, if I try to access coccon, it gives me following error message. I am able to open hello.jsp, under sample directory. If I try to open cml file, it displays as an xml file and not as html file. Any help will be highly appriciated. ooo No Context Loader oo: javax.servlet.ServletC onfig java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:993) at com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java: 105) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:112) at com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource. java:754) at com.sssw.srv.busobj.AgoWarServletRequestDispatcher.dispatch(AgoWarSer vletRequestDispatcher.java:50) at com.sssw.srv.busobj.AgoWarRequestDispatcher.forward(AgoWarRequestDisp atcher.java:88) at com.sssw.srv.resources.AgWarResource.handleDirectoryRequest(AgWarReso urce.java:1130) at com.sssw.srv.resources.AgWarResource.service(AgWarResource.java:523) at com.sssw.srv.resources.AgWarURLResource.perform(AgWarURLResource.java :114) at com.sssw.srv.http.httpd.perform(httpd.java:4418) at com.sssw.srv.http.Client.processRequest(Client.java:881) at com.sssw.srv.http.Client.loop(Client.java:1215) at com.sssw.srv.http.Client.runConnection(Client.java:1419) at com.sssw.srv.http.Client.run(Client.java:1379) at java.lang.Thread.run(Thread.java:484) ooo No Context Loader oo: org.apache.cocoon.envi ronment.http.HttpContext java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:993) at com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java: 105) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:116) at com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource. java:754) at com.sssw.srv.busobj.AgoWarServletRequestDispatcher.dispatch(AgoWarSer vletRequestDispatcher.java:50) at com.sssw.srv.busobj.AgoWarRequestDispatcher.forward(AgoWarRequestDisp atcher.java:88) at com.sssw.srv.resources.AgWarResource.handleDirectoryRequest(AgWarReso urce.java:1130) at com.sssw.srv.resources.AgWarResource.service(AgWarResource.java:523) at com.sssw.srv.resources.AgWarURLResource.perform(AgWarURLResource.java :114) at com.sssw.srv.http.httpd.perform(httpd.java:4418) at com.sssw.srv.http.Client.processRequest(Client.java:881) at com.sssw.srv.http.Client.loop(Client.java:1215) at com.sssw.srv.http.Client.runConnection(Client.java:1419) at com.sssw.srv.http.Client.run(Client.java:1379) at java.lang.Thread.run(Thread.java:484) ooo No Context Loader oo: org.apache.cocoon.envi ronment.Context java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:993) at com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java: 105) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.lang.ClassLoader.defineClass(ClassLoader.java:426) at com.sssw.srv.cl.AgoJarClassLoader.findClass(AgoJarClassLoader.java:95 ) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java: 106) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:116) at com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource. java:754) at com.sssw.srv.busobj.AgoWarServletRequestDispatcher.dispatch(AgoWarSer vletRequestDispatcher.java:50) at com.sssw.srv.busobj.AgoWarRequestDispatcher.forward(AgoWarRequestDisp atcher.java:88) at com.sssw.srv.resources.AgWarResource.handleDirectoryRequest(AgWarReso urce.java:1130) at com.sssw.srv.resources.AgWarResource.service(AgWarResource.java:523) at com.sssw.srv.resources.AgWarURLResource.perform(AgWarURLResource.java :114) at com.sssw.srv.http.httpd.perform(httpd.java:4418) at com.sssw.srv.http.Client.processRequest(Client.java:881) at
Re: How can I set the charset/encoding in coocon2
Christoph == C Gaffga [EMAIL PROTECTED] writes: Christoph How can I set the output encoding/charset for coocon2? Christoph My xml-file, and my xsl-file as well, use ISO-8859-1 Christoph (Latin-1), but my output is UTF-8! Why? it appears to be the default encoding for the serialiser. Add an encoding tag to your serialiser in the sitemap, or add a meta tag such as the following to the head section in your xsl file: meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 /, or both. I am using the following: meta http-equiv=Content-Type content=text/html; charset=UTF-8 / as I want UTF-8 output, and I need to tell the browser. I'm using the following serialser: map:serializer name=xhtml mime-type=text/html src=org.apache.cocoon.serialization.XMLSerializer doctype-public-//W3C//DTD XHTML 1.1//EN/doctype-public doctype-systemhttp://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd/doctype-system encodingUTF-8/encoding omit-xml-declarationno/omit-xml-declaration /map:serializer Note the name - that's not the default, so if you want to use this, you have to use the following line in your pipeline: map:serialize type=xhtml / -- Colin Paul Adams Preston Lancashire - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: forms in coocon2, is SchemoX dead ?
hi, after talking to the founder of the schemoX project (and asking the same question) I know that it is not dead, suspended though. As I am highly in need for a (X)form rendering and validating engine, I will try to play with the schemoX codebase.. It would be great if anyone would join my efforts! BTW: How are you currently doing form validation? thanks jp -Ursprüngliche Nachricht- Von: java guru [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 16. Juli 2001 21:02 An: [EMAIL PROTECTED] Betreff: Re: forms in coocon2, is SchemoX dead ? Great., I am positively interested in this...please let me know the details.. --- Sergio Carvalho [EMAIL PROTECTED] wrote: I also need form generation and validation. I am basing mu implementation in XFDL, a W3C recomendation for generic business forms (not wonly web-based, but paper-based ones too). If there's interest in a joint effort, I think we could set up a repository somewhere (sourceforge...) and release it under a BSD type license. Reply if interested. On Mon, 16 Jul 2001 16:39:26 +0100 (BST), java guru [EMAIL PROTECTED] wrote: -- I have posted similar requirement sometime back but no response...Meantime here is what i found 1. XForm from nanoworks http://xform.nanoworks.org/ I tried this but didnt feel comfortable to fit in with cocoon2.. I think the form processing in c2 with form-validator stuff is slowly moving towards this goal of full blown form processing and validation.. I was really(and desperately) looking for simple and effective mechanism to describe forms in xml and have someother component deal with preparing form and handling the validation stuff...Hope that arrives soon... --- Thorsten Mauch [EMAIL PROTECTED] wrote: Hi All Does anyone knows a MVC framework for from processing in cocoon2 ? I downloaded the CVS from SchemoX , but the last change was in January. So it my impression is that SchemoX is dead. Is this correct ? Are there other projetcs related to Form processing ? Thanx Thorsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sergio Carvalho --- [EMAIL PROTECTED] If at first you don't succeed, skydiving is not for you - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [C2] User Authentication
On Mon, 16 Jul 2001, Jeremy Quinn wrote: This is why I would like to be able to compile Actions from XSP, because there are already useful XSP languages that currently perform roles that can now be separated into Actions and Generation. It would mean we could continue to take advantage of the investment that went into developing those TagLibs. eg. esql, fp, crudlet, auth, soap etc. etc. Does this mean there is currently no esql for Cocoon2? Previously it was said XSP taglibs should work unmodified if they a) do not redirect b) do not use the OutputStream c) do not do DOM things AFAIK the esql does nothing of the above. Ulrich - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [C2] User Authentication
Uli Mayring wrote: On Mon, 16 Jul 2001, Jeremy Quinn wrote: This is why I would like to be able to compile Actions from XSP, because there are already useful XSP languages that currently perform roles that can now be separated into Actions and Generation. It would mean we could continue to take advantage of the investment that went into developing those TagLibs. eg. esql, fp, crudlet, auth, soap etc. etc. Does this mean there is currently no esql for Cocoon2? Previously it was said XSP taglibs should work unmodified if they a) do not redirect b) do not use the OutputStream c) do not do DOM things AFAIK the esql does nothing of the above. ESQL is there, and the markup is the same! S/MIME Cryptographic Signature
AW: forms in coocon2, is SchemoX dead ?
Our Company is also interessed to help. Do you have already a design ? BTW whats the relation from between XFDL http://www.w3.org/TR/NOTE-XFDL and Xforms http://www.w3.org/TR/xforms/? Is it correct that xforms is only for the web while XFDL is a more gernaeral aproach ? From the SchemoX website i understand XForms and XFDL only describe the layout of a form while SchemoX has a wider approach. So i share the Opinion from Jakob to review SchemoX. Regarding XForms i may make sense to study the source from X-Smiles. http://www.x-smiles.org/ X-Smiles is an XML-browser that can display Xforms. i will do that now :) -Ursprüngliche Nachricht- Von: java guru [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 16. Juli 2001 21:02 An: [EMAIL PROTECTED] Betreff: Re: forms in coocon2, is SchemoX dead ? Great., I am positively interested in this...please let me know the details.. --- Sergio Carvalho [EMAIL PROTECTED] wrote: I also need form generation and validation. I am basing mu implementation in XFDL, a W3C recomendation for generic business forms (not wonly web-based, but paper-based ones too). If there's interest in a joint effort, I think we could set up a repository somewhere (sourceforge...) and release it under a BSD type license. Reply if interested. On Mon, 16 Jul 2001 16:39:26 +0100 (BST), java guru [EMAIL PROTECTED] wrote: -- I have posted similar requirement sometime back but no response...Meantime here is what i found 1. XForm from nanoworks http://xform.nanoworks.org/ I tried this but didnt feel comfortable to fit in with cocoon2.. I think the form processing in c2 with form-validator stuff is slowly moving towards this goal of full blown form processing and validation.. I was really(and desperately) looking for simple and effective mechanism to describe forms in xml and have someother component deal with preparing form and handling the validation stuff...Hope that arrives soon... --- Thorsten Mauch [EMAIL PROTECTED] wrote: Hi All Does anyone knows a MVC framework for from processing in cocoon2 ? I downloaded the CVS from SchemoX , but the last change was in January. So it my impression is that SchemoX is dead. Is this correct ? Are there other projetcs related to Form processing ? Thanx Thorsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sergio Carvalho --- [EMAIL PROTECTED] If at first you don't succeed, skydiving is not for you - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: forms in coocon2, is SchemoX dead ?
I agree about the xform and xfdl..In future, i guess, these concepts would go beyond just form validation and handling.. For now, from this discussion, I understand that we are all looking for some form of automated/simplified form generation/validation and handling..am i right?.. There is a design proposal on SchemoX website to make it run with cocoon2..anyone had look at it? And also, there are efforts on going with current cocoon reg form validation and other stuff...they seem to follow the xform approach from nanotech..but not sure if the original author has intent of extending it to be full blown form generator/validator/handler or not... --- Thorsten Mauch [EMAIL PROTECTED] wrote: Our Company is also interessed to help. Do you have already a design ? BTW whats the relation from between XFDL http://www.w3.org/TR/NOTE-XFDL and Xforms http://www.w3.org/TR/xforms/? Is it correct that xforms is only for the web while XFDL is a more gernaeral aproach ? From the SchemoX website i understand XForms and XFDL only describe the layout of a form while SchemoX has a wider approach. So i share the Opinion from Jakob to review SchemoX. Regarding XForms i may make sense to study the source from X-Smiles. http://www.x-smiles.org/ X-Smiles is an XML-browser that can display Xforms. i will do that now :) -Ursprüngliche Nachricht- Von: java guru [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 16. Juli 2001 21:02 An: [EMAIL PROTECTED] Betreff: Re: forms in coocon2, is SchemoX dead ? Great., I am positively interested in this...please let me know the details.. --- Sergio Carvalho [EMAIL PROTECTED] wrote: I also need form generation and validation. I am basing mu implementation in XFDL, a W3C recomendation for generic business forms (not wonly web-based, but paper-based ones too). If there's interest in a joint effort, I think we could set up a repository somewhere (sourceforge...) and release it under a BSD type license. Reply if interested. On Mon, 16 Jul 2001 16:39:26 +0100 (BST), java guru [EMAIL PROTECTED] wrote: -- I have posted similar requirement sometime back but no response...Meantime here is what i found 1. XForm from nanoworks http://xform.nanoworks.org/ I tried this but didnt feel comfortable to fit in with cocoon2.. I think the form processing in c2 with form-validator stuff is slowly moving towards this goal of full blown form processing and validation.. I was really(and desperately) looking for simple and effective mechanism to describe forms in xml and have someother component deal with preparing form and handling the validation stuff...Hope that arrives soon... --- Thorsten Mauch [EMAIL PROTECTED] wrote: Hi All Does anyone knows a MVC framework for from processing in cocoon2 ? I downloaded the CVS from SchemoX , but the last change was in January. So it my impression is that SchemoX is dead. Is this correct ? Are there other projetcs related to Form processing ? Thanx Thorsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sergio Carvalho --- [EMAIL PROTECTED] If at first you don't succeed, skydiving is not for you - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please
Installing Cocoon2.0 on Solaris8
Hi, Where should I go to for reference to install Cocoon2 on Solaris, UltraSparc-III? What are the system requirements? I already have JServ as a part of Oracle8178, do I need any other Servlet engine? Is there any body out here who has done this before and willing to share their knowledge? This is my first installation on Solaris8 (first unix box also), I did install 1.8 before on NT, JRun3.0, and IIS4.0 combination, and got it working. Thank you for your help. Cihan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[C2] denial of service made easy
How stable is the current 2.b1-dev ? If have a page that runs, but if I press my browsers refresh button, say 5 times (fast), I get an error Cocoon 2 - Resource not found for all pages (including coocon welcome page and samples). The page, that generates the error, uses cinclude. Could it be the reason? Does anybody know the release date of a stable version of c2 (a usable)? I have the following Exception in my log: java.lang.NullPointerException at org.apache.cocoon.components.store.MRUMemoryStore.checkSeriazable(MRUMemoryS tore.java:351) at org.apache.cocoon.components.store.MRUMemoryStore.free(MRUMemoryStore.java:3 40) at org.apache.cocoon.components.store.MRUMemoryStore.hold(MRUMemoryStore.java:2 44) at org.apache.cocoon.transformation.TraxTransformer.putTemplates(TraxTransforme r.java:236) at org.apache.cocoon.transformation.TraxTransformer.getTransformerHandler(TraxT ransformer.java:175) at org.apache.cocoon.transformation.TraxTransformer.setConsumer(TraxTransformer .java:423) at org.apache.cocoon.components.pipeline.CachingEventPipeline.connectPipeline(C achingEventPipeline.java:3 at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:213) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:361) at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN228(sitemap_xmap.java:2832) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2146) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1983) at org.apache.cocoon.sitemap.Handler.process(Handler.java:160) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:103) at org.apache.cocoon.Cocoon.process(Cocoon.java:354) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: C1 to C2
Andre, I used mod_jk instead of jserv, hence, I can't be of much assistance. I would suggest you to switch to mod_jk, which is (reportedly) better, then we may work out the problem... Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] +39 0744 59 85 1 Office +39 0335 681 02 12 Mobile http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Andre Juffer [mailto:[EMAIL PROTECTED]] Sent: lunedì 16 luglio 2001 23.38 To: [EMAIL PROTECTED] Subject: C1 to C2 Luca, Anders, Lajos, I keep on having the same problem. While localhost:8080/cocoon correctly displays the welcome page of cocoon2, it seems to be impossible for me to get apache + tomcat 3.2.2 + cocoon2 working together, such also the request localhost/cocoon displays the welcome page. The following is what being including into httpd.conf (in addition to what is already given in tomcat-3.2.2/conf/tomcat-apache.conf): AddType text/xml .xml AddHandler jserv-servlet .xml Alias /cocoon /usr/local/jakarta-tomcat-3.2.2/webapps/cocoon Directory /usr/local/jakarta-tomcat-3.2.2/webapps/cocoon Options Indexes FollowSymLinks /Directory ApJServMount /cocoon/servlet /cocoon Location /cocoon/WEB-INF/ AllowOverride None deny from all /Location Location /cocoon/META-INF/ AllowOverride None deny from all /Location RewriteEngine On RewriteLog /var/log/rewrite.log RewriteLogLevel 3 RewriteRule Biocomputing/(.*) /cocoon/Biocomputing/$1 [PT] The rewriting is actually working in the way it should (Thanks Luca). Also, localhost/cocoon in fact displays the CONTENT of the webapps/cocoon directory and the same for localhost/Biocomputing/ (with the trailing /), which gives me correctly the /cocoon/Biocomputing directory. The key problem are these lines (I think) AddType text/xml .xml AddHandler jserv-servlet .xml In fact, if I request localhost/cocoon/welcome.xml, the cocoon2 servlet is responding (in the way it should): --- Cocoon 2 - Resource not found type resource-not-found message Resource not found description The requested URI /cocoon/welcome.xml was not found. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/welcome.xml path-info welcome.xml --- The sitemap is not compiled, though. If I add to the sitemap the following --- map:match pattern=welcome.xml map:redirect-to uri=welcome/ /map:match --- localhost/cocoon/welcome.xml will not display the welcome. It is shown, of course, upon the request localhost:8080/cocoon/welcome.xml. In fact, the request localhost/cocoon/welcome results in Not Found The requested URL /cocoon/welcome was not found on this server. Apache/1.3.12 Server at ajuffer-dsl.oulu.fi Port 80 - So, in the latter case, Apache is handling the request instead of cocoon2. Obviously, this is because there is no .xml extension. If you are using Tomcat 3.2.2, Apache 1.3.* and cocoon2, what exactly have you for AddType and AddHandler directives in your configuration? Of course, I can always write all my files ending with e.g. xml, xsp and adapt the sitemap accordingly (and use 8080). No objections there, but it is ugly. Currently, I think, requests like your-server/Foo/foo without having some extension at the foo, cannot be resolved correctly in a simple way such that cocoon2 takes over the request. Or do I still miss something totally . what, on earth? Cheers, Andre. -- Andre H. Juffer | Phone: +358-8-553 1683 The Biocenter and| Fax: +358-8-553-1141 the Dep. of Biochemistry | Email: [EMAIL PROTECTED] University of Oulu, Finland | WWW: http://www.biochem.oulu.fi/research.html - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Install - Build Failure
Title: Install - Build Failure Hello all, I am attempting to install Cocoon 2 on Win2K. I have searched the archive, read other users issues with no luck. Any help would be greatly appreciated. Thanks, Brendan C:\Cocoon-2.0b1.\build.bat -Dinclude.webapp.libs=yes webapp Buildfile: build.xml init: [echo] --- Apache Cocoon 2.0b1 [1999-2001] prepare: prepare-webapp: generate-java-code-check: generate-java-code: prepare-src-main: prepare-src-23: prepare-src-22: prepare-src: compile: [javac] Compiling 2 source files to C:\Cocoon-2.0b1\build\cocoon\classes [javac] C:\Cocoon-2.0b1\build\cocoon\src\org\apache\cocoon\acting\OraAddActi on.java:24: Class oracle.jdbc.OracleResultSet not found in import. [javac] import oracle.jdbc.OracleResultSet; [javac] ^ [javac] C:\Cocoon-2.0b1\build\cocoon\src\org\apache\cocoon\acting\OraAddActi on.java:25: Class oracle.sql.BLOB not found in import. [javac] import oracle.sql.BLOB; [javac] ^ [javac] C:\Cocoon-2.0b1\build\cocoon\src\org\apache\cocoon\acting\OraAddActi on.java:26: Class oracle.sql.CLOB not found in import. [javac] import oracle.sql.CLOB; [javac] ^ [javac] 3 errors BUILD FAILED C:\Cocoon-2.0b1\build.xml:319: Compile failed, messages should have been provide d. Total time: 4 seconds
AW: Processing Time in last line in C2 like in 1.8?
No, this is not possible. You must (currently) specify this parameter to each request, so you can get the processing time for one specific request, but not for all. I forward this email to the developers mailing list: Is this usefull for C2? Perhaps can someone enlighten us, why the approach with the special request parameter was choosen when this was designed and not a configuration parameter? Carsten Open Source GroupsunShine - b:Integrated Carsten Ziegeler, SN AG, Klingenderstrasse 5, D-33100 Paderborn www.sundn.de mailto: [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Dinkar Ganti [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 16. Juli 2001 17:41 An: [EMAIL PROTECTED] Betreff: RE: Processing Time in last line in C2 like in 1.8? Can the parameter be added to the web.xml file. I tried adding the following lines, but they did not show the processing times. init-param param-namecocoon-showtime/param-name param-valuetrue/param-value /init-param Any suggestions? Dinkar -Original Message- From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 9:47 AM To: [EMAIL PROTECTED] Subject: AW: Processing Time in last line in C2 like in 1.8? Just append the parameter cocoon-showtime to your request, e.g http://server/cocoon/welcome?cocoon-showtime=true and C2 will add the time add the end of the file. Carsten -Ursprungliche Nachricht- Von: Rajkumar, Joseph [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 16. Juli 2001 15:44 An: [EMAIL PROTECTED] Betreff: Re: Processing Time in last line in C2 like in 1.8? Hi Yes, I miss that feature also in the C2.0-Beta and would appreciate knowing how to turn it on. Also with C1, the line number containing an offending syntax in the xml file was displayed so I could quickly fix that. Now with the C2, if there is a missing quote in the xml file, I don't know where to look for the offending line except in the xml file itself. C1 and its the xalan it used gave me the exact line number of the offending statement. If there is some way I could turn on that feature that would be great. Regards Joseph Rajkumar C. Gaffga wrote: Is it possible to have the processing Time as a comment in the output in cocoon2 like it was in cocoon1.8. It was a nice feature to have a look on performence without looking to the logfile. I'm using cocoon2.1-dev from today. Christoph Gaffga - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]