Combination View Flat View Tree View
Threads [ Previous | Next ]
James S.
HotDeployException registering web-form-portlet
January 11, 2013 2:11 AM
Answer

James S.

Rank: New Member

Posts: 2

Join Date: December 4, 2012

Recent Posts

Hi, I'm new in Liferay.
I'm cloning a Liferay 6.0.6 CE installation from production environment to my development environment.

I'm using:
- SO: Windows Server 2008 R2;
- DB: MySql 5.5;
- Application Server: Tomcat (bundled with Liferay),

I don't know if there's a specific procedure to clone a Liferay installation but I've done this:
- copy whole liferay directory (with Tomcat inside) and paste it to my envinronment
- database dump and restore

When I try to start Liferay by Tomcat startup I see this stack:

 111-gen-2013 9.25.22 org.apache.catalina.startup.HostConfig deployDirectory
 2INFO: Deploying web application directory tunnel-web
 311-gen-2013 9.25.24 org.apache.catalina.startup.HostConfig deployDirectory
 4INFO: Deploying web application directory web-form-portlet
 509:25:24,339 INFO  [PortletHotDeployListener:220] Registering portlets for web-form-portlet
 609:25:24,385 ERROR [HotDeployUtil:112] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for web-form-portlet
 7com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for web-form-portlet
 8        at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:45)
 9        at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:104)
10        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:109)
11        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:182)
12        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:38)
13        at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:99)
14        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
15        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52)
16        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50)
17        at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55)
18        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
19        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
20        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
21        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
22        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
23        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
24        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
25        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
26        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
27        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
28        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
29        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
30        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
31        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
32        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
33        at org.apache.catalina.core.StandardService.start(StandardService.java:519)
34        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
35        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
36        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
37        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
38        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
39        at java.lang.reflect.Method.invoke(Method.java:597)
40        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
41        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
42Caused by: java.lang.ClassNotFoundException: com.liferay.webform.action.ConfigurationActionImpl
43        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
44        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
45        at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:52)
46        at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27)
47        at com.liferay.portal.kernel.util.ProxyFactory.newInstance(ProxyFactory.java:40)
48        at com.liferay.portlet.PortletBagFactory.newInstance(PortletBagFactory.java:589)
49        at com.liferay.portlet.PortletBagFactory.newInstance(PortletBagFactory.java:581)
50        at com.liferay.portlet.PortletBagFactory.newConfigurationAction(PortletBagFactory.java:482)
51        at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:126)
52        at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortlet(PortletHotDeployListener.java:456)
53        at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:253)
54        at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:101)
55        ... 32 more
5611-gen-2013 9.25.24 org.apache.catalina.startup.HostConfig deployDirectory
57INFO: Deploying web application directory wsrp-portlet
58Loading file:/C:/liferay/bundles/tomcat-6.0.29/webapps/wsrp-portlet/WEB-INF/classes/service.properties
5909:25:25,041 INFO  [PortletHotDeployListener:220] Registering portlets for wsrp-portlet
6009:25:25,181 INFO  [PortletHotDeployListener:374] 2 portlets for wsrp-portlet are available for use
61Loading file:/C:/liferay/bundles/tomcat-6.0.29/webapps/wsrp-portlet/WEB-INF/classes/service.properties
6209:25:25,321 INFO  [DialectDetector:69] Determining dialect for MySQL 5
6309:25:25,321 INFO  [DialectDetector:49] Using dialect org.hibernate.dialect.MySQLDialect
64Loading file:/C:/liferay/bundles/tomcat-6.0.29/webapps/wsrp-portlet/WEB-INF/classes/service.properties
6511-gen-2013 9.25.27 org.apache.coyote.http11.Http11Protocol start
66INFO: Starting Coyote HTTP/1.1 on http-8081
6711-gen-2013 9.25.27 org.apache.jk.common.ChannelSocket init
68INFO: JK: ajp13 listening on /0.0.0.0:8010
6911-gen-2013 9.25.27 org.apache.jk.server.JkMain start
70INFO: Jk running ID=0 time=0/31  config=null
7111-gen-2013 9.25.27 org.apache.catalina.startup.Catalina start
72INFO: Server startup in 64778 ms


Seems that other portlets are ok while web-form-portlet has this exception.
How can I solve this? There's some specific procedure to cloning a Liferay installation?

Sorry for my bad english
Thanks