You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. It contains `postgres`,`mysql`, `sql server` driver by default, Add your db driver in `pom.xml` as necessary.
34
-
2. Config your database url, driverClassName, user, password in `application.properties`.
35
-
3. Run `maven package` to get `war` package.
36
-
4. Copy `war` to tomcat, and run tomcat. Then copy your crystalreport files to `WEB-INF/reports` folder, you can add them at anytime.
39
+
2. At the target running folder, upload `target\lib`(it contains all dependencies), upload `*.rpt` files to `reports` folder.
40
+
3. update your database url, driverClassName, user, password, report location in `config-prod`.
41
+
4. At the target running folder, Run `java -jar crystal-report-server-java.jar --conf=config-prod.json` or Run `java -jar crystal-report-server-java-fat.jar --conf=config-prod.json`.
37
42
5. Open `http://server:port/Report/{ReportTemplateName}/{format}?param0=val0¶m1=val1` in browser, you can see your report.
38
-
6. If chinese text can't display in pdf, please configure /ect/locale.conf `LANG=zh_CN.UTF-8`
39
43
40
44
> Note: `{ReportTemplateName}` is the name of your report template file without extension, `{format}` is the format you want, such as `pdf` `doc` `xls`, `param0` and `param1` are the parameters of your report, give a param named with `filename`, this param value will be used as the file name.
45
+
> Suggestion: Using `Command SQL` instead of `Table Link` for better performance, reduce the report generation duration.
0 commit comments