Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest community download is jasperserver.war not jasperserver-pro.war #6

Closed
ArcticSnowman opened this issue May 1, 2017 · 7 comments

Comments

@ArcticSnowman
Copy link

Latest community download is jasperserver.war not jasperserver-pro.war

entrypoint.sh assumes the later and fails to run...

@ernestoongaro
Copy link

Hi @ArcticSnowman - there are a few differences in the names of the scripts as well, i have a special version of entrypoint.sh that works only with the community edition here: https://gist.github.com/ernestoongaro/64d8a6244251fb1dc41408d54ee803dd - I just tested with 6.3 CE and all went well.

Will talk to maintainers to get this included in next release.

@ArcticSnowman
Copy link
Author

Cool, Thanks.. I'll give it a try.

@ArcticSnowman
Copy link
Author

I've setup a fork of this code base to include some other changes.. Dockerfile and docker-compose.yml need tweeks to change jasperserver-pro to jasperserver.

One issue I'm hitting is that due to network constraints I'm running the tomcat behind a nginx proxy, which is handling the SSL termination. This seems to cause TomCat issues.

jasperserver_1  | 2017-05-02 17:52:39,857 ERROR CsrfGuard,http-apr-8080-exec-10:44 - Referer domain https://dev-jasper.grantstreet.com/jasperserver/login.html does not match request domain: http://dev-jasper.grantstreet.com/jasperserver/JavaScriptServlet

I'm not sure how to fix that...

@tstrypko
Copy link

tstrypko commented May 24, 2017

Gentlemen, are symptoms of the problem you're discussing something like the following?

jasperserver_1  | deploy-webapp:
jasperserver_1  |      [echo] For JDBC driver the artifactId and version properties are set:
jasperserver_1  |      [echo]   maven.jdbc.artifactId=postgresql
jasperserver_1  |      [echo]   maven.jdbc.version=9.2-1002.jdbc4
jasperserver_1  |      [echo]   Specified JDBC driver jar exists
jasperserver_1  |      [echo] About to copy JDBC driver for import-export config (if it exists):
jasperserver_1  |    [delete] Deleting directory /usr/local/tomcat/webapps/jasperserver-pro
jasperserver_1  |
jasperserver_1  | BUILD FAILED
jasperserver_1  | /usr/src/jasperreports-server/buildomatic/bin/app-server.xml:745: Unable to delete directory /usr/local/tomcat/webapps/jasperserver-pro
jasperserver_1  |
jasperserver_1  | Total time: 1 second
mytest_jasperserver_1 exited with code 1

Tried @ernestoongaro's entrypoing.sh, but it gives me this:

jasperserver_1  | Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
jasperserver_1  | Buildfile: /usr/src/jasperreports-server/buildomatic/build.xml
jasperserver_1  |      [echo] Filtering properties (cleaning out blank spaces)
mytest_jasperserver_1 exited with code 137

Used jasperreports-server-cp-6.3.0-bin.zip. Any clue what's up?

@tstrypko
Copy link

Eventually fixed problems. Not sure what made the difference, but here some points:

  1. Used @ernestoongaro entrypoint.sh
  2. Although, had to start it with #!/bin/bash, otherwise it complained on [[ operator.

@ernestoongaro
Copy link

Hi @tstrypko - thanks for the heads up.

@nataliiakel
Copy link
Contributor

@ArcticSnowman the repo is intended to be used with JasperReports Server Professional edition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants