Lavender, Hal wrote:




We have implemented iText along with Actuate in a Solaris environment and are getting the following errors from the itext API calls.

      Caught Java Exception -- java.lang.UnsatisfiedLinkError: Can't
      load library:
      /apps/actuate_7.0SP2/AcServer/jdk141/jre/lib/sparc/motif12/libmawt.so

The issue is that - sure enough, there is not an apps/actuate_7.0SP2/AcServer/jdk141/jre/lib/sparc/motif12/ directory. Instead, the motif library is located in apps/actuate_7.0SP2/AcServer/jdk141/jre/lib/sparc/_motif21_/

Although creating a motif12 directory sounds like a simple fix, because this is running on a shared server used by a number of divisions, making so simple a change is a huge huge deal.

What about making a symbolic link as is suggested here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4686484
See also http://forum.java.sun.com/thread.jspa?forumID=32&threadID=326048

Another solution would be to avoid using iText functionality that needs the AWT
(but I guess you need the PdfGraphics2D stuff).

br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to