I got it working, and you were right.
Thanks
From:
Ricardo Coutinho [mailto:[EMAIL PROTECTED]
Sent: 09 November 2005 14:39
To: John Wylie; John Wylie;
itext-questions@lists.sourceforge.net
Subject: RE: [iText-questions] RE:
iText with Tomcat
I had a similar problem
Bear,
"Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)"
Paulo has suggested PJA toolkit http://www.eteks.com/pja/en/
I will give that a try shortly, it sounds like the solution.
Will let you all know if this works
Than
@lists.sourceforge.net
Subject: RE: [iText-questions] RE: iText with Tomcat
In Microsoft parlance: talk to your system administrator. I've no idea how
linux works.
> -Original Message-
> From: john wylie [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 09, 2005 4:55 PM
> To: Paul
e X11 server is
> not running.
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On
>> Behalf Of john wylie
>> Sent: Wednesday, November 09, 2005 3:09 PM
>> To: Ricardo Coutinho; itext-questions@lists.sourceforge.net
>>
vember 2005 17:01
> To: john wylie; Ricardo Coutinho;
> itext-questions@lists.sourceforge.net
> Subject: RE: [iText-questions] RE: iText with Tomcat
>
> In Microsoft parlance: talk to your system administrator.
> I've no idea how
> linux works.
>
> > -Or
Is your java runtime at least 1.4? I don't think the virtual
graphics environment was included until then.
(The alternative is setting up real (or virtual) X11 display but
most sysadmins will strongly encourage you to find another solution.)
Bear
John Wylie wrote:
> I have just uploaded my app
ists.sourceforge.net
> Subject: Re: [iText-questions] RE: iText with Tomcat
>
> So what do I need to do to rectify the problem?
>
> Thanks in advance
>
> (it's not that I am lazy, just that I don't want to break anything)
>
> On 9/11/05 15:57, "Paulo Soares&quo
o; itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] RE: iText with Tomcat
>
> Thanks
>
> I added this line to my code
>
> System.setProperty("java.awt.headless","true");
>
> I don’t get the x11 error anymore, b
Title: Re: [iText-questions] RE: iText with Tomcat
Thanks
I added this line to my code
System.setProperty("java.awt.headless","true");
I don’t get the x11 error anymore, but I now get the error below:
java.lang.NoClassDefFoundError
java.lang.Class.fo
You need a X11 server if you want to use Graphics2D.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of John Wylie
> Sent: Wednesday, November 09, 2005 2:23 PM
> To: John Wylie; itext-questions@lists.sourceforge.net
> Subject:
] RE:
iText with Tomcat
I have just uploaded my
app to my live tomcat server which is Redhat Linux.
Although It runs ok
locally on my windows machine, I get the error below when run from the web
server.
java.lang.InternalError: Can't connect to X11 window server using ':0
I have just uploaded my app to my live
tomcat server which is Redhat Linux.
Although It runs ok locally on my windows
machine, I get the error below when run from the web server.
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY va
12 matches
Mail list logo