You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Danny Bols <db...@osirion.be> on 2003/10/10 07:18:06 UTC

Cocoon 2.1.2 - CVS Lenya

Hi,

I have been diving into lenya the last few days and saw some really nice
features> Unfortunately it took me a lot of effort to get them
up-and-running. Yesterday I installed the latest lenya CVS with Cocoon 2.1.2
and I ran into a few problems.

My configuration:
-Windows XP
-Java 1.4.1_02
-Ant 1.5.1
-Cocoon 2.1.2
-Tomcat 4.1.24
-Lenya CVS

My questions:

1. I'm getting these scheduler related errors when starting Tomcat. How do I
get rid of them?

10   2003-10-10 06:51:41,143 [main] ERROR
org.apache.lenya.cms.scheduler.Schedul
erWrapper  - Can't initialize SchedulerWrapper:
org.quartz.SchedulerException: ThreadPool class
'org.quartz.simpl.SimpleThreadPo
ol' props could not be configured. [See nested exception:
java.lang.NoSuchMethod
Exception: No setter for property 'logger']

---

201  2003-10-10 06:51:41,334 [main] ERROR
org.apache.lenya.cms.scheduler.Schedul
erWrapper  - ------- Startup failed -------------------
291  2003-10-10 06:51:41,424 [main] WARN
org.apache.lenya.cms.publishing.Publis
hingEnvironment  - Did not load publishing configuration from
publication.xconf
(file is missing). That means you can't access all PublishingEnvironment
paramet
ers and you should only use the AntTask.
371  2003-10-10 06:51:41,504 [main] WARN
org.apache.lenya.cms.publishing.Publis
hingEnvironment  - Did not load publishing configuration from
publication.xconf
(file is missing). That means you can't access all PublishingEnvironment
paramet
ers and you should only use the AntTask.
531  2003-10-10 06:51:41,664 [main] ERROR
org.apache.lenya.cms.scheduler.Schedul
erWrapper  - Restoring jobs failed:
org.quartz.SchedulerException: The jobs.xml file contains a wrong job group:
[de
fault]



2. I'm getting these errors when accessing the Lenya home page in my
browser.

com.hp.hpl.jena.shared.JenaException: rethrew: {E201} Syntax error when
processi
ng <EOF>.
Input to RDF parser ended prematurely. This is often related to an XML
parser ab
ort.
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.deli.JenaProcessProfile.process(JenaProcessProfile.java:85
)

---- the rest of the stack trace -----

188101 2003-10-10 06:54:49,234 [Thread-12] ERROR
org.apache.lenya.xml.Configurat
ion  - No such property: org.apache.lenya.xps.XLinkInterpreter.cacheFolder
188111 2003-10-10 06:54:49,244 [Thread-12] ERROR
org.apache.lenya.net.Configurat
ion  - Could not find resource on classpath:
org/apache/lenya/net/conf.propertie
s
188111 2003-10-10 06:54:49,244 [Thread-12] ERROR
org.apache.lenya.net.Configurat
ion  - Could not find resource on classpath:
org/apache/lenya/net/conf.propertie
s
188111 2003-10-10 06:54:49,244 [Thread-12] ERROR
org.apache.lenya.xml.DOMParserF
actory  - No such file or directory:
/home/michi/src/lenya/src/java/org/apache/l
enya/net/proxyconf.xml
188111 2003-10-10 06:54:49,244 [Thread-12] ERROR
org.apache.lenya.net.ProxyManag
er  -
.readConfig(/home/michi/src/lenya/src/java/org/apache/lenya/net/proxyconf.
xml): java.io.FileNotFoundException:
/home/michi/src/lenya/src/java/org/apache/l
enya/net/proxyconf.xml
200469 2003-10-10 06:55:01,602 [Thread-11] ERROR
org.apache.lenya.xml.Configurat
ion  - No such property: org.apache.lenya.xps.XLinkInterpreter.cacheFolder
200469 2003-10-10 06:55:01,602 [Thread-11] ERROR
org.apache.lenya.net.Configurat
ion  - Could not find resource on classpath:
org/apache/lenya/net/conf.propertie
s
200469 2003-10-10 06:55:01,602 [Thread-11] ERROR
org.apache.lenya.net.Configurat
ion  - Could not find resource on classpath:
org/apache/lenya/net/conf.propertie
s
200489 2003-10-10 06:55:01,622 [Thread-11] ERROR
org.apache.lenya.xml.DOMParserF
actory  - No such file or directory:
/home/michi/src/lenya/src/java/org/apache/l
enya/net/proxyconf.xml
200489 2003-10-10 06:55:01,622 [Thread-11] ERROR
org.apache.lenya.net.ProxyManag
er  -
.readConfig(/home/michi/src/lenya/src/java/org/apache/lenya/net/proxyconf.
xml): java.io.FileNotFoundException:
/home/michi/src/lenya/src/java/org/apache/l
enya/net/proxyconf.xml



