Giter Site home page Giter Site logo

Comments (6)

ernestoongaro avatar ernestoongaro commented on May 24, 2024

Question @ddiebel - what file did you place into the resources folder? Was it the WAR file or the source archive?

from js-docker.

ddiebel avatar ddiebel commented on May 24, 2024

@ernestoongaro
the source archive jasperreports-server-6.3.0-bin.zip

from js-docker.

ernestoongaro avatar ernestoongaro commented on May 24, 2024

@ddiebel - ok seems like you're using the correct war file

What if you removed this section from scripts/entrypoint.sh? Just trying to isolate the problem..

config_phantomjs() {
  # if phantomjs binary is present, update JaseperReports Server config.
  if [[ -x "/usr/local/bin/phantomjs" ]]; then
    PATH_PHANTOM='\/usr\/local\/bin\/phantomjs'
    PATTERN1='com.jaspersoft.jasperreports'
    PATTERN2='phantomjs.executable.path'
    cd $CATALINA_HOME/webapps/jasperserver-pro/WEB-INF
    sed -i -r "s/(.*)($PATTERN1.highcharts.$PATTERN2=)(.*)/\2$PATH_PHANTOM/" \
      classes/jasperreports.properties
    sed -i -r "s/(.*)($PATTERN1.fusion.$PATTERN2=)(.*)/\2$PATH_PHANTOM/" \
      classes/jasperreports.properties
    sed -i -r "s/(.*)(phantomjs.binary=)(.*)/\2$PATH_PHANTOM/" \
      js.config.properties
  elif [[ "$(ls -A /usr/local/share/phantomjs)" ]]; then
    echo "Warning: /usr/local/bin/phantomjs is not executable, \
but /usr/local/share/phantomjs exists. PhantomJS \
is not correctly configured."
  fi
}

from js-docker.

ddiebel avatar ddiebel commented on May 24, 2024

@ernestoongaro thanks for helping me.

after removing the function-call, docker compose up starts the container and i see normal tomcat output.
But if i try to access 192.168.99.100:8080/jasperserver-pro, i got a "not found". 192.168.99.100:8080 shows me the tomcat startpage. Don't know if it's the same reason?

from js-docker.

ddiebel avatar ddiebel commented on May 24, 2024

after removing the all images and rerun the whole process, the tomcat cones up with login-page. Even with the config_phantomjs() enabled.

Don't know what yesterdays problem was.

@ernestoongaro Thanks for your helping

from js-docker.

ernestoongaro avatar ernestoongaro commented on May 24, 2024

Thanks @ddiebel - will monitor for similar issues in the future. Glad it's working - do get in contact if you want to chat more in depth about the project

from js-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.