0

我使用 apache myfaces 2.1.6 和 tomcat 7。当我部署我的 portlet 时,我收到 listenerStart 错误。

SEVERE: Error listenerStart
22 2013 10:20:57 org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/myPortlet] startup failed due to previous errors
10:20:57,590 INFO  [PluginPackageUtil:1099] Reading plugin package for rigensis-web-cust-application-regular-payment
10:20:57,592 WARN  [PluginPackageUtil:1058] Plugin package on context rigensis-web-cust-application-regular-payment cannot be tracked because this WAR does not contain a liferay-plugin-package.xml file
10:20:57,595 INFO  [PortletHotDeployListener:549] Unregistering portlets for myPortlet
10:20:57,603 INFO  [PortletHotDeployListener:580] 1 portlet for myPortlet was unregistered
22 2013 10:20:57 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/myPortlet] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@5f734d]) and a value of type [java.util.WeakHashMap] (value [{class org.apache.camel.core.xml.CamelProxyFactoryDefinition=java.lang.ref.WeakReference@8ad0bb, class org.apache.camel.spring.CamelContextFactoryBean=java.lang.ref.WeakReference@18db6b4, class javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@d6081f, class java.util.ArrayList=java.lang.ref.WeakReference@1af402a}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
22 2013 10:20:57 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/myPortlet] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@9dc4d6]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1e5d582]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

请帮我。谢谢

4

1 回答 1

0

你的意思是...because this WAR does not contain a liferay-plugin-package.xml file...

如果这是一个应该由 Liferay 管理的插件,如果它困扰你,你应该只提供文件。此外,您可以帮助 Liferay 的部署者确定您正在部署的插件类型,方法是让其名称以结尾-portlet- 例如,不要调用它myPortlet,而是调用它my-portlet

如果这不是您的问题:您只引用日志并寻求帮助 - 但不要提供任何关于实际问题的线索

于 2013-10-22T09:32:59.270 回答