cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent: Trying to install WCM 2.1

umeshcse3
Champ in-the-making
Champ in-the-making
Hi all,

I am trying to install "web content management 2.1" package according to the documentation of installation but it is not working for alfresco community 2.1.
I am not able to understand where to copy the the wcm folder.
What exactly are the steps to install WCM means where to copy exactly the wcm folder?

Please reply ASAP as I need it urgently.

Thanks in advance.
10 REPLIES 10

mikeh
Star Contributor
Star Contributor

umeshcse3
Champ in-the-making
Champ in-the-making
Hi,
Thanks for your prompt reply.

I have already done all steps according to the link you have mentioned above.

But I am not able to understand that where to copy the wcm extracted folder ,as folder hierarchy in my alfresco community version on linux is as follows:
/usr/local/apache-tomcat-5.5.26/webapps/alfresco

I copied extracted wcm folder in it but still it is not working.

Please reply ASAP.
Thanks in Advance.

mikeh
Star Contributor
Star Contributor
/usr/local should be correct.

Thanks,
Mike

umeshcse3
Champ in-the-making
Champ in-the-making
Hi,
Thanks again for your prompt reply.
But still I am not able to install wcm on Alfresco.

Following are steps I have done for installing WCM.

1) I have downloaded 'alfresco-community-wcm.2.1.0.tar.gz' and extracted it.
Now the extracted folder 'alfresco-community-wcm.2.1.0' contains following files :
i) extras
ii) virtual-tomcat
iii) virtual_alf.sh
iv) wcm-bootstrap-context.xml and readme_wcm.txt

2) I have copied file 'wcm-bootstrap-context.xml' to folder ''usr/local/apache-tomcat-5.5.26/shared/classes/alfresco/extension' and also tried by copying it in
'/usr/local/apache-tomcat-5.5.26/webapps/alfresco/WEB-INF/classes/alfresco'

3) I have copied 'extras' and 'virtual-tomcat' folder to '/usr/local'.
Then I restarted Alfresco.
But still its WCM is not installed.

Please let me know if any other settings are required.

Please reply ASAP.
Thanks in Advance.

mikeh
Star Contributor
Star Contributor
Could you post the startup log please?

Thanks,
Mike

umeshcse3
Champ in-the-making
Champ in-the-making
Hi,
Thanks again for your prompt reply.

Below are the startup log file contents :

alfresco.log

