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
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.txt
2017-08-10 17:59:44,693 ERROR JRFillSubreport,pool-4-thread-1:866 - Fill 1: exception
java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
Subsequent attempts to run that same report give a different error: java.lang.NoClassDefFoundError: Could not initialize class javax.swing.RepaintManager:
2017-08-10 18:08:05,997 ERROR JRFillSubreport,pool-4-thread-2:866 - Fill 1: exception
java.lang.NoClassDefFoundError: Could not initialize class javax.swing.RepaintManager
@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 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.txt
Subsequent 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):The text was updated successfully, but these errors were encountered: