Foros de discusión
RE: com.liferay.portal.kernel.deploy.hot.HotDeployException
srikanth a, modificado hace 12 años.
com.liferay.portal.kernel.deploy.hot.HotDeployException
Regular Member Mensajes: 144 Fecha de incorporación: 21/02/11 Mensajes recientes
Hi All,
I am facing a deployment error for a portlet which i migrated from 5.2.3 to 6.1. i have removed all the compilation errors by updating the changed classes.
But when i am deploying it then i am getting this error and iam not able to login also.. Can any one suggest me a solution.
ERROR:
06:55:38,064 ERROR [HotDeployUtil:114] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for KB-portlet
com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for KB-portlet
at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:118)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:111)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:188)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:40)
at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:101)
at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63)
at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27)
at com.liferay.portal.kernel.util.ProxyFactory.newInstance(ProxyFactory.java:38)
at com.liferay.portlet.PortletBagFactory.newInstance(PortletBagFactory.java:733)
at com.liferay.portlet.PortletBagFactory.newInstance(PortletBagFactory.java:725)
at com.liferay.portlet.PortletBagFactory.newFriendlyURLMapper(PortletBagFactory.java:634)
at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:142)
at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortlet(PortletHotDeployListener.java:524)
at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:302)
at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:115)
regards
Sri
I am facing a deployment error for a portlet which i migrated from 5.2.3 to 6.1. i have removed all the compilation errors by updating the changed classes.
But when i am deploying it then i am getting this error and iam not able to login also.. Can any one suggest me a solution.
ERROR:
06:55:38,064 ERROR [HotDeployUtil:114] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for KB-portlet
com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for KB-portlet
at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:118)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:111)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:188)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:40)
at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:101)
at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63)
at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27)
at com.liferay.portal.kernel.util.ProxyFactory.newInstance(ProxyFactory.java:38)
at com.liferay.portlet.PortletBagFactory.newInstance(PortletBagFactory.java:733)
at com.liferay.portlet.PortletBagFactory.newInstance(PortletBagFactory.java:725)
at com.liferay.portlet.PortletBagFactory.newFriendlyURLMapper(PortletBagFactory.java:634)
at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:142)
at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortlet(PortletHotDeployListener.java:524)
at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:302)
at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:115)
regards
Sri
amit doshi, modificado hace 12 años.
RE: com.liferay.portal.kernel.deploy.hot.HotDeployException
Liferay Master Mensajes: 550 Fecha de incorporación: 29/12/10 Mensajes recientes
Hi Srikanth,
We are also used to face HotDeployException as you are facing but it does not have any relation with login user as far my knowledge.
The HotDeployment Exception comes when you had written different war file name in build.xml(ANT) or in pom.xml (MAVEN) than the originally generated one.
Hope it helps.
Thanks & Regards,
Amit Doshi
We are also used to face HotDeployException as you are facing but it does not have any relation with login user as far my knowledge.
The HotDeployment Exception comes when you had written different war file name in build.xml(ANT) or in pom.xml (MAVEN) than the originally generated one.
Hope it helps.
Thanks & Regards,
Amit Doshi
srikanth a, modificado hace 12 años.
RE: com.liferay.portal.kernel.deploy.hot.HotDeployException
Regular Member Mensajes: 144 Fecha de incorporación: 21/02/11 Mensajes recientes
Hi,
Thanks for the quick reply. but it is same every where.
regards
Sri
Thanks for the quick reply. but it is same every where.
regards
Sri
Hitoshi Ozawa, modificado hace 12 años.
RE: com.liferay.portal.kernel.deploy.hot.HotDeployException
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Is this a regular portlet or something like an ext plugin? Is this all the errors or is there some more? Most of the time, there's some other error message with a cause that's creating the problem.
srikanth a, modificado hace 12 años.
RE: com.liferay.portal.kernel.deploy.hot.HotDeployException
Regular Member Mensajes: 144 Fecha de incorporación: 21/02/11 Mensajes recientes
thnks for all replies... I have fixed it. I didn't find the cause but repeated the steps of creating a fresh portlet.
regards
Sri
regards
Sri