You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Thorsten Scherler <th...@apache.org> on 2005/08/26 15:46:17 UTC

[Headsup] zones deploy went wrong

Hi all,

there are some problems with the deploy.

1.2.x cannot find 
/export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/samples/blocks/jcr/repository.xml (No such file or directory)

1.4.x is suffering from endorsed lib problems.

I have to go now, but will try to fix that later on. If somebody is
quicker please go ahead and fix it.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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


Re: [Headsup] zones deploy went wrong

Posted by Thorsten Scherler <th...@apache.org>.
On Fri, 2005-08-26 at 14:51 -0400, Doug Chestnut wrote:
> possibly the version of cocoon?  I haven't tried lenya 1.2 with cocoon 
> 2.1.7 and above (from svn).
> 

I fixed it by doing a "ln -s" to the cocoon src in the lenya build. ;-)
I tried on my local machine and 1.2.x is working with 2.1.x.

Anyway we have to apply the felix patch as well for 1.2. better we need
another one. ;-)

I did a quick fix tweaking ./lenya.sh script:
-ENDORSED_LIBS="$LENYA_LIB/endorsed"
+ENDORSED_LIBS="$LENYA_LIB/endorsed:$COCOON_HOME/lib/endorsed"

See the demos again online:
1.2
http://lenya.zones.apache.org:8888/index.html
1.4
http://lenya.zones.apache.org:9999/index.html

Have fun and thx for all the feedback.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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


Re: [Headsup] zones deploy went wrong

Posted by Doug Chestnut <dh...@virginia.edu>.
possibly the version of cocoon?  I haven't tried lenya 1.2 with cocoon 
2.1.7 and above (from svn).

--Doug

Thorsten Scherler wrote:
> On Fri, 2005-08-26 at 18:25 +0200, Thorsten Scherler wrote:
> 
> 
>>>>>1.2.x cannot find 
>>>>>/export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/samples/blocks/jcr/repository.xml 
>>>>>(No such file or directory)
>>>>> 
>>>>>
>>>>
>>>>Is 1.2.x using the same Cocoon as 1.4-dev on zones?
>>>>
>>
>>Yes, since the beginning.
>>
>>
>>>>I think this won't work, because the local.blocks and local.builds are
>>>>different for 1.2.x and 1.4-dev
>>>>
>>
>>No, actually it does, but maybe recent changes to 1.2 and 1.4 made them
>>incompatible.
>>
>>
>>>>To be on the safe side, each Lenya should have it's own Cocoon.
>>>>
>>
>>Hmm, yes we could do that, but I would prefer to keep the current
>>architecture. Anyway, I will try to find the bug and if I cannot find it
>>then I will go for 2 cocoon instance (crossing fingers that this
>>actually solves the problem). 
> 
> 
> I actually setup another cocoon instance (cocoon-2.1.x_1.2) but still I
> see this error. 
> 
> Any ideas?
> 
> salu2

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


Re: [Headsup] zones deploy went wrong

Posted by Thorsten Scherler <th...@apache.org>.
On Fri, 2005-08-26 at 18:25 +0200, Thorsten Scherler wrote:

> > >> 1.2.x cannot find 
> > >> /export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/samples/blocks/jcr/repository.xml 
> > >> (No such file or directory)
> > >>  
> > >>
> > > 
> > > Is 1.2.x using the same Cocoon as 1.4-dev on zones?
> > > 
> 
> Yes, since the beginning.
> 
> > > I think this won't work, because the local.blocks and local.builds are
> > > different for 1.2.x and 1.4-dev
> > > 
> 
> No, actually it does, but maybe recent changes to 1.2 and 1.4 made them
> incompatible.
> 
> > > To be on the safe side, each Lenya should have it's own Cocoon.
> > > 
> 
> Hmm, yes we could do that, but I would prefer to keep the current
> architecture. Anyway, I will try to find the bug and if I cannot find it
> then I will go for 2 cocoon instance (crossing fingers that this
> actually solves the problem). 

I actually setup another cocoon instance (cocoon-2.1.x_1.2) but still I
see this error. 

Any ideas?

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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


Re: [Headsup] zones deploy went wrong

Posted by Michael Wechner <mi...@wyona.com>.
Thorsten Scherler wrote:

>
>BTW IMO 1.2.x has to be based on 2.1.x not on a fixed version.
>  
>

no, I don't think so, because Lenya 1.2.X has a different release
plan than Cocoon 2.1.X

But I think we should discuss that within another thread

Michi

>salu2
>  
>
>>Michi
>>
>>    
>>


-- 
Michael Wechner
Wyona      -   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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: [Headsup] zones deploy went wrong

