You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Jose Rey <jr...@linuxsis.net> on 2003/11/25 00:26:30 UTC

Lenya instalation (configuration?) problem

Hi. I tryed to install binary packages of Lenya and cocoon but it failed, then I tryed tu build cocoon an lenya form sources but lenya refuses to show anything but a white page.

I am trying to build install Lenya 1.2 with cocoon 2.1.13 on tomcat (binary release 4.1.29) but I get the following error when I start tomcat 4.1.29:

Nov 24, 2003 7:17:55 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.29
Nov 24, 2003 7:17:57 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Nov 24, 2003 7:17:57 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Nov 24, 2003 7:17:58 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
java.io.FileNotFoundException
java.io.FileNotFoundException
        at org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:344)
        at java.net.URL.openStream(URL.java:913)
        at com.hp.hpl.deli.Workspace.getResource(Workspace.java:474)
        at com.hp.hpl.deli.VocabularyConfig.<init>(VocabularyConfig.java:104)
        at com.hp.hpl.deli.Vocabulary.<init>(Vocabulary.java:37)
        at com.hp.hpl.deli.Workspace$1$CreateWorkspace.<init>(Workspace.java:191)
        at com.hp.hpl.deli.Workspace.configure(Workspace.java:367)
        at org.apache.cocoon.components.deli.DeliImpl.initialize(DeliImpl.java:148)
        at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:310)
        at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:556)
        at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547)
        at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
[SNIP]
        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:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
no protocol: 
com.hp.hpl.jena.rdf.arp.ParseException: {E201} Syntax error when processing <EOF>.
Input to RDF parser ended prematurely. This is often related to an XML parser abort.
Encountered <EOF> Was expecting one of:
    XML ELEMENT CONTENT 
     
    start element rdf:RDF 
    start element rdf:Description 
    general start element tag 
    
        at com.hp.hpl.jena.rdf.arp.RDFParser.generateParseException(RDFParser.java:2208)
        at com.hp.hpl.jena.rdf.arp.RDFParser.jj_consume_token(RDFParser.java:2095)
        at com.hp.hpl.jena.rdf.arp.RDFParser.root(RDFParser.java:1325)
        at com.hp.hpl.jena.rdf.arp.RDFParser.embeddedFile(RDFParser.java:1308)
        at com.hp.hpl.jena.rdf.arp.ARPFilter.parse(ARPFilter.java:293)
        at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:227)
        at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:256)
        at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:173)
[SNIP]
        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:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
com.hp.hpl.jena.shared.JenaException: rethrew: {E201} Syntax error when processing <EOF>.
Input to RDF parser ended prematurely. This is often related to an XML parser abort.
Encountered <EOF> Was expecting one of:
    XML ELEMENT CONTENT 
     
    start element rdf:RDF 
    start element rdf:Description 
    general start element tag 
    
        at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:231)
        at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:256)
        at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:173)


I hope sombody have a clue on this.

Thanks




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


Re: Lenya installation (configuration?) problem

Posted by Tim Cavanagh <ti...@tafe.sa.edu.au>.
I have had this problem too. Lenya did not know where cocoon was and this
produced a white page with no data in it at all.

Maybe the answer to your problem - ru running in Jetty or Tomcat?

Cheers

Tim


> 
> Michael Wechner wrote:
> 
>> What Cocoon version do you use?
>> 
>> Lenya does currently NOT work with Cocoon 2.1.3
>> 
>> 2.1.2 is working:
>> 
> 
> I'm on 2.1.2
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 
> 


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


Re: Lenya installation (configuration?) problem

Posted by Ian Tindale <ia...@clara.co.uk>.
Michael Wechner wrote:

> What Cocoon version do you use?
> 
> Lenya does currently NOT work with Cocoon 2.1.3
> 
> 2.1.2 is working:
> 

I'm on 2.1.2


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


Re: Lenya installation (configuration?) problem

Posted by Michael Wechner <mi...@wyona.com>.
Ian Tindale wrote:
> Gregor J. Rothfuss wrote:
> 
>> Jose Rey wrote:
>>
>>> Hi. I tryed to install binary packages of Lenya and cocoon but it 
>>> failed, then I tryed tu build cocoon an lenya form sources but lenya 
>>> refuses to show anything but a white page.
>>
>>
>>
>> -> endorsed libs
>>
>> http://cocoon.apache.org/lenya/installation/source_version.html
> 
> 
> I'm also getting the same blank page, but I have installed the endorsed 
> libraries - I've used the ones available near the download of the lenya 
> bin itself. I've now got a working tomcat, working cocoon, apparently 
> working (as in not complaining) lenya, but the lenya page is completely 
> blank with not a byte in it. What else should I look at?

What Cocoon version do you use?

Lenya does currently NOT work with Cocoon 2.1.3

2.1.2 is working:

http://sunsite.cnlab-switch.ch/www/mirror/apache/dist/cocoon/SOURCES/

HTH

Michi

> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


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


Re: Lenya installation (configuration?) problem

Posted by Andreas Hartmann <an...@apache.org>.
Ian Tindale wrote:

[...]

> I'm also getting the same blank page, but I have installed the endorsed 
> libraries - I've used the ones available near the download of the lenya 
> bin itself. I've now got a working tomcat, working cocoon, apparently 
> working (as in not complaining) lenya, but the lenya page is completely 
> blank with not a byte in it. What else should I look at?

When you see a blank page, you should look in the
tomcat log file (localhost-???.log).

-- Andreas


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


Re: Lenya installation (configuration?) problem

Posted by Ian Tindale <ia...@clara.co.uk>.
Gregor J. Rothfuss wrote:
> Jose Rey wrote:
> 
>> Hi. I tryed to install binary packages of Lenya and cocoon but it 
>> failed, then I tryed tu build cocoon an lenya form sources but lenya 
>> refuses to show anything but a white page.
> 
> 
> -> endorsed libs
> 
> http://cocoon.apache.org/lenya/installation/source_version.html

I'm also getting the same blank page, but I have installed the endorsed 
libraries - I've used the ones available near the download of the lenya 
bin itself. I've now got a working tomcat, working cocoon, apparently 
working (as in not complaining) lenya, but the lenya page is completely 
blank with not a byte in it. What else should I look at?

-- 
Ian Tindale


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


Re: Lenya instalation (configuration?) problem

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Jose Rey wrote:

> Hi. I tryed to install binary packages of Lenya and cocoon but it 
> failed, then I tryed tu build cocoon an lenya form sources but lenya 
> refuses to show anything but a white page.

-> endorsed libs

http://cocoon.apache.org/lenya/installation/source_version.html

> I am trying to build install Lenya 1.2 with cocoon 2.1.13 on tomcat 
> (binary release 4.1.29) but I get the following error when I start 
> tomcat 4.1.29:

> when processing <EOF>.
> Input to RDF parser ended prematurely. This is often related to an XML 
> parser abort.
> Encountered <EOF> Was expecting one of:
>    XML ELEMENT CONTENT        start element rdf:RDF    start element 
> rdf:Description    general start element tag           at 
> com.hp.hpl.jena.rdf.arp.RDFParser.generateParseException(RDFParser.java:2208) 

jena in cocoon 2.1.2-3 seems to be broken. use cocoon 2.1 for now.


-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

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