You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Hubertus Groepper <hu...@groepper.com> on 2004/02/01 15:55:48 UTC

issues with publishing default pub

I'm using lenya CVS as of today (Feb. 1st) with tomcat 4, cocoon 2.1.2 
on linux.
In this setup, user lenya belongs to all groups to edit, review and 
admin the site.

On a fresh install I submit the home page of the default pub, and after 
that the workflow status changes to review. I then want to publish this 
page (index/index_en.xml) to the default location 
(/lenya/default/live/index.html). After publishing, I get redirected 
back to that page, but its workflow state remains "review" (even after 
reloading). In the workflow menu I could select "reject" and "publish". 
But clicking on the live tab brings up the published page just fine, so 
it got published. According to lenya, the page is not live, but both 
tomcat and my file system tell me it's actually there in 
/pubs/default/content/live.

In authoring view I bring up the Tutorial page, submit it (status 
"review"), publish it (status "review", "not live") and click the live 
tab: I get a lenya 404 page (and the file in question is not created in 
the live dir) . This applies to all pages in the default pub except to 
the home page.

I don't get a single error message (besides the 404 screen) during 
these steps.
On a side note, it would be nice to have consistent screens for 
publishing, rejecting and submitting, i.e. the same info box should be 
displayed.

hubertus


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


Re: issues with publishing default pub

Posted by Hubertus Groepper <hu...@groepper.com>.
Am 04.02.2004 um 22:45 schrieb Gregor J. Rothfuss:

> Hubertus Groepper wrote:
>> I'm using lenya CVS as of today (Feb. 1st) with tomcat 4, cocoon 
>> 2.1.2 on linux.
>> In this setup, user lenya belongs to all groups to edit, review and 
>> admin the site.
>> On a fresh install I submit the home page of the default pub, and 
>> after that the workflow status changes to review. I then want to 
>> publish this page (index/index_en.xml) to the default location 
>> (/lenya/default/live/index.html). After publishing, I get redirected 
>> back to that page, but its workflow state remains "review" (even 
>> after reloading). In the workflow menu I could select "reject" and 
>> "publish". But clicking on the live tab brings up the published page 
>> just fine, so it got published. According to lenya, the page is not 
>> live, but both tomcat and my file system tell me it's actually there 
>> in /pubs/default/content/live.
>> In authoring view I bring up the Tutorial page, submit it (status 
>> "review"), publish it (status "review", "not live") and click the 
>> live tab: I get a lenya 404 page (and the file in question is not 
>> created in the live dir) . This applies to all pages in the default 
>> pub except to the home page.
>> I don't get a single error message (besides the 404 screen) during 
>> these steps.
>
> hm these sound like bugs. can you take a look at the log files for 
> anything suspicious? you may need to increase the log level.
It boils down to one single issue: I can't publish any pages in the 
default pub. Whenever I publish, nothing happens and the status stays 
at review. This is only for the default pub, publishing some blog 
entries or OSCOM projects works fine.
The homepage of the default pub, as described above, is on my file 
system because lenya comes with it pre-exported (why that btw?), so 
this actually was a matter of bad investigation, sorry.

As for logging:
In core.log I only get multiple

WARN    (2004-02-04) 23:52.27:545   [core.manager] 
(/lenya/default/authoring/tutorial.html) 
Thread-16/ExcaliburComponentManager: Attempted to release a 
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector 
but its handler could not be located.

when selecting, submitting and publishing that page. I assume this to 
be not critical since I get it for all publications. Error.log is 
empty. What parameters do I need to tune to get more verbose logging? 
What other logs do I need to look at? I am not familiar with cocoon 
logging, and the Wiki entry is a bit overhelming ...
>
>> On a side note, it would be nice to have consistent screens for 
>> publishing, rejecting and submitting, i.e. the same info box should 
>> be displayed.
>
> i improved the submit and reject screens
thank you!
hubertus


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


Re: issues with publishing default pub

Posted by Hubertus Groepper <hu...@groepper.com>.
Am 08.02.2004 um 17:53 schrieb Andreas Hartmann:

