Re: tomcat/linux no xserver problem

2006-02-06 Thread Mike Sabroff

why not just install the Xserver

Abhilash Kumar wrote:

You have Batik (ships with FOP distribution itself) in Tomcat's classpath ?

Pls see wheter this link is helpful.
http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#batik

thanks and regards,

-- Kannan.

-Original Message-
From: Eickvonder Bjoern [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 11:50 AM
To: users@tomcat.apache.org
Subject: tomcat/linux no xserver problem


Hi,

one of our customers is using tomcat 5.0.28 with jdk 1.4.2_05 on linux
without a running xserver. In fact there is not even one installed. Now
our application produces the following exceptions on generating pdfs
using fop:

1.) java.lang.UnsatisfiedLinkError:
/usr/java/j2sdk1.4.2_05/jre/lib/i386/libawt.so: libXp.so.6: cannot open
shared object file: No such file or directory

2.) java.lang.NoClassDefFoundError at
org.apache.fop.svg.SVGUserAgent.getViewportSize(SVGUserAgent.java:145)
[This line of code is just: return new Dimension(100, 100);]

The first we solved by setting the headless parameter and installing
some basic x-win libraries, but the second exception is still thrown in
some cases. To be more precise it seems that now all pdfs are generated
except those with embedded svg (using fo:foreign-instream-object).
Anyone an idea what might be still missing or misconfigured on the
server?

Bjoern Eickvonder

Besuchen Sie uns vom 14.02. bis zum 16.02.2006 auf der Learntec in Karlsruhe
auf unserem Messestand 342. Vereinbaren Sie einen Termin mit uns...

Diese E-Mail enthalt vertrauliche und/oder rechtlich geschutzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtumlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail bzw. Inhalte hieraus ist nicht gestattet.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Amritha Institute of Medical Sciences, Cochin, India
   Sent using PostMaster by QuantumLink Communications
 One Internet account, unlimited personal e-mail addresses
Get your free copy of PostMaster at http://www.mailserve.net/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  


--
Mike Sabroff
Web Services
Developer
[EMAIL PROTECTED]
920-568-8379


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat/linux no xserver problem

2006-02-05 Thread Eickvonder Bjoern
Hi,

one of our customers is using tomcat 5.0.28 with jdk 1.4.2_05 on linux
without a running xserver. In fact there is not even one installed. Now
our application produces the following exceptions on generating pdfs
using fop:

1.) java.lang.UnsatisfiedLinkError:
/usr/java/j2sdk1.4.2_05/jre/lib/i386/libawt.so: libXp.so.6: cannot open
shared object file: No such file or directory

2.) java.lang.NoClassDefFoundError at
org.apache.fop.svg.SVGUserAgent.getViewportSize(SVGUserAgent.java:145)
[This line of code is just: return new Dimension(100, 100);]

The first we solved by setting the headless parameter and installing
some basic x-win libraries, but the second exception is still thrown in
some cases. To be more precise it seems that now all pdfs are generated
except those with embedded svg (using fo:foreign-instream-object).
Anyone an idea what might be still missing or misconfigured on the
server?

Bjoern Eickvonder

Besuchen Sie uns vom 14.02. bis zum 16.02.2006 auf der Learntec in Karlsruhe 
auf unserem Messestand 342. Vereinbaren Sie einen Termin mit uns...

Diese E-Mail enthalt vertrauliche und/oder rechtlich geschutzte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtumlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail bzw. Inhalte 
hieraus ist nicht gestattet.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]