You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by mm...@columbia.edu on 2004/12/30 04:07:00 UTC
Standalone: FileNotFoundException when creating/editing
Sorry folks if this is documented somewhere. Trust that I searched
this user list w/o success.
Installed the Lenya 1.2 standalone for Windows. Clicking Welcome
takes me to the interface and everything seems fine. Lovely even.
However, when I go into the tutorial of the Default Application and
attempt to create a document 'foo2', it throws a
java.io.FileNotFoundException and related goodies. However, a quick
look through my Windows directory shows that the file in question --
\C:\Lenya\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo2\index_en.xml
--
is there.
Again, apologies if this is the worst kind of newbyism.
The Lenya error message and the stacktrace are below.
C:\Lenya\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:136:
org.apache.lenya.cms.authoring.CreatorException:
javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:\C:\Lenya\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo2\index_en.xml
(The filename, directory name, or volume label syntax is incorrect)
The stacktrace is as follows:
org.apache.lenya.cms.task.ExecutionException:
C:\Lenya\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:136:
org.apache.lenya.cms.authoring.CreatorException:
javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:\C:\Lenya\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo2\index_en.xml
(The filename, directory name, or volume label syntax is incorrect)
at
org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:129)
at org.apache.lenya.cms.task.AntTask.execute(AntTask.java:229)
at
org.apache.lenya.cms.task.DefaultTaskWrapper.execute(DefaultTaskWrapper.java:248)
at
org.apache.lenya.cms.cocoon.acting.TaskAction.act(TaskAction.java:62)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:124)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:103)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:103)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277)
at org.apache.cocoon.Cocoon.process(Cocoon.java:639)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1098)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501)
Caused by:
C:\Lenya\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:136:
org.apache.lenya.cms.authoring.CreatorException:
javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:\C:\Lenya\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo2\index_en.xml
(The filename, directory name, or volume label syntax is incorrect)
at
org.apache.lenya.cms.ant.DocumentCreatorTask.execute(DocumentCreatorTask.java:57)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:272)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:347)
at org.apache.tools.ant.Target.performTasks(Target.java:374)
at org.apache.tools.ant.Project.executeTarget(Project.java:1228)
at
org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:126)
... 54 more
Caused by: org.apache.lenya.cms.authoring.CreatorException:
javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:\C:\Lenya\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo2\index_en.xml
(The filename, directory name, or volume label syntax is incorrect)
at
org.apache.lenya.cms.authoring.DocumentCreator.create(DocumentCreator.java:127)
at
org.apache.lenya.cms.ant.DocumentCreatorTask.execute(DocumentCreatorTask.java:46)
... 60 more
Caused by: javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:\C:\Lenya\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo2\index_en.xml
(The filename, directory name, or volume label syntax is incorrect)
at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:281)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:314)
at
org.apache.lenya.xml.DocumentHelper.writeDocument(DocumentHelper.java:184)
at
org.apache.lenya.cms.authoring.DefaultCreator.create(DefaultCreator.java:176)
at
org.apache.lenya.cms.authoring.DocumentCreator.create(DocumentCreator.java:118)
... 61 more
Caused by: java.io.FileNotFoundException:
file:\C:\Lenya\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo2\index_en.xml
(The filename, directory name, or volume label syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:271)
... 65 more
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Apache Lenya Project http://lenya.apache.org
Re: Standalone: FileNotFoundException when creating/editing
Posted by Rolf Kulemann <ro...@apache.org>.
On Fri, 2004-12-31 at 16:07, daniel Griffith wrote:
> > You are free to use 2.1.6, but sine Lenaya ship with
> > 2.1.5.1 in the
> > binary, the build.properties says
> > "cocoon.src.dir=../cocoon-2.1.5.1".
> >
> > The 1.2.1 Lenya release was mainly tested with
> > Cocoon 2.1.5.1...
>
> That makes sense, but then shouldn't the installation
> instructions on the website be altered as the
> instructions expect the build.properties file to be
> setup for 2.1.6?
Yes and no, since for the 1.2.x branch, we will use 2.1.6 again and for
1.2.2 too. But we should make a note, which cocoon version is
recommended for which Lenya version somewhere.
--
Rolf Kulemann
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Apache Lenya Project http://lenya.apache.org
Re: Standalone: FileNotFoundException when creating/editing
Posted by daniel Griffith <me...@yahoo.com>.
> You are free to use 2.1.6, but sine Lenaya ship with
> 2.1.5.1 in the
> binary, the build.properties says
> "cocoon.src.dir=../cocoon-2.1.5.1".
>
> The 1.2.1 Lenya release was mainly tested with
> Cocoon 2.1.5.1...
That makes sense, but then shouldn't the installation
instructions on the website be altered as the
instructions expect the build.properties file to be
setup for 2.1.6?
daniel
___________________________________________________________
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Apache Lenya Project http://lenya.apache.org
Re: Standalone: FileNotFoundException when creating/editing
Posted by Rolf Kulemann <ro...@apache.org>.
On Fri, 2004-12-31 at 03:52, daniel Griffith wrote:
> > i suggest you try again with lenya 1.2.1 which
> > should be out in a couple
> > days.
>
> It seems it is out - congrats to everyone involved!
>
>
> One instant niggle, I just downloaded it to have a
> play (Yeah I know how sad it is to be doing that at
> 3am on New Years eve), but in the documentation at
> http://lenya.apache.org/installation/source_version.html
> it says:
>
> >>
> If your Cocoon source tree is not at ../cocoon-2.1.6
> relative to Lenya, you need to edit your build
> properties.
> <<
>
> However the build.properties file that came with the
> apache-lenya-1.2.1-src.zip file has:
>
> >>
> # The root of the Cocoon source tree
>
> cocoon.src.dir=../cocoon-2.1.5.1
> <<
You are free to use 2.1.6, but sine Lenaya ship with 2.1.5.1 in the
binary, the build.properties says "cocoon.src.dir=../cocoon-2.1.5.1".
The 1.2.1 Lenya release was mainly tested with Cocoon 2.1.5.1...
--
Rolf Kulemann
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Apache Lenya Project http://lenya.apache.org
Re: Standalone: FileNotFoundException when creating/editing
Posted by daniel Griffith <me...@yahoo.com>.
> i suggest you try again with lenya 1.2.1 which
> should be out in a couple
> days.
It seems it is out - congrats to everyone involved!
One instant niggle, I just downloaded it to have a
play (Yeah I know how sad it is to be doing that at
3am on New Years eve), but in the documentation at
http://lenya.apache.org/installation/source_version.html
it says:
>>
If your Cocoon source tree is not at ../cocoon-2.1.6
relative to Lenya, you need to edit your build
properties.
<<
However the build.properties file that came with the
apache-lenya-1.2.1-src.zip file has:
>>
# The root of the Cocoon source tree
cocoon.src.dir=../cocoon-2.1.5.1
<<
Oops:)
daniel
___________________________________________________________
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Apache Lenya Project http://lenya.apache.org
Re: Standalone: FileNotFoundException when creating/editing
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
mm2594@columbia.edu wrote:
> Sorry folks if this is documented somewhere. Trust that I searched
> this user list w/o success.
>
> Installed the Lenya 1.2 standalone for Windows. Clicking Welcome
> takes me to the interface and everything seems fine. Lovely even.
>
> However, when I go into the tutorial of the Default Application and
> attempt to create a document 'foo2', it throws a
> java.io.FileNotFoundException and related goodies. However, a quick
> look through my Windows directory shows that the file in question --
i suggest you try again with lenya 1.2.1 which should be out in a couple
days.
--
Gregor J. Rothfuss
COO, Wyona Content Management Solutions http://wyona.com
Apache Lenya http://lenya.apache.org
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Apache Lenya Project http://lenya.apache.org