You havn't installed X your system.
To use iText start java with thoe option

java -Djava.awt.headless=true ...

With this option you don't need a X-System on your computer.

See
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/
or
http://javatechniques.com/public/java/docs/hosting/headless-java-x11-libraries.html


Bye
  Stefan


> Hi
>
> This is srikanth., I am getting the following error when i am trying to
> generate PDF with the itext.,
> and is we need to add any dependencies jar(pja.jar & pjatools.jar)  s in
> Linux becoz in windows it is working fine.
>
> java.lang.UnsatisfiedLinkError:
> /usr/java/j2sdk1.4.2/jre/lib/i386/libawt.so: libXp.so.6: cannot open
> shared object file: No such file or directory
>  java.lang.ClassLoader$NativeLibrary.load(Native Method)
>  java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
>  java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
>  java.lang.Runtime.loadLibrary0(Runtime.java:788)
>  java.lang.System.loadLibrary(System.java:834)
>  sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
>  java.security.AccessController.doPrivileged(Native Method)
>  java.awt.Toolkit.loadLibraries(Toolkit.java:1437)
>  java.awt.Toolkit.<clinit>(Toolkit.java:1458)
>  java.awt.Color.<clinit>(Color.java:250)
>  
> com.etisbew.rezengine.report.ReportConverter.writeReportToPDF(ReportConverter.java:112)
>  com.etisbew.rezengine.report.Reports.processRequest(Reports.java:1035)
>  
> com.etisbew.rezengine.report.ReportController.processRequest(ReportController.java:232)
>  com.etisbew.rezengine.servlet.REServlet.doPerform(REServlet.java:510)
>  com.etisbew.rezengine.servlet.REServlet.doPost(REServlet.java:245)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to