3. I was very curious about the Lenay solution for editing pages.
Unfortunately I wasn't able to get the edit function up-and-running from
within my browser.  I am not happy with the fact that the XML-editors are
browser related (BXENG doesn't run in IE, XOPUS does run in IE but isn't
open source anymore). What are your ideas about editing pages? Making your
own Lenya editor or staying with the strategy of using XML-editors for
specific browsers? IMHO this should be one of the core neat features of a
CMS. You can't expect clients to use Notepad or VI do you?



Thanks,

Danny Bols


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


RE: Cocoon 2.1.2 - CVS Lenya

Posted by Danny Bols <db...@osirion.be>.
 From: news [mailto:news@sea.gmane.org]On Behalf Of Andreas Hartmann
> Danny Bols wrote:
> > From: news [mailto:news@sea.gmane.org]On Behalf Of Andreas Hartmann
>
> >>BTW, if you set enable.log4j=true in build.properties, all these
> >>messages go to WEB-INF/logs/log4j.log instead of the Tomcat console.
> >
> > Thanks for the tip but it didn't work out. I did a complete new
> build with
> > log4j=true.....but no log4j.log is created in my logging
> directory. Strange
> > huh?
>
> Did you enter an absolute path for install.dir in build.properties?
>
> If yes, could you check in
>
>      tomcat/webapps/lenya/WEB-INF/classes/log4j.properties
>
> if the line
>
>     log4j.appender.A1.File=...
>
> contains the correct path?

Thanks for the hint Andreas. The real problem was located in the
$LENYA_HOME/src/java/log4j-properties.xsl file where the line you mentioned
is marked as a comment line. I changed it in my local version.

Danny Bols


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


Re: Cocoon 2.1.2 - CVS Lenya

Posted by Andreas Hartmann <an...@apache.org>.
Danny Bols wrote:
> From: news [mailto:news@sea.gmane.org]On Behalf Of Andreas Hartmann

>>BTW, if you set enable.log4j=true in build.properties, all these
>>messages go to WEB-INF/logs/log4j.log instead of the Tomcat console.
> 
> Thanks for the tip but it didn't work out. I did a complete new build with
> log4j=true.....but no log4j.log is created in my logging directory. Strange
> huh?

Did you enter an absolute path for install.dir in build.properties?

If yes, could you check in

     tomcat/webapps/lenya/WEB-INF/classes/log4j.properties

if the line

    log4j.appender.A1.File=...

contains the correct path?

Andreas



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


RE: Cocoon 2.1.2 - CVS Lenya

Posted by Danny Bols <db...@osirion.be>.

> -----Original Message-----
> From: Michael Wechner [mailto:michael.wechner@wyona.com]
> Sent: maandag 3 november 2003 10:43
> To: Lenya Users List
> Subject: Re: Cocoon 2.1.2 - CVS Lenya
> 
> 
> Andreas Hartmann wrote:
> > Danny Bols wrote:
> > 
> > [...]
> > 
> >>> I'm getting the same error in the Tomcat console since using Cocoon
> >>> 2.1.2. No idea what it means or where it gets from. I just sent the
> >>> question to cocoon-users.
> >>>
> >>> Andreeas
> >>
> >>
> >>
> >> Did you find a solution for this yet? According to the mailing list 
> >> answers
> >> we should leave the deli block out. How to do this in the Lenya build?
> > 
> > 
> > I'm not sure if you can do this, I think the Deli block
> > is used by Lenya.
> 
> yes, deli needs to be included
> 
> Michi

Do you know a way to get rid of those error messages?

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


