背景
本篇文章主要讲解如何将birt报表系统部署到tomcat服务器中进行正常使用。
1.conf文件下配置context.xml数据源连接
<Context>
<!-- Default set of monitored resources. If one of these changes, the -->
<!-- web application will be reloaded. -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
<!-- 在配置一个连接池 -->
<ResourceLink global="lzbz" name="lzbz" type="javax.sql.DataSource"/>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
</Context>
注意:lzbz需要和本地文件夹名称一致,如
2.添加ojdbc8.jar包
至此,环境就部署好了.........