Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Portlets from trunk not deploying
Hi, anytime I try to deploy any of the portlets that come in plugins SDK trunk, they self-deploy, they just keep building on temp and try to deploy again and again in a neverending loop
This is the console display:
16-nov-2009 21:57:10 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
16-nov-2009 21:57:12 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/2-twitter-portlet/WEB-INF/classes/service.properties
21:57:13,125 INFO [DialectDetector:75] Determining dialect for Oracle 10
21:57:13,125 INFO [DialectDetector:55] Using dialect org.hibernate.dialect.Oracle10gDialect
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/2-twitter-portlet/WEB-INF/classes/service.properties
21:57:18,078 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/2-twitter-portlet/WEB-INF/classes/service.properties
21:57:18,171 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:18,609 INFO [PortletHotDeployListener:233] Registering portlets for twitter-portlet
21:57:18,625 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:18,671 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:18,812 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/2-twitter-portlet/WEB-INF/classes/portlet.properties
21:57:19,546 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/2-twitter-portlet/WEB-INF/classes/portlet.properties
21:57:19,578 INFO [PortletHotDeployListener:352] 1 portlet for twitter-portlet is available for use
16-nov-2009 21:57:29 org.apache.catalina.core.StandardContext reload
INFO: Ha comenzado la recarga de este Contexto
21:57:29,921 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:30,062 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:30,156 INFO [PortletHotDeployListener:387] Unregistering portlets for twitter-portlet
21:57:30,171 INFO [PortletHotDeployListener:418] 1 portlet for twitter-portlet was unregistered
16-nov-2009 21:57:30 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
16-nov-2009 21:57:31 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/3-twitter-portlet/WEB-INF/classes/service.properties
21:57:32,359 INFO [DialectDetector:75] Determining dialect for Oracle 10
21:57:32,359 INFO [DialectDetector:55] Using dialect org.hibernate.dialect.Oracle10gDialect
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/3-twitter-portlet/WEB-INF/classes/service.properties
21:57:36,437 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/3-twitter-portlet/WEB-INF/classes/service.properties
21:57:36,531 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:36,968 INFO [PortletHotDeployListener:233] Registering portlets for twitter-portlet
21:57:36,984 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:37,015 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:37,187 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/3-twitter-portlet/WEB-INF/classes/portlet.properties
21:57:42,640 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/3-twitter-portlet/WEB-INF/classes/portlet.properties
21:57:42,687 INFO [PortletHotDeployListener:352] 1 portlet for twitter-portlet is available for use
16-nov-2009 21:57:53 org.apache.catalina.core.StandardContext reload
INFO: Ha comenzado la recarga de este Contexto
21:57:53,687 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:53,843 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:53,953 INFO [PortletHotDeployListener:387] Unregistering portlets for twitter-portlet
21:57:53,953 INFO [PortletHotDeployListener:418] 1 portlet for twitter-portlet was unregistered
16-nov-2009 21:57:53 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Well, 2 ideas come to me of which is the problem, that SAXReaderImpl (which I dont know what it is, but its just a warning) or my Oracle 10 XE database (probably a bad registry that prevents the portlet to deploy correctly)
I get the same result trying to install chat or alfresco portlets (in alfresco it even changes to debug view...)
This is the console display:
16-nov-2009 21:57:10 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
16-nov-2009 21:57:12 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/2-twitter-portlet/WEB-INF/classes/service.properties
21:57:13,125 INFO [DialectDetector:75] Determining dialect for Oracle 10
21:57:13,125 INFO [DialectDetector:55] Using dialect org.hibernate.dialect.Oracle10gDialect
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/2-twitter-portlet/WEB-INF/classes/service.properties
21:57:18,078 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/2-twitter-portlet/WEB-INF/classes/service.properties
21:57:18,171 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:18,609 INFO [PortletHotDeployListener:233] Registering portlets for twitter-portlet
21:57:18,625 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:18,671 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:18,812 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/2-twitter-portlet/WEB-INF/classes/portlet.properties
21:57:19,546 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/2-twitter-portlet/WEB-INF/classes/portlet.properties
21:57:19,578 INFO [PortletHotDeployListener:352] 1 portlet for twitter-portlet is available for use
16-nov-2009 21:57:29 org.apache.catalina.core.StandardContext reload
INFO: Ha comenzado la recarga de este Contexto
21:57:29,921 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:30,062 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:30,156 INFO [PortletHotDeployListener:387] Unregistering portlets for twitter-portlet
21:57:30,171 INFO [PortletHotDeployListener:418] 1 portlet for twitter-portlet was unregistered
16-nov-2009 21:57:30 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
16-nov-2009 21:57:31 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/3-twitter-portlet/WEB-INF/classes/service.properties
21:57:32,359 INFO [DialectDetector:75] Determining dialect for Oracle 10
21:57:32,359 INFO [DialectDetector:55] Using dialect org.hibernate.dialect.Oracle10gDialect
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/3-twitter-portlet/WEB-INF/classes/service.properties
21:57:36,437 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/3-twitter-portlet/WEB-INF/classes/service.properties
21:57:36,531 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:36,968 INFO [PortletHotDeployListener:233] Registering portlets for twitter-portlet
21:57:36,984 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:37,015 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:37,187 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/3-twitter-portlet/WEB-INF/classes/portlet.properties
21:57:42,640 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/C:/Desarrollo_Liferay/apache-tomcat-6.0.20/temp/3-twitter-portlet/WEB-INF/classes/portlet.properties
21:57:42,687 INFO [PortletHotDeployListener:352] 1 portlet for twitter-portlet is available for use
16-nov-2009 21:57:53 org.apache.catalina.core.StandardContext reload
INFO: Ha comenzado la recarga de este Contexto
21:57:53,687 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:53,843 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:53,953 INFO [PortletHotDeployListener:387] Unregistering portlets for twitter-portlet
21:57:53,953 INFO [PortletHotDeployListener:418] 1 portlet for twitter-portlet was unregistered
16-nov-2009 21:57:53 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Well, 2 ideas come to me of which is the problem, that SAXReaderImpl (which I dont know what it is, but its just a warning) or my Oracle 10 XE database (probably a bad registry that prevents the portlet to deploy correctly)
I get the same result trying to install chat or alfresco portlets (in alfresco it even changes to debug view...)
Ok is not the database, tried with MySQL and the HSQL and it keep looping on deploy and undeploy
SO it must be the SAXReader thing, portlets need that to get deployed? what for?
Anyone knows how to fix this plz?
SO it must be the SAXReader thing, portlets need that to get deployed? what for?
Anyone knows how to fix this plz?
Hi, do you have this for all the portlets from the sdk?
I think I remember (my liferay dev PC is not here) that I saw the same XSD validation warnings as in your logs and most of the plugins from the sdk deployed successfully.
I'll check my logs next monday.
I think I remember (my liferay dev PC is not here) that I saw the same XSD validation warnings as in your logs and most of the plugins from the sdk deployed successfully.
I'll check my logs next monday.
have the same problem, somebody has the solution
thanks in advance
22:15:12,830 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
22:15:13,029 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
22:15:13,179 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
22:15:13,339 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
22:15:13,475 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
thanks in advance
22:15:12,830 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
22:15:13,029 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
22:15:13,179 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
22:15:13,339 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
22:15:13,475 WARN [SAXReaderImpl:439] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
My problem, apart of the warning, is the deploy loop you can notice between warning and warning...... I assume it got to do with it
After that problem I got a new trunk from SVN, and it didn't fixed the problem, now my site doesn't run
Trunk is always in development, so I guess someone will work on this eventually
Oh, the automatic self-deploy didn't occured with the WOL-portlets XD, 1 of many at least worked
, and themes
, they trigger the warning but work
That's why I thought it was the DB registering the portlets but nope, got no idea
After that problem I got a new trunk from SVN, and it didn't fixed the problem, now my site doesn't run
Trunk is always in development, so I guess someone will work on this eventually
Oh, the automatic self-deploy didn't occured with the WOL-portlets XD, 1 of many at least worked
That's why I thought it was the DB registering the portlets but nope, got no idea