22:45:22,277 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    convert /usr/local/apache-tomcat-5.5.26/temp/Alfresco/ImageMagickContentTransformer_init_source_49955.gif  /usr/local/apache-tomcat-5.5.26/temp/Alfresco/ImageMagickContentTransformer_init_target_49956.png
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "convert": java.io.IOException: error=2, No such file or directory
22:45:25,198 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
22:45:26,374 WARN  [org.alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
22:45:28,714 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
22:45:29,387 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
22:45:30,860 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /usr/local/apache-tomcat-5.5.26/alf_data
22:45:30,947 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
22:45:31,164 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 2 module(s).
22:45:31,746 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.RecordsManagement' version 1.3.
22:45:31,887 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.blogIntegration' version 1.0.
22:45:32,056 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
22:45:32,058 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
22:45:32,140 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_10-b33; maximum heap size 508.063MB
22:45:32,140 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (482) schema 64 - Installed version 2.1.0 (482) schema 64



Tomcat logs :

catalina.out


Feb 25, 2009 10:45:03 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_10/jre/lib/i386/client:/usr/java/jdk1.6.0_10/jre/lib/i386:/usr/java/jdk1.6.0_10/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Feb 25, 2009 10:45:03 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 25, 2009 10:45:04 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Feb 25, 2009 10:45:04 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1515 ms
Feb 25, 2009 10:45:04 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 25, 2009 10:45:04 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
Feb 25, 2009 10:45:04 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Feb 25, 2009 10:45:04 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive cas.war
2009-02-25 22:45:07,689 INFO [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas]] - <Initializing Log4J from [classpath:log4j.properties]>
2009-02-25 22:45:07,744 INFO [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas]] - <Initializing Spring root WebApplicationContext>
2009-02-25 22:45:07,744 INFO [org.springframework.web.context.ContextLoader] - <Root WebApplicationContext: initialization started>
2009-02-25 22:45:07,790 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Refreshing org.springframework.web.context.support.XmlWebApplicationContext@100bac2: display name [Root WebApplicationContext]; startup date [Wed Feb 25 22:45:07 IST 2009]; root of context hierarchy>
2009-02-25 22:45:07,883 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-configuration/ticketRegistry.xml]>
2009-02-25 22:45:08,048 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-configuration/ticketGrantingTicketCookieGenerator.xml]>
2009-02-25 22:45:08,133 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-configuration/propertyFileConfigurer.xml]>
2009-02-25 22:45:08,199 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-configuration/uniqueIdGenerators.xml]>
2009-02-25 22:45:08,278 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-configuration/warnCookieGenerator.xml]>
2009-02-25 22:45:08,320 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-configuration/ticketExpirationPolicies.xml]>
2009-02-25 22:45:08,351 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-configuration/applicationContext.xml]>
2009-02-25 22:45:08,380 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-configuration/securityContext.xml]>
2009-02-25 22:45:08,420 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-configuration/argumentExtractorsConfiguration.xml]>
2009-02-25 22:45:08,451 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/deployerConfigContext.xml]>
2009-02-25 22:45:08,501 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@100bac2]: org.springframework.beans.factory.support.DefaultListableBeanFactory@f07355>
2009-02-25 22:45:08,706 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - <Loading properties file from ServletContext resource [/WEB-INF/cas.properties]>
2009-02-25 22:45:08,798 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@f07355: defining beans [ticketRegistry,ticketRegistryCleaner,jobDetailTicketRegistryCleaner,triggerJobDetailTicketRegistryCleaner,scheduler,ticketGrantingTicketCookieGenerator,propertyPlaceholderConfigurer,ticketGrantingTicketUniqueIdGenerator,serviceTicketUniqueIdGenerator,proxy20TicketUniqueIdGenerator,samlServiceTicketUniqueIdGenerator,uniqueIdGeneratorsMap,warnCookieGenerator,serviceTicketExpirationPolicy,grantingTicketExpirationPolicy,messageSource,servicesManager,httpClient,persistentIdGenerator,centralAuthenticationService,proxy10Handler,proxy20Handler,advisorAutoProxyCreator,validationAnnotationBeanPostProcessor,serviceProperties,casProcessingFilter,exceptionTranslationFilter,casProcessingFilterEntryPoint,casAuthenticationManager,casAuthenticationProvider,casProxyTicketValidator,statelessTicketCache,casAuthoritiesPopulator,casProxyDecider,accessDecisionManager,filterInvocationInterceptor,filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,casArgumentExtractor,samlArgumentExtractor,argumentExtractors,contextSource,authenticationManager,userDetailsService,attributeRepository,serviceRegistryDao]; root of factory hierarchy>
2009-02-25 22:45:09,048 INFO [org.quartz.simpl.SimpleThreadPool] - <Job execution threads will use class loader of thread: main>
2009-02-25 22:45:09,071 INFO [org.quartz.core.QuartzScheduler] - <Quartz Scheduler v.1.5.2 created.>
2009-02-25 22:45:09,076 INFO [org.quartz.simpl.RAMJobStore] - <RAMJobStore initialized.>
2009-02-25 22:45:09,077 INFO [org.quartz.impl.StdSchedulerFactory] - <Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'>
2009-02-25 22:45:09,077 INFO [org.quartz.impl.StdSchedulerFactory] - <Quartz scheduler version: 1.5.2>
2009-02-25 22:45:09,080 INFO [org.quartz.core.QuartzScheduler] - <JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@3a6e5c>
2009-02-25 22:45:09,081 INFO [org.springframework.scheduling.quartz.SchedulerFactoryBean] - <Starting Quartz Scheduler now>
2009-02-25 22:45:09,082 INFO [org.quartz.core.QuartzScheduler] - <Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.>
2009-02-25 22:45:09,253 INFO [org.springframework.ldap.core.support.AbstractContextSource] - <Property 'userDn' not set - anonymous context will be used for read-write operations>
2009-02-25 22:45:09,443 INFO [org.acegisecurity.intercept.AbstractSecurityInterceptor] - <Validated configuration attributes>
2009-02-25 22:45:09,497 INFO [org.springframework.web.context.ContextLoader] - <Root WebApplicationContext: initialization completed in 1753 ms>
2009-02-25 22:45:09,543 INFO [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas]] - <Initializing Spring FrameworkServlet 'cas'>
2009-02-25 22:45:09,544 INFO [org.springframework.web.servlet.DispatcherServlet] - <FrameworkServlet 'cas': initialization started>
2009-02-25 22:45:09,545 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Refreshing org.springframework.web.context.support.XmlWebApplicationContext@2431b9: display name [WebApplicationContext for namespace 'cas-servlet']; startup date [Wed Feb 25 22:45:09 IST 2009]; parent: org.springframework.web.context.support.XmlWebApplicationContext@100bac2>
2009-02-25 22:45:09,546 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/cas-servlet.xml]>
2009-02-25 22:45:09,612 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@2431b9]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1d7b222>
2009-02-25 22:45:09,662 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - <Loading properties file from ServletContext resource [/WEB-INF/cas.properties]>
2009-02-25 22:45:09,673 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d7b222: defining beans [casPropertyPlaceholderConfigurer2,themeResolver,viewResolver,localeResolver,localeChangeInterceptor,urlBasedViewResolver,errorHandlerResolver,handlerMappingB,handlerMappingC,openIdProviderController,serviceLogoutViewController,loginController,flowExecutor,flowRegistry,proxyValidateController,serviceValidateController,samlValidateController,legacyValidateController,proxyController,logoutController,initialFlowSetupAction,authenticationViaFormAction,generateServiceTicketAction,sendTicketGrantingTicketAction,dynamicRedirectViewSelector,addRegisteredServiceSimpleFormController,editRegisteredServiceSimpleFormController,registeredServiceValidator,manageRegisteredServicesMultiActionController]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@f07355>
2009-02-25 22:45:09,963 DEBUG [org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController] - <Found action method [public org.springframework.web.servlet.ModelAndView org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController.deleteRegisteredService(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)]>
2009-02-25 22:45:09,964 DEBUG [org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController] - <Found action method [public org.springframework.web.servlet.ModelAndView org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController.manage(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)]>
2009-02-25 22:45:10,114 INFO [org.jasig.cas.web.flow.AuthenticationViaFormAction] - <FormObjectClass not set.  Using default class of org.jasig.cas.authentication.principal.UsernamePasswordCredentials with formObjectName credentials and validator org.jasig.cas.validation.UsernamePasswordCredentialsValidator.>
2009-02-25 22:45:10,148 INFO [org.springframework.web.servlet.DispatcherServlet] - <FrameworkServlet 'cas': initialization completed in 604 ms>
Feb 25, 2009 10:45:10 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
22:45:22,277 ERROR [transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    convert /usr/local/apache-tomcat-5.5.26/temp/Alfresco/ImageMagickContentTransformer_init_source_49955.gif  /usr/local/apache-tomcat-5.5.26/temp/Alfresco/ImageMagickContentTransformer_init_target_49956.png
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "convert": java.io.IOException: error=2, No such file or directory
22:45:25,198 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
22:45:26,374 WARN  [alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
22:45:28,714 INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
2009-02-25 22:45:28,941 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Starting cleaning of expired tickets from ticket registry at [Wed Feb 25 22:45:28 IST 2009]>
2009-02-25 22:45:28,942 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <0 found to be removed.  Removing now.>
2009-02-25 22:45:28,942 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Finished cleaning of expired tickets from ticket registry at [Wed Feb 25 22:45:28 IST 2009]>
22:45:29,387 INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
22:45:30,860 INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /usr/local/apache-tomcat-5.5.26/alf_data
22:45:30,947 INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
22:45:31,164 INFO  [repo.module.ModuleServiceImpl] Found 2 module(s).
22:45:31,746 INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.RecordsManagement' version 1.3.
22:45:31,887 INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.blogIntegration' version 1.0.
22:45:32,056 ERROR [alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
22:45:32,058 ERROR [alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
22:45:32,140 INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_10-b33; maximum heap size 508.063MB
22:45:32,140 INFO  [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (482) schema 64 - Installed version 2.1.0 (482) schema 64
Feb 25, 2009 10:45:35 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 25, 2009 10:45:35 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Feb 25, 2009 10:45:35 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 25, 2009 10:45:35 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/23  config=null
Feb 25, 2009 10:45:35 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Feb 25, 2009 10:45:35 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 31734 ms

By the way I have installed alfresco in following folder :
'/usr/local/apache-tomcat-5.5.26/webapps/alfresco'


Please reply ASAP.
Thanks in Advance.

mikeh
Star Contributor
Star Contributor
And you definitely don't have a "Web Projects" space under Company Home?

Mike

umeshcse3
Champ in-the-making
Champ in-the-making
Hi,

Thanks again for your prompt reply and continued support.

Yes,
I have no 'web projects' space in company home.
As you can see neither in logs  it shows any "The Web Forms folder was successfully created: and The Web Projects folder was successfully created:" message.
which means WCM is not installed.

I have also installed 'blogIntegration' and 'Recordsmanamgement' modules using MMT utility and they were easily installed.
But WCM is not installing.

I think installing WCM should be an easy process but somehow I am not able to do so.
The problem I think is that I am not copying the extracted WCM files in proper folder locations and thats why I am asking you for the same.

It is very important for me , so If you can spend some more time on my problem that would be a great help for me.

Thanks in advance.

mrogers
Star Contributor
Star Contributor
The wcm-bootstrap-context.xml file goes into your <TOMCAT_HOME>/shared/alfresco/extensions folder.  

From this discussion it looks like the file is in the right place.