Tom Shepherd is out of the office.
I will be out of the office starting 13/12/2002 and will not return until 16/12/2002. For GCIS issues contact Wojtek Swistak. For Mosaic issues contact Stephen Cheal. -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem with the sitemap and patterns
Well, maybe what I supposed to know about pipelines and matchers is wrong, but ... map:match pattern=mysite/** map:mount check-reload=yes reload-method=synchron src=mysite/sitemap.xmap uri-prefix=mysite/ /map:match and the mounted pipeline is something like: map:match pattern=index.html map:read src=index.html/ /map:match map:match pattern=dir1/dir2/index.html map:read src=index.html/ /map:match map:handle-errors map:transform src=error.xsl/ map:serialize type=html/ /map:handle-errors Now, if I call http://localhost:8080/cocoon/mysite/index.html or http://localhost:8080/cocoon/mysite/dir1/dir2/index.html it works but if I try http://localhost;8080/cocoon/mysite/anything.html I get the well known white page with the blu header Cocoon 2 - Resource not found, while I expected to find my custom error page. Coccon processes a request which begins with mysite and, according to the 2 asterisks rule, the mounted pipeline is executed. But there isn't a pattern that matches the request, an error occurs. So why my custom handler isn't processed? Where I'm wrong? Cocoon 2.0.3 - Tomcat 4.1.12 - j2sdk1.4.0 - Win2k server --- Nice guess, but three asterisks is not defined. mysite/** will match literally everything after the slash. If you need to seperate out the file extension, you can do mysite/**.* (the values will be stored in {1} an d {2}) but then you have to have a .XXX request. If you will only sometimes have a .XXX match, you need to either split the pipeline into two different o nes, or use a regexp matcher (which may not be defined in the default sitem ap). Geoff Howard - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
seeking for payed consultancy from the cocoon-comunity ...
Hy, folks; This request is for cocoon-users and cocoon-developers only! If i hit the wrong mailing list with my request, please apologize and tell me, where to go next. I will pay you for consultancy depending on the amount of time you spend with the solution of my problem. The results of this work shall be well documented and donated to cocoon, if it is of general interest for the cocoon comunity. If you are interested, please read on. this is what i want to do: -- i have built a webapp (legacyapp), that runs in production. legacyapp is session based and uses cookies for several purposes. legacyapp makes use of XML-technologies, but is NOT built with cocoon. Now i want to add another webapp (presentationapp), that shall be used as the frontend presentation engine for the legacyapp. The presentationapp shall add a whole lot of user centric functionality, that can be completely separated from the legacyapp. the presentationapp shall be based on cocoon. The general idea is: * add an XML-exchange layer on the legacyapp using additional JSP's or Servlets to be built for legacyapp. In fact most of this api is already existing. * Enable Single-Sign-On on the servletcontainer to allow cross application sessions. Currently i use tomcat 4.1.12, soon switching to 4.1.16 and to websphere-4.0* * Write a new presentationapp as a cocoonapplication, that manages the user interaction part only. The presentationapp runs within the same container as the legacyapp, hence making it possible for both apps to run in the same session context. My problem is: -- I need to transparently call my legacyapp from the presentationapp preserving the sessioncontext. The general sequence is as follows: prerequisite: the user has requested a form for data input. the form has been filled by the user. the user clicks on the submit button. 1.) the form is transfered to presentationapp. 2.) in presentationapp the data is preprocessed and prepared for the legacyapp. 3.) While preprocessing, the presentationapp may do some internal calls to legacyapp (cross application calls via http or https). This maybe can be done within cocoon-actions (i suppose) but it is crucial, that the current (cookie based) servlet-session is preserved within the call to legacyapp. 4.) Depending on the results of 3. the presentationapp aggregates data from the legacyapp (via http(s)-calls) and converts this data for presentation. Again it is crucial, that the aggregation preserves the session context! 5.) The result screen is sent back to the user for further interaction. My questions are: - 1.) How can i aggregate data from another webapp within the same servlet container and preserving the session context in the cocoon framework? 2.) What would be the best solution for the scenario described above? The main point is, that the legacyapp can be extended with an XML-interface, that utilises the existing functionality but it can not be extended with new/more functionality. 3.) What possible solutions are already available on the cocoon-side? 4.) What would i have to add by myself into cocoon? In fact the legacyap itself is sort of a proxy application, that preserves session context for it's own client calls to far servers. Hence the whole technology of http tunneling is already ready at hand, but i need to integrate this stuff somehow into the cocoon framework, if it is not already existing there... If you still are interested and can help me, then: 1.) send me an email containing your general price per hour. 2.) If this is possible from the infos above, tell me a rough assumption about the amount of time needed to create a cross webapp interface for cocoon. 3.) Tell me, if you simply want to assist me programming it myself, or are you interested in creating some code by yourself and giving me the results. My favorite scenario would be: You write some sample code, well document your approach and let the rest be done by me. The sample code and the documentation shall be published within the cocoon docs or the cocoon-wiki or any other convenient place. If the solution to the cross webapp problem is of general interest, also my work including my additional documentation shall be donated to the cocoon-comunity. If the solution to my problem is trivial, or already provided by someone else and can be ready used by me, i will pay 50 Euro for the first satisfying hint to the solution ... best regards, hussayn - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
upload-dir
Hello I want to use the upload.xsp, but i need to configure different upload-dir. I see that there is a parameter in web.xml : param-nameupload-directory/param-name param-value/WEB-INF/work/upload-dir/param-value but there's no reference to this parameter in the upload.xsp Does any-one know how to do it ? Thanks Olivier GUCKERT - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: seeking for payed consultancy from the cocoon-comunity ...
Hussain, The WebServiceProxyGenerator contained in Cocoon should already provide most of what you need (i.e. connecting to a remote server and maintaining state using coookies). Don't be put off by the name. That being said, I have not used it - so you may need to contact Ivelin (I think he wrote it) about it. Matthew - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xsl:copy-of Problem
Geoff Howard wrote: Hello Marcel, I wonder that anything is outputted. The output of the template 'sortmsg' is only stored in the variable $m, but there is nothing like xsl:value-of select=$m/. If you use xsl:copy-of select=$m/, the tree is copied to the output. But I don't see, where the to strings come from. Do you have a xsl:apply-templates/ anywhere in your template matching on the root node? The text nodes are probably coming from the default template, which copies text nodes with value-of. After you add xsl:copy-of select=$m/ you'll need to add empty template match patterns for text and/or message. I think there's also a default template that implies xsl:apply-templates on the root node if no other template is specified for it. He seems to use a template matching on root node. In it there is no xsl:apply-templates/ (at least here in the mail). So the built-in template can't be used and the text shell not appear in the output. But it did as he said, so I asked for differences between the template in the mail and this one he uses in Cocoon. Joerg Marcel Jurk wrote: Hi, since I use Cocoon2.1 (CVS 12.12.2002) I have the following problem. When I use xsl:copy-of select=./ in a xsl-stylesheet, only the values form the elements are copied, but not the element itself, e.g. when I transform the following xml data: all message textmsg1text /message message textmsg2text /message /all with the stylesheet: xsl:template match=/ xsl:variable name=m xsl:call-template name=sortmsg/ /xsl:variable /xsl:template xsl:template name=sortmsg xsl:for-each select=/all/message xsl:copy-of select=./ /xsl:for-each /xsl:template then are only msg1 msg2 is copied and not message textmsg1/text /message message textmsg2/text /message I use the following transformer: map:transformer logger=sitemap.transformer.xsltc name=xslt pool-grow=2 pool-max=32 pool-min=8 src=org.apache.cocoon.transformation.TraxTransformer use-request-parametersfalse/use-request-parameters use-browser-capabilities-dbfalse/use-browser-capabilities-db transformer-factoryorg.apache.xalan.xsltc.trax.TransformerFactor yImpl/transformer-factory /map:transformer Does anyone know an answer. Thanks in advance, Marcel __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.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/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: seeking for payed consultancy from the cocoon-comunity ...
Hussayn, from a quick look at the code I don't think the WebServiceProxyGenerator tracks cookies from the remote server. So that would need to be added. Or perhaps Ivelin already has this. Adding this capability to the generator is a good idea anyway. I would suggest you send Ivelin a mail. He may not read your post as you sent it to the -users list. Matthew - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FIND SOURCE
Title: FIND SOURCE Hi all i want to find to see and download if possible the xsp and xsl files that is usually used to declare in namespace of the pages: such as : xmlns:log=http://apache.org/xsp/log . . . and xmlns:log=http://apache.org/xsp/log in order for me to know all its tags : such as log:logger,log:debug . . . and of other pages such as xsp . . . i downloaded all the source and bin version of cocoon but i dont know where to find these information. Please show me. Thanks very much in advance GD
SQLTransformer for XML
Hi, I use SQLTransformer to access my database (no problems). But the data stored in my DB are XML data (well formed). When the transformer get the data, it replaces all the with lt ,etc For example if my database contains titleSomeText/title the output Stream of my pipeline contains rowlt;titlegt;SomeTextlt;/titlegt/row How can I configure and /or change code of SQLTransformer to keep the XML from my DB Thank you for your help Cedric - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: seeking for payed consultancy from the cocoon-comunity ...
Hy, Mathew Thank you very much for your quick answer. I will do as you propose and send my request to Ivelin. Hopefully we will come to a quick and usable result. best regards, hussayn [EMAIL PROTECTED] wrote: Hussayn, from a quick look at the code I don't think the WebServiceProxyGenerator tracks cookies from the remote server. So that would need to be added. Or perhaps Ivelin already has this. Adding this capability to the generator is a good idea anyway. I would suggest you send Ivelin a mail. He may not read your post as you sent it to the -users list. Matthew - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: upload-dir
upload xsp does reference the setting: File uploadDir = null; /** Contextualize this class */ public void contextualize(Context context) throws ContextException { uploadDir = (File) context.get(Constants.CONTEXT_UPLOAD_DIR); } When cocoon starts up, it places the value of the upload-directory parameter from web.xml in the context, and it is used in various places, including upload.xsp. The only reason it's needed there is to show a directory listing. Cocoon by default is configured to automatically place any file(s) uploaded as a part of _any_ request in that directory. There are some additional configuration options available in 2.0.4 and 2.1dev So, the short answer is: change it in web.xml and that's all you need. Geoff Howard -Original Message- From: Olivier GUCKERT [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 4:27 AM To: Cocoon-user Subject: upload-dir Hello I want to use the upload.xsp, but i need to configure different upload-dir. I see that there is a parameter in web.xml : param-nameupload-directory/param-name param-value/WEB-INF/work/upload-dir/param-value but there's no reference to this parameter in the upload.xsp Does any-one know how to do it ? Thanks Olivier GUCKERT - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem with the sitemap and patterns
From what I understand, you should have seen your expected custom stylesheet. Are you certain it's finding your error.xsl, and are you certain there are no problems with it? Look in sitemap.log - trace the request as it's being processed. Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 4:00 AM To: cocoon-users Subject: RE: problem with the sitemap and patterns Well, maybe what I supposed to know about pipelines and matchers is wrong, but ... map:match pattern=mysite/** map:mount check-reload=yes reload-method=synchron src=mysite/sitemap.xmap uri-prefix=mysite/ /map:match and the mounted pipeline is something like: map:match pattern=index.html map:read src=index.html/ /map:match map:match pattern=dir1/dir2/index.html map:read src=index.html/ /map:match map:handle-errors map:transform src=error.xsl/ map:serialize type=html/ /map:handle-errors Now, if I call http://localhost:8080/cocoon/mysite/index.html or http://localhost:8080/cocoon/mysite/dir1/dir2/index.html it works but if I try http://localhost;8080/cocoon/mysite/anything.html I get the well known white page with the blu header Cocoon 2 - Resource not found, while I expected to find my custom error page. Coccon processes a request which begins with mysite and, according to the 2 asterisks rule, the mounted pipeline is executed. But there isn't a pattern that matches the request, an error occurs. So why my custom handler isn't processed? Where I'm wrong? Cocoon 2.0.3 - Tomcat 4.1.12 - j2sdk1.4.0 - Win2k server --- Nice guess, but three asterisks is not defined. mysite/** will match literally everything after the slash. If you need to seperate out the file extension, you can do mysite/**.* (the values will be stored in {1} an d {2}) but then you have to have a .XXX request. If you will only sometimes have a .XXX match, you need to either split the pipeline into two different o nes, or use a regexp matcher (which may not be defined in the default sitem ap). Geoff Howard - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Calling resources from mounted sitemaps
I'd raise that on the dev list. What version are you using? Look in cocoon.xconf for which sitemap engine you're using (sitemap ... / tag). Geoff -Original Message- From: Bordet, Simone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 11:20 AM To: [EMAIL PROTECTED] Subject: RE: Calling resources from mounted sitemaps Hi, Did you try the cocoon pseudo-protocol? map:call resource=cocoon://stdout for the root sitemap, cocoon:/stdout for one in the same sitemap. Tried, no luck. I've tried also to setup a local resource that calls the resource in the root sitemap, again no luck. It seems to me that resources referenced by a sub sitemap can only be local to the sub sitemap, and resources in the root sitemap cannot be referenced in any way, as I always get a: org.apache.cocoon.ProcessingException: Sitemap: resource 'stdout' not found: java.lang.NoSuchMethodException: org.apache.cocoon.www.file_.D_.Catalina.webapps.cocoon.simon.simon _xmap.resource_stdout(org.apache.cocoon.components.pipeline.Stream Pipeline, org.apache.cocoon.components.pipeline.EventPipeline, java.util.List, org.apache.cocoon.environment.Environment, java.lang.String, boolean) It seems to me that the method is always looked up locally to the sub sitemap. It seems strange to me that resources, that are pipelines factored out for reuse, cannot be called from a sub sitemap, I must miss something very obvious. Anyone knows how to solve this problem ? Thanks Simon -Original Message- From: Bordet, Simone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 5:18 PM To: [EMAIL PROTECTED] Subject: Calling resources from mounted sitemaps Hi, I could not find a way to call resources in the root sitemap from a mounted sitemap. I have my resources defined in the root sitemap, and I'd like to call these resources from sub-sitemaps. In the sub sitemap I have a simple matcher: map:match pattern=site map:call resource=stdout/ /map:match The resource stdout is defined in the root sitemap, as it will be used by several sub sitemaps. If I move the sub sitemap in the root sitemap everything works fine. I could not find any way to make this working, but since I'm fairly new to cocoon maybe there are better ways to achieve what I'd like. I'm using Cocoon 2.0.3 and Tomcat 4.1.12. Thanks Simon - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SQL-Transformer
Hallo Cocoon Users, does the SQL-Transformer has a map-parameter like map:parameter name="show-nr-of-cols"/ or is there a way to retrieve the number of cols in the resultset? Regards Boris
Re: Calling resources from mounted sitemaps
AFAIK it's only possible to use resources in the sitemap, in which they are declared. Joerg Geoff Howard wrote: I'd raise that on the dev list. What version are you using? Look in cocoon.xconf for which sitemap engine you're using (sitemap ... / tag). Geoff -Original Message- From: Bordet, Simone [mailto:[EMAIL PROTECTED]] Hi, Did you try the cocoon pseudo-protocol? map:call resource=cocoon://stdout for the root sitemap, cocoon:/stdout for one in the same sitemap. Tried, no luck. I've tried also to setup a local resource that calls the resource in the root sitemap, again no luck. It seems to me that resources referenced by a sub sitemap can only be local to the sub sitemap, and resources in the root sitemap cannot be referenced in any way, as I always get a: org.apache.cocoon.ProcessingException: Sitemap: resource 'stdout' not found: java.lang.NoSuchMethodException: org.apache.cocoon.www.file_.D_.Catalina.webapps.cocoon.simon.simon _xmap.resource_stdout(org.apache.cocoon.components.pipeline.Stream Pipeline, org.apache.cocoon.components.pipeline.EventPipeline, java.util.List, org.apache.cocoon.environment.Environment, java.lang.String, boolean) It seems to me that the method is always looked up locally to the sub sitemap. It seems strange to me that resources, that are pipelines factored out for reuse, cannot be called from a sub sitemap, I must miss something very obvious. Anyone knows how to solve this problem ? Thanks Simon -Original Message- From: Bordet, Simone [mailto:[EMAIL PROTECTED]] Hi, I could not find a way to call resources in the root sitemap from a mounted sitemap. I have my resources defined in the root sitemap, and I'd like to call these resources from sub-sitemaps. In the sub sitemap I have a simple matcher: map:match pattern=site map:call resource=stdout/ /map:match The resource stdout is defined in the root sitemap, as it will be used by several sub sitemaps. If I move the sub sitemap in the root sitemap everything works fine. I could not find any way to make this working, but since I'm fairly new to cocoon maybe there are better ways to achieve what I'd like. I'm using Cocoon 2.0.3 and Tomcat 4.1.12. Thanks Simon -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xsl:copy-of Problem
sorry, didn't notice he had the root node matched. i was going too fast. Geoff -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 4:55 AM To: [EMAIL PROTECTED] Subject: Re: xsl:copy-of Problem Geoff Howard wrote: Hello Marcel, I wonder that anything is outputted. The output of the template 'sortmsg' is only stored in the variable $m, but there is nothing like xsl:value-of select=$m/. If you use xsl:copy-of select=$m/, the tree is copied to the output. But I don't see, where the to strings come from. Do you have a xsl:apply-templates/ anywhere in your template matching on the root node? The text nodes are probably coming from the default template, which copies text nodes with value-of. After you add xsl:copy-of select=$m/ you'll need to add empty template match patterns for text and/or message. I think there's also a default template that implies xsl:apply-templates on the root node if no other template is specified for it. He seems to use a template matching on root node. In it there is no xsl:apply-templates/ (at least here in the mail). So the built-in template can't be used and the text shell not appear in the output. But it did as he said, so I asked for differences between the template in the mail and this one he uses in Cocoon. Joerg Marcel Jurk wrote: Hi, since I use Cocoon2.1 (CVS 12.12.2002) I have the following problem. When I use xsl:copy-of select=./ in a xsl-stylesheet, only the values form the elements are copied, but not the element itself, e.g. when I transform the following xml data: all message textmsg1text /message message textmsg2text /message /all with the stylesheet: xsl:template match=/ xsl:variable name=m xsl:call-template name=sortmsg/ /xsl:variable /xsl:template xsl:template name=sortmsg xsl:for-each select=/all/message xsl:copy-of select=./ /xsl:for-each /xsl:template then are only msg1 msg2 is copied and not message textmsg1/text /message message textmsg2/text /message I use the following transformer: map:transformer logger=sitemap.transformer.xsltc name=xslt pool-grow=2 pool-max=32 pool-min=8 src=org.apache.cocoon.transformation.TraxTransformer use-request-parametersfalse/use-request-parameters use-browser-capabilities-dbfalse/use-browser-capabilities-db transformer-factoryorg.apache.xalan.xsltc.trax.TransformerFactor yImpl/transformer-factory /map:transformer Does anyone know an answer. Thanks in advance, Marcel __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.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/faq/index.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/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FIND SOURCE
look in src/java/org/apache/cocoon/components/language/markup/xsp/java Some (esql at least) have been moved into blocks if you're using 2.1dev, which means you'll need to start in src/blocks/database for example and work your way down a similar path. Geoff Howard -Original Message- From: Hong Gia Dinh [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 4:51 AM To: [EMAIL PROTECTED] Subject: FIND SOURCE Hi all i want to find to see and download if possible the xsp and xsl files that is usually used to declare in namespace of the pages: such as : xmlns:log=http://apache.org/xsp/log; . . . and xmlns:log=http://apache.org/xsp/log; in order for me to know all its tags : such as log:logger,log:debug . . . and of other pages such as xsp . . . i downloaded all the source and bin version of cocoon but i dont know where to find these information. Please show me. Thanks very much in advance GD - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SQL-Transformer
There is a tag defined but it's not fully implemented, although it may be in the very latest cvs. (it only worked for one particular database) What database are you using? Geoff Howard -Original Message-From: Boris Althaus [mailto:[EMAIL PROTECTED]]Sent: Friday, December 13, 2002 9:45 AMTo: [EMAIL PROTECTED]Subject: SQL-Transformer Hallo Cocoon Users, does the SQL-Transformer has a map-parameter like map:parameter name="show-nr-of-cols"/ or is there a way to retrieve the number of cols in the resultset? Regards Boris
RE: Calling resources from mounted sitemaps
Interesting - that could help the security problem raised about sub-sitemap based cocoon hosting. Does anyone know if that is a design decision or something that may in the future get implemented? Geoff -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 9:50 AM To: [EMAIL PROTECTED] Subject: Re: Calling resources from mounted sitemaps AFAIK it's only possible to use resources in the sitemap, in which they are declared. Joerg Geoff Howard wrote: I'd raise that on the dev list. What version are you using? Look in cocoon.xconf for which sitemap engine you're using (sitemap ... / tag). Geoff -Original Message- From: Bordet, Simone [mailto:[EMAIL PROTECTED]] Hi, Did you try the cocoon pseudo-protocol? map:call resource=cocoon://stdout for the root sitemap, cocoon:/stdout for one in the same sitemap. Tried, no luck. I've tried also to setup a local resource that calls the resource in the root sitemap, again no luck. It seems to me that resources referenced by a sub sitemap can only be local to the sub sitemap, and resources in the root sitemap cannot be referenced in any way, as I always get a: org.apache.cocoon.ProcessingException: Sitemap: resource 'stdout' not found: java.lang.NoSuchMethodException: org.apache.cocoon.www.file_.D_.Catalina.webapps.cocoon.simon.simon _xmap.resource_stdout(org.apache.cocoon.components.pipeline.Stream Pipeline, org.apache.cocoon.components.pipeline.EventPipeline, java.util.List, org.apache.cocoon.environment.Environment, java.lang.String, boolean) It seems to me that the method is always looked up locally to the sub sitemap. It seems strange to me that resources, that are pipelines factored out for reuse, cannot be called from a sub sitemap, I must miss something very obvious. Anyone knows how to solve this problem ? Thanks Simon -Original Message- From: Bordet, Simone [mailto:[EMAIL PROTECTED]] Hi, I could not find a way to call resources in the root sitemap from a mounted sitemap. I have my resources defined in the root sitemap, and I'd like to call these resources from sub-sitemaps. In the sub sitemap I have a simple matcher: map:match pattern=site map:call resource=stdout/ /map:match The resource stdout is defined in the root sitemap, as it will be used by several sub sitemaps. If I move the sub sitemap in the root sitemap everything works fine. I could not find any way to make this working, but since I'm fairly new to cocoon maybe there are better ways to achieve what I'd like. I'm using Cocoon 2.0.3 and Tomcat 4.1.12. Thanks Simon -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SQL-Transformer
mysql - Original Message - From: Geoff Howard To: [EMAIL PROTECTED] Sent: Friday, December 13, 2002 4:19 PM Subject: RE: SQL-Transformer There is a tag defined but it's not fully implemented, although it may be in the very latest cvs. (it only worked for one particular database) What database are you using? Geoff Howard -Original Message-From: Boris Althaus [mailto:[EMAIL PROTECTED]]Sent: Friday, December 13, 2002 9:45 AMTo: [EMAIL PROTECTED]Subject: SQL-Transformer Hallo Cocoon Users, does the SQL-Transformer has a map-parameter like map:parameter name="show-nr-of-cols"/ or is there a way to retrieve the number of cols in the resultset? Regards Boris
RE: SQL-Transformer
sorry, just noticed you were talking about sql transformer - i had assumed esql logicsheet in xsp. i need more coffee. try map:transform type=sql ... map:parameter name=show-nr-of-rows value=true/ /map:transform then, your results should start off with an attribute nrofrows on rowset, ie: rowset nrofrows=2 xmlns=http://apache.org/cocoon/SQL/2.0; Geoff -Original Message- From: Boris Althaus [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 10:15 AM To: [EMAIL PROTECTED] Subject: Re: SQL-Transformer mysql - Original Message - From: Geoff Howard To: [EMAIL PROTECTED] Sent: Friday, December 13, 2002 4:19 PM Subject: RE: SQL-Transformer There is a tag defined but it's not fully implemented, although it may be in the very latest cvs. (it only worked for one particular database) What database are you using? Geoff Howard -Original Message- From: Boris Althaus [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 9:45 AM To: [EMAIL PROTECTED] Subject: SQL-Transformer Hallo Cocoon Users, does the SQL-Transformer has a map-parameter like map:parameter name=show-nr-of-cols/ or is there a way to retrieve the number of cols in the resultset? Regards Boris - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw: automati xmlform
- Original Message - From: Robert Sösemann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 12, 2002 9:25 PM Subject: automati xmlform Hello, I am working on an cms input wizard to fill a database. Is it possible with cocoons xmlform validation to generate its schema rules automatically? I could imagine, an action to query the db's sytem tables to get knowledge about the types and other contraints and generate an xmlform to enforce that contraints. Has anybody solved that succesfully? Maybe you can help me. Rob - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Out of memory error... cocoon bug?
Executive summary: I think Out of memory error is in fact a bug. Frequently it has nothing to do with your actual available memory. Blurb: I had this problem before (see the details below), and I searched the mailing lists and have been following it on the mailing lists for a while now, and every time it doesn't seem to be actually indicating insufficient memory. About a month ago I made a few changes, to my cocoon installation: - Changed version from 2.03 to 2.1 dev. - Changed Tomcat to 4.1.12 (Authentication and portal frameworks didn't work otherwise). I started to get Out of memory errors (with CPU running at 100% on a single request). I tried to get to the root of the problem, but didn't have enough time, so I hacked around and somehow by changing from using sitemap resources to pattern matching I managed to get rid of the problem. Anyway, I just wanted to get everyone's attention to this. If it is a bug, it looks to be one of those difficult to track... Cheers, -Alex - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE: xsl:copy-of Problem
Sorry I forgott the following lines in the stylesheet. xsl:template match=/ xsl:variable name=m xsl:call-template name=sortmsg/ /xsl:variable xsl:for-each select=$m xsl:value-of select=name(.)/ !-- No output -- xsl:value-of select=./ !-- Output: msg1msg2 -- /xsl:for-each /xsl:template xsl:template name=sortmsg xsl:for-each select=/all/message xsl:copy-of select=./ /xsl:for-each /xsl:template In the xsl:for-each loop must be the output two times message, but I got no output and the loop is pass only once. I think that not the tree is copied with the xsl:copy-of in the template sortmsg, but only the values. Before the currently c2.1 (cvs 12.12) version, I used c2.1 (cvs 30.10) and with it works fine, but now not. Marcel --- Geoff Howard [EMAIL PROTECTED] schrieb: sorry, didn't notice he had the root node matched. i was going too fast. Geoff -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 4:55 AM To: [EMAIL PROTECTED] Subject: Re: xsl:copy-of Problem Geoff Howard wrote: Hello Marcel, I wonder that anything is outputted. The output of the template 'sortmsg' is only stored in the variable $m, but there is nothing like xsl:value-of select=$m/. If you use xsl:copy-of select=$m/, the tree is copied to the output. But I don't see, where the to strings come from. Do you have a xsl:apply-templates/ anywhere in your template matching on the root node? The text nodes are probably coming from the default template, which copies text nodes with value-of. After you add xsl:copy-of select=$m/ you'll need to add empty template match patterns for text and/or message. I think there's also a default template that implies xsl:apply-templates on the root node if no other template is specified for it. He seems to use a template matching on root node. In it there is no xsl:apply-templates/ (at least here in the mail). So the built-in template can't be used and the text shell not appear in the output. But it did as he said, so I asked for differences between the template in the mail and this one he uses in Cocoon. Joerg Marcel Jurk wrote: Hi, since I use Cocoon2.1 (CVS 12.12.2002) I have the following problem. When I use xsl:copy-of select=./ in a xsl-stylesheet, only the values form the elements are copied, but not the element itself, e.g. when I transform the following xml data: all message textmsg1text /message message textmsg2text /message /all with the stylesheet: xsl:template match=/ xsl:variable name=m xsl:call-template name=sortmsg/ /xsl:variable /xsl:template xsl:template name=sortmsg xsl:for-each select=/all/message xsl:copy-of select=./ /xsl:for-each /xsl:template then are only msg1 msg2 is copied and not message textmsg1/text /message message textmsg2/text /message I use the following transformer: map:transformer logger=sitemap.transformer.xsltc name=xslt pool-grow=2 pool-max=32 pool-min=8 src=org.apache.cocoon.transformation.TraxTransformer use-request-parametersfalse/use-request-parameters use-browser-capabilities-dbfalse/use-browser-capabilities-db transformer-factoryorg.apache.xalan.xsltc.trax.TransformerFactor yImpl/transformer-factory /map:transformer Does anyone know an answer. Thanks in advance, Marcel __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.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/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL
AW: Include content of another (non-xml) file into an XSP
hi yves, maybe you could simply use one of the Cocoon IncludeTransformers, so that your text file is included before the XSP is compiled and executed. -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Yves Vindevogel Gesendet: Donnerstag, 12. Dezember 2002 14:27 An: [EMAIL PROTECTED] Betreff: Include content of another (non-xml) file into an XSP Hi, I'm looking for a way to include the complete content of a text file into an XSP page. This is an example page : ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xmlns:xsp-session=http://apache.org/xsp/session/2.0; create-session=true html esql:connection esql:poolpierrefabre/esql:pool esql:execute-query esql:query HERE COMES THE CONTENT OF THE FILE WITH NAME mySQLQuery.sql /esql:query esql:results !-- Handle results -- /esql:results esql:no-results !-- Handle no results -- /esql:no-results /esql:execute-query /esql:connection /html /xsp:page - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [RT] limiting access to a url by method
Tony Collen wrote: Perhaps Cocoon already has this functionality and I just haven't run across it yet :) Duh. RequestMethodSelector. My apologies for babbling to myself on the list. Tony - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[SOLUTION] - NullPointerException with SunRise
Hello everyone - As some of you may remember, I was attempting to implement authentication using SunRise in Cocoon 2.0.3CVS atop Tomcat 4.1. I was receiving a nullPointerException error upon trying to logout after authentication and creation of a new session. Since posting to the list, I have had several other people mail me asking if I had found a solution to the issue. I apologize to those who emailed me directly, I would have preferred a more personal reply, but a recent loss of my emails left me without your addresses. The problem seems to reside with SunRise's interaction with JDK 1.4.1. In trying to nail down the issue, I tested various versions of Cocoon and Tomcat atop both JDK 1.4.1 and JDK 1.3.1 on two different platforms: Windows 2000 SP2 and MacOS X 10.2. In short, authentication worked beautifully when my implementation was run on either Tomcat 4.1 or Tomcat 4.1.12 with either Cocoon 2.0.3CVS or Cocoon 2.0.4 release on a system running JDK 1.3.1. If any combination of Cocoon and Tomcat were used on either system using JDK 1.4.1, the logout (and in some cases, login) would fail with a nullPointerException. Below is a more detailed chart of my tests and results for the sake of thoroughness: JDK 1.4.1 / Cocoon 2.0.3 CVS / Tomcat 4.1 / Win2k SP2 : Null pointer on logout JDK 1.4.1 / Cocoon 2.0.3 CVS / Tomcat 4.1.12 / Win2k SP2: Null pointer on login JDK 1.4.1 / Cocoon 2.0.4 release / Tomcat 4.1.12 / Win2k SP2: Null pointer on login JDK 1.4.1 / Cocoon 2.0.4 release / Tomcat 4.1.12 / MacOS X 10.2.2: Null pointer on login JDK 1.3.1 / Cocoon 2.0.4 release / Tomcat 4.1.12 / MacOS X 10.2.2: Success, no problems JDK 1.3.1 / Cocoon 2.0.4 release / Tomcat 4.1.12 / Win2k SP2: Success, no problems Based on the results above, I have come to the conclusion that sunRise's interaction with JDK 1.4.1 is broken in some way. 1.4.1 was a no-go across two different platforms, while 1.3.1 worked flawlessly across both the same platforms. I hope this may help others out, and if anyone has any insight into why sunRise may not play nice with JDK 1.4.1, it is welcomed. Conversely, I would be interested to hear from people who have gotten sunRise to run without any issues on JDK 1.4.1. Many thanks, Brian Schwark [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [SOLUTION] - NullPointerException with SunRise
Hi, 13 dec 2002, 22:25:29: BS Hello everyone - BS I hope this may help others out, and if anyone has any insight into why BS sunRise may not play nice with JDK 1.4.1, it is welcomed. Conversely, BS I would be interested to hear from people who have gotten sunRise to BS run without any issues on JDK 1.4.1. well after a while spent on various searches (and researches) my gold combination is (I work on WinXP Pro): 1. JDK 1.4_01 as well as 1.4.1_01 2. Cocoon 2.0.3 (release) as well as 2.0.4 (release) everything works perfectly (at least the /sunspotdemo exapmle portal works fine (logging in, logging out)) UNDER THE FOLLOWING CIRCUMSTANCES: primo: tomcat has to be installed and run as a WinNT service secondo: you have to do a little jar-swap-trick before you give it a try :) the little jar-swap-trick une: place the cocoon war into the webapps dir and let it unpack or in any other way properly install cocoon deux:you stop the tomcat service trois: you delete or 'disable' by changing the extension to anything but jar of the two jar files in $TOMCAT_HOME/common/endorsed/ quatre: you copy xerces,xalan and xmlapi jars from webapps/cocoon/WEB-INF/lib to $TOMCAT_HOME/common/endorsed/ (eg. xml-apis.jar, xercesImpl-2.0.0.jar, xalan-2.3.1.jar) cinq: you delete any work files from cocoon from the work dir (I dont't know if it helps in any matter but I fell safer when I do that :) ) six: you start the tomcat service /the little jar-swap-trick -- ilfrinmailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [SOLUTION] - NullPointerException with SunRise
Ilfrin - Interesting, indeed. I was offered the same advice previously as well, and it didn't yield any results; the lack of other suggestions made me dig a little deeper and start to swap Tomcat/Cocoon/OS combos. :) The common thread in failure was JDK 1.4.1, using the same implementation across every combination. This same implementation experiences no trouble if I simply run JDK 1.3.1. (The implemenation I speak of is the tutorial located on Matthew Langham's weblog, followed step for step.) -Brian Schwark [EMAIL PROTECTED] -Original Message- From: ilfrin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Sat, 14 Dec 2002 00:37:30 +0100 Subject: Re: [SOLUTION] - NullPointerException with SunRise Hi, 13 dec 2002, 22:25:29: BS Hello everyone - BS I hope this may help others out, and if anyone has any insight into why BS sunRise may not play nice with JDK 1.4.1, it is welcomed. Conversely, BS I would be interested to hear from people who have gotten sunRise to BS run without any issues on JDK 1.4.1. well after a while spent on various searches (and researches) my gold combination is (I work on WinXP Pro): 1. JDK 1.4_01 as well as 1.4.1_01 2. Cocoon 2.0.3 (release) as well as 2.0.4 (release) everything works perfectly (at least the /sunspotdemo exapmle portal works fine (logging in, logging out)) UNDER THE FOLLOWING CIRCUMSTANCES: primo: tomcat has to be installed and run as a WinNT service secondo: you have to do a little jar-swap-trick before you give it a try :) the little jar-swap-trick une: place the cocoon war into the webapps dir and let it unpack or in any other way properly install cocoon deux:you stop the tomcat service trois: you delete or 'disable' by changing the extension to anything but jar of the two jar files in $TOMCAT_HOME/common/endorsed/ quatre: you copy xerces,xalan and xmlapi jars from webapps/cocoon/WEB-INF/lib to $TOMCAT_HOME/common/endorsed/ (eg. xml-apis.jar, xercesImpl-2.0.0.jar, xalan-2.3.1.jar) cinq: you delete any work files from cocoon from the work dir (I dont't know if it helps in any matter but I fell safer when I do that :) ) six: you start the tomcat service /the -- ilfrinmailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [PATCH QUEUE] Summary December 14 2002
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to this mail. --- *** COCOON PATCH QUEUE UPDATE patches in queue: 26 *** --- 9075:[PATCH] Contribution of SAP R/3(r) connectivity components --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9075 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 9728:[PATCH] CocoonServlet getClassPath() enhancements Tomcat4 --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9728 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 11533:[PATCH] Replacement for AvalonToCocoonSource --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11533 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 11549:[PATCH] Replace LogKitManageable through LoggerManageable --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11549 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 12235:[PATCH] XPathTransformer --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12235 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 12993:[PATCH] New version of CastorTransformer (includes marshalli --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12993 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 13070:[PATCH] Add a new tag xsp-session:getxml to XSP --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13070 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 13220:[PATCH] build dist-bin broken in HEAD --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13220 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 13247:[PATCH] PNG output of SVGSerializer broken in HEAD --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13247 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 14048:[PATCH] No-cache enhancement for ResourceReader component --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14048 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 14117:[PATCH] AuthAction fails in sub-requests --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14117 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 14144:[Patch] add CompressionFilter declaration to web.xml --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14144 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 14327:[PATCH] JSPEngineImpl response charset should be specified w --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14327 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 14700:[Patch] IOUtils.java recognize .. in Path --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14700 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 14835:[PATCH] Added container/form-encoding init-params to web.x --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14835 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW
test
test - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon-2.0 with JDK1.4
Hello, I have using Cocoon-2.0 with JDK1.3.1 and it is working fine. I am trying to run Cocoon-2.0 with JDK1.4 but it is giving Language Exception error as Cocoon 2 - Internal server error type internal-server-error message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 0, column 0: could not parse error message: error: Invalid class file format in F:\jdk1.3.1\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor version '48.0' is too recent for this tool to understand. C:\tomcat\tomcat\work\Standalone\localhost\mercalink\cocoon-files\org\apache \cocoon\www\sitemap_xmap.java:12: Class java.io.OutputStream not found in import. import java.io.OutputStream; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in F:\jdk1.3.1\jre\lib\rt.jar(java/io/IOException.class). The major.minor version '48.0' is too recent for this tool to understand. C:\tomcat\tomcat\work\Standalone\localhost\mercalink\cocoon-files\org\apache \cocoon\www\sitemap_xmap.java:13: Class java.io.IOException not found in import. import java.io.IOException; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in F:\jdk1.3.1\jre\lib\rt.jar(java/util/List.class). The major.minor version '48.0' is too recent for this tool to understand. C:\tomcat\tomcat\work\Standalone\localhost\mercalink\cocoon-files\org\apache \cocoon\www\sitemap_xmap.java:15: Class java.util.List not found in import. import java.util.List; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in F:\jdk1.3.1\jre\lib\rt.jar(java/util/ArrayList.class). The major.minor version '48.0' is too recent for this tool to understand. C:\tomcat\tomcat\work\Standalone\localhost\mercalink\cocoon-files\org\apache \cocoon\www\sitemap_xmap.java:16: Class java.util.ArrayList not found in import. import java.util.ArrayList; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in F:\jdk1.3.1\jre\lib\rt.jar(java/util/Map.class). The major.minor version '48.0' is too recent for this tool to understand. C:\tomcat\tomcat\work\Standalone\localhost\mercalink\cocoon-files\org\apache \cocoon\www\sitemap_xmap.java:17: Class java.util.Map not found in import. import java.util.Map; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in F:\jdk1.3.1\jre\lib\rt.jar(java/util/HashMap.class). The major.minor version '48.0' is too recent for this tool to understand. C:\tomcat\tomcat\work\Standalone\localhost\mercalink\cocoon-files\org\apache \cocoon\www\sitemap_xmap.java:18: Class java.util.HashMap not found in import. import java.util.HashMap; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in F:\jdk1.3.1\jre\lib\rt.jar(java/util/Stack.class). The major.minor version '48.0' is too recent for this tool to understand. C:\tomcat\tomcat\work\Standalone\localhost\mercalink\cocoon-files\org\apache \cocoon\www\sitemap_xmap.java:19: Class java.util.Stack not found in import. import java.util.Stack; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in F:\jdk1.3.1\jre\lib\rt.jar(java/util/StringTokenizer.class). The major.minor version '48.0' is too recent for this tool to understand. C:\tomcat\tomcat\work\Standalone\localhost\mercalink\cocoon-files\org\apache \cocoon\www\sitemap_xmap.java:20: Class java.util.StringTokenizer not found in import. import java.util.StringTokenizer; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in F:\jdk1.3.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. C:\tomcat\tomcat\work\Standalone\localhost\mercalink\cocoon-files\org\apache \cocoon\www\sitemap_xmap.java:0: Class java.lang.Object not found in class org.apache.avalon.framework.logger.AbstractLoggable. ^ Line 0, column 0: 18 errors sender com.mercalink.requestprocessor.MercalinkServlet source Cocoon servlet exception org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 0, column 0: could not parse error message: error: Invalid class file format in F:\jdk1.3.1\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor version '48.0' is too recent for this tool to understand. C:\tomcat\tomcat\work\Standalone\localhost\mercalink\cocoon-files\org\apache \cocoon\www\sitemap_xmap.java:12: Class java.io.OutputStream not found in import. import java.io.OutputStream; ^ Is it possible to run Cocoon-2.0 with JDK-1.4? Thanks Niket - Please check that your question has not already been answered in the FAQ before posting.
Cocoon with JBoss-2.4.7_Tomcat-4.0.4
Hello all, I have successfully integrated Cocoon-2.0 with JBoss-2.4.7_Tomcat-4.0.4 and it is working fine. I have properly made ear file containing EJB jar file and cocoon folders as war file. If I need to change any XSP and other classes then How will it work without redeploying all stuffs. I change an XSP in Catalina_Home/webapps/cocoon folder but not able to see changes while running server again. If I redeploy all stuff with modified xsp file then only it show changes. Please suggest how can I make changes in XSP and classes without making ear files and redeploying again and again, once it is deployed once. Thanks, Niket - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
saving a generated pdf file in local directory
Hi All, I have a link in a screen, on click of that it will open new browser and a pipeline pattern would be called on that browser displaying a pdf report using XSL:FO. Instead of having this I want like this When I click on that link, a dialog box or folder/directory selector popup window opens and ask for desired directory on which the generated PDF file can be saved. How can I do this? Actually how can I allow the physical pdf file to save in local directory using cocoon-2.0 WITHOUT OPENING IN new BROWSER? Pls reply if it needs more clarification. Thanks, Niket - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]