cancel
Showing results for 
Search instead for 
Did you mean: 

first post and i nce bg error.

jimbo762
Champ in-the-making
Champ in-the-making
Hi all,
Let me start with system and software setup.
RedHat EL4, liferay w/ alfresco.
Problem is after getting liferay up, getting slfresco up, and trying to get wcm going, i am getting this error that i am having a heck of a time with.  Here is the output, any thoughts?

16:08:26,490 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'patch.wcmFolders' defined in file [/usr/local/webapps/alfresco/WEB-INF/classes/alfresco/extension/wcm-bootstrap-context.xml]: Bean class [org.alfresco.repo.admin.patch.impl.WCMFoldersPatch] not found; nested exception is java.lang.ClassNotFoundException: org.alfresco.repo.admin.patch.impl.WCMFoldersPatch
java.lang.ClassNotFoundException: org.alfresco.repo.admin.patch.impl.WCMFoldersPatch
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:108)
        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:426)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:392)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:307)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:325)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:298)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        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:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Mar 22, 2007 4:08:26 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 22, 2007 4:08:26 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Mar 22, 2007 4:08:27 PM org.apache.catalina.realm.JAASRealm setUseContextClassLoader
INFO: Setting useContextClassLoader = false
16:08:27,861 INFO  [[/tunnel-web]:646] Loading Spring root WebApplicationContext
16:08:31,086 INFO  [[/tunnel-web]:646] Loading WebApplicationContext for Spring FrameworkServlet 'SpringServlet'
Loading jar:file:/usr/local/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/cms-redirects.properties
Mar 22, 2007 4:08:33 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 22, 2007 4:08:33 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 22, 2007 4:08:33 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/164  config=null
Mar 22, 2007 4:08:33 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 22, 2007 4:08:33 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 43430 ms
Loading jar:file:/usr/local/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/portal.properties for liferay.com
Loading file:/usr/local/webapps/ROOT/WEB-INF/classes/portal-ext.properties for liferay.com
16:08:41,286 WARN  [VirtualHostFilter:135] com.liferay.portal.NoSuchLayoutSetException: No LayoutSet exists with the key {companyId=liferay.com, virtualHost=intranet.macsales.com}
Loading jar:file:/usr/local/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/cache-single-vm.properties
9 REPLIES 9

hubithehawk
Champ in-the-making
Champ in-the-making
I have exactly the same problem …  Smiley Sad

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

What version of Alfresco are you trying to deploy into Liferay?
Also, do you get a successful deployment if you don't try to deploy WCM?

They might be out of date, but have you seen the notes on the wiki for deploying Alfresco 1.3 into Liferay?
http://wiki.alfresco.com/wiki/Deploying_WAR_Liferay

Thanks,

Steve

hubithehawk
Champ in-the-making
Champ in-the-making
Hi Steve,
I used the current versions from your download pages:
- liferay/portal Professional 4.2.2 (bundled with Tomcat for JDK 5.0)
- liferay/portal-alfresco-4.2.2.war (to be renamed as alfresco.war and hot deployed)
==> these two alone work fine
but the error comes with attempt to install:
alfresco-community-wcm-2.0.0.tar.gz
Thanks
Hubert

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

The version of Alfresco that you have for Liferay is version 1.4 - and it does not include any WCM functionality.

WCM functionality was introduced in Alfresco v 2.0

Steve

hubithehawk
Champ in-the-making
Champ in-the-making
Hi Steve,
Oh, I see.
But can you tell me, where Alfresco reveals it's version when running in the lifreay portlet (I failed to find it).
Thanks
Hubert

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

I am not too familiar with the liferay version of Alfresco, but if you have the Alfresco flower image in the top left of your screen if you click that you will get version info.
You can also find it if you go into the Administration Console and view the System Information.

I found it by looking at the file called 'version.properties' found within the Alfresco war file.

Hope this helps,

Steve

hubithehawk
Champ in-the-making
Champ in-the-making
Hi Steve,
yes this helped. I understand, that Alfresco 2.0 is necessary. Unfortunately Liferay does not offer a bundled liferay+Alfresco 2.0 package on its download pages. I tried with a native "all platforms" 2.0 Alfresco download, but this failed. Seems like a configuration issue. Do you know of kind of "cookbook" for marying Liferay 1.4.2.2 and Alfresco 2.0?
Thanks again.
Hubert

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

We will be performing testing of Alfresco 2.1 with Liferay in the next month so we'll post our integration steps in the Wiki once we have it them running together.

Keep any eye on this page: http://wiki.alfresco.com/wiki/Server_Installation

(However, if you beat us to it please feel free to edit the page and add the steps you took to get it working).

Steve

kvc
Champ in-the-making
Champ in-the-making
Please note that the updated Community release due this week, 2.1 Community RC2, support Liferay 4.3 (meaning, our new web scripts due indeed work inside Liferay 4.3).

Kevin