Para Desenvolvedores

Problema com Tipo do Link

Boa tarde!

Estou com um problema em um serviço do tipo lum_content (lumis.service.link) 

No campo "Tipo do link" escolho a opção "Rerefenciar outro conteúdo", ao clicar no botão para escolher o conteúdo abre um popup em branco e apresenta o erro abaixo no log.

Poderiam me ajudar?

 

2020-07-23 14:46:29,398 ERROR 0:0:0:0:0:0:0:1 admin /Portal/Portal Anbima/Administração Administração [LumisRequest - http-nio-9080-exec-9; url: [http://localhost:9080/main.jsp?lumPageId=4028B881553AA87201553AA9829C0039&lumChannelId=4028B881553AA87201553AA982580034&lumRTI=lumis.service.search.selectMetaDataContent&serviceInstanceId=4028B8815591C122015592BF655E3BB7&cpCallbackFunction=LumisPortal.opener.contentPicker_linkContentId]; login: [admin]] lumis.portal.serviceinterface.style.impl.xsl.XsltErrorListener - Error generated in XSLT framework while processing file 'br/com/anbima/portal/service/search/style/SelectMetaDataContent.xsl' with the following themes: [br.com.anbima.portal.theme.portal-anbima]

javax.xml.transform.TransformerException: line 3: Não foi possível ler o alvo 'DouiControls.xsl' da folha de estilos, porque o acesso a 'file' não é permitido em virtude da restrição definida pela propriedade accessExternalStylesheet.

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.passErrorsToListener(Unknown Source)

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown Source)

at lumis.portal.serviceinterface.style.impl.xsl.XslStyleFactory.createDynamicStyle(XslStyleFactory.java:401)

at lumis.portal.serviceinterface.style.impl.xsl.XslStyleFactory.createCachedStyle(XslStyleFactory.java:370)

at lumis.portal.serviceinterface.style.ServiceInterfaceStyleManager$StyleDataProvider.loadData(ServiceInterfaceStyleManager.java:240)

at lumis.portal.serviceinterface.style.ServiceInterfaceStyleManager$StyleDataProvider.loadData(ServiceInterfaceStyleManager.java:231)

at lumis.portal.cache.PortalCache.fetch(PortalCache.java:1352)

at lumis.portal.cache.PortalCache.fetch(PortalCache.java:1278)

at lumis.portal.serviceinterface.style.ServiceInterfaceStyleManager.getCachedStyle(ServiceInterfaceStyleManager.java:383)

at lumis.portal.servicecontainer.ServiceContainer.transformXml(ServiceContainer.java:1151)

at lumis.portal.servicecontainer.ServiceContainer.transformResponse(ServiceContainer.java:1041)

at lumis.portal.servicecontainer.ServiceContainer.renderServiceInterfaceInstanceInternal(ServiceContainer.java:492)

at lumis.portal.servicecontainer.ServiceContainer.lambda$renderServiceInterfaceInstance$0(ServiceContainer.java:258)

at lumis.portal.util.PortalUtilInternal.execWithSilentThrow(PortalUtilInternal.java:533)

at lumis.util.log.MDCUtil.execWithValues(MDCUtil.java:60)

at lumis.util.log.MDCUtil.execWithValues(MDCUtil.java:45)

at lumis.portal.servicecontainer.ServiceContainer.renderServiceInterfaceInstance(ServiceContainer.java:228)

at lumis.portal.presentation.PageRendererUtil.renderServiceInterfaceInstance(PageRendererUtil.java:237)

at lumis.portal.presentation.layout.defaultlayout.PageBodyMiddleTableComponent.getHTMLFragment(PageBodyMiddleTableComponent.java:141)

at lumis.portal.presentation.core.HTMLFragmentComponent.onComponentTagBody(HTMLFragmentComponent.java:65)

at org.apache.wicket.Component.renderComponent(Component.java:2619)

at org.apache.wicket.markup.html.WebComponent.onRender(WebComponent.java:62)

at org.apache.wicket.Component.render(Component.java:2450)

at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)

at org.apache.wicket.markup.resolver.AutoComponentResolver.resolve(AutoComponentResolver.java:108)

at org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentResolvers.java:81)

at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1418)

at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1577)

at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1501)

at org.apache.wicket.Component.renderComponent(Component.java:2619)

at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512)

at org.apache.wicket.Component.render(Component.java:2450)

at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1414)

at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1577)

at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1501)

at org.apache.wicket.Component.renderComponent(Component.java:2619)

at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512)

at org.apache.wicket.Component.render(Component.java:2450)

at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1414)

at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1528)

at org.apache.wicket.Page.onRender(Page.java:1565)

at org.apache.wicket.Component.render(Component.java:2450)

at org.apache.wicket.Page.renderPage(Page.java:914)

at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:261)

at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)

at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)

at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)

at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)

at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)

at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)

at sun.reflect.GeneratedMethodAccessor187.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.bull.javamelody.JspWrapper.invoke(JspWrapper.java:152)

at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:294)

at com.sun.proxy.$Proxy204.forward(Unknown Source)

at lumis.portal.presentation.core.LayoutFileDispatcher.forward(LayoutFileDispatcher.java:60)

