My best guess would be that you have duplicated command catalogue name 
("default") in some of the modules.
Magnolia will not merge the commands from catalogues with same name (hmm, 
perhaps that is worth of an issue), but will load commands from only one such 
catalogue. My guess here is that on startup, order of loading commands is same 
as order of loading modules, while after renaming they are reloaded in 
different order making Magnolia pickup commands from the catalogue you want.

Try to run something like 
select * from nt:base where jcr:path like '%/commands/default/%'
in JCR Queries to see if you can find duplicated catalogues.

Cheers,
Jan


On May 20, 2010, at 1:46 PM, Matteo Pelucco wrote:

> 
> Hi Magnolians,
> we have a big issue.
> 
> On *every* magnolia (4.3.1) restart, we loose (at least) the activation 
> feature.
> Nothing is going to be activated.
> 
> The exception?
> 
> ERROR info.magnolia.cms.servlets.MVCServletHandlerImpl  : can't call command: 
> activate
> java.lang.NoSuchMethodException: 
> info.magnolia.module.admininterface.AdminTreeMVCHandler.activate()
> 
> (see full stacktrace here: http://pastebin.com/6eT6YfC8).
> 
> We can fix it manually at runtime renaming, for instance, a command to a fake 
> class value and then renaming it back to its original class value. In this 
> way I think we force command reloading..
> 
> E.g.:
> config > adminInterface > commands > default > activate
> 
> - activation does not work
> > class = info.magnolia.module.admininterface.commands.ActivationCommand
> - activation does not work
> > class = ..fake..
> - activation does not work
> > class = info.magnolia.module.admininterface.commands.ActivationCommand
> - ACTIVATION WORKS AGAIN!!
> 
> We found this behaviour also on a 3.6.x version of Magnolia.
> 
> What can it be?
> 
> Can it be related to another issue, sometimes magnolia doesn't "feel" 
> observed folder changes, for example a servletClass into servletFilter.
> 
> Matteo
> 
> 
> NB: this feature has not been revealed on 4.1 (our previous version).
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------

-  
Best regards,

Jan Haderka, PhD.
Magnolia International Ltd.

http://www.magnolia-cms.com
http://twitter.com/magnolia_cms

You should join us on Facebook:
http://facebook.com/Magnolia

--------------------------------------

Magnolia®  - Simple Open-Source Content Management




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to