Re: Cocoon 2.1.2 - CVS Lenya

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:
> Danny Bols wrote:
> 
> [...]
> 
>>> I'm getting the same error in the Tomcat console since using Cocoon
>>> 2.1.2. No idea what it means or where it gets from. I just sent the
>>> question to cocoon-users.
>>>
>>> Andreeas
>>
>>
>>
>> Did you find a solution for this yet? According to the mailing list 
>> answers
>> we should leave the deli block out. How to do this in the Lenya build?
> 
> 
> I'm not sure if you can do this, I think the Deli block
> is used by Lenya.

yes, deli needs to be included

Michi



  But you can try (just edit the
> cocoon/local.blocks.properties that ships with Lenya).
> 
> -- Andreas
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 
> 


-- 
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: Cocoon 2.1.2 - CVS Lenya

Posted by Andreas Hartmann <an...@apache.org>.
Danny Bols wrote:

[...]

>>I'm getting the same error in the Tomcat console since using Cocoon
>>2.1.2. No idea what it means or where it gets from. I just sent the
>>question to cocoon-users.
>>
>>Andreeas
> 
> 
> Did you find a solution for this yet? According to the mailing list answers
> we should leave the deli block out. How to do this in the Lenya build?

I'm not sure if you can do this, I think the Deli block
is used by Lenya. But you can try (just edit the
cocoon/local.blocks.properties that ships with Lenya).

-- Andreas



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


RE: Cocoon 2.1.2 - CVS Lenya

Posted by Danny Bols <db...@osirion.be>.
From: news [mailto:news@sea.gmane.org]On Behalf Of Andreas Hartmann
> Danny Bols wrote:
>
> > My configuration:
> > -Windows XP
> > -Java 1.4.1_02
> > -Ant 1.5.1
> > -Cocoon 2.1.2
> > -Tomcat 4.1.24
> > -Lenya CVS
>
> This is perfect.
OK




> > 1. I'm getting these scheduler related errors when starting
> Tomcat. How do I
> > get rid of them?
> >
> > 10   2003-10-10 06:51:41,143 [main] ERROR
> > org.apache.lenya.cms.scheduler.Schedul
> > erWrapper  - Can't initialize SchedulerWrapper:
> > org.quartz.SchedulerException: ThreadPool class
> > 'org.quartz.simpl.SimpleThreadPo
>  > ol' props could not be configured. [See nested exception:
> > java.lang.NoSuchMethod
> > Exception: No setter for property 'logger']
> >
> > ---
> >
> > 201  2003-10-10 06:51:41,334 [main] ERROR
> > org.apache.lenya.cms.scheduler.Schedul
> > erWrapper  - ------- Startup failed -------------------
>
> I'm getting the same error. Is the scheduler working for you?
I don't know if scheduler was or is working. I didn't have the time yet to
look inside that part of lenya yet, but I will do in near future.



> > 291  2003-10-10 06:51:41,424 [main] WARN
> > org.apache.lenya.cms.publishing.Publis
> > hingEnvironment  - Did not load publishing configuration from
> > publication.xconf
> > (file is missing). That means you can't access all PublishingEnvironment
> > paramet
> > ers and you should only use the AntTask.
>
> This is not an error.
OK


> > 531  2003-10-10 06:51:41,664 [main] ERROR
> > org.apache.lenya.cms.scheduler.Schedul
> > erWrapper  - Restoring jobs failed:
> > org.quartz.SchedulerException: The jobs.xml file contains a
> wrong job group:
> > [default]
>
> Strange ... Some lines above there should be a message
>
> --------------------------------------------------
> Restoring jobs for job group ...
> --------------------------------------------------
>
> Could you be so kind to check which job group it tries to restore?
>
I was using a previous version of the default publication which had a
jobs.xml config file. I saw that this file was deleted in the latest version
of the default publication. So I guess this was reason for the error.



> BTW, if you set enable.log4j=true in build.properties, all these
> messages go to WEB-INF/logs/log4j.log instead of the Tomcat console.
Thanks for the tip but it didn't work out. I did a complete new build with
log4j=true.....but no log4j.log is created in my logging directory. Strange
huh?




