You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by mb <ma...@gmx.ch> on 2004/01/14 01:20:32 UTC

Newbie needs help

Hi folks

I'm playing around with this thing and have some problems.

Environment:

jdk 1.4.2
tomcat 5.0
ant 1.6.0
cocoon 2.1.1
xalan 2.5.0
xercexImpl 2.5.0
xml-apis

I followed the instructions on the website (just other directory structure,
but I've update this in properties) Here is what I did

1. Installed JDK 1.4.2
2. Installed Tomcat 5.0
3. Installed Ant + set the paths
4. Installed Cocoon (Note: I just ran the build.bat on Windows, I did not do
any config or anything
5. Copy the xalan, xercex and xml to about everywhere it could possibly be
used
6. Updated "build.properties" with my paths
7. Went to Lenya Home and did "ant install"

The result was that I got the demo page up and running..at least I thought
so.

BUT:

When I try to do "Edit with Forms" I get to the Edit Document page. Now from
here when I try to actually edit the thing by hitting the for examle the
Title I get the following errors:

An Error Occurred org.apache.cocoon.ProcessingException
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
org.apache.cocoon.ProcessingException: Could not process your document.:
java.io.IOException: Could not rename
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
pes\simple-document\index_de.xml.tmp to
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
pes\simple-document\index_de.xml org.apache.cocoon.ProcessingException:
Could not read resource
file:/D:/java/Tomcat5/webapps/lenya/lenya/pubs/default/work/editor/authoring
/doctypes/simple-document/index_de.xml:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
org.apache.cocoon.ProcessingException: Could not process your document.:
java.io.IOException: Could not rename
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
pes\simple-document\index_de.xml.tmp to
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
pes\simple-document\index_de.xml javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
org.apache.cocoon.ProcessingException: Could not process your document.:
java.io.IOException: Could not rename
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
pes\simple-document\index_de.xml.tmp to
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
pes\simple-document\index_de.xml Original Exception:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
org.apache.cocoon.ProcessingException: Could not process your document.:
java.io.IOException: Could not rename
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
pes\simple-document\index_de.xml.tmp to
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
pes\simple-document\index_de.xml at
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:6
68) at
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:2
98) at
org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHa
ndlerImpl.java:265) at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer
.java:529) at
org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source) at
org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) at
org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) at
org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at
org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatc
h(Unknown Source) at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318) at
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:337) at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:229) at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:141)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline
.processXMLPipeline(AbstractCachingProcessingPipeline.java:272) at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs
tractProcessingPipeline.java:492) at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
alizeNode.java:147) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108) at
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNod
e.java:66) at
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.
java:128) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84) at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:176) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84) at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:164) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84) at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:164) at


There are alot more lines of errors, but this should do for now :)

I'm total newb on this AND to cocoon which seems to be the problem. Any hint
is very much appreciated.

cheers

martin








---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Newbie needs help

Posted by Martin Baur <ma...@gmx.ch>.
i am running cocoon 2.1.2 of course, not 2.1.1
----- Original Message -----
From: "mb" <ma...@gmx.ch>
Newsgroups: gmane.comp.cms.lenya.user
Sent: Wednesday, January 14, 2004 1:20 AM
Subject: Newbie needs help