> Hubertus Groepper wrote:
> [...]
>
>> here is my log4j.log with some error messages:
>> http://hubertus.groepper.com/log4j.log
>> Thanks for looking at this!
>> hubertus
>
> The task doesn't find the classes
>
>    org.apache.lenya.defaultpub.cms.task.*
>
> Could you please check if they are in your workspace?
>
>    lenya/pubs/default/java/src/..... *.java
no such directory.
I checked these out manually from  
http://cvs.apache.org/viewcvs.cgi/cocoon-lenya/src/webapp/lenya/pubs/ 
default/java/src/org/apache/lenya/defaultpub/cms/task/
Now it's working. The rest seems to be fine.
Arrgh. CVS. Well, at least I can publish now. Thanks a lot for your  
help!
hubertus


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


Re: issues with publishing default pub

Posted by Andreas Hartmann <an...@apache.org>.
Hubertus Groepper wrote:
[...]

> here is my log4j.log with some error messages:
> http://hubertus.groepper.com/log4j.log
> Thanks for looking at this!
> hubertus

The task doesn't find the classes

    org.apache.lenya.defaultpub.cms.task.*

Could you please check if they are in your workspace?

    lenya/pubs/default/java/src/..... *.java
    tomcat/webapps/lenya/WEB-INF/classes .... *.class

Thanks!

-- Andreas



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


Re: issues with publishing default pub

Posted by Hubertus Groepper <hu...@groepper.com>.
Am 08.02.2004 um 16:58 schrieb Andreas Hartmann:

> Andreas Hartmann wrote:
>
>> Hubertus Groepper wrote:
>>>
>>> Am 08.02.2004 um 14:46 schrieb Andreas Hartmann:
>>>
>>>> Hubertus Groepper wrote:
>>>>
>>>>> Am 04.02.2004 um 22:45 schrieb Gregor J. Rothfuss:
>>>>>
>>>>>> Hubertus Groepper wrote:
>>>>>>
>>>>>>> short: can't publish in default pub
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> hm these sound like bugs. can you take a look at the log files 
>>>>>> for anything suspicious? you may need to increase the log level.
>
> [...]
>
> The log message should be in log4j.log. Can you find anything
> interesting there?
>
> -- Andreas
>
here is my log4j.log with some error messages:
http://hubertus.groepper.com/log4j.log
Thanks for looking at this!
hubertus


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


Re: issues with publishing default pub

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

> Hubertus Groepper wrote:
> 
>>
>> Am 08.02.2004 um 14:46 schrieb Andreas Hartmann:
>>
>>> Hubertus Groepper wrote:
>>>
>>>> Am 04.02.2004 um 22:45 schrieb Gregor J. Rothfuss:
>>>>
>>>>> Hubertus Groepper wrote:
>>>>>
>>>>>> short: can't publish in default pub
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> hm these sound like bugs. can you take a look at the log files for 
>>>>> anything suspicious? you may need to increase the log level.

[...]

The log message should be in log4j.log. Can you find anything
interesting there?

-- Andreas



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


Re: issues with publishing default pub

Posted by Andreas Hartmann <an...@apache.org>.
Hubertus Groepper wrote:

> 
> Am 08.02.2004 um 14:46 schrieb Andreas Hartmann:
> 
>> Hubertus Groepper wrote:
>>
>>> Am 04.02.2004 um 22:45 schrieb Gregor J. Rothfuss:
>>>
>>>> Hubertus Groepper wrote:
>>>>
>>>>> short: can't publish in default pub
>>>>
>>>>
>>>>
>>>> hm these sound like bugs. can you take a look at the log files for 
>>>> anything suspicious? you may need to increase the log level.
>>>
>>> I put some log entries here:
>>> http://hubertus.groepper.com/lenya_error.txt
>>
>>
>> Hmmm, I can't read anything. Encoding problem?
> 
> Maybe, hmm, strange. It's supposed to be ISO-8859-1. I uploaded it 
> again. Could you give it a second try please? sorry for that
> hubertus

Much better now. Thanks!

-- Andreas



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


Re: issues with publishing default pub

Posted by Hubertus Groepper <hu...@groepper.com>.
Am 08.02.2004 um 14:46 schrieb Andreas Hartmann:

> Hubertus Groepper wrote:
>
>> Am 04.02.2004 um 22:45 schrieb Gregor J. Rothfuss:
>>> Hubertus Groepper wrote:
>>>
>>>> short: can't publish in default pub
>>>
>>>
>>> hm these sound like bugs. can you take a look at the log files for 
>>> anything suspicious? you may need to increase the log level.
>> I put some log entries here:
>> http://hubertus.groepper.com/lenya_error.txt
>
> Hmmm, I can't read anything. Encoding problem?
Maybe, hmm, strange. It's supposed to be ISO-8859-1. I uploaded it 
again. Could you give it a second try please? sorry for that
hubertus
>
> -- Andreas
>
>
>
> ---------------------------------------------------------------------
> 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: issues with publishing default pub

Posted by Andreas Hartmann <an...@apache.org>.
Hubertus Groepper wrote:

> 
> Am 04.02.2004 um 22:45 schrieb Gregor J. Rothfuss:
> 
>> Hubertus Groepper wrote:
>>
>>> short: can't publish in default pub
>>
>>
>> hm these sound like bugs. can you take a look at the log files for 
>> anything suspicious? you may need to increase the log level.
> 
> 
> I put some log entries here:
> http://hubertus.groepper.com/lenya_error.txt

Hmmm, I can't read anything. Encoding problem?

-- Andreas



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


Re: issues with publishing default pub

Posted by Hubertus Groepper <hu...@groepper.com>.
Am 04.02.2004 um 22:45 schrieb Gregor J. Rothfuss:

> Hubertus Groepper wrote:
>> short: can't publish in default pub
>
> hm these sound like bugs. can you take a look at the log files for 
> anything suspicious? you may need to increase the log level.

I put some log entries here:
http://hubertus.groepper.com/lenya_error.txt

Looks like a scheduler problem. I'd really appreciate if someone could 
take a look at this.
thanks,
hubertus



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


Re: issues with publishing default pub

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Hubertus Groepper wrote:
> I'm using lenya CVS as of today (Feb. 1st) with tomcat 4, cocoon 2.1.2 
> on linux.
> In this setup, user lenya belongs to all groups to edit, review and 
> admin the site.
> 
> On a fresh install I submit the home page of the default pub, and after 
> that the workflow status changes to review. I then want to publish this 
> page (index/index_en.xml) to the default location 
> (/lenya/default/live/index.html). After publishing, I get redirected 
> back to that page, but its workflow state remains "review" (even after 
> reloading). In the workflow menu I could select "reject" and "publish". 
> But clicking on the live tab brings up the published page just fine, so 
> it got published. According to lenya, the page is not live, but both 
> tomcat and my file system tell me it's actually there in 
> /pubs/default/content/live.
> 
> In authoring view I bring up the Tutorial page, submit it (status 
> "review"), publish it (status "review", "not live") and click the live 
> tab: I get a lenya 404 page (and the file in question is not created in 
> the live dir) . This applies to all pages in the default pub except to 
> the home page.
> 
> I don't get a single error message (besides the 404 screen) during these 
> steps.

hm these sound like bugs. can you take a look at the log files for 
anything suspicious? you may need to increase the log level.

> On a side note, it would be nice to have consistent screens for 
> publishing, rejecting and submitting, i.e. the same info box should be 
> displayed.

i improved the submit and reject screens


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


Re: issues with publishing default pub

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Sun, 2004-02-01 at 15:55, Hubertus Groepper wrote:
> I'm using lenya CVS as of today (Feb. 1st) with tomcat 4, cocoon 2.1.2 
> on linux.
> In this setup, user lenya belongs to all groups to edit, review and 
> admin the site.
> 
> On a fresh install I submit the home page of the default pub, and after 
> that the workflow status changes to review. I then want to publish this 
> page (index/index_en.xml) to the default location 
> (/lenya/default/live/index.html). After publishing, I get redirected 
> back to that page, but its workflow state remains "review" (even after 
> reloading). In the workflow menu I could select "reject" and "publish". 
> But clicking on the live tab brings up the published page just fine, so 
> it got published. According to lenya, the page is not live, but both 
> tomcat and my file system tell me it's actually there in 
> /pubs/default/content/live.

I checked out lenya some minutes ago. I can not reproduce your problem.
Everything is fine.
Sorry.

-- 

Regards,

Rolf Kulemann


God is a polytheist.


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


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