cancel
Showing results for 
Search instead for 
Did you mean: 

wcmqs don't run when install community 3.4 edition

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

I am sorry if this is the common question. But I didn't find the same question in this forum.

I have downloaded and installed the latest version at: http://wiki.alfresco.com/wiki/Community_file_list_3.4.d
When I go to the installed link: http://127.0.0.1:8080/wcmqs/
I got this error:
[img]http://www.upnhanh.sieuthinhanh.com/tmpimages/images/sieuthiNHANH2011050912819m2e0ytlhzj16515.jpeg[/img]

when I go to the wcmqs, it seem that it is missing some file as following:
[img]http://www.upnhanh.sieuthinhanh.com/tmpimages/images/sieuthiNHANH2011050912819ymi0zgjmnm27077.jpeg[/img]

Please let me know how to fix it or give me some references.

Thank you very much.
Huy
15 REPLIES 15

n_pancholi87
Champ in-the-making
Champ in-the-making
Hi,

Trying to use wcmqs prebundled with my alfresco 3.4.d.
Accessing http://localhost:8080/wcmqs/ gives an error and I get the following error in the webquickstart.log file.
14:43:35,065 WARN [org.apache.myfaces.shared_impl.util.LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : en_US
14:43:42,743 WARN [org.springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'baseUrl' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.lang.String) throws java.net.URISyntaxException]: [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.net.URI)]
14:43:44,610 ERROR [org.springframework.web.servlet.DispatcherServlet] Context initialization failed
org.springframework.extensions.config.ConfigException: 11210000 Unable to locate evaluator implementation for 'model-type' for org.springframework.extensions.config.ConfigSectionImpl@16e958e (evaluator=model-type condition=pmSmiley Tongueoll replace=false)
at org.springframework.extensions.config.BaseConfigService.processSection(BaseConfigService.java:457)
at org.springframework.extensions.config.BaseConfigService.getConfig(BaseConfigService.java:223)
at org.springframework.extensions.config.BaseConfigService.getConfig(BaseConfigService.java:165)
at org.springframework.extensions.webscripts.connector.ConnectorService.onApplicationEvent(ConnectorService.java:106)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:443)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:459)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:340)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:307)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
14:46:03,422 WARN [net.sf.ehcache.CacheManager] Creating a new instance of CacheManager using the diskStorePath "/usr/local/alfresco-3.4.d/tomcat/temp" which is already used by an existing CacheManager.
The source of the configuration was net.sf.ehcache.config.generator.ConfigurationSource$DefaultConfigurationSource@4d817b.
The diskStore path for this CacheManager will be set to /usr/local/alfresco-3.4.d/tomcat/temp/ehcache_auto_created_1324458963422.
To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.


Has anyone faced the same error?
Settings for hostname also seem fine. Please suggest.

mitpatoliya
Star Collaborator
Star Collaborator
Hi,

First ensure that you have awe.war and wcmqs.war are present under webapp.
Try once by removing temp and work folders and restart the server.

I tried it with 3.4b community version and it is working for me.
I have followed the steps mentioned under.
http://wiki.alfresco.com/wiki/Web_Quick_Start_Installation_and_Configuration

zomurn
Champ in-the-making
Champ in-the-making
Same problem for me on Alfresco CE 4.0b :

A problem has occurred.
This page could not be rendered:
404page
Please notify your system administrator.

zomurn
Champ in-the-making
Champ in-the-making
I solved the problem by setting the IP adress as domain name (edit metadata of the Web Quick Start parent's root folder)

EDIT : sorry this has worked one time only. It is a random bug Smiley Sad

n_pancholi87
Champ in-the-making
Champ in-the-making
Hi,

Thanks for your reply. Have tried the same steps as suggested. Have checked the webapps folder for the wars.
The error is still the same. Not able to access the link using localhost:8080

michaelc
Champ on-the-rise
Champ on-the-rise
Just a minor comment on this, as I think I see a pattern.
to run wcmqs.
1. install it, by default it does not install. Check the webapps folder to see if it is installed.
2. add the portlet for wcmqs and then generate the site.
3. set the location for the wcmqs site. Note if you change the node from wcmqs you need to copy the directory.
4. if you have and issue now then check the alfresco.log and the webquickstart.log