Christian,
I am new to openoffice development, so any posting about java with
openoffice catches my eye. 

I took a brief look at your site, and while I don't know Norwegian,
it seems your company is doing a lot of web application development.

I'm sure you know more about OOo development than I, but I was just
wondering a few things. Is your OOo project related to a user
interaction with OOo, or are you calling OOo from a server-side web
application. If it is related to a server-side application, did you
know that you don't have to start up openoffice on the server
separately, but your application can do it using the Bootstrap? If
not, reply to this and I'll explain more...

mike


--- Christian Andersson <[EMAIL PROTECTED]> wrote:
> Hi there, I'm trying to upgrade my javacode that integrates with 
> openoffice from using openoffice 1.1.3/4 to using openoffice 2.0
> (so 
> that when 2.0 comes out we are already finished)
> I've been downloading openoffice 1.9.95 and installed it.
> 
> my system is configured as follows
> 
> mandrake 10.1 with kde 3.3.1 using x.org
> java 1.4.2_04
> openoffice 1.9.95
> 
> I've set it up so that it listens to the correct port using this
> xml 
> snippet in the Setup.xcu file
> <prop oor:name="ooSetupConnectionURL" oor:type="xs:string">
>
<value>socket,host=localhost,port=8100;urp;StarOffice.ServiceManager</value>
> </prop>
> 
> so far so good, starting up OOo I can see that the port is open and
> 
> ready for usage.
> 
> now trying to get openoffice to open a document from the disc using
> my 
> javacode fails... (this works perfectly in 1.1.3/4)
> 
> what happens is the following.. as soon as i call the 
> loadComponentFromURL function of the XComponentLoader interface, 
> openoffice crashes, sometimes it hangs a bit before crashing (10
> secs, 1 
> minute, several minutes)
> 
> in java I get this exception
> com.sun.star.lang.DisposedException: com.sun.star.io.IOException:
> EOF 
> reached - 
>
socket,host=localhost,port=8100,localHost=rincewind,localPort=37093,peerHost=localhost,peerPort=8100
>       at 
>
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.invoke(java_remote_bridge.java:282)
>       at 
>
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:170)
> com.sun.star.lang.DisposedException: com.sun.star.io.IOException:
> EOF 
> reached - 
>
socket,host=localhost,port=8100,localHost=rincewind,localPort=37093,peerHost=localhost,peerPort=8100
>       at 
>
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.invoke(java_remote_bridge.java:282)
>       at 
>
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:170)
> 
> 
> starting the openoffice instance from the shell turns out to give
> me 
> this message in the shell when openoffice crashed..
> Xlib: unexpected async reply (sequence 0x4112)!
> Xlib: sequence lost (0x14112 > 0x4495) in reply type 0x0!
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


        
                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to