> Hi folks
>
> I'm playing around with this thing and have some problems.
>
> Environment:
>
> jdk 1.4.2
> tomcat 5.0
> ant 1.6.0
> cocoon 2.1.1
> xalan 2.5.0
> xercexImpl 2.5.0
> xml-apis
>
> I followed the instructions on the website (just other directory
structure,
> but I've update this in properties) Here is what I did
>
> 1. Installed JDK 1.4.2
> 2. Installed Tomcat 5.0
> 3. Installed Ant + set the paths
> 4. Installed Cocoon (Note: I just ran the build.bat on Windows, I did not
do
> any config or anything
> 5. Copy the xalan, xercex and xml to about everywhere it could possibly be
> used
> 6. Updated "build.properties" with my paths
> 7. Went to Lenya Home and did "ant install"
>
> The result was that I got the demo page up and running..at least I thought
> so.
>
> BUT:
>
> When I try to do "Edit with Forms" I get to the Edit Document page. Now
from
> here when I try to actually edit the thing by hitting the for examle the
> Title I get the following errors:
>
> An Error Occurred org.apache.cocoon.ProcessingException
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> org.apache.cocoon.ProcessingException: Could not process your document.:
> java.io.IOException: Could not rename
>
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml.tmp to
>
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml org.apache.cocoon.ProcessingException:
> Could not read resource
>
file:/D:/java/Tomcat5/webapps/lenya/lenya/pubs/default/work/editor/authoring
> /doctypes/simple-document/index_de.xml:
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> org.apache.cocoon.ProcessingException: Could not process your document.:
> java.io.IOException: Could not rename
>
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml.tmp to
>
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> org.apache.cocoon.ProcessingException: Could not process your document.:
> java.io.IOException: Could not rename
>
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml.tmp to
>
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml Original Exception:
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> org.apache.cocoon.ProcessingException: Could not process your document.:
> java.io.IOException: Could not rename
>
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml.tmp to
>
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml at
>
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:6
> 68) at
>
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:2
> 98) at
>
org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHa
> ndlerImpl.java:265) at
> org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
> at
>
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer
> .java:529) at
> org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source) at
> org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) at
> org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) at
> org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at
> org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at
>
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatc
> h(Unknown Source) at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at
> org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318) at
> org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:337) at
> org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:229)
at
>
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:141)
> at
>
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline
> .processXMLPipeline(AbstractCachingProcessingPipeline.java:272) at
>
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs
> tractProcessingPipeline.java:492) at
>
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
> alizeNode.java:147) at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:108) at
>
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNod
> e.java:66) at
>
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.
> java:128) at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:84) at
>
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
> eNode.java:176) at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:84) at
>
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
> e(PreparableMatchNode.java:164) at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:84) at
>
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
> e(PreparableMatchNode.java:164) at
>
>
> There are alot more lines of errors, but this should do for now :)
>
> I'm total newb on this AND to cocoon which seems to be the problem. Any
hint
> is very much appreciated.
>
> cheers
>
> martin


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Newbie needs help

Posted by Christian Egli <ch...@wyona.net>.
"mb" <ma...@gmx.ch> writes:

> I followed the instructions on the website (just other directory structure,
> but I've update this in properties) Here is what I did
> 
> 1. Installed JDK 1.4.2
> 2. Installed Tomcat 5.0

We do recommend tomcat 4.1.x

> When I try to do "Edit with Forms" I get to the Edit Document page. Now from
> here when I try to actually edit the thing by hitting the for examle the
> Title I get the following errors:
> 
> An Error Occurred org.apache.cocoon.ProcessingException
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> org.apache.cocoon.ProcessingException: Could not process your document.:
> java.io.IOException: Could not rename
> D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml.tmp to
> D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml org.apache.cocoon.ProcessingException:
> Could not read resource
> file:/D:/java/Tomcat5/webapps/lenya/lenya/pubs/default/work/editor/authoring
> /doctypes/simple-document/index_de.xml:

Could this be some kind of permission problem? Can you rename
index_de.xml.tmp to index_de.xml on the command line?

-- 
Christian Egli       christian.egli@wyona.com   +41 1 272 9161
                     Wyona AG, Hardstrasse 219, CH-8005 Zurich
Open Source CMS      http://www.wyona.org http://www.wyona.com 


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Newbie needs help

Posted by Martin Baur <ma...@gmx.ch>.
yes, it happens as soon as I want to edit a page

----- Original Message -----
From: "Michael Wechner" <mi...@wyona.com>
Newsgroups: gmane.comp.cms.lenya.user
Sent: Thursday, January 15, 2004 1:38 AM
Subject: Re: Newbie needs help


> mb wrote:
>
>
> >
> > BUT:
> >
> > When I try to do "Edit with Forms" I get to the Edit Document page. Now
from
> > here when I try to actually edit the thing by hitting the for examle the
> > Title I get the following errors:
> >
> > An Error Occurred org.apache.cocoon.ProcessingException
> > javax.xml.transform.TransformerException:
> > javax.xml.transform.TransformerException:
> > org.apache.cocoon.ProcessingException: Could not process your document.:
> > java.io.IOException: Could not rename
> >
D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> > pes\simple-document\index_de.xml.tmp to
>
>
> Does the same problem occur within the blog publication?
>
> Michi
>
>
>
>
> --
> Michael Wechner
> Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
> http://www.wyona.com              http://cocoon.apache.org/lenya/
> michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Newbie needs help

Posted by Michael Wechner <mi...@wyona.com>.
mb wrote:


> 
> BUT:
> 
> When I try to do "Edit with Forms" I get to the Edit Document page. Now from
> here when I try to actually edit the thing by hitting the for examle the
> Title I get the following errors:
> 
> An Error Occurred org.apache.cocoon.ProcessingException
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> org.apache.cocoon.ProcessingException: Could not process your document.:
> java.io.IOException: Could not rename
> D:\java\Tomcat5\webapps\lenya\lenya\pubs\default\work\editor\authoring\docty
> pes\simple-document\index_de.xml.tmp to


Does the same problem occur within the blog publication?

Michi




-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org