at lumis.portal.presentation.PresentationControllerHtml.renderLayoutFile(PresentationControllerHtml.java:1673)

at lumis.portal.presentation.PresentationControllerHtml.renderPageUserMode(PresentationControllerHtml.java:1119)

at lumis.portal.presentation.PresentationControllerHtml.lambda$null$0(PresentationControllerHtml.java:669)

at lumis.portal.util.PortalUtilInternal.execWithSilentThrow(PortalUtilInternal.java:533)

at lumis.portal.presentation.PresentationControllerHtml.lambda$renderPage$1(PresentationControllerHtml.java:585)

at lumis.util.log.MDCUtil.lambda$execWithValues$0(MDCUtil.java:30)

at lumis.portal.util.PortalUtilInternal.execWithSilentThrow(PortalUtilInternal.java:533)

at lumis.util.log.MDCUtil.execWithValues(MDCUtil.java:60)

at lumis.util.log.MDCUtil.execWithValues(MDCUtil.java:28)

at lumis.portal.presentation.PresentationControllerHtml.renderPage(PresentationControllerHtml.java:577)

at org.apache.jsp.main_jsp._jspService(main_jsp.java:121)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:444)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.appserver.UndertowFilter.doFilter(UndertowFilter.java:90)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.rest.RestRootFilter.doFilter(RestRootFilter.java:333)

at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:462)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.webserver.WebServerIntegrationForwardFilter.doFilter(WebServerIntegrationForwardFilter.java:45)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.service.seo.sitemap.SitemapFilter.doFilter(SitemapFilter.java:72)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.url.WebResourceForwardFilter.doFilter(WebResourceForwardFilter.java:347)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.security.csr.CrossSiteRequestFilter.doFilter(CrossSiteRequestFilter.java:227)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.url.WebResourceDiscoveryFilter.doFilter(WebResourceDiscoveryFilter.java:365)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.presentation.PortalModeDiscoveryFilter.doFilter(PortalModeDiscoveryFilter.java:125)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:232)

at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209)

at lumis.service.portalmanagement.monitoring.JavaMelodyCustomMonitoringFilter.doFilter(JavaMelodyCustomMonitoringFilter.java:221)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.authentication.AuthenticationFilter.changeThreadNameAndProceed(AuthenticationFilter.java:490)

at lumis.portal.authentication.AuthenticationFilter.lambda$doFilter$0(AuthenticationFilter.java:291)

at lumis.portal.util.PortalUtilInternal.execWithSilentThrow(PortalUtilInternal.java:533)

at lumis.util.log.MDCUtil.execWithValues(MDCUtil.java:60)

at lumis.portal.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:282)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.monitor.impl.MonitorContextFilter.lambda$doFilter$1(MonitorContextFilter.java:424)

at lumis.portal.util.PortalUtilInternal.execWithSilentThrow(PortalUtilInternal.java:533)

at lumis.util.log.MDCUtil.execWithValues(MDCUtil.java:60)

at lumis.portal.monitor.impl.MonitorContextFilter.doFilter(MonitorContextFilter.java:402)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.page.cache.PageCacheSSIFilter.doFilter(PageCacheSSIFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.PortalRequestContextFilter.doFilter(PortalRequestContextFilter.java:97)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.filter.EncodingUTF8Filter.doFilter(EncodingUTF8Filter.java:35)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.webserver.WebServerIntegrationInitFilter.doFilter(WebServerIntegrationInitFilter.java:367)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.website.WebsiteDiscoveryFilter.doFilter(WebsiteDiscoveryFilter.java:302)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at lumis.portal.PortalConfiguration$RequestInitializer.doFilter(PortalConfiguration.java:152)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

 

at java.lang.Thread.run(Unknown Source)

Por Willian Moraes Moraes

Em 23/07/20 14:53

Acompanhar pergunta

2 resposta(s):

Ordenar por:

Willian,

Pelo o que estou vendo, há duas informações importantes no log que deixei em negrito:

framework while processing file 'br/com/anbima/portal/service/search/style/SelectMetaDataContent.xsl' with the following themes: [br.com.anbima.portal.theme.portal-anbima]

javax.xml.transform.TransformerException: line 3: Não foi possível ler o alvo 'DouiControls.xsl' da folha de estilos, porque o acesso a 'file' não é permitido em virtude da restrição definida pela propriedade accessExternalStylesheet.

Assim, vejo duas possibilidades:

1- O arquivo XSL referenciado SelectMetaDataContent.xsl é customizado. Ele está fazendo referência ao arquivo nativo DouiControls.xsl. É possível que o caminho para referência esteja errado.

2- O caminho para DouiControls.xsl está correto. Porem, o servidor de aplicação não possui permissão para lê-lo.

Por Luiz Carlos Valenca

Em 27/07/20 23:31

Obrigado Luiz, o problema era a referencia errada ao arquivo Douicontrols.xsl

Por Willian Moraes Moraes

Em 28/07/20 11:22

Entrar

Interaja com a comunidade e tenha acesso a conteúdos exclusivos.

Houve algum erro ao acessar o banco de dados. Tente novamente mais tarde.