[C2] problem with adding of my action into cocoon
hi everyone, i've added my own action in pacage of all cocoon actions 'org.apache.cocoon.acting', in propper sub-folder... after that i rebuild my cocoon, and my class has appeared in 'build' sub-folder... so i've thought, everything's all right, but i got internal server error, after i call my xsp... and now, in cocoon.log i'm having this message: WARN10040 [cocoon ] (Thread-32): org.apache.cocoon.acting.ReqValidator java.lang.ClassNotFoundException: org.apache.cocoon.acting.ReqValidator and that class (org.apache.cocoon.acting.ReqValidator) is my added class :( if anyone know what to do, please tell!!! - 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] problem with adding of my action into cocoon
sergi wrote: hi everyone, i've added my own action in pacage of all cocoon actions 'org.apache.cocoon.acting', in propper sub-folder... after that i rebuild my cocoon, and my class has appeared in 'build' sub-folder... so i've thought, everything's all right, but i got internal server error, after i call my xsp... and now, in cocoon.log i'm having this message: WARN10040 [cocoon ] (Thread-32): org.apache.cocoon.acting.ReqValidator java.lang.ClassNotFoundException: org.apache.cocoon.acting.ReqValidator and that class (org.apache.cocoon.acting.ReqValidator) is my added class :( if anyone know what to do, please tell!!! Questions: Is your class in the compiled jar? Is the compiled jar in your WEB-INF/lib? Are you trying to provide an Action for the Cocoon distribution? The last question is for the package you chose. If you are writing an action for your own app, don't use the org.apache.cocoon packaging. Use your own package--its better in the long run. In the Sitemap, you have to put the fully qualified ClassName to use your Action--so feel free to use any package that makes sense. If you place all your application's actions in org.apache.cocoon.acting, you are going to experience maintenance problems when someone else upgrades Cocoon and wonders why the webapp is broken. For your own stuff, either use the WEB-INF/classes (prefered while you are developing), or place it in your own jar in WEB-INF/lib (preferred for deployment). In either place, Cocoon will be able to find it. - 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 Problem Rendering XHTML Files without Transformation...
I am attempting to send XHTML files (as is) through C2. To do this I created a match pattern in sitemap as follows: ---excerpt from sitemap.xmap map:match pattern=fp/*.xhtml map:generate type=file src=fp/xhtml/{1}.xhtml/ map:serialize/ /map:match This should match any pattern of an xhtml file extension, generate it from a file name and serialize the data without changing it. However, if I have a !DOCTYPE tag at the top of my file, the generated output always starts with a greater than symbol. For example the following file is processed: ---index.xhtml-- !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1/ /head body bgcolor=#FF h2font color=#FF face=Verdana, Arial, Helvetica, sans-serifWeb Test/font/h2 /body /html - The output generated is (C2 puts a great deal of comments at the top of the document so I will only give the offending piece): --output from C2 !-- Scope is simpler than headers attribute for common tables -- !-- th is for headers, td for data and for cells acting as both -- html xmlns=http://www.w3.org/1999/xhtml; head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1/ /head body bgcolor=#FF h2 font color=#FF face=Verdana, Arial, Helvetica, sans-serifWeb Test/font /h2 /body /html - Notice that the !DOCTYPE code is missing and a is all that is left of it. Does anyone know how to resolve this? I want the !DOCTYPE tag to be returned. Thanks in advance, Aaron - 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] Problem: Checking XML before including it (XSPUtil.include)
I have some XML stored in the database an want to include in in my page. Im using the following code in my XSP-page: try { ... org.apache.cocoon.components.language.markup.xsp.XSPUtil.include( __is, this.contentHandler, newParser); } catch (Exception e) { blockquote XML-Error XML: xsp:expre.getMessage()/xsp:expr /blockquote } that work's fine if the XML is wellformed, but if it's not, it's the problem that not just the error message is outputted but also all XML that has been processed before the Error occured. How can I check the XML before? I tried to start the parser with no conumer but that throws an exception every time parser.setConsumer(null); parser.parse(__is); Is the a dummy consumer? something like dev/null ? Christoph Gaffga P.S.: It's no performence Problem for my Application if the XML is processed twice. - 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] Problem using request parameters
Hi ! Is it possible to use the same context for all parts of a processing pipeline. I want to use the request parameters in the parts of aggregate.xml, but it doesn't work. I thought that is for what the cocoon: protocol is for, isn't it? How can I use the request in all XSP files? I want it also to be used in a dynamicly generated XSL file. Is that possible in cocoon2. I'm using cocoon2.1-dev (12.7.2001) Christoph Gaffga From my sitemap: map:match pattern=request.xml map:generate type=serverpages src=request.xsp/ map:serialize type=xml/ /map:match map:match pattern=aggregate.xml map:aggregate element=page map:part src=cocoon:/request.xml element=a/ map:part src=cocoon:/request.xml element=b/ /map:aggregate map:serialize type=xml/ /map:match request.xsp: ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; request xsp:logic java.util.Enumeration x = request.getParameterNames(); while(x.hasMoreElements()) { String s = (String) x.nextElement(); parameter name xsp:exprs/xsp:expr /namevalue xsp:exprrequest.getParameter(s)/xsp:expr /value /parameter } /xsp:logic /request /xsp:page - 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] Problem with with transformer called more than once.
Hi there, I started using transformers and encounter some behaviour which I don't understand. If I call the transformer more than once or twice and encounter a NullPointer Exception. I don't have a clue why? I am using C2 from the current CVS. I attached the code and inlined the log and an extract from the sitemap. Mariano From sitemap.xmap. map:match pattern=pf.html map:generate src=exp1/PortfolioValuationDefinition.xml/ map:transform type=reportDefinition/ map:serialize/ /map:match from the log Works ok. == tc4/logs/catalina.out == startDocument() called.com.codamax.fidamax.transformer.ReportDefinitionTransfor mer@1efb45c2 startElement uri, name, raw:http://www.codamax.com/etl, report ,cetl:report startElement uri, name, raw:http://www.codamax.com/etl, title ,cetl:title endElement uri, name, raw:http://www.codamax.com/etl, title ,cetl:title startElement uri, name, raw:http://www.codamax.com/etl, dimension ,cetl:dimension startElement uri, name, raw:http://www.codamax.com/etl, attribute ,cetl:attribute endElement uri, name, raw:http://www.codamax.com/etl, attribute ,cetl:attribute endElement uri, name, raw:http://www.codamax.com/etl, dimension ,cetl:dimension startElement uri, name, raw:http://www.codamax.com/etl, dimension ,cetl:dimension startElement uri, name, raw:http://www.codamax.com/etl, attribute ,cetl:attribute endElement uri, name, raw:http://www.codamax.com/etl, attribute ,cetl:attribute endElement uri, name, raw:http://www.codamax.com/etl, dimension ,cetl:dimension endElement uri, name, raw:http://www.codamax.com/etl, report ,cetl:report end Document() called. getSQL() returned:SELECT countries.name AS C1, securities.value AS C2 FROM facts, countries, securities WHERE facts.fkcountry=countries.key AND facts.fksecurity=securities.key GROUP BY countries.name ORDER BY countries.name ASC, securities.value DESC ; SELECT countries.name AS C1, securities.value AS C2 FROM facts, countries, securities WHERE facts.fkcountry=countries.key AND facts.fksecurity=securities.key GROUP BY countries.name ORDER BY countries.name ASC, securities.value DESC ; startDocument() called.com.codamax.fidamax.transformer.ReportDefinitionTransfor mer@1d3d85c2 startElement uri, name, raw:http://www.codamax.com/etl, report ,cetl:report startElement uri, name, raw:http://www.codamax.com/etl, title ,cetl:title endElement uri, name, raw:http://www.codamax.com/etl, title ,cetl:title startElement uri, name, raw:http://www.codamax.com/etl, dimension ,cetl:dimension startElement uri, name, raw:http://www.codamax.com/etl, attribute ,cetl:attribute endElement uri, name, raw:http://www.codamax.com/etl, attribute ,cetl:attribute endElement uri, name, raw:http://www.codamax.com/etl, dimension ,cetl:dimension startElement uri, name, raw:http://www.codamax.com/etl, dimension ,cetl:dimension startElement uri, name, raw:http://www.codamax.com/etl, attribute ,cetl:attribute endElement uri, name, raw:http://www.codamax.com/etl, attribute ,cetl:attribute endElement uri, name, raw:http://www.codamax.com/etl, dimension ,cetl:dimension endElement uri, name, raw:http://www.codamax.com/etl, report ,cetl:report end Document() called. getSQL() returned:SELECT countries.name AS C1, securities.value AS C2 FROM facts, countries, securities WHERE facts.fkcountry=countries.key AND facts.fksecurity=securities.keyGROUP BY countries.name ORDER BY countries.name ASC, securities.value DESC ; SELECT countries.name AS C1, securities.value AS C2 FROM facts, countries, securities WHERE facts.fkcountry=countries.key AND facts.fksecurity=securities.key GROUP BY countries.name ORDER BY countries.name ASC, securities.value DESC ; == /opt/cocoon/WEB-INF/logs/cocoon.log == DEBUG 99375 [cocoon ] (HttpProcessor[8080][4]): getRealPath for /:
[C2]Problem with whitespaces/newline
I have the following line in an xslt-stylesheet /tableimg src=/images/empty.gif width=1 height=10 border=1/table This one is outputted in html as /table img src=/images/empty.gif width=1 height=10 border=1/table How is it possible that there's a newline before img? I used xsl:output method=html indent=no/ xsl:strip-space elements=*/ without success. Is it a problem of the serialzier? Please help. - 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]Problem with whitespaces/newline
Have you tried using xsl:text#xA;/xsl:text between table and img? Jörn Heid wrote: I have the following line in an xslt-stylesheet /tableimg src=/images/empty.gif width=1 height=10 border=1/table This one is outputted in html as /table img src=/images/empty.gif width=1 height=10 border=1/table How is it possible that there's a newline before img? I used xsl:output method=html indent=no/ xsl:strip-space elements=*/ without success. Is it a problem of the serialzier? Please help. - 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]
AW: [C2]Problem with whitespaces/newline
;( Now, I have two newlines between the two tags. If you misunderstood me: I want to remove all newlines between the two tags as there's none defined in my stylesheet.. But thanks for your help. JOERN_HEID -Ursprüngliche Nachricht- Von: Ruben [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 24. Juni 2001 19:49 An: [EMAIL PROTECTED] Betreff: Re: [C2]Problem with whitespaces/newline Have you tried using xsl:text#xA;/xsl:text between table and img? Jörn Heid wrote: I have the following line in an xslt-stylesheet /tableimg src=/images/empty.gif width=1 height=10 border=1/table This one is outputted in html as /table img src=/images/empty.gif width=1 height=10 border=1/table How is it possible that there's a newline before img? I used xsl:output method=html indent=no/ xsl:strip-space elements=*/ without success. Is it a problem of the serialzier? Please help. - 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]
Re: AW: [C2]Problem with whitespaces/newline
Hi Jörn, Oh, sorry, sunday it's not the best day for me to understand english... Maybe I'm saying something stupid again, but, there is a line in cocoon.properties stating the maximum line width in HTML (I think): formatter.text/html/loose.line-width = 120 Could it be that your /table tag is at the end of the line? I'm afraid I'm wrong again, but I don't understand why the new line is inserted, it has no sense... /Rubén Jörn Heid wrote: ;( Now, I have two newlines between the two tags. If you misunderstood me: I want to remove all newlines between the two tags as there's none defined in my stylesheet.. But thanks for your help. JOERN_HEID - 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 problem
Hi I had this problem. That's seem to be due to old xerces and xalan library in my path when loading tomcat - Original Message - From: Tobias Florek [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 10:28 PM Subject: RE: C2 problem Johnny wrote: blahblahblah error! type internal-server-error message The sitemap handler's sitemap is not available. description org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/ exception org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. thats exactly the same problem i have. my server configuration worked with a c2 build from 2001/04/25 and i didnt changed it. the only thing that changed was cocoon. it seems to be an internal cocoon bug. - 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 problem
I am new to C2 too, but keeping that in mind ... I always get this message, when I did an inpropriate change to sitemap.xmap. Sometimes I also get this message, when launching cocoon, but it goes away after it is started properly. If there is a syntax error in your sitemap.xmap, the log will tell you some lines above the exception. Mariano On Monday 18 June 2001 10:28 pm, you wrote: Johnny wrote: blahblahblah error! type internal-server-error message The sitemap handler's sitemap is not available. description org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/ exception org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. thats exactly the same problem i have. my server configuration worked with a c2 build from 2001/04/25 and i didnt changed it. the only thing that changed was cocoon. it seems to be an internal cocoon bug. - 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: problem getting started
Hi no Im not, because I only copied the war file to tomcat_home/webapps/cocoon.war there is no tomcat_home/webapps/cocoon Do I have to create it ? Sorry, but I only worked with C1 and JServ before. daniel --- Luca Morandini [EMAIL PROTECTED] schrieb: Dnaiel, Are you sure you're editing the files contained in tomcat_home/webapps/cocoon/ ? Hi as I reported I was happy to be able to install Cocoon2. I did this using the instructions on the Cocoon site. For getting in touch with the new architecture of it I tried to change/edit some of the given examples. I was wandering because nothing happens. If I restart Tomcat and recall der cocoon url the sites look like before. :-( what am I doing wrong? I only changed some entries in stylesheets. I'm sure that this has to change the appearance of the samples-site, but it wont. installing Cocoon I build the war-file and copied it as instructed by the manual to TOMCAT_HOME/webapps. do I have to do this everytime I change something in my code? it would be very kind of you helping me .. daniel = Daniel Pfuhl mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de - 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] Problem with xinclude
I do have a problem with XInclude as a transformer (see below). Besides the problem does anybody know if I can use aggregation for that? I want to generate one xml file from two xml files (none of the must be a XSP)... I used the following in the sitemap: map:transformer name=xinclude src=org.apache.cocoon.transformation.XIncludeTransformer/ .. map:match pattern=**.xml map:generate src={1}.xml/ map:transform type=xinclude/ map:transform src=xsl/page.xsl/ map:serialize/ /map:match and the following xml file page xmlns:xinclude=http://www.w3.org/1999/XML/xinclude; xinclude:include xinclude:parse=xml xinclude:href=../menu.xml/ ... I got the following error (in WEB-INF/logs): ile:/d:/www/N3K/public/company/about_us.xml ERROR 8962[cocoon ] (tcpConnection-6802-0): FileGenerator.generate() java.util.EmptyStackException at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1048) at org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:72) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:220) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:344) and in the browser resource-not-found Any idea? JOERN_HEID - 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] Problem with xinclude
On Tue, 12 Jun 2001, Jörn Heid wrote: I do have a problem with XInclude as a transformer (see below). Besides the problem does anybody know if I can use aggregation for that? I want to generate one xml file from two xml files (none of the must be a XSP)... Sure, have a look on the aggregation samples. Giacomo I used the following in the sitemap: map:transformer name=xinclude src=org.apache.cocoon.transformation.XIncludeTransformer/ .. map:match pattern=**.xml map:generate src={1}.xml/ map:transform type=xinclude/ map:transform src=xsl/page.xsl/ map:serialize/ /map:match and the following xml file page xmlns:xinclude=http://www.w3.org/1999/XML/xinclude; xinclude:include xinclude:parse=xml xinclude:href=../menu.xml/ ... I got the following error (in WEB-INF/logs): ile:/d:/www/N3K/public/company/about_us.xml ERROR 8962[cocoon ] (tcpConnection-6802-0): FileGenerator.generate() java.util.EmptyStackException at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1048) at org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:72) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:220) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:344) and in the browser resource-not-found Any idea? JOERN_HEID - 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]
[C2] problem apache +tomcat + c2
Hello I have some problem joining apache tomcat 3.2 and cocoon 2 With cocoon 1.8.2 it works all fine. Now I have intalled c2. C2 will work properly on port 8080 (Tomcat directly) but it will not respond on port 80... I have seen that there are no mention to Apache in documentation... I think that the old configuration (with mod_jk and ajp13) wont work... Help please... == Alessandro Grazioli - Software Development Impression S.p.A. - via Malpighi, 88/14 - 48018 Faenza (RA) email: [EMAIL PROTECTED] - web: www.impression.it tel: +39 0546 689011 - fax: +39 0546 689012 interno: +39 0546 689070 - cell: +39 0347 9240543 == - 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 problem
Hi, After my issues with C1, I decided that C2 sounded worth a look. I installed it, reading the INSTALL document, running into every problem listed in the FAQ, one by one (so congrats to whoever put that together ;) but was then left with one more... type internal-server-error message The sitemap handler's sitemap is not available. description org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/ exception org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. I don't quite understand what the role of the sitemap is... can anyone help? -- | John J. Lehmann, [EMAIL PROTECTED] + More trivia soon, I promise! - 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] problem with latest cvs
BINGO! I've been struggling with this for awhile now myself. I was using Tomcat 3.3dev for a bit, and all the log files are completely different in that version, so I wasn't sure where to look. Anyway, I downgraded to 3.2.2 yesterday and spent some real time looking into the problem. If you look in webapps/cocoon/WEB-INF/logs/cocoon.log you'll see an Exception complaining about an undefined method for an SVG object. I modified my sitemap.xmap file, commenting out all entries relating to svg, restarted Tomcat and cocoon is working again. I'm not sure what's actually causing the problem yet, but at least doing this will let you guys toy around with the other Cocoon2 stuff. Bryan Hi, I get same exception with the newest C2 version. org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. I use Jetty 3.0.6 with the latest C2 cvs version (01.06.2001) The problem is that the sitemap will never compile. In the log files I get the following error message: 12:06:47.942 EVENT Cocoon2: init 12:06:48.007 EVENT DEBUG 17 [cocoon ] (SocketListener-0): Trying to load class: com.ibm.servlet.classloader.Handler + 12:06:48.046 EVENT WARN54 [cocoon ] (SocketListener-0): Could not force-load class: com.ibm.servlet.classloader.Handl er + java.lang.ClassNotFoundException: com.ibm.servlet.classloader.Handler + at java.net.URLClassLoader$1.run(URLClassLoader.java:200) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:188) + at java.lang.ClassLoader.loadClass(ClassLoader.java:297) + at java.lang.ClassLoader.loadClass(ClassLoader.java:253) + at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:46) + at org.apache.cocoon.servlet.CocoonServlet.forceLoad(CocoonServlet.java:399) + at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:119) + at com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolder.java:427 ) + at com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:4 30) + at com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:2 86) + at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1087) + at com.mortbay.HTTP.HttpServer.service(HttpServer.java:662) + at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:457) + at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:317) + at com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:99) + at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:254) + at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:601) + at java.lang.Thread.run(Thread.java:484) - Original Message - From: Donald Ball [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 31, 2001 8:48 PM Subject: [c2] problem with latest cvs heya. i just installed a fresh cvs copy of c2 on a fresh jakarta-tomcat-4.0b5 installation on fresh server. when i first request the cocoon home page, i get the infamous confusing exception: ERROR 6991[cocoon ] (HttpProcessor[8080][4]): Problem with servlet org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93) at org.apache.cocoon.Cocoon.process(Cocoon.java:293) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) however, after the sitemap finishes compiling, i can get in just fine. this didn't used to happen. what's up, any idea? - 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] problem with latest cvs
Hi, I get same exception with the newest C2 version. org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. I use Jetty 3.0.6 with the latest C2 cvs version (01.06.2001) The problem is that the sitemap will never compile. In the log files I get the following error message: 12:06:47.942 EVENT Cocoon2: init 12:06:48.007 EVENT DEBUG 17 [cocoon ] (SocketListener-0): Trying to load class: com.ibm.servlet.classloader.Handler + 12:06:48.046 EVENT WARN54 [cocoon ] (SocketListener-0): Could not force-load class: com.ibm.servlet.classloader.Handl er + java.lang.ClassNotFoundException: com.ibm.servlet.classloader.Handler + at java.net.URLClassLoader$1.run(URLClassLoader.java:200) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:188) + at java.lang.ClassLoader.loadClass(ClassLoader.java:297) + at java.lang.ClassLoader.loadClass(ClassLoader.java:253) + at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:46) + at org.apache.cocoon.servlet.CocoonServlet.forceLoad(CocoonServlet.java:399) + at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:119) + at com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolder.java:427 ) + at com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:4 30) + at com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:2 86) + at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1087) + at com.mortbay.HTTP.HttpServer.service(HttpServer.java:662) + at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:457) + at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:317) + at com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:99) + at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:254) + at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:601) + at java.lang.Thread.run(Thread.java:484) - Original Message - From: Donald Ball [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 31, 2001 8:48 PM Subject: [c2] problem with latest cvs heya. i just installed a fresh cvs copy of c2 on a fresh jakarta-tomcat-4.0b5 installation on fresh server. when i first request the cocoon home page, i get the infamous confusing exception: ERROR 6991[cocoon ] (HttpProcessor[8080][4]): Problem with servlet org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93) at org.apache.cocoon.Cocoon.process(Cocoon.java:293) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) however, after the sitemap finishes compiling, i can get in just fine. this didn't used to happen. what's up, any idea? - donald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [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]