Fórumok

[RESOLVED] ERROR 504 for URL...hibernate-mapping-3.0.dtd

Victor AMORIM, módosítva 13 év-val korábban

[RESOLVED] ERROR 504 for URL...hibernate-mapping-3.0.dtd

Junior Member Bejegyzések: 70 Csatlakozás dátuma: 2010.04.26. Legújabb bejegyzések
Hello,

I developped a jsp potlet with the SDK plugin in Liferay 5.2.3.
All worked fine until crash of the Internet connection.

When I restart Tomcat after deplou two wars I have this error:
14:36:18,468 INFO  [PluginPackageUtil:1153] Reloading repositories
14:36:49,968 ERROR [PluginPackageUtil:1171] Unable to load repository http://plugins.lifer
ay.com/official com.liferay.portal.plugin.PluginPackageException: Unable to communicate wi
th repository http://plugins.liferay.com/official
14:36:51,971 ERROR [PluginPackageUtil:1171] Unable to load repository http://plugins.lifer
ay.com/community com.liferay.portal.plugin.PluginPackageException: Unable to communicate w
ith repository http://plugins.liferay.com/community
14:36:51,974 WARN  [PluginPackageUtil:318] Unable to communicate with repository http://pl
ugins.liferay.com/official
14:36:51,978 WARN  [PluginPackageUtil:318] Unable to communicate with repository http://pl
ugins.liferay.com/community
14:38:31,794 ERROR [HotDeployUtil:162] com.liferay.portal.kernel.deploy.hot.HotDeployExcep
tion: Error unregistering plugins for Annuaire-portlet
com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering plugins for A
nnuaire-portlet
        at com.liferay.portal.deploy.hot.BaseHotDeployListener.throwHotDeployException(Bas
eHotDeployListener.java:58)
        at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeUndeploy(Plu
ginPackageHotDeployListener.java:179)
        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireUndeployEvent(HotDeploy
Util.java:159)
        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployU
til.java:47)
        at com.liferay.portal.kernel.servlet.PortletContextListener.contextDestroyed(Portl
etContextListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882
)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4523)
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
        at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1006)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.j
ava:117)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:133
7)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChil
dren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChil
dren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Contain
erBase.java:1590)
        at java.lang.Thread.run(Thread.java:595)
Caused by: com.liferay.portal.SystemException: com.liferay.portal.kernel.xml.DocumentExcep
tion: Server returned HTTP response code: 504 for URL: http://www.hibernate.org/dtd/hibern
ate-mapping-3.0.dtd Nested exception: Server returned HTTP response code: 504 for URL: htt
p://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd
        at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.destroyService
Component(ServiceComponentLocalServiceImpl.java:76)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtil
s.java:307)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(Re
flectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflective
MethodInvocation.java:149)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Trans
actionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflective
MethodInvocation.java:171)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeIn
vocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflective
MethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.
java:204)
        at $Proxy65.destroyServiceComponent(Unknown Source)
        at com.liferay.portal.service.ServiceComponentLocalServiceUtil.destroyServiceCompo
nent(ServiceComponentLocalServiceUtil.java:116)
        at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.destroyServiceComp
onent(PluginPackageHotDeployListener.java:188)
        at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.doInvokeUndeploy(P
luginPackageHotDeployListener.java:251)
        at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeUndeploy(Plu
ginPackageHotDeployListener.java:176)
        ... 15 more
Caused by: com.liferay.portal.kernel.xml.DocumentException: Server returned HTTP response
code: 504 for URL: http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd Nested exception
: Server returned HTTP response code: 504 for URL: http://www.hibernate.org/dtd/hibernate-
mapping-3.0.dtd
        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.clearCacheRegi
stry(ServiceComponentLocalServiceImpl.java:195)
        at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.destroyService
Component(ServiceComponentLocalServiceImpl.java:73)
        ... 32 more
