xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helder Magalhães <helder.magalh...@gmail.com>
Subject Re: Error with X11GraphicsEnvironment
Date Sat, 30 Oct 2010 08:33:49 GMT
> Hello,

Hi Venkateswara,


> To: general@xmlgraphics.apache.org, fop-users@xmlgraphics.apache.org, fop-users-help@xmlgraphics.apache.org

Please don't cross-post at so many mailing list at a time: instead,
pick a mailing list [1] wisely (in this case, possibly a users list
(fop-users@, the one I'm replying to) and wait patiently for a
response before recalling the subject and/or attempting other mailing
list. Thanks! :-)

BTW: does fop-users-help@ even exists? I guess that might be reserved
for administrative purposes... :-|



> I am using Apache FOP to generate a PDF as per my requirement.
>
> I have written a program to convert an XML data into PDF. This was working
> fine on my local machine, Windows XP sp2.
>
> When I roll out my code to my DEV server, Linux devsrv1  2.6.9-55.ELsmp #1
> SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux. I am facing the
> following exception :
>
> java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
[...]

As you provide almost no interesting information (for example, FOP and
Java run-time versions are much more important that operating system,
IMO), I'd still say that there's a simple explanation for this: your
server is headless (that is, no graphics adapted is available).

You can reproduce this in your Windows environment (which has a
graphics adapter) using the information in Batik bug 42408 [2] (and
maybe even help testing the patch available there?).


> Can you please support me with suggestion or can you forward me with some
> references where I can overcome these errors.

Please provide more detailed information about your environment at a
next opportunity! ;-)


> Thanks In Advance.
>
>
> Regards,
>
> Venkateswara Gupta Grandhi.

Hope this helps,
 Helder


[1] http://xmlgraphics.apache.org/mail.html
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=42408

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message