Maybe I'M not right but I think I can remember the following:

You can not bundle the officebean.jar with your application because
officebean needs to be loaded from the locally install office because
everything is located relative to the position of the jar-File.

Tom

Roberto Battistoni wrote:
> 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]
> 
> 
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to