Liferay开放式社交部署错误

Liferay开放式社交部署错误,liferay,portlet,opensocial,Liferay,Portlet,Opensocial,您好,我搜索了许多解决方案,并尝试了它们,现在如果有一个新的错误,我根本不理解。主要的问题是Portlet没有运行,控制台告诉我们Portlet启动了,但您自己查找: INFO: Deploying web application directory opensocial-portlet INFO [main] (WebApplication.java:757) - [OntopolyApplication] Started Wicket version 1.4.15 in deployment

您好,我搜索了许多解决方案,并尝试了它们,现在如果有一个新的错误,我根本不理解。主要的问题是Portlet没有运行,控制台告诉我们Portlet启动了,但您自己查找:

INFO: Deploying web application directory opensocial-portlet
INFO [main] (WebApplication.java:757) - [OntopolyApplication] Started Wicket version 1.4.15 in deployment mode
08:21:50,949 WARN  [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/service.properties
08:21:51,075 WARN  [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
08:21:54,359 INFO  [PortletHotDeployListener:220] Registering portlets for opensocial-portlet
08:21:54,361 WARN  [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
08:21:54,372 WARN  [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
08:21:54,441 WARN  [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
08:21:54,458 WARN  [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/portlet.properties
08:21:54,471 INFO  [PortletHotDeployListener:374] 2 portlets for opensocial-portlet are available for use
Loading file:/C:/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/service.properties
08:21:54,588 INFO  [DialectDetector:69] Determining dialect for HSQL Database Engine 1
08:21:54,589 WARN  [DialectDetector:84] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal.properties.
08:21:54,589 INFO  [DialectDetector:49] Using dialect org.hibernate.dialect.HSQLDialect
Loading file:/C:/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/service.properties
08.11.2011 08:21:57 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
08.11.2011 08:21:57 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/opensocial-portlet] startup failed due to previous errors
08:21:57,586 WARN  [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
08:21:57,591 WARN  [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
08:21:57,610 INFO  [ExtHotDeployListener:205] Extension environment for opensocial-portlet will not be undeployed
08:21:57,611 INFO  [PortletHotDeployListener:404] Unregistering portlets for opensocial-portlet
08:21:57,614 INFO  [PortletHotDeployListener:440] 2 portlets for opensocial-portlet was unregistered
08.11.2011 08:21:57 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/opensocial-portlet] appears to have started a thread named [com.google.inject.internal.Finalizer] but has failed to stop it. This is very likely to create a memory leak.
08.11.2011 08:21:57 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/opensocial-portlet] created a ThreadLocal with key of type [null] (value [org.apache.shindig.common.xml.XmlUtil$2@47370e]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@16f7e6e]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
08.11.2011 08:21:57 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/opensocial-portlet] created a ThreadLocal with key of type [null] (value [com.google.inject.InjectorImpl$1@d573c7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1a41a8d]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
08.11.2011 08:21:57 org.apache.catalina.startup.HostConfig deployDirectory

谢谢您的回答。

我知道我的回复很晚,但我在最后一天对这个问题进行了思考,终于找到了问题的根源:

基本上,我在tomcat/lib/ext中有gwt-dev.jar和gwt-user.jar

12:59:08117警告[SAXReaderImpl:429]XSD验证已禁用 因为org.apache.xerces.parsers.XIncludeAwareParserConfiguration 无法强制转换为org.apache.xerces.xni.parser.XMLParserConfiguration

通过从tomcat/lib/ext中删除我的jar,删除了警告,我的门户正常启动

如果需要JAR,请在portlet中部署它们