Nature
Hi!

I have made an applet that loads OpenOffice document. when I want to view this 
applet in a web browser like Internet Explorer or Mozilla, it throws exception: 

My html file has the following code for applet:
<APPLET code= "SOEditor.class"  width= "800" height= "600"
              archive= 
"ssoeditor.jar,sofficebean.jar,sridl.jar,sunoil.jar,sjuh.jar,sjurt.jar,sunoloader.jar,ssandbox.jar">
</APPLET> 

All jar files included in the above <APPLET> tag are signed jars.

This is the information and exception in the JavaConsole:

basic: Reading cached JAR file from JRE 1.5 release
basic: Certificates for http://192.168.1.21:8080/so/ssandbox.jar is read from 
JAR cache
network: Connecting http://192.168.1.21:8080/so/msvcr70.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/msvcr71.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/msvcr71.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/msvcr71.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/uwinapi.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/uwinapi.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/uwinapi.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/jawt.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/jawt.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/jawt.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/officebean.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/officebean.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/officebean.dll with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher 
certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher 
certificate store
security: Checking if certificate is in Deployment permanent certificate store
network: Connecting http://192.168.1.21:8080/../lib/msvcr71.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/msvcr71.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/msvcr71.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/msvcr70.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/msvcr70.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/msvcr70.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/uwinapi.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/uwinapi.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/uwinapi.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/sal3.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/sal3.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/sal3.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/jpipe.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/jpipe.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/jpipe.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/soffice.exe with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/soffice.exe with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/soffice.exe with proxy=DIRECT
java.lang.Exception: 
java.io.IOException: CreateProcess: \soffice -nologo -nodefault 
-accept=pipe,name=Administrator_25B7Office;urp;StarOffice.ServiceManager error=2
java.io.IOException: CreateProcess: \soffice -nologo -nodefault 
-accept=pipe,name=Administrator_25B7Office;urp;StarOffice.ServiceManager error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at 
com.sun.star.comp.beans.LocalOfficeConnection$OfficeService.startupService(LocalOfficeConnection.java:793)
at 
com.sun.star.comp.beans.LocalOfficeConnection.connect(LocalOfficeConnection.java:344)
at 
com.sun.star.comp.beans.LocalOfficeConnection.getComponentContext(LocalOfficeConnection.java:248)
at com.sun.star.comp.beans.OOoBean.setOOoConnection(OOoBean.java:188)
at com.sun.star.comp.beans.OOoBean.getOOoConnection(OOoBean.java:288)
at SOEditor.getConnected(SOEditor.java:69)
at SOEditor.paint(SOEditor.java:34)
at sun.awt.RepaintArea.paintComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
--- end.

And what does this url http://192.168.1.21:8080/../lib/msvcr71.dll means? I 
mean what does /../lib means in this url?

Thanks for the help.

_____________________
Joseph Bashir
Ufnasoft
http://www.ufnasoft.com




Reply via email to