Posted by Thorsten Scherler <th...@apache.org>.
On Fri, 2005-08-26 at 21:55 +0200, Michael Wechner wrote:
> Thorsten Scherler wrote:
> 
> >>>>
> >>>>        
> >>>>
> >>>Is 1.2.x using the same Cocoon as 1.4-dev on zones?
> >>>
> >>>      
> >>>
> >
> >Yes, since the beginning.
> >  
> >
> 
> Lenya 1.2.x and Lenya 1.4-dev can both use Cocoon 2.1.X, but they
> should be built on the same instance, because Lenya 1.2.x has different
> src/cocoon/local.* than Lenya 1.4-dev
> 
> There might always be a problem because of that.
> 
> I would suggest that we separate the two instances, meaning something like
> 
> src/1.2.x/lenya-1.2.x
> src/1.2.x/cocoon-2.1.7
> 
> src/1.4.x/lenya-1.4.x
> src/1.4.x/cocoon-2.1.X
> 
> this will make sure that we won't have to hunt "ghosts" in the future.
> 

drwxr-xr-x   9 lenya    lenya       1024 Aug 26 13:11 cocoon-2.1.x
drwxr-xr-x   9 lenya    lenya       1024 Aug 26 17:40 cocoon-2.1.x_1.2
drwxr-xr-x   8 lenya    lenya        512 Aug 26 19:10 lenya-1.2.x
drwxr-xr-x   8 lenya    lenya       1024 Aug 26 19:06 lenya-trunk

That is the structure we have right now. I think that it is just fine
but I agree that we should rename lenya-trunk to lenya-1.4.x.

BTW IMO 1.2.x has to be based on 2.1.x not on a fixed version.

salu2
> Michi
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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


Re: [Headsup] zones deploy went wrong

Posted by Michael Wechner <mi...@wyona.com>.
Thorsten Scherler wrote:

>>>>
>>>>        
>>>>
>>>Is 1.2.x using the same Cocoon as 1.4-dev on zones?
>>>
>>>      
>>>
>
>Yes, since the beginning.
>  
>

Lenya 1.2.x and Lenya 1.4-dev can both use Cocoon 2.1.X, but they
should be built on the same instance, because Lenya 1.2.x has different
src/cocoon/local.* than Lenya 1.4-dev

There might always be a problem because of that.

I would suggest that we separate the two instances, meaning something like

src/1.2.x/lenya-1.2.x
src/1.2.x/cocoon-2.1.7

src/1.4.x/lenya-1.4.x
src/1.4.x/cocoon-2.1.X

this will make sure that we won't have to hunt "ghosts" in the future.

Michi

-- 
Michael Wechner
Wyona      -   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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: [Headsup] zones deploy went wrong

Posted by Thorsten Scherler <th...@apache.org>.
I will answer this mail (two in one). ;-)

On Fri, 2005-08-26 at 10:23 -0400, Doug Chestnut wrote:
> If the same cocoon is used, 1.4 needs to be started before 1.2 (hsqldb 
> port conflict), another reason to use different cocoon builds ;).
> 

Yes, we deploy and start first 1.4 and then 1.2. No problems here IMO.

> --Doug
> 
> Michael Wechner wrote:
> > Thorsten Scherler wrote:
> > 
> >> Hi all,
> >>
> >> there are some problems with the deploy.
> >>
> >> 1.2.x cannot find 
> >> /export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/samples/blocks/jcr/repository.xml 
> >> (No such file or directory)
> >>  
> >>
> > 
> > Is 1.2.x using the same Cocoon as 1.4-dev on zones?
> > 

Yes, since the beginning.

> > I think this won't work, because the local.blocks and local.builds are
> > different for 1.2.x and 1.4-dev
> > 

No, actually it does, but maybe recent changes to 1.2 and 1.4 made them
incompatible.

> > To be on the safe side, each Lenya should have it's own Cocoon.
> > 

Hmm, yes we could do that, but I would prefer to keep the current
architecture. Anyway, I will try to find the bug and if I cannot find it
then I will go for 2 cocoon instance (crossing fingers that this
actually solves the problem). 

salu2
thorsten

> > HTH
> > 
> > Michi
> > 
> >> 1.4.x is suffering from endorsed lib problems.
> >>
> >> I have to go now, but will try to fix that later on. If somebody is
> >> quicker please go ahead and fix it.
> >>
> >> salu2
> >>  
> >>
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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


Re: [Headsup] zones deploy went wrong

Posted by Doug Chestnut <dh...@virginia.edu>.
If the same cocoon is used, 1.4 needs to be started before 1.2 (hsqldb 
port conflict), another reason to use different cocoon builds ;).

--Doug

