Error deploying Birt Viewer on Tomcat [message #642249] |
Tue, 30 November 2010 10:07  |
Eclipse User |
|
|
|
Hi,
I am having problems deploying the birt viewer on tomcat 6, on our Linux Server. I followed the instructions here:
http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php
I first tried it on a tomcat installed on my windows pc, and it worked as expected, I was able to see the sample report, no errors. Then I did the same on the server. here are the steps:
1. copied the WebViewerExample directory into the webapps folder in Tomcat
2.added the commons-logging.1.1.1.jar to the WebViewerExample/WEB-INF/lib directory
3. restarted Tomcat
4. Clicked on WebViewerExample in the Tomcat manager. This displayed the page where it says:
BIRT viewer has been installed.
Thank you for your choosing BIRT (Business Intelligence Reporting Tool).
Viewer Version : 2.6.0
Engine Version: 2.6.0
JRE version: 1.6.0_12
View Example
5. Clicked on "View example" and got the following error:
- Fatal error occurred when try to startup report engine.
org.eclipse.birt.report.exception.ViewerException: Fatal error occurred when try to startup report engine. at org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(ReportEngineService.java:326) at org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(BirtViewerReportService.java:1022) at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(V iewerServlet.java:148) at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(BirtSoapMessageDispatcherServlet.java:151) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.service(BirtSoapMessageDispatcherServlet.java:122) at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206) at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:447) at java.lang.Thread.run(Thread.java:619)
The catalina.out logfile doesn't say more than this.
Does anybody have an idea of what could be wrong?
Please note that tomcat on my pc is out of the box, I haven't changed anything, whereas the tomcat on the server has been installed by our system administrator, and I don't know whether he configured anything that could be causing the problem...
Thanks
Anna
|
|
|
Re: Error deploying Birt Viewer on Tomcat [message #642270 is a reply to message #642249] |
Tue, 30 November 2010 11:15   |
Eclipse User |
|
|
|
Do you have anything in this directory
WEB-INF\platform\configuration
other than the config.ini?
Jason
On 11/30/2010 10:07 AM, pellianna@gmail.com wrote:
> Hi,
>
> I am having problems deploying the birt viewer on tomcat 6, on our Linux
> Server. I followed the instructions here:
>
> http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php
>
> I first tried it on a tomcat installed on my windows pc, and it worked
> as expected, I was able to see the sample report, no errors. Then I did
> the same on the server. here are the steps:
>
> 1. copied the WebViewerExample directory into the webapps folder in Tomcat
> 2.added the commons-logging.1.1.1.jar to the
> WebViewerExample/WEB-INF/lib directory
> 3. restarted Tomcat
> 4. Clicked on WebViewerExample in the Tomcat manager. This displayed the
> page where it says:
>
> BIRT viewer has been installed.
>
>
>
> Thank you for your choosing BIRT (Business Intelligence Reporting Tool).
>
> Viewer Version : 2.6.0
>
> Engine Version: 2.6.0
>
> JRE version: 1.6.0_12
>
> View Example
> 5. Clicked on "View example" and got the following error:
>
> - Fatal error occurred when try to startup report engine.
>
> org.eclipse.birt.report.exception.ViewerException: Fatal error occurred
> when try to startup report engine. at
> org.eclipse.birt.report.service.ReportEngineService.setEngin
> eContext(ReportEngineService.java:326) at
> org.eclipse.birt.report.service.BirtViewerReportService.setC
> ontext(BirtViewerReportService.java:1022) at
> org.eclipse.birt.report.servlet.ViewerServlet.__getContext(V
> iewerServlet.java:148) at
> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.doGet(BirtSoapMessageDispatcherServlet.java:151) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at
> org.apache.axis.transport.http.AxisServletBase.service(AxisS
> ervletBase.java:327) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer
> vlet.service(BirtSoapMessageDispatcherServlet.java:122) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:290) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206) at
> org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF
> ilter.java:68) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:235) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206) at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar
> dWrapperValve.java:233) at
> org.apache.catalina.core.StandardContextValve.invoke(Standar
> dContextValve.java:191) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo
> stValve.java:128) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
> rtValve.java:102) at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard
> EngineValve.java:109) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
> apter.java:286) at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce
> ssor.java:845) at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand
> ler.process(Http11Protocol.java:583) at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:447)
> at java.lang.Thread.run(Thread.java:619)
>
> The catalina.out logfile doesn't say more than this.
>
> Does anybody have an idea of what could be wrong? Please note that
> tomcat on my pc is out of the box, I haven't changed anything, whereas
> the tomcat on the server has been installed by our system administrator,
> and I don't know whether he configured anything that could be causing
> the problem...
>
> Thanks
> Anna
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Error deploying Birt Viewer on Tomcat [message #643693 is a reply to message #643625] |
Tue, 07 December 2010 16:51   |
Eclipse User |
|
|
|
It would go in the log file under the logs directory of the viewer, but
it might not right anything to it if the engine never starts.
Jason
On 12/7/2010 11:44 AM, Anna wrote:
> Hi Jason
>
> yes, I know which application is causing the issue. If I undeploy it and
> restart Tomcat, birt-viewer works. If I deploy it again, and restart, I
> get again the error above and birt-viewer doesn't start.
>
> I have done this several times, I am pretty sure this is the problem.
>
> I will try to change the logging level as you suggested. Where would the
> additional info go, catalina.out, or does birt write other log files?
>
> I didn't think this type of conflict could happen...
>
> Thanks
> Anna
|
|
|
Re: Error deploying Birt Viewer on Tomcat [message #1764243 is a reply to message #642249] |
Sat, 27 May 2017 03:08  |
Eclipse User |
|
|
|
Dear Team,
I am getting problem when i am deploying birt 4.6.0 into tomcat 7.47 and JDK/jre 1.8
error is as follows
May 27, 2017 12:20:11 PM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/birt]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
.
please tell me any compatibility issue is there ?
Thanks in Advance ..
|
|
|
Powered by
FUDForum. Page generated in 0.05047 seconds