2017-07-28 83 views
-1

我正在使用BIRT生成我們的數據報告。使用內部Eclipse查看器時,它會生成並顯示正常。當我將它部署到我的本地主機Tomcat 9.0時,在日誌中出現以下錯誤。將BIRT報告部署到Tomcat 9.0的問題

這也會發生在示例報告中,我曾用它來配置環境,但它不會與BIRT查看器附帶的「測試」報告一起發生。

INFO [http-nio-8080-exec-4] org.apache.coyote.http11.Http11Processor.service 
Error parsing HTTP request header 
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level. 
java.lang.IllegalArgumentException**: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:456) 
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:380) 
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) 
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:796) 
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1372) 
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 
at java.lang.Thread.run(Thread.java:748) 

我已經在Debug模式下啓動了Tomcat,這就是日誌所說的。

127.0.0.1 - - [30/Jul/2017:15:05:38 -0500] "GET/HTTP/1.1" 200 11458 
127.0.0.1 - - [30/Jul/2017:15:05:50 -0500] "GET /manager/html HTTP/1.1" 401 2536 
127.0.0.1 - admin [30/Jul/2017:15:05:54 -0500] "GET /manager/html HTTP/1.1" 200 19627 
127.0.0.1 - - [30/Jul/2017:15:05:54 -0500] "GET /manager/images/tomcat.gif HTTP/1.1" 200 2066 
127.0.0.1 - - [30/Jul/2017:15:05:54 -0500] "GET /manager/images/asf-logo.svg HTTP/1.1" 200 19908 
127.0.0.1 - - [30/Jul/2017:15:05:59 -0500] "GET null null" 400 - 
127.0.0.1 - - [30/Jul/2017:15:06:37 -0500] "GET null null" 400 - 
127.0.0.1 - - [30/Jul/2017:15:11:10 -0500] "GET/HTTP/1.1" 200 11458 
127.0.0.1 - - [30/Jul/2017:15:11:46 -0500] "GET null null" 400 - 
127.0.0.1 - - [30/Jul/2017:15:14:08 -0500] "GET/HTTP/1.1" 200 11458 
127.0.0.1 - - [30/Jul/2017:15:14:28 -0500] "GET null null" 400 - 
127.0.0.1 - - [30/Jul/2017:15:14:45 -0500] "GET null null" 400 - 
127.0.0.1 - - [30/Jul/2017:15:14:48 -0500] "GET null null" 400 - 
127.0.0.1 - - [30/Jul/2017:15:14:49 -0500] "GET null null" 400 - 

我想找到一種方法來上傳代碼示例,而不是這樣做太長。現在,這是一個鏈接到XML如果沒關係?

https://www.eclipse.org/birt/phoenix/examples/solution/SalesInvoice.rptdesign

回答

0

這已經解決了。放置報告的說明是錯誤的。他們需要進入BIRT Viewer的主文件夾,而不是像指令所說的\ Report文件夾。