14:38:31,806 INFO  [PortletHotDeployListener:381] Unregistering portlets for Annuaire-port
let
14:38:31,816 INFO  [PortletHotDeployListener:412] 1 portlet for Annuaire-portlet was unreg
istered
Loading file:/C:/projets/chielvr/ext/servers/tomcat/liferay-portal-5.2.3/tomcat-6.0.18/tem
p/5-Annuaire-portlet/WEB-INF/classes/service.properties
14:38:33,046 INFO  [DialectDetector:64] Determining dialect for MySQL 5
14:38:33,047 INFO  [DialectDetector:97] Using dialect org.hibernate.dialect.MySQLDialect
Loading file:/C:/projets/chielvr/ext/servers/tomcat/liferay-portal-5.2.3/tomcat-6.0.18/tem
p/5-Annuaire-portlet/WEB-INF/classes/service.properties
Loading file:/C:/projets/chielvr/ext/servers/tomcat/liferay-portal-5.2.3/tomcat-6.0.18/tem
p/5-Annuaire-portlet/WEB-INF/classes/service.properties
14:38:34,672 INFO  [PortletHotDeployListener:227] Registering portlets for Annuaire-portle
t
14:38:34,865 INFO  [PortletHotDeployListener:346] 1 portlet for Annuaire-portlet is availa
ble for use
18 ao++t 2010 14:38:44 org.apache.catalina.startup.HostConfig checkResources
INFO: Repli (undeploy) de l'application web ayant pour chemin de contexte /PetitesAnnonces
-portlet
14:38:54,902 WARN  [PluginPackageUtil:1303] Unable to reindex unistalled package PetitesAn
nonces-portlet: Unable to communicate with repository http://plugins.liferay.com/official
14:42:48,530 ERROR [HotDeployUtil:162] com.liferay.portal.kernel.deploy.hot.HotDeployExcep
tion: Error unregistering plugins for PetitesAnnonces-portlet
com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering plugins for P
etitesAnnonces-portlet
        at com.liferay.portal.deploy.hot.BaseHotDeployListener.throwHotDeployException(Bas
eHotDeployListener.java:58)
        at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeUndeploy(Plu
ginPackageHotDeployListener.java:179)
        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireUndeployEvent(HotDeploy
Util.java:159)
        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployU
til.java:47)
        at com.liferay.portal.kernel.servlet.PortletContextListener.contextDestroyed(Portl
etContextListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882
)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4523)
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
        at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1006)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.j
ava:117)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:133
7)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChil
dren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChil
dren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Contain
erBase.java:1590)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: org.hibernate.cache.CacheException.<init>(Ljava/la
ng/Exception;)V
        at net.sf.ehcache.hibernate.EhCache.clear(EhCache.java:172)
        at com.liferay.portal.dao.orm.hibernate.CacheWrapper.invalidate(CacheWrapper.java:
131)
        at com.liferay.portal.kernel.cache.CacheRegistry.clear(CacheRegistry.java:47)
        at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.clearCacheRegi
stry(ServiceComponentLocalServiceImpl.java:207)
        at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.destroyService
Component(ServiceComponentLocalServiceImpl.java:73)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtil
s.java:307)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(Re
flectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflective
MethodInvocation.java:149)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Trans
actionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflective
MethodInvocation.java:171)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeIn
vocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflective
MethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.
java:204)
        at $Proxy65.destroyServiceComponent(Unknown Source)
        at com.liferay.portal.service.ServiceComponentLocalServiceUtil.destroyServiceCompo
nent(ServiceComponentLocalServiceUtil.java:116)
        at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.destroyServiceComp
onent(PluginPackageHotDeployListener.java:188)
        at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.doInvokeUndeploy(P
luginPackageHotDeployListener.java:251)
        at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeUndeploy(Plu
ginPackageHotDeployListener.java:176)
        ... 15 more</init>


Please I need to know if it's possible to work without Internet connection, and why I had this error.

Thanks.
Victor AMORIM, módosítva 13 év-val korábban

RE: ERROR 504 for URL: http://www.hibernate.org/dtd/hibernate- mapping-3.0.

Junior Member Bejegyzések: 70 Csatlakozás dátuma: 2010.04.26. Legújabb bejegyzések
Hello,

this bug has fixed: http://issues.liferay.com/browse/LPS-2979