java.lang.UnsatisfiedLinkError and java.lang.NoClassDefFoundError

Hi!

I'm new in java. Im debugging an application that exports data to a Word Document. The application runs successfully on one development server, however it gives the following error on the production server.

java.lang.UnsatisfiedLinkError: /adb/apps/pkg/java/1.4.2_03/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)

at java.lang.Runtime.loadLibrary0(Runtime.java:788)

at java.lang.System.loadLibrary(System.java:834)

at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)

....

when i refresh the page the error message changes to:

java.lang.NoClassDefFoundError

at com.lowagie.text.rtf.RtfWriter.initDefaults(Unknown Source)

at com.lowagie.text.rtf.RtfWriter.(Unknown Source)

at com.lowagie.text.rtf.RtfWriter.getInstance(Unknown Source)

the application uses iText 1.00 for the exporting.

Thank you!

[1149 byte] By [mjbcruza] at [2007-11-27 0:24:27]
# 1
It seems your development server has a library required to write to the word document that your production server has not installed (the i Text thingie?) Install it on the production server the same way it is installed on the development server.
benubacha at 2007-7-11 22:21:21 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...