Michael Wechner wrote:
> Thorsten Scherler wrote:
> 
>> Hi all,
>>
>> there are some problems with the deploy.
>>
>> 1.2.x cannot find 
>> /export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/samples/blocks/jcr/repository.xml 
>> (No such file or directory)
>>  
>>
> 
> Is 1.2.x using the same Cocoon as 1.4-dev on zones?
> 
> I think this won't work, because the local.blocks and local.builds are
> different for 1.2.x and 1.4-dev
> 
> To be on the safe side, each Lenya should have it's own Cocoon.
> 
> HTH
> 
> Michi
> 
>> 1.4.x is suffering from endorsed lib problems.
>>
>> I have to go now, but will try to fix that later on. If somebody is
>> quicker please go ahead and fix it.
>>
>> salu2
>>  
>>
> 
> 

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


Re: [Headsup] zones deploy went wrong

Posted by Michael Wechner <mi...@wyona.com>.
Thorsten Scherler wrote:

>Hi all,
>
>there are some problems with the deploy.
>
>1.2.x cannot find 
>/export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/samples/blocks/jcr/repository.xml (No such file or directory)
>  
>

Is 1.2.x using the same Cocoon as 1.4-dev on zones?

I think this won't work, because the local.blocks and local.builds are
different for 1.2.x and 1.4-dev

To be on the safe side, each Lenya should have it's own Cocoon.

HTH

Michi

>1.4.x is suffering from endorsed lib problems.
>
>I have to go now, but will try to fix that later on. If somebody is
>quicker please go ahead and fix it.
>
>salu2
>  
>


-- 
Michael Wechner
Wyona      -   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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: [Headsup] zones deploy went wrong

Posted by Thorsten Scherler <th...@apache.org>.
On Fri, 2005-08-26 at 18:05 +0200, Felix Röthenbacher wrote:
> 
> Felix Röthenbacher wrote:
> > Thorsten Scherler wrote:
> > 
> >> Hi all,
> >>
> >> there are some problems with the deploy.
> >>
> >> 1.2.x cannot find 
> >> /export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/samples/blocks/jcr/repository.xml 
> >> (No such file or directory)
> >>
> >> 1.4.x is suffering from endorsed lib problems.
> > 
> > 
> > I'm currently working on a fix for the endorsed lib problem.
> > Stay tuned ... :-)
> > 
> 
> Fixed with
> 
>    http://issues.apache.org/bugzilla/show_bug.cgi?id=36382
> 
> Thanks Andreas for applying the patches.
> 
> - Felix

Nice patch, thx Felix.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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


Re: [Headsup] zones deploy went wrong

Posted by Felix Röthenbacher <fe...@wyona.com>.

Felix Röthenbacher wrote:
> Thorsten Scherler wrote:
> 
>> Hi all,
>>
>> there are some problems with the deploy.
>>
>> 1.2.x cannot find 
>> /export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/samples/blocks/jcr/repository.xml 
>> (No such file or directory)
>>
>> 1.4.x is suffering from endorsed lib problems.
> 
> 
> I'm currently working on a fix for the endorsed lib problem.
> Stay tuned ... :-)
> 

Fixed with

   http://issues.apache.org/bugzilla/show_bug.cgi?id=36382

Thanks Andreas for applying the patches.

- Felix

> - Felix
> 
> 
>>
>> I have to go now, but will try to fix that later on. If somebody is
>> quicker please go ahead and fix it.
>>
>> salu2
> 
> 
> 

-- 
Felix Röthenbacher                  felix.roethenbacher@wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org

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


Re: [Headsup] zones deploy went wrong

Posted by Thorsten Scherler <th...@apache.org>.
On Fri, 2005-08-26 at 15:53 +0200, Felix Röthenbacher wrote:
> Thorsten Scherler wrote:
> > Hi all,
> > 
> > there are some problems with the deploy.
> > 
> > 1.2.x cannot find 
> > /export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/samples/blocks/jcr/repository.xml (No such file or directory)
> > 
> > 1.4.x is suffering from endorsed lib problems.
> 
> I'm currently working on a fix for the endorsed lib problem.
> Stay tuned ... :-)

I did a hack for that and it is working fine. The hack is in lenya.sh
where I added the endorsed lib of cocoon.

Anyway good to hear you are working on a solution for that because not
only zones is suffering from that but as well 1.4.x in general.

Thanks Felix for your efforts. :)

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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


Re: [Headsup] zones deploy went wrong

Posted by Felix Röthenbacher <fe...@wyona.com>.
Thorsten Scherler wrote:
> Hi all,
> 
> there are some problems with the deploy.
> 
> 1.2.x cannot find 
> /export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/samples/blocks/jcr/repository.xml (No such file or directory)
> 
> 1.4.x is suffering from endorsed lib problems.

I'm currently working on a fix for the endorsed lib problem.
Stay tuned ... :-)

- Felix


> 
> I have to go now, but will try to fix that later on. If somebody is
> quicker please go ahead and fix it.
> 
> salu2


-- 
Felix Röthenbacher                  felix.roethenbacher@wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org

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