cancel
Showing results for 
Search instead for 
Did you mean: 

Under company home, where did the Web Projects space go?

rdehuyss
Champ in-the-making
Champ in-the-making
Hi,

I'm very new to Alfresco and especially interested in the WCM part…

Somewhere in Januar, I checked out everything from svn and build it using ant. I did some testing and allthough I noticed some issues, this was normal since it wasn't even beta.

So, today I did an update of my local svn repository and build everything from scratch again… But now I can't find a link to the WCM part anymore once I log in as admin… (I try to follow the steps in the WCM Beta Eval Guide)

Am I doing something really wrong, or ?

Kind regards,
Ronald
11 REPLIES 11

arielb
Champ in-the-making
Champ in-the-making
there was a change made recently to the installer which makes the wcm component optional.  to enable the wcm component, copy projects/installer/wcm-bootstrap-context.xml into your classpath (e.g tomcat/shared/classes/alfresco/).  restart tomcat and you should see the web projects folder again.

rdehuyss
Champ in-the-making
Champ in-the-making
Hi Arielb,

thanks for your suggestion… however, the fix you told me didn't work.

- I downloaded the Alfresco 2.0 community preview
- I tested it… and the WCM part was available
- I deleted the alfresco folder under alfresco_preview/tomcat/webapps where the alfresco_preview folder is the alfresco community preview I downloaded
- I replaced the alfresco war with the last build from subversion
- I tested it… the WCM part wasn't there
- I copied the wcm-bootstrap-context.xml to both alfresco_preview/tomcat/shared/classes/alfresco
- I tested it… the WCM part wasn't there
- I then copied the wcm-bootstrap-context.xml to
alfresco_preview/tomcat/webapps/alfresco/WEB-INF/classes/alfresco

Do you perhaps have any other suggestions?

Thanks in advance,
Ronald

jenglert
Champ in-the-making
Champ in-the-making
I believe you have to specify the location of that flle in one of the context loading files. I wasn't sure what the best practice is but I did the following:

1) Added the following line to application-context.xml:
<import resource="classpath:alfresco/bootstrap/wcm-bootstrap-context.xml" />

2)Copy the wcm-bootstrap-context.xml file into your classpath under the directories alfresco/bootstrap.

This seems to have worked for me at least.  Some clarification on a best practice would be appreciated.

kvc
Champ in-the-making
Champ in-the-making
Yes, you are correct. 

We recently (roughly 10 days ago) in anticipate of our GA release changed the packaging of Alfresco WCM.  WCM will now be delivered as an module along with Records Management.  The basic Alfresco installer will install Alfresco DM and Collaboration.  Both WCM and RM will be optional installs atop the base platform.

Apologies for the temporary inconvienence for those checking out from our svn repo.


Kevin

steve
Champ in-the-making
Champ in-the-making
Hello jenglert,

You were almost correct, the location you should copy the 'wcm-bootstrap-context.xml' file to is:
alfresco_preview/tomcat/shared/classes/alfresco/extension

Steve

harrymoore
Champ in-the-making
Champ in-the-making
This should be in the WCM 2.0 release notes

steve
Champ in-the-making
Champ in-the-making
Hi,

It is.

Installing WCM Bootstrap
————————

Once unzipped, the wcm-bootstrap-context.xml file needs to be moved to
the Alfresco extension directory:
- for Tomcat, this is usually tomcat/shared/classes/alfresco/extension
- for JBoss, this is usually jboss/server/default/conf/alfresco/extension

Restart the Alfresco server for the bootstrap to take effect.  You will
see information about the success of the bootstrap in the logs.

Steve

mvanbergen
Champ in-the-making
Champ in-the-making
Steve,

Where can I find the wcm-bootstrap-context.xml file?  I have downloaded the 2.0 CE release and did a grep for that filename in the Alfresco home and it was not found.

Thanks,
Matt

arash_kaffamane
Champ in-the-making
Champ in-the-making
it is directly under wcm package and shall be moved to alfresco main installation under:

- for Tomcat, this is usually tomcat/shared/classes/alfresco/extension
- for JBoss, this is usually jboss/server/default/conf/alfresco/extension