3 Replies Latest reply: Sep 28, 2011 6:06 PM by Ales Justin RSS

    VFS file not Found

    Eric Hills Newbie

      I have tried the soltuions for Crystal reports that are posted here and none work.  I get the correct path displayed running on the Linux Servers or on JBoss on my development system.  It seems that JBoss is looking at the .war files as a physical path rather than a virtual path.  I expect that this is a VFS configuration or path configuration that I have as of yet not been able to find.  Attached is the log. 

       

      Any help or suggestions would be helpfull.  Thanks

       

      17:05:14,495 ERROR [JRCCommunicationAdapter] The report file was not found

      17:05:14,541 ERROR [STDERR] com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Report file /C:/JBoss/jboss-5.1.0.GA/server/default/deploy/revenue-reports-web.war/WEB-INF/reports/security/CAPS Administration Detail.rpt not found---- Error code:-2147215356 Error code name:fileNotOpened

      17:05:14,541 ERROR [STDERR]  at com.businessobjects.reports.sdk.JRCAdapterSDKException.a(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.businessobjects.sdk.erom.jrc.a.<init>(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at org.cityofxxxxx.dor.revenueanalysis.reports.utils.CrystalReportPreparerImpl.getReportClientDocument(CrystalReportPreparerImpl.java:157)

      17:05:14,541 ERROR [STDERR]  at org.cityofxxxxx.dor.revenueanalysis.reports.utils.CrystalReportPreparerImpl.getReportSourceWrapper(CrystalReportPreparerImpl.java:70)

      17:05:14,541 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      17:05:14,541 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      17:05:14,541 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      17:05:14,541 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.proxy.$Proxy517.getReportSourceWrapper(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at org.cityofxxxxx.dor.revenueanalysis.reports.ui.ReportViewerSetupPage.<init>(ReportViewerSetupPage.java:71)

      17:05:14,541 ERROR [STDERR]  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      17:05:14,541 ERROR [STDERR]  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

      17:05:14,541 ERROR [STDERR]  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

      17:05:14,541 ERROR [STDERR]  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:147)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:88)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:268)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.request.target.coding.HybridUrlCodingStrategy$HybridBookmarkablePageRequestTarget.newPage(HybridUrlCodingStrategy.java:874)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:283)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)

      17:05:14,541 ERROR [STDERR]  at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      17:05:14,541 ERROR [STDERR]  at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:167)

      17:05:14,541 ERROR [STDERR]  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

      17:05:14,541 ERROR [STDERR]  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      17:05:14,541 ERROR [STDERR]  at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:111)

      17:05:14,541 ERROR [STDERR]  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

      17:05:14,541 ERROR [STDERR]  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      17:05:14,541 ERROR [STDERR]  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

      17:05:14,541 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

      17:05:14,541 ERROR [STDERR]  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

      17:05:14,541 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

      17:05:14,541 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      17:05:14,541 ERROR [STDERR]  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      17:05:14,541 ERROR [STDERR]  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

      17:05:14,541 ERROR [STDERR]  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

      17:05:14,541 ERROR [STDERR]  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

      17:05:14,541 ERROR [STDERR]  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

      17:05:14,541 ERROR [STDERR]  at java.lang.Thread.run(Thread.java:619)

      17:05:14,541 ERROR [STDERR] Caused by: com.businessobjects.reports.sdk.JRCAdapterSDKException: Report file /C:/JBoss/jboss-5.1.0.GA/server/default/deploy/revenue-reports-web.war/WEB-INF/reports/security/CAPS Administration Detail.rpt not found

      17:05:14,541 ERROR [STDERR]  at com.businessobjects.reports.sdk.JRCReportLoader.a(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.businessobjects.reports.sdk.JRCReportLoader.a(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(Unknown Source)

      17:05:14,541 ERROR [STDERR]  ... 64 more

      17:05:14,541 ERROR [STDERR] Caused by: java.io.FileNotFoundException: C:\JBoss\jboss-5.1.0.GA\server\default\deploy\revenue-reports-web.war\WEB-INF\reports\security\CAPS Administration Detail.rpt (The system cannot find the path specified)

      17:05:14,541 ERROR [STDERR]  at java.io.RandomAccessFile.open(Native Method)

      17:05:14,541 ERROR [STDERR]  at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)

      17:05:14,541 ERROR [STDERR]  at com.businessobjects.reports.loader.ReportLoader.a(Unknown Source)

      17:05:14,541 ERROR [STDERR]  at com.businessobjects.reports.loader.ReportLoader.a(Unknown Source)

      17:05:14,541 ERROR [STDERR]  ... 67 more

      17:05:14,541 ERROR [RequestCycle] Can't instantiate page using constructor public org.cityofxxxxx.dor.revenueanalysis.reports.ui.ReportViewerSetupPage(org.apache.wicket.PageParameters) and argument reportId = "249"

      org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.cityofxxxxx.dor.revenueanalysis.reports.ui.ReportViewerSetupPage(org.apache.wicket.PageParameters) and argument reportId = "249"

      at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:168)

      at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:88)

      at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:268)

      at org.apache.wicket.request.target.coding.HybridUrlCodingStrategy$HybridBookmarkablePageRequestTarget.newPage(HybridUrlCodingStrategy.java:874)

      at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:283)

      at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210)

      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)

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

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

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

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

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

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

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

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

      at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:167)

      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

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

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

      at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:111)

      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

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

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

      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      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:235)

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

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

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

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

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

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

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

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

      at java.lang.Thread.run(Thread.java:619)

      Caused by: java.lang.reflect.InvocationTargetException

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

      at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:147)

      ... 42 more

      Caused by: java.lang.RuntimeException: org.cityofxxxxx.dor.revenueanalysis.reports.utils.ReportPreparationException: Exception while loading report document!

      at org.cityofxxxxx.dor.revenueanalysis.reports.ui.ReportViewerSetupPage.<init>(ReportViewerSetupPage.java:80)

      ... 47 more

      Caused by: org.cityofxxxxx.dor.revenueanalysis.reports.utils.ReportPreparationException: Exception while loading report document!

      at org.cityofxxxxx.dor.revenueanalysis.reports.utils.CrystalReportPreparerImpl.getReportClientDocument(CrystalReportPreparerImpl.java:181)

      at org.cityofxxxxx.dor.revenueanalysis.reports.utils.CrystalReportPreparerImpl.getReportSourceWrapper(CrystalReportPreparerImpl.java:70)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)

      at org.apache.wicket.proxy.$Proxy517.getReportSourceWrapper(Unknown Source)

      at org.cityofxxxxx.dor.revenueanalysis.reports.ui.ReportViewerSetupPage.<init>(ReportViewerSetupPage.java:71)

      ... 47 more

      Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Report file /C:/JBoss/jboss-5.1.0.GA/server/default/deploy/revenue-reports-web.war/WEB-INF/reports/security/CAPS Administration Detail.rpt not found---- Error code:-2147215356 Error code name:fileNotOpened

      at com.businessobjects.reports.sdk.JRCAdapterSDKException.a(Unknown Source)

      at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)

      at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(Unknown Source)

      at com.businessobjects.sdk.erom.jrc.a.<init>(Unknown Source)

      at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(Unknown Source)

      at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(Unknown Source)

      at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)

      at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)

      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(Unknown Source)

      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)

      at org.cityofxxxxx.dor.revenueanalysis.reports.utils.CrystalReportPreparerImpl.getReportClientDocument(CrystalReportPreparerImpl.java:157)

      ... 55 more

      Caused by: com.businessobjects.reports.sdk.JRCAdapterSDKException: Report file /C:/JBoss/jboss-5.1.0.GA/server/default/deploy/revenue-reports-web.war/WEB-INF/reports/security/CAPS Administration Detail.rpt not found

      at com.businessobjects.reports.sdk.JRCReportLoader.a(Unknown Source)

      at com.businessobjects.reports.sdk.JRCReportLoader.a(Unknown Source)

      at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(Unknown Source)

      ... 64 more

      Caused by: java.io.FileNotFoundException: C:\JBoss\jboss-5.1.0.GA\server\default\deploy\revenue-reports-web.war\WEB-INF\reports\security\CAPS Administration Detail.rpt (The system cannot find the path specified)

      at java.io.RandomAccessFile.open(Native Method)

      at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)

      at com.businessobjects.reports.loader.ReportLoader.a(Unknown Source)

      at com.businessobjects.reports.loader.ReportLoader.a(Unknown Source)

      ... 67 more

      17:05:27,900 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception

      java.lang.NullPointerException

      at org.apache.jsp.viewreport_jsp._jspService(viewreport_jsp.java:84)

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

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

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

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

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

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

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

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

      at org.apache.wicket.protocol.http.servlet.WicketSessionFilter.doFilter(WicketSessionFilter.java:193)

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

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

      at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:167)

      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

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

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

      at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:111)

      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

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

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

      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      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:235)

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

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

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

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

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

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

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

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

      at java.lang.Thread.run(Thread.java:619)

        • 1. Re: VFS file not Found
          Eric Hills Newbie

          The only approach that we have found to work was to remove the .rpt files from the .war file.  Has anyone been able to get .rpt files to be read keeping them in a .war file using JBAs 5.0.1GA?

          • 2. Re: VFS file not Found
            Mark Paluch Master

            Hi Eric,

            you can access files within a WAR-File/exploded WAR Deployment via the ServletContext (getResourceAsStream). Have you tried that already?

             

            When your file-access to files within the WAR is via real file access (java.io.File, RandomAccess) you must rely on, the prequisite, that the deployment is exploded and not zipped.

             

            Best regards,

            Mark

            • 3. Re: VFS file not Found
              Ales Justin Master

              17:05:14,541 ERROR [STDERR] Caused by: java.io.FileNotFoundException: C:\JBoss\jboss-5.1.0.GA\server\default\deploy\revenue-reports-web.war\WEB-INF\reports\security\CAPS Administration Detail.rpt (The system cannot find the path specified)

              17:05:14,541 ERROR [STDERR]  at java.io.RandomAccessFile.open(Native Method)

              17:05:14,541 ERROR [STDERR]  at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)

              Imo, this tries to locate an exploded file, but the actual file is part of archived .war, hence not accesible by non-VFS based lookups.

              Try exploded .war, or use InputStream directly to read the file.