com.liferay.portal.kernel.xml.DocumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • OX 4m1 + Liferay
    via openxava by henryedsl
    ,
  • 5.1.0 Upgrade Problem - Fóruns | Liferay
    via by Unknown author,
  • RE: 5.1.0 Upgrade Problem - Forums | Liferay
    via by Unknown author,
  • Unable to deploy WAR file in liferay
    via Stack Overflow by Artem
    ,
  • Window State Error - Forums | Liferay
    via by Unknown author,
  • If a plug-in is using database and portal m/c is not connected to internet, following exception is thrown while un-deployment of plugin. Caused by: com.liferay.portal.SystemException: com.liferay.portal.kernel.xml.DocumentException: hibernate.source forge.net Nested exception: hibernate.sourceforge.net To reproduce this problem, download and install liferay-portal-tomcat-5.5-5.2.1.zip. Start server. Disconnect m/c from internet before server shutdown. You will get above exception for plugins like chat-portlet, wol -portlet and wsrp-portlet. Here is full stack trace. 12:41:17,984 ERROR [HotDeployUtil:162] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering plugins for chat-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering plugins for chat-portlet at com.liferay.portal.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:47) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeUndeploy(PluginPackageHotDeployListener.java:179) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireUndeployEvent(HotDeployUtil.java:159) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployUtil.java:47) at com.liferay.portal.kernel.servlet.PortletContextListener.contextDestroyed(PortletContextListener.java:63) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3805) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4364) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:893) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1192) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1163) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1067) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:510) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734) at org.apache.catalina.startup.Catalina.stop(Catalina.java:602) at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:645) Caused by: com.liferay.portal.SystemException: com.liferay.portal.kernel.xml.DocumentException: hibernate.sourceforge.net Nested exception: hibernate.sourceforge.net at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.destroyServiceComponent(ServiceComponentLocalServiceImpl.java:74) 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy166.destroyServiceComponent(Unknown Source) at com.liferay.portal.service.ServiceComponentLocalServiceUtil.destroyServiceComponent(ServiceComponentLocalServiceUtil.java:110) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.destroyServiceComponent(PluginPackageHotDeployListener.java:188) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.doInvokeUndeploy(PluginPackageHotDeployListener.java:247) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeUndeploy(PluginPackageHotDeployListener.java:176) ... 17 more Caused by: com.liferay.portal.kernel.xml.DocumentException: hibernate.sourceforge.net Nested exception: hibernate.sourceforge.net at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:377) at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:365) at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:382) at com.liferay.portal.kernel.xml.SAXReaderUtil.read(SAXReaderUtil.java:150) at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.clearCacheRegistry(ServiceComponentLocalServiceImpl.java:192) at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.destroyServiceComponent(ServiceComponentLocalServiceImpl.java:71) ... 34 more 12:41:18,171 INFO [PortletHotDeployListener:333] Unregistering portlets for chat-portlet 12:41:18,171 INFO [PortletHotDeployListener:362] 1 portlet for chat-portlet was unregistered 12:41:18,187 INFO [[/chat-portlet]:649] Closing Spring root WebApplicationContext
    via by Manish Kumar Gupta,
    • com.liferay.portal.kernel.xml.DocumentException: Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file. at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:343) at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:331) at com.liferay.portal.kernel.xml.SAXReaderUtil.read(SAXReaderUtil.java:120) at com.liferay.portal.tools.deploy.PortletDeployer.getServletContent(PortletDeployer.java:186) at com.liferay.portal.tools.deploy.PortletDeployer.getExtraContent(PortletDeployer.java:148) at com.liferay.portal.tools.deploy.BaseDeployer.updateWebXml(BaseDeployer.java:1280) at com.liferay.portal.tools.deploy.BaseDeployer.deployDirectory(BaseDeployer.java:459) at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:739) at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:676) at com.liferay.portal.tools.deploy.BaseDeployer.deploy(BaseDeployer.java:407) at com.liferay.portal.deploy.auto.PortletAutoDeployer.autoDeploy(PortletAutoDeployer.java:99) at com.liferay.portal.deploy.auto.PortletAutoDeployListener.deploy(PortletAutoDeployListener.java:84) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:196) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:144) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:60)
    No Bugmate found.