Mail archive
alpine-user

[alpine-user] Problem with Tomcat Docker Image and the software

From: Stefan Becker <stefan.becker_at_kdsz.de>
Date: Tue, 12 Mar 2019 17:18:25 +0000

Hi everbody,

i want to use the Tomcat Docker Container with Alpinelinux. The container
works fine. But if i install the WAR file of my Application, i get this
error message:

ERROR SESSION FACADE: Error initializing graphic environment.
ERROR BASE ACTION: Allgemeiner Fehler -> Error initializing graphic
environment.
ERROR Error loading font family
net.sf.jasperreports.engine.fonts.InvalidFontException: Error loading font
"net/sf/jasperreports/fonts/icons/icons.ttf".
        at
net.sf.jasperreports.engine.fonts.SimpleFontFace.loadFont(SimpleFontFace.jav
a:206)
        at
net.sf.jasperreports.engine.fonts.SimpleFontFace.setTtf(SimpleFontFace.java:
167)
        at
net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontFace(Si
mpleFontExtensionHelper.java:390)
        at
net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontFamily(
SimpleFontExtensionHelper.java:311)
        at
net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.parseFontExtensi
ons(SimpleFontExtensionHelper.java:259)
        at
net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.loadFontExtensio
ns(SimpleFontExtensionHelper.java:230)
        at
net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.loadFontExtensio
ns(SimpleFontExtensionHelper.java:187)
        at
net.sf.jasperreports.engine.fonts.FontExtensionsRegistry.ensureFontExtension
s(FontExtensionsRegistry.java:93)
        at
net.sf.jasperreports.engine.fonts.FontExtensionsRegistry.getExtensions(FontE
xtensionsRegistry.java:57)
        at
net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getExtensions(Defa
ultExtensionsRegistry.java:130)
        at
net.sf.jasperreports.engine.util.JRStyledTextParser.<clinit>(JRStyledTextPar
ser.java:86)
        at
net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:116)
        at
net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.ja
va:79)
        at
net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(JRFiller.ja
va:251)
        at
net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(JRFiller.java:2
72)
        at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:156)
        at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:145)
        at
net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:75
8)
        at
net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.j
ava:1074)
        at
com.lecare.lwc.core.service.implementation.ReportingServiceImpl.generateAkte
Handaktenbogen(Unknown Source)
        at
com.lecare.lwc.core.service.implementation.ReportingServiceImpl$$FastClassBy
SpringCGLIB$$eb983928.invoke(<generated>)
        at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
        at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invoke
Joinpoint(CglibAopProxy.java:746)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:163)
        at
org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(Abstract
TraceInterceptor.java:133)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:186)
        at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:93)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:186)
        at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.in
tercept(CglibAopProxy.java:688)
        at
com.lecare.lwc.core.service.implementation.ReportingServiceImpl$$EnhancerByS
pringCGLIB$$b7e3e56b.generateAkteHandaktenbogen(<generated>)
        at
com.lecare.lwc.core.facade.implementation.SessionFacadeImpl.generateAkteHand
aktenbogen(Unknown Source)
        at
com.lecare.lwc.core.facade.implementation.SessionFacadeImpl$$FastClassBySpri
ngCGLIB$$c9d0726.invoke(<generated>)
        at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
        at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invoke
Joinpoint(CglibAopProxy.java:746)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:163)
        at
org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(Abstract
TraceInterceptor.java:133)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:186)
        at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:93)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:186)
        at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.in
tercept(CglibAopProxy.java:688)
        at
com.lecare.lwc.web.model.implementation.BusinessDelegateImpl$$EnhancerBySpri
ngCGLIB$$9db82c12.generateAkteHandaktenbogen(<generated>)
        at
com.lecare.lwc.web.struts.action.std.akte.AkteHandaktenbogenAction.getStream
Info(Unknown Source)
        at
com.lecare.lwc.web.struts.action.BaseDownloadAction.processDownload(Unknown
Source)
        at
com.lecare.lwc.web.struts.action.BaseDownloadAction.executeChecked(Unknown
Source)
        at com.lecare.lwc.web.struts.action.BaseAction.execute(Unknown
Source)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:425)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1942)
        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:460)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:231)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:166)
        at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:193)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:166)
        at
org.extremecomponents.table.filter.AbstractExportFilter.doFilter(AbstractExp
ortFilter.java:52)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:193)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:166)
        at com.lecare.lwc.web.filter.SecurityHeaderFilter.doFilter(Unknown
Source)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:193)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:166)
        at com.lecare.lwc.web.filter.CommonHeaderFilter.doFilter(Unknown
Source)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:193)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:166)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:320)
        at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.
invoke(FilterSecurityInterceptor.java:127)
        at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.
doFilter(FilterSecurityInterceptor.java:91)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(
ExceptionTranslationFilter.java:119)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.session.SessionManagementFilter.doFilter(Se
ssionManagementFilter.java:137)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.authentication.AnonymousAuthenticationFilte
r.doFilter(AnonymousAuthenticationFilter.java:111)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.servletapi.SecurityContextHolderAwareReques
tFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilt
er(RequestCacheAwareFilter.java:63)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.authentication.AbstractAuthenticationProces
singFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter
(LogoutFilter.java:116)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter
.java:100)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestF
ilter.java:107)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.context.request.async.WebAsyncManagerIntegr
ationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestF
ilter.java:107)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.context.SecurityContextPersistenceFilter.do
Filter(SecurityContextPersistenceFilter.java:105)
        at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:334)
        at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterCha
inProxy.java:215)
        at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.
java:178)
        at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delegati
ngFilterProxy.java:357)
        at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilt
erProxy.java:270)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:193)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:166)
        at
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(Char
acterEncodingFilter.java:200)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestF
ilter.java:107)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:193)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:166)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:96)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:493)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140
)
        at psiprobe.Tomcat85AgentValve.invoke(Tomcat85AgentValve.java:35)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogVa
lve.java:650)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:87)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
        at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java
:66)
        at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtoco
l.java:806)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.jav
a:1498)
        at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:
49)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
49)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
24)
        at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.ja
va:61)
        at java.lang.Thread.run(Thread.java:748)
[..]

With the ubuntu image the app works fine. Should i install a GUI for this
problem? Have anyone a recommendation or another solution?

Thanks a lot and best regards,

Stefan





---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Tue Mar 12 2019 - 17:18:25 UTC