Re: [Lenyacms-users] (new user)Problems with running wyona on Tomcat-4.1.24-LE-jdk14

Steve Crossan <[email protected]> Tue, 22 Apr 2003 09:52:39 +0100 (BST)
Newsgroups gmane.comp.cms.wyona.user
Message-ID <Pine.LNX.4.21.0304220944100.16917-100000@wormtail.runtime-collective.com>
Hi Jaroslaw,

I don't know that I can totally solve your problem, but hopefully this
will help.

I think that the first error message you are getting, about Log4J, is a
red herring, unconnected with the problem accessing the server. Log4J is
misconfigured, but this is not fatal in my experience, the system should
still be able to run.

If you look through the rest of the catalina.out log and the
localhost_log.<date>.txt, are there any other error messages?

I have seen the xslt error message you get in the browser on startup. I'm
not 100% sure but I *think* it may be to do with the versions of the xml
handling libraries you have. You may want to download endorsed.tar.gz from

http://wyona.org/lenya

and untar it's contents into $TOMCAT_HOME/common/endorsed

You should also get 

cocoon-2.1-build-2003.03.11.23.15.tar.gz

from that page and untar it in your build area. Then you need to reference
the /build/webapp directory under cocoon-2.1-build-2003.03.11.23.15 in
your build.properties file before running ant - something like:

src.cocoon.dir=../cocoon-2.1-build-2003.03.11.23.15/build/webapp

Hope this helps.

Steve

http://www.runtime-collective.com
t: 01273 234290
f: 01273 234291
m: 0789 984 1684

On Thu, 17 Apr 2003, Jaroslaw Lukaszewicz wrote:

> I'm new to wyona.org software and I'm tring to get wyona cms (lenya) work on 
> windows xp pro with:
> 
> * jsdk1.4.1_02
> * apache-ant-1.5.3
> * jakarta-tomcat-4.1.24-LE-jdk14
> 
> CATALINA_BASE:   C:\jakarta-tomcat-4.1.24-LE-jdk14
> CATALINA_HOME:   C:\jakarta-tomcat-4.1.24-LE-jdk14
> CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.24-LE-jdk14\temp
> JAVA_HOME:       C:\j2sdk1.4.1_02
> 
> CLASSPATH: %JAVA_HOME%\lib\classes.zip;
> 
> I've downloaded lenya-0.8-dev-bin-20030417045044.zip and put lenya.war in webapps 
> folder. During starting up tomcat I got: 
> 
> 2003-04-17 22:55:59 org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> 2003-04-17 22:55:59 org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> 2003-04-17 22:56:00 org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> 2003-04-17 22:56:02 org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.24-LE-jdk14
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: \WEB-INF\logs\log4j.log (...  ...)
>         at java.io.FileOutputStream.openAppend(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:174)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>         at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
>         at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java
> :156)
>         at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
>         at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:2
> 48)
> 
> It looks like I forgot about some configuration issues, but what configuration ?!
> 
> and when I opened http://localhost:8080/leyna I got:
> 
> Cocoon 2 - Internal server error
> 
> --------------------------------------------------------------------------------
> 
> type fatal
> 
> message null
> 
> description No details available.
> 
> sender org.apache.cocoon.servlet.CocoonServlet
> 
> source Cocoon servlet
> 
> cause
> 
> org.apache.xml.utils.WrappedRuntimeException: The output format must have a 
> '{http://xml.apache.org/xslt}content-handler' property!
> 
> request-uri
> 
> /lenya/index.html
> 
> path-info
> 
> index.html
> 
> 
> Can anybody help me ?!
> 
> 
> JL.
> [email protected]
> 
> 
> _______________________________________________
> WyonaCMS-users mailing list
> [email protected]
> http://wyona.org/cgi-bin/mailman/listinfo/wyonacms-users
>