I'm pretty sure you get this error when Java needs to execute a X 
library function but there's no X server running. If you have the X 
libraries installed, then you probably just need to run your JVM in 
headless mode.

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe Solution Provider


Mario_METCA wrote:
> Hi all,
> 
> I am new to the use of CFDOCUMENT and I found some sample code that
> was posted on the group and I tried to execute the code and I wa
> spresented with the error below.  I am running on Weblogic10.3,
> running under Unix.
> 
> Thanks
> 
> Here is the code sample:
> 
> <cfdocument format="pdf">
>     <style>
>     table {
>         -fs-table-paginate: paginate;
>     }
>     </style>
> <table>
> <thead><tr><th>Header 1</th><th>Header 2</th><th>Header 3</th></tr></
> thead>
> <tbody>
> <cfloop from=1 to=150 index=i>
>     <cfoutput><tr><td>#i#a</td><td>#i#b</td><td>#i#c</td></tr></
> cfoutput>
> </cfloop>
> </tbody>
> </table>
> </cfdocument>
> 
> And here is the error message: (WNYC1110017366 is my desktop machine)
> 
> Type Internal
> Tag Context CFDOCUMENT (/app/fao/csdimt/applications/csdimt_osbd/
> agency/test_email.cfm, Line=1, Column=1)
> Source 1: <cfdocument format="pdf">
> 2:     <style>
> 3:     table {
> 4:         -fs-table-paginate: paginate;
> 5:     }
> ^ Snippet from underlying CFML source
> Stack Trace java.lang.InternalError: Can't connect to X11 window
> server using 'wnyc1110017366.csfb.cs-group.com:0.0' as the value of
> the DISPLAY variable.
>       at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
>       at sun.awt.X11GraphicsEnvironment.access$100
> (X11GraphicsEnvironment.java:52)
>       at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:
> 155)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:131)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:169)
>       at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment
> (GraphicsEnvironment.java:68)
>       at org.xhtmlrenderer.context.AWTFontResolver.init
> (AWTFontResolver.java:57)
>       at org.xhtmlrenderer.context.AWTFontResolver.(AWTFontResolver.java:
> 53)
>       at org.xhtmlrenderer.layout.SharedContext.(SharedContext.java:102)
>       at org.xhtmlrenderer.pdf.ITextRenderer.(ITextRenderer.java:111)
>       at org.xhtmlrenderer.pdf.ITextRenderer.(ITextRenderer.java:102)
>       at com.naryx.tagfusion.cfm.document.cfDOCUMENT.render(Unknown Source)
>       at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
>       at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
>       at com.naryx.tagfusion.cfm.file.cfFile.render(Unknown Source)
>       at com.naryx.tagfusion.cfm.engine.cfSession.onRequest(Unknown Source)
>       at com.naryx.tagfusion.cfm.engine.cfEngine.service(Unknown Source)
>       at com.naryx.tagfusion.cfm.cfServlet.service(Unknown Source)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>       at weblogic.servlet.internal.StubSecurityHelper
> $ServletServiceAction.run(StubSecurityHelper.java:227)
>       at weblogic.servlet.internal.StubSecurityHelper.invokeServlet
> (StubSecurityHelper.java:125)
>       at weblogic.servlet.internal.ServletStubImpl.execute
> (ServletStubImpl.java:292)
>       at weblogic.servlet.internal.ServletStubImpl.execute
> (ServletStubImpl.java:175)
>       at weblogic.servlet.internal.WebAppServletContext
> $ServletInvocationAction.run(WebAppServletContext.java:3504)
>       at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> (AuthenticatedSubject.java:321)
>       at weblogic.security.service.SecurityManager.runAs(Unknown Source)
>       at weblogic.servlet.internal.WebAppServletContext.securedExecute
> (WebAppServletContext.java:2186)
>       at weblogic.servlet.internal.WebAppServletContext.execute
> (WebAppServletContext.java:2092)
>       at weblogic.servlet.internal.ServletRequestImpl.run
> (ServletRequestImpl.java:1406)
>       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
>       at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
> 
> 
> > 
> 

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to