Hello, the office bean needs a few native libraries. Tom is right, the office bean java libs tries to find this libraries from their location.
Is OpenOffice installed on your application server ? You can use our UNO Wrapper www.ubion.de in order to solve your problem. Our connection allows you to set the path of the native libs. Best regards Andreas -----Ursprüngliche Nachricht----- Von: Roberto Battistoni [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 10. Februar 2006 17:07 An: [email protected] Betreff: [api-dev] JavaWebStart and OfficeBean....problems!!! Hi, I have a very simple JavaSwing App. that load an OfficeBean in a JFrame. I have packed my Jar and Oo Jars (jurt.jar, etc. etc.) in a war file and deploy it on my JBoss App. Server. If I load my JavaSwing App. locally, all it's ok, but if I load the application with JavaWebStart I have this error: cannot find uwinapi Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no officebean in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.sun.star.lib.util.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:72) at com.sun.star.comp.beans.LocalOfficeConnection.<clinit>(LocalOfficeConnection.java:153) at com.sun.star.comp.beans.OOoBean.getOOoConnection(OOoBean.java:288) at com.sun.star.comp.beans.OOoBean.getMultiServiceFactory(OOoBean.java:308) at com.sun.star.comp.beans.OOoBean.loadFromURL(OOoBean.java:578) I don't know how "NativeLibraryLoader.loadLibrary" references "uwinapi.dll." Have you any idea? Thanks Roberto Battistoni --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
