Closed johnmanko closed 7 years ago
@johnmanko the error doesn't seem to have anything to do with docker setup. Have you tried building locally and running report? Also, pls try setting JAVA_OPTS - java -Djava.awt.headless=true and restart server. The server requires to have graphical environment for fonts and other graphic related routines that are part of the Java AWT. Lets see if starting JVM with an option for headless support helps.
I will mark issue resolved. Please, reopen if issue persists
I created a Docker Image using CE 6.4.0 (which you can find at jmankoago/jasperserver:6.4.0).
Everything spins up in Docker just fine, and I'm able to add Reports. When running a Report, however, I get an error:
java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
: docker_service_logs_jasperserver_jasperserver.txtSubsequent attempts to run that same report give a different error:
java.lang.NoClassDefFoundError: Could not initialize class javax.swing.RepaintManager
:Could not initialize class javax.swing.RepaintManager.txt
Here is the
docker-compose.yml
file:The (modified)
Dockerfile
used to build the image:The (modified)
scripts/entrypoint.sh
script:entrypoint.txt
tomcat-users.xml
(which didn't seem to work, but this is unrelated - just here for completeness):