CMDBuild Forum

Create PDF

Hi, I can not print in PDF, I get an X11 error:

 

org.apache.cxf.interceptor.Fault: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)

org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)

org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:191)

org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:101)

org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)

org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)

org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:309)

org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.j

 

What do I leave?

hi,

there is an issue with your java/X11 configuration/environment (invalid DISPLAY env var, or something like that). This is an environment/system configuration issue.
You can try to set -Djava.awt.headless=true in you java config (for tomcat you may set JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true" in bin/setenv.sh ).
CMDBuild Team