2017-07-28 79 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文件夹。