You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Daniel Brüßler <ma...@danielbruessler.de> on 2010/10/13 17:38:02 UTC

Lenya blank page, Cocoon works properly

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


Re: Lenya blank page, Cocoon works properly

Posted by florent andré <fl...@4sengines.com>.
Try also with checkout the code from the svn
https://svn.apache.org/repos/asf/lenya/tags/RELEASE_2_0_3

Our feedback on this will be really interresting.

Cheers.

On 10/14/2010 08:46 AM, Daniel Brüßler wrote:
> Hi,
> 
> oh, maybe the tar.gz version is not OK. I just tried this on three
> different computers.
> 
> Now I try the .zip version - and if that doesn't work I try to replace
> the global-sitemap.xmap with a very simplified version.
> 
> Cheers!
> Daniel
>> humm, may be your download was corrupt and that why you have render
>> problems.
>>
>> I just try with the same configuration and it's work well for me.
>>
>> On the other hand, rendering for publication level is done in the
>> $PUBLICATION_HOME/$PUB/sitemap.xmap ( =
>> build/lenya/webapp/lenya/pubs/default/sitemap.xmap)
>>
>> ++
>>
>> On 10/14/2010 12:59 AM, Daniel Brüßler wrote:
>>   
>>> Hello,
>>>
>>> every URL I try with lenya (using the embedded Jetty) shows just a blank
>>> page.
>>>
>>> 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
> 

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


Re: Lenya blank page, Cocoon works properly

Posted by Daniel Brüßler <ma...@danielbruessler.de>.
Hi,

oh, maybe the tar.gz version is not OK. I just tried this on three
different computers.

Now I try the .zip version - and if that doesn't work I try to replace
the global-sitemap.xmap with a very simplified version.

Cheers!
Daniel
> humm, may be your download was corrupt and that why you have render
> problems.
>
> I just try with the same configuration and it's work well for me.
>
> On the other hand, rendering for publication level is done in the
> $PUBLICATION_HOME/$PUB/sitemap.xmap ( =
> build/lenya/webapp/lenya/pubs/default/sitemap.xmap)
>
> ++
>
> On 10/14/2010 12:59 AM, Daniel Brüßler wrote:
>   
>> Hello,
>>
>> every URL I try with lenya (using the embedded Jetty) shows just a blank
>> page.
>>
>> 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


Re: Lenya blank page, Cocoon works properly

Posted by florent andré <fl...@4sengines.com>.
humm, may be your download was corrupt and that why you have render
problems.

I just try with the same configuration and it's work well for me.

On the other hand, rendering for publication level is done in the
$PUBLICATION_HOME/$PUB/sitemap.xmap ( =
build/lenya/webapp/lenya/pubs/default/sitemap.xmap)

++

On 10/14/2010 12:59 AM, Daniel Brüßler wrote:
> Hello,
> 
> every URL I try with lenya (using the embedded Jetty) shows just a blank
> page.
> 
> 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
> 

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


Re: Lenya blank page, Cocoon works properly

Posted by Daniel Brüßler <ma...@danielbruessler.de>.
Hello,

here are the HTTP-headers (request, response) for lenya and for the
cocoon what was in the lenya-package. I just downloaded the lenya
package changed the java-version from 1.4 to 1.5 (in
local.build.properties) and changed the sitemap of the cocoon-welcome
page. Just the welcome-page I didn't change more of cocoon.

------------------- $LENYA_HOME - build.sh and then lenya.sh
GET / HTTP/1.1
Host: localhost:8888
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cache-Control: max-age=0

