You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Richard Feldmann <rh...@oaksage.dyndns.org> on 2005/04/20 19:08:13 UTC

Cocoon/Lenya Tutorial Barfs!

Greetings all,

I am seeing the following problems with using Cocoon and Lenya. I tried
digging in the FAQ and archives but just couldn't find anything
specifically related to the problem I have. Perhaps I just didn't dig deep
enough. :)

I'm following the Lenya tutorial, and after giving the new document I want
to create the id of 'foo' and name 'Foo,' I hit create. It then produces
the following error:

"""file:/home/rhun/public_html/src/lenya-1.2.2/build/lenya/webapp/lenya/pubs/default/content/authoring/tutorial/foo/index_en.xml
(No such file or directory)

org.apache.lenya.cms.task.ExecutionException:
/home/rhun/public_html/src/lenya-1.2.2/build/lenya/webapp/lenya/pubs/default/config/tasks/targets.xml:138:
org.apache.lenya.cms.authoring.CreatorException:
javax.xml.transform.TransformerException: java.io.FileNotFoundException:
file:/home/rhun/public_html/src/lenya-1.2.2/build/lenya/webapp/lenya/pubs/default/content/authoring/tutorial/foo/index_en.xml
(No such file or directory)"""

I can see that the file
(/home/rhun/public_html/src/lenya-1.2.2/build/lenya/webapp/lenya/pubs/default/content/authoring/tutorial/foo/index_en.xml)
actually does exist, but just that it is zero bytes in size. I am assuming
that Lenya/Cocoon simply copies a default file over from another location
for the tutorial, but I am unsure if this is my fault or something in
Lenya/Cocoon. The build of both Cocoon and Lenya didn't produce any
obvious errors.

More info:

Lenya 1.2.2
Cocoon 2.1.7 (I couldn't get 2.1.6 to build, looked like java version
problems)
Java 1.5.0
Apache 2.0.53 (with a bunch of modules, lemme know if more info is needed)
My umask is 022.
Slackware 10

I am really excited about learning more of Cocoon and Lenya, but this has
me stumped. I looked at the targets.xml file mentioned in the error
message, line 138, but I didn't see any glaring errors in the xml. But
then, I don't really know what's supposed to be there.

Anyone have any ideas? It also seems that I can't create users, either. I
keep getting the same "no such file or directory" errors.

Regards,
Richard


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


Re: Cocoon/Lenya Tutorial Barfs!

Posted by Richard Feldmann <rh...@oaksage.dyndns.org>.
> Richard Feldmann wrote:
>
>> Java 1.5.0
>
> you are hitting a xalan bug. to make lenya work with jdk 1.5, use the
> instructions in http://issues.apache.org/bugzilla/show_bug.cgi?id=32923
> or switch to 1.4.2
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>

Gregor,

Much easier to just regress to java 1.4.2. I did that and it looks to be
working fine! Thanks much!

Regards,
Richard


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


Re: Cocoon/Lenya Tutorial Barfs!

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Richard Feldmann wrote:

> Java 1.5.0

you are hitting a xalan bug. to make lenya work with jdk 1.5, use the 
instructions in http://issues.apache.org/bugzilla/show_bug.cgi?id=32923
or switch to 1.4.2

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