Return-Path: Delivered-To: apmail-lenya-user-archive@www.apache.org Received: (qmail 44769 invoked from network); 14 Oct 2010 15:59:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Oct 2010 15:59:29 -0000 Received: (qmail 81387 invoked by uid 500); 14 Oct 2010 15:59:29 -0000 Delivered-To: apmail-lenya-user-archive@lenya.apache.org Received: (qmail 81217 invoked by uid 500); 14 Oct 2010 15:59:29 -0000 Mailing-List: contact user-help@lenya.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lenya.apache.org Delivered-To: mailing list user@lenya.apache.org Received: (qmail 81195 invoked by uid 99); 14 Oct 2010 15:59:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 15:59:29 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [78.46.80.178] (HELO server2.consult-n.de) (78.46.80.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 15:59:23 +0000 Received: from [192.168.1.45] (DSL01.83.171.182.204.ip-pool.NEFkom.net [83.171.182.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server2.consult-n.de (Postfix) with ESMTP id 72324BC80A1 for ; Thu, 14 Oct 2010 17:58:59 +0200 (CEST) Message-ID: <4CB728C4.6030701@danielbruessler.de> Date: Thu, 14 Oct 2010 17:59:00 +0200 From: =?UTF-8?B?RGFuaWVsIEJyw7zDn2xlcg==?= Organization: IT-Consulting Daniel =?UTF-8?B?QnLDvMOfbGVyIC0gVFlQTzMgQ01T?= =?UTF-8?B?IHVuZCBKYXZh?= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: user@lenya.apache.org Subject: Re: Lenya blank page, Cocoon works properly References: <4CB5D25A.8060901@danielbruessler.de> <4CB616BA.4000301@4sengines.com> <4CB639DD.5000203@danielbruessler.de> <1287045044.5475.1.camel@mcKenny> <4CB6FE1E.6080103@danielbruessler.de> <1287061851.5475.19.camel@mcKenny> In-Reply-To: <1287061851.5475.19.camel@mcKenny> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hello Thorsten, shure, I did a build before running lenya :-) ---- I've got the same lenya/lib jar-versions. lenya-modules I don't have: org.apache.lenya.cms.languages.available org.apache.lenya.modules.atom org.apache.lenya.modules.batch org.apache.lenya.modules.batchworkflow org.apache.lenya.modules.blog org.apache.lenya.modules.importer org.apache.lenya.modules.linkrewriter org.apache.lenya.modules.rest org.apache.lenya.modules.scheduler org.apache.lenya.modules.simplesite org.apache.lenya.modules.tagcloud org.apache.lenya.modules.task => In my eyes three have names, they might be required by the default publication. Tomorrow I can install the trunk version, I think that three modules are in. Thanks for the tree command, I didn't know that. It's a nice tool. Cheers! Daniel >> Hello, >> >> I tried it also with the .zip version of lenya 2.0.3 and the same >> effect: just a blank page >> for http://localhost:8888/ >> >> The trunk version I can try tomorrow. >> >> ---- >> There's no exception. >> >> I now just deleted the logs folder >> src/webapp/WEB-INF/logs >> and did a new build and set the rights >> chmod -R 774 ./ >> >> Here's the output of >> tail -f src/webapp/WEB-INF/logs/* >> ---------------------- >> ==> src/webapp/WEB-INF/logs/2010_10_14.request.log <== >> 0:0:0:0:0:0:0:1 - - [14/Okt/2010:12:16:50 +0000] "GET / HTTP/1.1" 404 0 >> >> ==> src/webapp/WEB-INF/logs/jetty-log4j.log <== >> INFO main org.mortbay.util.Credential - Checking Resource aliases >> INFO main org.mortbay.http.HttpServer - Statistics on = false for >> org.mortbay.jetty.plus.Server@a01335 >> INFO main org.mortbay.http.HttpServer - Version Jetty/5.1.4 >> INFO main org.mortbay.jetty.servlet.XMLConfiguration - No >> WEB-INF/web.xml in /d/REPOS/java/lenya203src/src/webapp. Serving files >> and default/dynamic servlets only >> INFO main org.mortbay.util.Container - Started >> org.mortbay.jetty.servlet.WebApplicationHandler@6b7920 >> INFO main org.mortbay.util.Container - Started WebApplicationContext[/,/] >> INFO main org.mortbay.http.SocketListener - Started SocketListener on >> 0.0.0.0:8888 >> INFO main org.mortbay.util.Container - Started >> org.mortbay.jetty.plus.Server@a01335 >> ---------------------- >> >> There is NO file in >> >> build/lenya/webapp/WEB-INF/logs/* >> >> > > hmm, there is no $LENYA_HOME/build? > > If so did you do > ./build.sh clean-all;./build.sh > before > ./lenya.sh > in $LENYA_HOME > > There should not be src/webapp/WEB-INF/logs/ since this should only > exist in the build folder. > > Please confirm that you have the following basic tree structure > thorsten@mcKenny:/opt/servers/lenya-codebusters/apache-lenya-2.0.3-src$ > tree -L 3 build > build > `-- lenya > |-- api > | `-- org > |-- impl > | `-- org > |-- java > | `-- pubs > |-- lib > | |-- org.apache.forrest.plugin.output.inputModule-r431162.jar > | |-- xindice-1.1.jar > | |-- xmldb-common-20030701.jar > | `-- xmldb-xupdate-20040205.jar > |-- modules > | |-- org.apache.lenya.cms.languages.available > | |-- org.apache.lenya.modules.ac > | |-- org.apache.lenya.modules.acusecases > | |-- org.apache.lenya.modules.administration > | |-- org.apache.lenya.modules.atom > | |-- org.apache.lenya.modules.batch > | |-- org.apache.lenya.modules.batchworkflow > | |-- org.apache.lenya.modules.blog > | |-- org.apache.lenya.modules.cache > | |-- org.apache.lenya.modules.cforms > | |-- org.apache.lenya.modules.collection > | |-- org.apache.lenya.modules.contactform > | |-- org.apache.lenya.modules.editors > | |-- org.apache.lenya.modules.export > | |-- org.apache.lenya.modules.fckeditor > | |-- org.apache.lenya.modules.importer > | |-- org.apache.lenya.modules.janitor > | |-- org.apache.lenya.modules.ldap > | |-- org.apache.lenya.modules.lenyadoc > | |-- org.apache.lenya.modules.linkcheck > | |-- org.apache.lenya.modules.linking > | |-- org.apache.lenya.modules.linkrewriter > | |-- org.apache.lenya.modules.lucene > | |-- org.apache.lenya.modules.menubar > | |-- org.apache.lenya.modules.metadata > | |-- org.apache.lenya.modules.monitoring > | |-- org.apache.lenya.modules.navigation > | |-- org.apache.lenya.modules.news > | |-- org.apache.lenya.modules.notification > | |-- org.apache.lenya.modules.observation > | |-- org.apache.lenya.modules.opendocument > | |-- org.apache.lenya.modules.properties > | |-- org.apache.lenya.modules.reporter > | |-- org.apache.lenya.modules.resource > | |-- org.apache.lenya.modules.rest > | |-- org.apache.lenya.modules.scheduler > | |-- org.apache.lenya.modules.simplesite > | |-- org.apache.lenya.modules.sitemanagement > | |-- org.apache.lenya.modules.sitetree > | |-- org.apache.lenya.modules.sourcerepository > | |-- org.apache.lenya.modules.svg > | |-- org.apache.lenya.modules.tagcloud > | |-- org.apache.lenya.modules.task > | |-- org.apache.lenya.modules.templating > | |-- org.apache.lenya.modules.tinymce > | |-- org.apache.lenya.modules.usecase > | |-- org.apache.lenya.modules.usecasedocument > | |-- org.apache.lenya.modules.webdav > | `-- org.apache.lenya.modules.workflow > |-- pubs > | `-- org > |-- temp > | |-- modules-build.xml > | |-- modules-config.xml > | |-- modules.xconf > | |-- modules.xml > | `-- patch > `-- webapp > |-- error.xmap > |-- global-sitemap.xmap > |-- jcr-repository > |-- lenya > |-- lenya.properties.xml > |-- readme.xml > |-- sitemap.xmap > `-- WEB-INF > > 66 directories, 13 files > > salu2 > >> Cheers! >> Daniel >> >> >>> On Thu, 2010-10-14 at 00:59 +0200, Daniel Brüßler wrote: >>> >>> >>>> Hello, >>>> >>>> every URL I try with lenya (using the embedded Jetty) shows just a blank >>>> page. >>>> >>>> >>> Is there an exception thrown? >>> >>> What does >>> tail -f build/lenya/webapp/WEB-INF/logs/* >>> returns when you request one of the pages? >>> >>> salu2 >>> >>> >>> >>>> http://localhost:8888/ >>>> http://localhost:8888/kldsjfkldjf >>>> http://localhost:8888/default/ >>>> http://localhost:8888/lenya/ >>>> http://localhost:8888/lenya/index.html >>>> >>>> What can I uncomment or include in >>>> $LENYA_HOME/src/webapp/global-sitemap.xmap >>>> or >>>> $LENYA_HOME/src/pubs/default/sitemap.xmap >>>> to find the rendering problem ? >>>> >>>> Cheers! >>>> Daniel >>>> >>>> >>>> >>>>> Hi, >>>>> >>>>> Do you deploy on tomcat (witch version?) or jetty (embedded ?) ? >>>>> >>>>> Witch url you try ? >>>>> >>>>> ++ >>>>> >>>>> On 10/13/2010 05:38 PM, Daniel Brüßler wrote: >>>>> >>>>> >>>>> >>>>>> Hello, >>>>>> >>>>>> I started cocoon with >>>>>> ./cocoon.sh >>>>>> in $COCOON_HOME >>>>>> >>>>>> and it works properly. The changes I do in the sitemap.xmap and in the >>>>>> xsl's and xml files work, I see the rendered xhtml in the browser. I >>>>>> just do a >>>>>> ./build.sh >>>>>> in $COCOON_HOME >>>>>> >>>>>> Now the question is how can I test why lenya just renders a blank page? >>>>>> Can I uncomment something from the lenya sitemap to find the >>>>>> rendering-problem? >>>>>> >>>>>> (Lenya 2.0.3 on Ubuntu 10.04) >>>>>> >>>>>> Cheers! >>>>>> Daniel >>>>>> >>>>>> :: TEL +49 (0)911 - 815 90 30 >>>>>> :: Daniel Bruessler - Emilienstr. 10 - 90489 Nuernberg >>>>>> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org For additional commands, e-mail: user-help@lenya.apache.org