You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Franck Omrane <fm...@alfadimag.com> on 2005/03/08 16:00:36 UTC
new publication
hi,
if we use the war file of lenya. is it possible to add new publication ?
i suppose that the response is no.
bgrds
franck
Re: new publication
Posted by Franck Omrane <fm...@alfadimag.com>.
I found the problem it was a bad url in one xsl :-\
thanks
Andreas Hartmann wrote:
> Franck Omrane wrote:
>
>> i folowed the procedure below.
>>
>> i can log in the new publication.
>> but when i try to navigate i am sent back to the login page.
>>
>> Do you have an idea ?
>
>
> Could be a cookie problem ...
> Did it work before your new setup?
>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
Re: new publication
Posted by Andreas Hartmann <an...@apache.org>.
Franck Omrane wrote:
> i folowed the procedure below.
>
> i can log in the new publication.
> but when i try to navigate i am sent back to the login page.
>
> Do you have an idea ?
Could be a cookie problem ...
Did it work before your new setup?
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: new publication
Posted by Franck Omrane <fm...@alfadimag.com>.
i folowed the procedure below.
i can log in the new publication.
but when i try to navigate i am sent back to the login page.
Do you have an idea ?
Franck Omrane wrote:
> if you see my precedent mail, you will notice that i had a fight with
> kupu. now it works fine except one point :
> to make the image library work in a reverse proxy config i had to hard
> code the parameter import-stylesheet-url
> in
> jakarta-tomcat-5.0.28/webapps/lenya/lenya/usecases/kupu/usecase-kupu.xmap
> and this is not clean because you cannot define multiple publications
> with multiple domains.
>
> Then, assuming i did a lot of work on this install with the binary
> version of lenya 1.2.2.
> how can i easily create new publications based on my default ?
>
> i know that 1.4 has publication templating but thi is for the future.
>
> do i have to :
>
> 1 backup my publication.
> 2 delete lenya
> 3 install the source.
> 4 folow the procedure for a new publication in the wiki.
>
> thanks for your help
>
>
>
> Gregor J. Rothfuss wrote:
>
>> Franck Omrane wrote:
>>
>>> ok
>>> but when you deploy do you have to restart lenya (tomcat web app) ?
>>>
>>> thanks
>>>
>>
>> yes.
>>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
Re: new publication
Posted by Franck Omrane <fm...@alfadimag.com>.
if you see my precedent mail, you will notice that i had a fight with
kupu. now it works fine except one point :
to make the image library work in a reverse proxy config i had to hard
code the parameter import-stylesheet-url
in
jakarta-tomcat-5.0.28/webapps/lenya/lenya/usecases/kupu/usecase-kupu.xmap
and this is not clean because you cannot define multiple publications
with multiple domains.
Then, assuming i did a lot of work on this install with the binary
version of lenya 1.2.2.
how can i easily create new publications based on my default ?
i know that 1.4 has publication templating but thi is for the future.
do i have to :
1 backup my publication.
2 delete lenya
3 install the source.
4 folow the procedure for a new publication in the wiki.
thanks for your help
Gregor J. Rothfuss wrote:
> Franck Omrane wrote:
>
>> ok
>> but when you deploy do you have to restart lenya (tomcat web app) ?
>>
>> thanks
>>
>
> yes.
>
Re: new publication
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Franck Omrane wrote:
> ok
> but when you deploy do you have to restart lenya (tomcat web app) ?
>
> thanks
>
yes.
--
Gregor J. Rothfuss
COO, Wyona Content Management Solutions http://wyona.com
Apache Lenya http://lenya.apache.org
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: new publication
Posted by Franck Omrane <fm...@alfadimag.com>.
ok
but when you deploy do you have to restart lenya (tomcat web app) ?
thanks
Andreas Hartmann wrote:
> Franck Omrane wrote:
>
>>
>> hi,
>>
>> if we use the war file of lenya. is it possible to add new publication ?
>> i suppose that the response is no.
>
>
> As Michi explained, it is possible, but generally discouraged.
> During the publication deployment, files are patched etc.
> Doing the deployment process by hand requires understanding of
> what's going on. Furthermore, the deployment process might change
> in later versions of Lenya, so you can't be sure that your manual
> deployment will work.
>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
Re: new publication
Posted by Andreas Hartmann <an...@apache.org>.
Franck Omrane wrote:
>
> hi,
>
> if we use the war file of lenya. is it possible to add new publication ?
> i suppose that the response is no.
As Michi explained, it is possible, but generally discouraged.
During the publication deployment, files are patched etc.
Doing the deployment process by hand requires understanding of
what's going on. Furthermore, the deployment process might change
in later versions of Lenya, so you can't be sure that your manual
deployment will work.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: new publication
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Michael Wechner wrote:
> Seriously you can, but if your publication has specific Java classes, then
> you have to copy them to WEB-INF/classes manually.
>
> Also you might have to patch cocoon.xconf if you have special input
> modules.
in a nutshell, unless you know what you are doing, i strongly suggest
you start from source. you can always package the result up as war, of
course.
--
Gregor J. Rothfuss
COO, Wyona Content Management Solutions http://wyona.com
Apache Lenya http://lenya.apache.org
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: new publication
Posted by Michael Wechner <mi...@wyona.com>.
Franck Omrane wrote:
>
> hi,
>
> if we use the war file of lenya. is it possible to add new publication ?
yes, you can
> i suppose that the response is no.
no, no ;-)
Seriously you can, but if your publication has specific Java classes, then
you have to copy them to WEB-INF/classes manually.
Also you might have to patch cocoon.xconf if you have special input modules.
HTH
Michi
>
> bgrds
> franck
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org