myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavol Valko <pavol.va...@bwtplus.sk>
Subject [Trinidad] Problem on SAP Netweaver 7.11: Circular include of base-desktop.xss detected
Date Thu, 08 Oct 2009 12:54:39 GMT
Hello,
I have problem running Trinidad on SAP Netweaver 7.11 j2ee server.
Exception is thrown in System.err(see at the bottom) on page loading, 
but page is displayed almost as it should be. Symptoms are that command 
link does not work and styling of tables, tabs etc. is not proper. I 
notice that almost no javascript is added to rendered page (e.g. command 
links with no onclick action..). Also generated css seems to be too 
short, only about 10 lines. Command buttons work.
I tried the most simple configuration that I found on trinidad page and 
in examples. I suppose that server use JSF Sun RI 1.2_08, that cannot be 
changed.
Please can anyone help to solve this? Deploying on this server is 
critical for my project. Thanks.

My test page look like this:
<?xml version='1.0' encoding='UTF-8' ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:tr="http://myfaces.apache.org/trinidad">
	<jsp:directive.page contentType="text/html;charset=utf-8" />
	<f:view>
		<tr:document>
			<tr:form>
				<tr:commandLink id="testLink" action="test" text="to test" />
			</tr:form>
		</tr:document>
	</f:view>
</jsp:root>

Exception on server log is thrown:
org.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetDocumentParser 
_handleImport
SEVERE:
org.xml.sax.SAXParseException: Circular include of base-desktop.xss 
detected!
at 
org.apache.myfaces.trinidadinternal.share.xml.XMLUtils.parseInclude(XMLUtils.java:157)
at 
org.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetDocumentParser._handleImport(StyleSheetDocumentParser.java:228)
at 
org.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetDocumentParser.startChildElement(StyleSheetDocumentParser.java:128)
at 
org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder$Handler.startElement(TreeBuilder.java:276)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:322)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at 
org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder.parse(TreeBuilder.java:169)
at 
org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder.parse(TreeBuilder.java:120)
at 
org.apache.myfaces.trinidadinternal.share.xml.XMLUtils.parseInclude(XMLUtils.java:194)
at 
org.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetDocumentParser._handleImport(StyleSheetDocumentParser.java:228)
at 
org.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetDocumentParser.startChildElement(StyleSheetDocumentParser.java:128)
at 
org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder$Handler.startElement(TreeBuilder.java:276)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:322)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at 
org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder.parse(TreeBuilder.java:169)
at 
org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder.parse(TreeBuilder.java:120)
at 
org.apache.myfaces.trinidadinternal.share.xml.XMLUtils.parseSource(XMLUtils.java:99)
at 
org.apache.myfaces.trinidadinternal.style.xml.StyleSheetDocumentUtils.createStyleSheetDocument(StyleSheetDocumentUtils.java:113)
at 
org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry._createStyleSheetDocument(StyleSheetEntry.java:231)
at 
org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry._createSkinStyleSheet(StyleSheetEntry.java:167)
at 
org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry.createEntry(StyleSheetEntry.java:70)
at 
org.apache.myfaces.trinidadinternal.skin.SkinImpl._createStyleSheetDocument(SkinImpl.java:537)
at 
org.apache.myfaces.trinidadinternal.skin.SkinImpl.getStyleSheetDocument(SkinImpl.java:346)
at 
org.apache.myfaces.trinidadinternal.skin.SkinExtension.getStyleSheetDocument(SkinExtension.java:523)
at 
org.apache.myfaces.trinidadinternal.skin.SkinStyleProvider.createStyleSheetDocument(SkinStyleProvider.java:158)
at 
org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._getStyleSheetDocument(FileSystemStyleCache.java:627)
at 
org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._getEntry(FileSystemStyleCache.java:416)
at 
org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache.getStyleSheetURIs(FileSystemStyleCache.java:160)
at 
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.StyleSheetRenderer.encodeAll(StyleSheetRenderer.java:90)
at 
org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:446)
at 
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.HeadRenderer.encodeBegin(HeadRenderer.java:80)
at 
org.apache.myfaces.trinidad.render.CoreRenderer.delegateRendererBegin(CoreRenderer.java:467)
at 
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.DocumentRenderer.encodeAll(DocumentRenderer.java:74)
at 
org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1494)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
at 
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
at 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
at 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at 
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:188)
at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at 
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
at 
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:245)
at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:155)
at 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at 
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
at 
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)
at 
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:291)
at 
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
at 
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
....

Mime
View raw message