HTTP/1.1 404 Not Found
Date: Fri, 15 Oct 2010 12:01:28 GMT
Server: Jetty/5.1.4 (Linux/2.6.32-25-generic i386 java/1.5.0_22
Transfer-Encoding: chunked

------------------- $COCOON_HOME - build.sh and then cocoon.sh
GET / HTTP/1.1
Host: localhost:8888
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cache-Control: max-age=0

HTTP/1.1 200 OK
Date: Fri, 15 Oct 2010 12:06:32 GMT
Server: Jetty/4.2.23 (Linux/2.6.32-25-generic i386 java/1.5.0_22)
X-Cocoon-Version: 2.1.12-dev
Content-Type: text/html
Transfer-Encoding: chunked

GET /styles/main.css HTTP/1.1
Host: localhost:8888
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10
Accept: text/css,*/*;q=0.1
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://localhost:8888/

HTTP/1.1 200 OK
Date: Fri, 15 Oct 2010 12:06:34 GMT
Server: Jetty/4.2.23 (Linux/2.6.32-25-generic i386 java/1.5.0_22)
X-Cocoon-Version: 2.1.12-dev
Content-Type: text/css
Accept-Ranges: bytes
Last-Modified: Thu, 14 Oct 2010 15:35:42 GMT
Content-Length: 2327

GET /images/powered.gif HTTP/1.1
Host: localhost:8888
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://localhost:8888/

HTTP/1.1 200 OK
Date: Fri, 15 Oct 2010 12:06:34 GMT
Server: Jetty/4.2.23 (Linux/2.6.32-25-generic i386 java/1.5.0_22)
X-Cocoon-Version: 2.1.12-dev
Content-Type: image/gif
Accept-Ranges: bytes
Last-Modified: Thu, 14 Oct 2010 15:35:42 GMT
Content-Length: 2338

-------------------

I hope that helps a bit.
Daniel


> (...) When I
> looked at your tail result I saw that you have 
> [14/Okt/2010:12:16:50 +0000] "GET / HTTP/1.1" 404 0
>
> Means jetty response with a 404 (file not found). If you look at the
> headers in your browser (with firebug you can see them) you should find
> a server response with this headers. 
>
> However reading between the lines of your mail seems that you are using
> a custom pub and not the default pub, right?
>
> salu2
>
>   
>> 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


Re: Lenya blank page - servlet2.2 /2.3 conflict?

Posted by Daniel Brüßler <ma...@danielbruessler.de>.
Hello Florent,
> Hi,
>
> Really strange problem you have ! :)
>   
yes, indeed!
> Has sometimes eclipse embedded his own jre and as it's possible to
> define java version for compil and exe in eclipse, I suspect a problem
> with your operating system jre...
>
> HTH
>   
I can't find the error in the OS, because Cocoon is running properly and
I can't find the problem in the JRE, because I'm using the same JDK/JRE
for Eclipse to run and build.

I got one idea:
When I compiled Cocoon and Lenya as two projects in eclipse I had the
problem that servlet2.2 is shipped with Cocoon, that had a build problem
in the Lenya project.

So when the ./lenya.sh script does include the servlet 2.2 library
(because it's in externals/cocoon_2_1_x/lib/core !) AND servlet2.3 this
is clearly a problem. Can this be the reason? (So the problem is in one
of the ant-scripts)

Cheers!
Daniel

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


Re: Lenya blank page - it works in Eclipse debug-mode

Posted by florent andré <fl...@4sengines.com>.
Hi,

Really strange problem you have ! :)

Has sometimes eclipse embedded his own jre and as it's possible to
define java version for compil and exe in eclipse, I suspect a problem
with your operating system jre...

HTH
++

On 10/21/2010 12:19 AM, Daniel Brüßler wrote:
> Hello,
> 
> I'm very happy, that Lenya does work now. I can see it, use it, editing
> in Bitflux works very good, publishing and the Ajax-features work great.
> 
> I set up Eclipse in debug-mode, so that Jetty starts as Application and
> gets the right parameters, so that it runs Lenya.
> The HowTo: http://wiki.apache.org/cocoon/LoadInEclipse
> 
> By the way I didn't change something of Lenya or Cocoon. So the question
> is why does ./build.sh and ./lenya.sh show a blank page and Eclipse can
> run Lenya properly?
> 
> Here is the Run/Debug configuration:
> - Main class: Loader
> - Arguments/ Program arguments:
> "externals/cocoon_2_1_x/tools/jetty/conf/main.xml" (with double quotes)
> - Arguments/ VM arguments:
> "-Djava.endorsed.dirs=./externals/cocoon_2_1_x/lib/endorsed"
> "-Dwebapp=./build/lenya/webapp"
> -Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser
> -Djetty.port=8888 -Djetty.admin.port=8889 "-Dhome=."
> "-Dloader.jar.repositories=./externals/cocoon_2_1_x/tools/jetty/lib,./externals/cocoon_2_1_x/lib/endorsed"
> -Dloader.main.class=org.mortbay.jetty.Server
> - JRE: Sun JDK 5 update 22
> - classpath: jetty and servlet2.3 in
> Cocoon-2.1.12-dev-project/tools/jetty/lib ,
>                     plus "Advanced" folder
> Cocoon-2.1.12-dev-project/tools/loader ,
>                     but without the "default classpath"
> 
> 
> Did anybody have that mysterious effect?
> 
> Cheers!
> Daniel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 

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


Re: Lenya blank page - it works in Eclipse debug-mode

Posted by Daniel Brüßler <ma...@danielbruessler.de>.
Hello,

I'm very happy, that Lenya does work now. I can see it, use it, editing
in Bitflux works very good, publishing and the Ajax-features work great.

I set up Eclipse in debug-mode, so that Jetty starts as Application and
gets the right parameters, so that it runs Lenya.
The HowTo: http://wiki.apache.org/cocoon/LoadInEclipse

By the way I didn't change something of Lenya or Cocoon. So the question
is why does ./build.sh and ./lenya.sh show a blank page and Eclipse can
run Lenya properly?

Here is the Run/Debug configuration:
- Main class: Loader
- Arguments/ Program arguments:
"externals/cocoon_2_1_x/tools/jetty/conf/main.xml" (with double quotes)
- Arguments/ VM arguments:
"-Djava.endorsed.dirs=./externals/cocoon_2_1_x/lib/endorsed"
"-Dwebapp=./build/lenya/webapp"
-Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser
-Djetty.port=8888 -Djetty.admin.port=8889 "-Dhome=."
"-Dloader.jar.repositories=./externals/cocoon_2_1_x/tools/jetty/lib,./externals/cocoon_2_1_x/lib/endorsed"
-Dloader.main.class=org.mortbay.jetty.Server
- JRE: Sun JDK 5 update 22
- classpath: jetty and servlet2.3 in
Cocoon-2.1.12-dev-project/tools/jetty/lib ,
                    plus "Advanced" folder
Cocoon-2.1.12-dev-project/tools/loader ,
                    but without the "default classpath"


Did anybody have that mysterious effect?

Cheers!
Daniel


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


Re: Lenya blank page - right to create folders

Posted by Daniel Brüßler <ma...@danielbruessler.de>.
Hello,

I suppose Lenya tries to create some folders when it starts the first
time - and Jetty isn't allowed to do this.

I always give the full rights after a build (and after the
lenya-download-and-untar) with
chmod -R 774 ./

and start Jetty as the current user. Here's the output of top -p 14312

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                     
14312 daniel    20   0  1832  536  452 S  0.0  0.0   0:00.00 lenya.sh

My last try was the checkout of subversion BRANCH_2_0_X . Here the same
problem with the blank page.

The first run of lenya stops (like in versions 2.0.2, 2.0.3) and tells,
that just this folder is missing:

src/webapp/WEB-INF/logs

When I create it and give also for this the rights 774,
in the next start lenya doesn't stop and just renders that blank page.

So what can I do now to let lenya run properly?

this shows that there seems to be a rights-problem:

-----

(...)
BUILD SUCCESSFUL
Total time: 1 minute 18 seconds
daniel@daniel-desktop:/d/REPOS/java/lenya20branch$ chmod -R 774 ./
daniel@daniel-desktop:/d/REPOS/java/lenya20branch$ ./lenya.sh
./lenya.sh: executing default action 'servlet', use -h to see other actions
./lenya.sh: using /d/REPOS/java/lenya20branch/src/webapp as the webapp directory
INFO: Jetty Port is 8888
INFO: Jetty Admin Port is 8889
INFO: build/lenya/webapp directory already exists.
-------------------- Loading --------------------
Processing repository: /d/REPOS/java/lenya20branch/tools/jetty/lib
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/lib/servlet-2.4.jar
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/lib/org.mortbay.jmx-5.1.4.jar
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/lib/org.mortbay.jetty-5.1.4.jar
Processing repository: /d/REPOS/java/lenya20branch/tools/jetty/extra/lib
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/extra/lib/org.mortbay.jetty.plus-5.1.4.jar
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/extra/lib/org.mortbay.jaas-5.1.4.jar
Processing repository: /d/REPOS/java/lenya20branch/tools/jetty/extra/ext
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/extra/ext/jotm_jrmp_stubs.jar
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/extra/ext/log4j.jar
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/extra/ext/jotm_iiop_stubs.jar
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/extra/ext/jotm.jar
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/extra/ext/howl.jar
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/extra/ext/commons-cli-1.0.jar
Processing repository: /d/REPOS/java/lenya20branch/tools/jetty/ext
Adding jar: /d/REPOS/java/lenya20branch/tools/jetty/ext/commons-logging.jar
Processing repository: /d/REPOS/java/lenya20branch/tools/jetty/extra/resources
Processing repository: /d/REPOS/java/lenya20branch/src/webapp/WEB-INF/lib/endorsed
-------------------- Executing -----------------
Main Class: org.mortbay.jetty.plus.Server
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /d/REPOS/java/lenya20branch/src/webapp/WEB-INF/logs/jetty-log4j.log (No such file or directory)
	at java.io.FileOutputStream.openAppend(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
	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:247)
	at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
	at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
	at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
	at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
	at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
	at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
	at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
	at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
	at org.apache.log4j.LogManager.<clinit>(LogManager.java:145)
	at org.apache.log4j.Logger.getLogger(Logger.java:85)
	at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:102)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246)
	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
	at org.mortbay.util.Container.<clinit>(Container.java:39)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at Loader.invokeMain(Unknown Source)
	at Loader.run(Unknown Source)
	at Loader.main(Unknown Source)
0    [main] INFO  org.mortbay.util.Credential  - Checking Resource aliases
221  [main] INFO  org.mortbay.http.HttpServer  - Statistics on = false for org.mortbay.jetty.plus.Server@a01335
223  [main] INFO  org.mortbay.http.HttpServer  - Version Jetty/5.1.4
378  [main] INFO  org.mortbay.jetty.servlet.XMLConfiguration  - No WEB-INF/web.xml in /d/REPOS/java/lenya20branch/src/webapp. Serving files and default/dynamic servlets only
380  [main] INFO  org.mortbay.util.Container  - Started org.mortbay.jetty.servlet.WebApplicationHandler@e3b895
382  [main] INFO  org.mortbay.util.Container  - Started WebApplicationContext[/,/]
388  [main] INFO  org.mortbay.http.SocketListener  - Started SocketListener on 0.0.0.0:8888
389  [main] WARN  org.mortbay.jetty.plus.Server  - EXCEPTION 
org.mortbay.util.MultiException[java.io.IOException: Cannot write log directory /d/REPOS/java/lenya20branch/src/webapp/WEB-INF/logs]
	at org.mortbay.http.HttpServer.doStart(HttpServer.java:731)
	at org.mortbay.jetty.plus.Server.doStart(Server.java:153)
	at org.mortbay.util.Container.start(Container.java:72)
	at org.mortbay.jetty.plus.Server.main(Server.java:202)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at Loader.invokeMain(Unknown Source)
	at Loader.run(Unknown Source)
	at Loader.main(Unknown Source)
java.io.IOException: Cannot write log directory /d/REPOS/java/lenya20branch/src/webapp/WEB-INF/logs
	at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:137)
	at org.mortbay.util.RolloverFileOutputStream.<init>(RolloverFileOutputStream.java:94)
	at org.mortbay.http.NCSARequestLog.start(NCSARequestLog.java:307)
	at org.mortbay.http.HttpServer.doStart(HttpServer.java:744)
	at org.mortbay.jetty.plus.Server.doStart(Server.java:153)
	at org.mortbay.util.Container.start(Container.java:72)
	at org.mortbay.jetty.plus.Server.main(Server.java:202)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at Loader.invokeMain(Unknown Source)
	at Loader.run(Unknown Source)
	at Loader.main(Unknown Source)

---------------------------

Cheers!
Daniel

>> Hello Thorsten,
>>
>> shure, I did a build before running lenya :-)
>>     
>
> Hmm, then I do not understand why you see the logs in the src tree.
>   


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


Re: Lenya blank page, Cocoon works properly

Posted by Thorsten Scherler <sc...@gmail.com>.
On Thu, 2010-10-14 at 17:59 +0200, Daniel Brüßler wrote:
> Hello Thorsten,
> 
> shure, I did a build before running lenya :-)

Hmm, then I do not understand why you see the logs in the src tree.

> 
> ----
> 
> 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
> 
> 

This modules can come from the contributions tree of our svn since the
tree was our company lenya where we use the defaultfiredocs pub.

> => 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.

The modules are not the important part (at least shouldn't be). When I
looked at your tail result I saw that you have 
[14/Okt/2010:12:16:50 +0000] "GET / HTTP/1.1" 404 0

Means jetty response with a 404 (file not found). If you look at the
headers in your browser (with firebug you can see them) you should find
a server response with this headers. 

However reading between the lines of your mail seems that you are using
a custom pub and not the default pub, right?

salu2

> 
> 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
> 

-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


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


Re: Lenya blank page, Cocoon works properly

Posted by Daniel Brüßler <ma...@danielbruessler.de>.
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


Re: Lenya blank page, Cocoon works properly

Posted by Thorsten Scherler <sc...@gmail.com>.
On Thu, 2010-10-14 at 14:57 +0200, Daniel Brüßler wrote:
> 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
> 

-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


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


Re: Lenya blank page, Cocoon works properly

Posted by Daniel Brüßler <ma...@danielbruessler.de>.
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/* 


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


Re: Lenya blank page, Cocoon works properly

Posted by Thorsten Scherler <sc...@gmail.com>.
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
> 

-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


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


Re: Lenya blank page, Cocoon works properly

Posted by Daniel Brüßler <ma...@danielbruessler.de>.
Hello,

every URL I try with lenya (using the embedded Jetty) shows just a blank
page.

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


Re: Lenya blank page, Cocoon works properly

Posted by florent andré <fl...@4sengines.com>.
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
> 

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