> > 2. I'm getting these errors when accessing the Lenya home page in my
> > browser.
> >
> > com.hp.hpl.jena.shared.JenaException: rethrew: {E201} Syntax error when
> > processi
> > ng <EOF>.
> > Input to RDF parser ended prematurely. This is often related to an XML
> > parser ab
> > ort.
> > Encountered <EOF> Was expecting one of:
> >     XML ELEMENT CONTENT
> >
> >     start element rdf:RDF
> >     start element rdf:Description
> >     general start element tag
> >
>
> I'm getting the same error in the Tomcat console since using Cocoon
> 2.1.2. No idea what it means or where it gets from. I just sent the
> question to cocoon-users.
>
> Andreeas
I saw your message on the cocoon list :-).


Thanks,

Danny Bols


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


RE: Cocoon 2.1.2 - CVS Lenya

Posted by Danny Bols <db...@osirion.be>.
> > 2. I'm getting these errors when accessing the Lenya home page in my
> > browser.
> >
> > com.hp.hpl.jena.shared.JenaException: rethrew: {E201} Syntax error when
> > processi
> > ng <EOF>.
> > Input to RDF parser ended prematurely. This is often related to an XML
> > parser ab
> > ort.
> > Encountered <EOF> Was expecting one of:
> >     XML ELEMENT CONTENT
> >
> >     start element rdf:RDF
> >     start element rdf:Description
> >     general start element tag
> >
>
> I'm getting the same error in the Tomcat console since using Cocoon
> 2.1.2. No idea what it means or where it gets from. I just sent the
> question to cocoon-users.
>
> Andreeas

Did you find a solution for this yet? According to the mailing list answers
we should leave the deli block out. How to do this in the Lenya build?

---

Danny


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


Re: Cocoon 2.1.2 - CVS Lenya

Posted by Andreas Hartmann <an...@apache.org>.
Danny Bols wrote:

> My configuration:
> -Windows XP
> -Java 1.4.1_02
> -Ant 1.5.1
> -Cocoon 2.1.2
> -Tomcat 4.1.24
> -Lenya CVS

This is perfect.

> 
> My questions:
> 
> 1. I'm getting these scheduler related errors when starting Tomcat. How do I
> get rid of them?
> 
> 10   2003-10-10 06:51:41,143 [main] ERROR
> org.apache.lenya.cms.scheduler.Schedul
> erWrapper  - Can't initialize SchedulerWrapper:
> org.quartz.SchedulerException: ThreadPool class
> 'org.quartz.simpl.SimpleThreadPo
 > ol' props could not be configured. [See nested exception:
> java.lang.NoSuchMethod
> Exception: No setter for property 'logger']
> 
> ---
> 
> 201  2003-10-10 06:51:41,334 [main] ERROR
> org.apache.lenya.cms.scheduler.Schedul
> erWrapper  - ------- Startup failed -------------------

I'm getting the same error. Is the scheduler working for you?

> 291  2003-10-10 06:51:41,424 [main] WARN
> org.apache.lenya.cms.publishing.Publis
> hingEnvironment  - Did not load publishing configuration from
> publication.xconf
> (file is missing). That means you can't access all PublishingEnvironment
> paramet
> ers and you should only use the AntTask.

This is not an error.

> 531  2003-10-10 06:51:41,664 [main] ERROR
> org.apache.lenya.cms.scheduler.Schedul
> erWrapper  - Restoring jobs failed:
> org.quartz.SchedulerException: The jobs.xml file contains a wrong job group:
> [default]

Strange ... Some lines above there should be a message

--------------------------------------------------
Restoring jobs for job group ...
--------------------------------------------------

Could you be so kind to check which job group it tries to restore?

BTW, if you set enable.log4j=true in build.properties, all these
messages go to WEB-INF/logs/log4j.log instead of the Tomcat console.


> 2. I'm getting these errors when accessing the Lenya home page in my
> browser.
> 
> com.hp.hpl.jena.shared.JenaException: rethrew: {E201} Syntax error when
> processi
> ng <EOF>.
> Input to RDF parser ended prematurely. This is often related to an XML
> parser ab
> ort.
> Encountered <EOF> Was expecting one of:
>     XML ELEMENT CONTENT
> 
>     start element rdf:RDF
>     start element rdf:Description
>     general start element tag
> 

I'm getting the same error in the Tomcat console since using Cocoon
2.1.2. No idea what it means or where it gets from. I just sent the
question to cocoon-users.

Andreeas



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