cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 2.1 Community vs WSF 1.5 AMP

rbergstrom
Champ in-the-making
Champ in-the-making
Hello:

After using the amp tool to install wcm.site.wsf15.amp, Alfresco fails to start properly.  It throws and exception while trying to deploy the wsf module.  The exception thrown is:

18:00:29,758 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: Failed to start modules
        at org.alfresco.repo.module.ModuleComponentHelper.startModules(ModuleComponentHelper.java:239)
        at org.alfresco.repo.module.ModuleServiceImpl.startModules(ModuleServiceImpl.java:132)
Caused by: org.alfresco.error.AlfrescoRuntimeException: A module component 'wcm.site.wsf15.importWebsite' failed to execute: PROP_ISSOURCE
        at org.alfresco.error.AlfrescoRuntimeException.create(AlfrescoRuntimeException.java:54)
        at org.alfresco.repo.module.AbstractModuleComponent.execute(AbstractModuleComponent.java:348)
        at org.alfresco.repo.module.ModuleComponentHelper.executeComponent(ModuleComponentHelper.java:578)
        at org.alfresco.repo.module.ModuleComponentHelper.startModule(ModuleComponentHelper.java:497)
        at org.alfresco.repo.module.ModuleComponentHelper.access$000(ModuleComponentHelper.java:61)
        at org.alfresco.repo.module.ModuleComponentHelper$1.execute(ModuleComponentHelper.java:221)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:225)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
        at org.alfresco.repo.module.ModuleComponentHelper.startModules(ModuleComponentHelper.java:225)
        … 47 more
Caused by: java.lang.NoSuchFieldError: PROP_ISSOURCE
        at org.alfresco.module.websitetools.util.WCMSiteTool.ensureWebProjectAVM(WCMSiteTool.java:211)
        at org.alfresco.module.websitetools.config.ImportWebsiteComponent.executeInternal(ImportWebsiteComponent.java:147)
        at org.alfresco.repo.module.AbstractModuleComponent.execute(AbstractModuleComponent.java:344)
        … 54 more

My understanding from the wiki was that the framework was part of the AMP.  Did I forget a step? 

TIA,

// RAB
13 REPLIES 13

jlivet
Champ in-the-making
Champ in-the-making
Did you get this issue resolved?  If so, could you share how you resolved it.  I'm experiencing the same thing.  Thanks…

rchapman
Champ in-the-making
Champ in-the-making
I hate to get your hopes up with a reply, but I'm having the exact same error. Hoping for a response.

rchapman
Champ in-the-making
Champ in-the-making
On a 'list' of currently installed amp files, I get the following:

Module 'websitetools' installed in '/usr/local/alfresco/tomcat/webapps/alfresco.war'
   -    Title:        Web Projects Tools
   -    Version:      1.1
   -    Install Date: Tue Apr 01 10:37:26 ADT 2008
   -    Desription:   Web Projects Tools Extension
Module 'wcm.site.wsf15' installed in '/usr/local/alfresco/tomcat/webapps/alfresco.war'
   -    Title:        WSF Basic Site 1.5
   -    Version:      1.5
   -    Install Date: Tue May 13 11:55:12 ADT 2008
   -    Desription:   WSF Basic Site 1.5
Module 'wcm.site.alfresco' installed in '/usr/local/alfresco/tomcat/webapps/alfresco.war'
   -    Title:        Alfresco WCM Sample Website
   -    Version:      1.1
   -    Install Date: Tue May 13 09:58:42 ADT 2008
   -    Desription:   Alfresco WCM Sample Website

and I'm getting the same error as rbergstrom at the top. I'm not able to roll back the amp files, since 'uninstall' is no longer available as an option.

Any help would be appreciated.

rchapman
Champ in-the-making
Champ in-the-making
problem solved. for whatever reason, I hadn't installed wcm from the tarfile yet.

perhaps this is because the wiki has no 'installation order' for most of wcm, wsf, etc…

rbergstrom
Champ in-the-making
Champ in-the-making
problem solved. for whatever reason, I hadn't installed wcm from the tarfile yet.

perhaps this is because the wiki has no 'installation order' for most of wcm, wsf, etc…

That is interesting, as I had already installed the WCM tar.  Would you mind listing your installation steps?

Starting with a clean 2.1 tomcat install…

rchapman
Champ in-the-making
Champ in-the-making
I'd been waiting for the 'Alfresco Dynamic Website' to be released, and in checking the page in the wiki, I found that it required both alfresco 2.9 (which I installed) and 'website tools', which was available at http://forge.alfresco.com/frs/?group_id=106&release_id=248

I then needed to find out how to add amp files to my installation, so I followed the instructions over at the Module Management Tool at http://wiki.alfresco.com/wiki/Module_Management_Tool

Installed the 3 amps I found at the first link, then had my error.

Lastly, I realized I'd skipped the wcm so went back and got the tar from http://sourceforge.net/project/showfiles.php?group_id=143373&package_id=207402&release_id=524562

Now it's running, save for one small little annoyance.

jlivet
Champ in-the-making
Champ in-the-making
Alfresco 2.9?  I installed Alfresco 2.1.0?  Is that the version that you installed?

rchapman
Champ in-the-making
Champ in-the-making
nope. 2.9 beta is available, but I think I'm having more trouble with that now. It installs just fine, but for some reason, the create menu is empty on all pages.

mikeh
Star Contributor
Star Contributor
I assume you mean 2.9B (which isn't really beta - it's the second Labs release, so still quite rough around the edges). I'd suggest trying again with 2.9C_dev from the nightly build server which rolls-up a number of bug fixes and new features (including those from V2.2 Enterprise)

As I understand it, we're planning on a 2.9 Community Final release in June and it looks like ADW may be released around the same timeframe, give or take a few weeks. ADW's been delayed because of some engineering refactoring we've been doing: we're migrating from ExtJS to YUI, plus we've ripped apart the Web Framework it's built upon and rebuilt it in a much more scaleable and performant way.

Thanks,
Mike