Srikanth-5 wrote:
>
> 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/
>
>
Yes i placed the same line
-Djava.awt.headless=true
but its not working in Linux and also in my linux it contains the directory
of libX.so6
--
View this message in context:
http://www.nabble.com/Urgent-Plz-Help....-tf3220227.html#a8980083
Sent from the iText - General mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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/