Relatório não abre



  • Associei um fluxo de abrir relatório a um botão, Porém o mesmo apresenta o erro na figura abaixo. Esse mesmo sistema gerou os relatórios normalmente no ambiente de produção.

    Caminho do erro:

    CAMINHO COM ERRO:
    C:/ProgramData/Softwell/Webrun/10802C9FC0CD9FFFCCAEF66D71A6B47E/system/reports/WFRReports2.exe


    RELATÓRIO DE ERRO:
    Exceção Gerada:
    wfr.exceptions.WFRReportException: java.io.IOException: Cannot run program "C:/ProgramData/Softwell/Webrun/10802C9FC0CD9FFFCCAEF66D71A6B47E/system/reports/WFRReports2.exe": CreateProcess error=2, O sistema não pode encontrar o arquivo especificado at wfr.sys.HTMLInterface.HTMLReport.openReport(HTMLReport.java:613) at wfr.web.actions.ReportOpenAction.execute(ReportOpenAction.java:34) at wfr.web.Action.doAction(Action.java:126) at wfr.web.Controller.process(Controller.java:100) at wfr.web.Controller.doPost(Controller.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at wfr.web.ContextFilter.doFilter(ContextFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Cannot run program "C:/ProgramData/Softwell/Webrun/10802C9FC0CD9FFFCCAEF66D71A6B47E/system/reports/WFRReports2.exe": CreateProcess error=2, O sistema não pode encontrar o arquivo especificado at java.lang.ProcessBuilder.start(Unknown Source) at wfr.util.WebrunShell.execCommandAsList(WebrunShell.java:67) at wfr.util.Functions.execCommandAsList(Functions.java:844) at wfr.com.WFRReport.run(WFRReport.java:1131) at wfr.sys.HTMLInterface.HTMLReport.createReport(HTMLReport.java:786) at wfr.sys.HTMLInterface.HTMLReport.openReport(HTMLReport.java:598) ... 22 more Caused by: java.io.IOException: CreateProcess error=2, O sistema não pode encontrar o arquivo especificado at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 28 more

    Causa:
    java.io.IOException: Cannot run program "C:/ProgramData/Softwell/Webrun/10802C9FC0CD9FFFCCAEF66D71A6B47E/system/reports/WFRReports2.exe": CreateProcess error=2, O sistema não pode encontrar o arquivo especificado at java.lang.ProcessBuilder.start(Unknown Source) at wfr.util.WebrunShell.execCommandAsList(WebrunShell.java:67) at wfr.util.Functions.execCommandAsList(Functions.java:844) at wfr.com.WFRReport.run(WFRReport.java:1131) at wfr.sys.HTMLInterface.HTMLReport.createReport(HTMLReport.java:786) at wfr.sys.HTMLInterface.HTMLReport.openReport(HTMLReport.java:598) at wfr.web.actions.ReportOpenAction.execute(ReportOpenAction.java:34) at wfr.web.Action.doAction(Action.java:126) at wfr.web.Controller.process(Controller.java:100) at wfr.web.Controller.doPost(Controller.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at wfr.web.ContextFilter.doFilter(ContextFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: CreateProcess error=2, O sistema não pode encontrar o arquivo especificado at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 28 more

    Causa:
    java.io.IOException: CreateProcess error=2, O sistema não pode encontrar o arquivo especificado at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source) at wfr.util.WebrunShell.execCommandAsList(WebrunShell.java:67) at wfr.util.Functions.execCommandAsList(Functions.java:844) at wfr.com.WFRReport.run(WFRReport.java:1131) at wfr.sys.HTMLInterface.HTMLReport.createReport(HTMLReport.java:786) at wfr.sys.HTMLInterface.HTMLReport.openReport(HTMLReport.java:598) at wfr.web.actions.ReportOpenAction.execute(ReportOpenAction.java:34) at wfr.web.Action.doAction(Action.java:126) at wfr.web.Controller.process(Controller.java:100) at wfr.web.Controller.doPost(Controller.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at wfr.web.ContextFilter.doFilter(ContextFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source)


  • Conforme erro apresentado,

    os arquivos que geram o relatório não estão no diretório informado.


  • Pelo que entendi, parece que está chamando da pasta Softwell, a que é criada durante a instalação. Porém, o meu sistema está rodando em outra máquina, sem nada do Maker nela.

Log in to reply