cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco 4.2enterprise:Site Menu Drop down Fails to Load

mduduzi
Confirmed Champ
Confirmed Champ
Hi,

I am getting the below warning and hence the Site menu drop-down fails to load.

WARN  [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Unable to register script classpath:alfresco/site-webscripts/org/alfresco/share/header/sites-menu.get.desc.xml due to error: 00270009 Web Script document org/alfresco/share/header/sites-menu.get.desc.xml is attempting to define the url '/header/sites-menu/(.*?):GET' already defined by header/sites-menu.get.desc.xml

What could be causing this webscript to break? I did not modify it.

Kind regards
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

have you upgraded from any of the previous versions of Alfresco? Do you have customizations of your own or from third parties deployed? Other than having two descriptor files on different logical paths in either webapps/share/WEB-INF/classes/alfresco/site-webscripts or shared/classes/alfresco/web-extension/site-webscripts or in any custom JAR, this warning should not occur.

Regards
Axel

mduduzi
Confirmed Champ
Confirmed Champ
Its a new installation. What I did was add a new site type using jar in the shared directory and it works. I created a new preset by copying collaboration site type preset, giving it a new id and save it *-preset.xml.I will check for the duplication of discriptors.

Thanks!