2011-11-08 2 views
0

안녕하세요 저는 많은 솔루션을 검색하고 시도했습니다. 지금 전혀 이해하지 못하는 새로운 오류가 발생했습니다. 가장 큰 문제는 포틀릿이 실행되지 않는다는 것입니다 및 콘솔은 포틀릿이 시작했지만 자신을 찾는 것을 우리에게 알려줍니다 Liferay 오픈 소셜 배포 오류

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 [[email protected]]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [[email protected]]) 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 [[email protected]]) 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 

가 귀하의 답변 주셔서 감사합니다.

답변

0

내 응답이 늦게 알고 있지만 내가 마지막 날에 대해이 문제에 머리를 공격하고 마지막으로, 나는 내 문제의 원인을 발견 : 기본적으로

을, 내가 가진 GWT-dev.jar 및 gwt- 내 tomcat/lib/ext에있는 user.jar. 내 서버를 시작할 때 포털을 올바르게 시작하지 못하게하는 다음과 같은 경고가있었습니다.

12 : 59 : 08,117 WARN [SAXReaderImpl : 429] org.apache.xerces.parsers.XIncludeAwareParserConfiguration 가 org.apache.xerces.xni.parser.XMLParserConfiguration

로 전송할 수 없기 때문에 XSD 유효성 검사를 diasabled되고

Tomcat/lib/ext에서 내 jar 파일을 제거하면 경고가 표시되고 포탈이 제대로 시작되었습니다.

jar가 필요한 경우 포틀릿에 jar를 배치하십시오.

관련 문제