Closed ddiebel closed 7 years ago
Question @ddiebel - what file did you place into the resources folder? Was it the WAR file or the source archive?
@ernestoongaro the source archive jasperreports-server-6.3.0-bin.zip
@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
}
@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?
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
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
docker-compose up stops with the message "s_ed: can't read classes/jasperreports.properties: No such file or directory". What I'm doing wrong?
Docker-Version: 1.12.5 Docker-Compose: 1.9.0 Windows 7