You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by "Steele, Raymond" <ra...@lmco.com> on 2012/07/30 22:38:53 UTC

loadComponentFromURL Issue

I am trying to connect to a remote instance of StarOffice 9(basis3.1) on Solaris 10 x86, however, I am having some strange inconsistencies. On some systems, my application successfully launches the SpreadSheet application by using the bootstrap method, although it fails if I use a user that did not compile the code. However, on other systems (same architecture), the SpreadSheet application will not launch unless I already have StarOffice running, otherwise it throws com.sun.star.lang.DisposedException: java.io.Exception. Any help on this matter would be greatly accepted.

I've narrowed it down to this call:
ProtertyValue[] load_props = new PropertyValue[0];
XComponent comp = xComponentLoader.loadComponentFromURL("private:factory/scalc", "_blank", 0, load_props);

This call never returns and is throwing the exception.

Thanks in Advanced,



Raymond

RE: Re: loadComponentFromURL Issue

Posted by "Steele, Raymond" <ra...@lmco.com>.
Is there anyone out there that may be able to shed some light on this issue? It would be greatly appreciated.

Thanks,

Raymond

-----Original Message-----
From: Steele, Raymond 
Sent: Tuesday, July 31, 2012 10:03 AM
To: ooo-users@incubator.apache.org
Subject: RE: EXTERNAL: Re: loadComponentFromURL Issue

Liu, 

Thanks for the response. I have tried using the 3.3 libraries and had the same results. As of now, unfortunately, I am stuck with developing against Star Office 9 because we have another organization that decides which software can be placed on the system, and I do not see that the current version of OpenOffice has been released for Solaris 10 x86, only a developers snapshot. Here is the output of printStackTrace():

com.sun.star.lang.DisposedException: java.io.EOFException
	at com.sun.star.lib.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:171)

Raymond


-----Original Message-----
From: Zhe Liu [mailto:aliuzhe@gmail.com]
Sent: Monday, July 30, 2012 7:29 PM
To: ooo-users@incubator.apache.org
Subject: EXTERNAL: Re: loadComponentFromURL Issue

Hi Raymond,
Could you provide the full stack trace?
You can try the newest AOO to see if it's an version issue.

2012/7/31 Steele, Raymond <ra...@lmco.com>:
> I am trying to connect to a remote instance of StarOffice 9(basis3.1) on Solaris 10 x86, however, I am having some strange inconsistencies. On some systems, my application successfully launches the SpreadSheet application by using the bootstrap method, although it fails if I use a user that did not compile the code. However, on other systems (same architecture), the SpreadSheet application will not launch unless I already have StarOffice running, otherwise it throws com.sun.star.lang.DisposedException: java.io.Exception. Any help on this matter would be greatly accepted.
>
> I've narrowed it down to this call:
> ProtertyValue[] load_props = new PropertyValue[0]; XComponent comp = 
> xComponentLoader.loadComponentFromURL("private:factory/scalc",
> "_blank", 0, load_props);
>
> This call never returns and is throwing the exception.
>
> Thanks in Advanced,
>
>
>
> Raymond



--
Best Regards
>From aliuzhe@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


RE: EXTERNAL: Re: loadComponentFromURL Issue

Posted by "Steele, Raymond" <ra...@lmco.com>.
Thanks, but I did post this  there as well.

Raymond

-----Original Message-----
From: Keith N. McKenna [mailto:keith.mckenna@comcast.net] 
Sent: Wednesday, August 01, 2012 10:33 AM
To: ooo-users@incubator.apache.org
Subject: Re: EXTERNAL: Re: loadComponentFromURL Issue

Steele, Raymond wrote:
> Liu,
>
> Thanks for the response. I have tried using the 3.3 libraries and had the same results. As of now, unfortunately, I am stuck with developing against Star Office 9 because we have another organization that decides which software can be placed on the system, and I do not see that the current version of OpenOffice has been released for Solaris 10 x86, only a developers snapshot. Here is the output of printStackTrace():
>
> com.sun.star.lang.DisposedException: java.io.EOFException
> 	at 
> com.sun.star.lib.bridges.java_remote.java_remote_bridge$MessageDispatc
> her.run(java_remote_bridge.java:171)
>
> Raymond
>
>
> -----Original Message-----
> From: Zhe Liu [mailto:aliuzhe@gmail.com]
> Sent: Monday, July 30, 2012 7:29 PM
> To: ooo-users@incubator.apache.org
> Subject: EXTERNAL: Re: loadComponentFromURL Issue
>
> Hi Raymond,
> Could you provide the full stack trace?
> You can try the newest AOO to see if it's an version issue.
>
> 2012/7/31 Steele, Raymond <ra...@lmco.com>:
>> I am trying to connect to a remote instance of StarOffice 9(basis3.1) on Solaris 10 x86, however, I am having some strange inconsistencies. On some systems, my application successfully launches the SpreadSheet application by using the bootstrap method, although it fails if I use a user that did not compile the code. However, on other systems (same architecture), the SpreadSheet application will not launch unless I already have StarOffice running, otherwise it throws com.sun.star.lang.DisposedException: java.io.Exception. Any help on this matter would be greatly accepted.
>>
>> I've narrowed it down to this call:
>> ProtertyValue[] load_props = new PropertyValue[0]; XComponent comp = 
>> xComponentLoader.loadComponentFromURL("private:factory/scalc",
>> "_blank", 0, load_props);
>>
>> This call never returns and is throwing the exception.
>>
>> Thanks in Advanced,
>>
>>
>>
>> Raymond
>
>
>
> --
> Best Regards
>  From aliuzhe@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
> For additional commands, e-mail: ooo-users-help@incubator.apache.org
>
Raymond;

You might try posting ths question to the dev list instead. Although a number of developers read and respond to this list you might have a better chance of someone knowledgeable in this particular area in the dev list.o can rea

I see you are subscribed to ths list through gmane you can reach the dev list through them also it is at:

gmane.comp.apache.incubator.ooo.devel

Regards
Keith


---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


Re: EXTERNAL: Re: loadComponentFromURL Issue

Posted by "Keith N. McKenna" <ke...@comcast.net>.
Steele, Raymond wrote:
> Liu,
>
> Thanks for the response. I have tried using the 3.3 libraries and had the same results. As of now, unfortunately, I am stuck with developing against Star Office 9 because we have another organization that decides which software can be placed on the system, and I do not see that the current version of OpenOffice has been released for Solaris 10 x86, only a developers snapshot. Here is the output of printStackTrace():
>
> com.sun.star.lang.DisposedException: java.io.EOFException
> 	at com.sun.star.lib.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:171)
>
> Raymond
>
>
> -----Original Message-----
> From: Zhe Liu [mailto:aliuzhe@gmail.com]
> Sent: Monday, July 30, 2012 7:29 PM
> To: ooo-users@incubator.apache.org
> Subject: EXTERNAL: Re: loadComponentFromURL Issue
>
> Hi Raymond,
> Could you provide the full stack trace?
> You can try the newest AOO to see if it's an version issue.
>
> 2012/7/31 Steele, Raymond <ra...@lmco.com>:
>> I am trying to connect to a remote instance of StarOffice 9(basis3.1) on Solaris 10 x86, however, I am having some strange inconsistencies. On some systems, my application successfully launches the SpreadSheet application by using the bootstrap method, although it fails if I use a user that did not compile the code. However, on other systems (same architecture), the SpreadSheet application will not launch unless I already have StarOffice running, otherwise it throws com.sun.star.lang.DisposedException: java.io.Exception. Any help on this matter would be greatly accepted.
>>
>> I've narrowed it down to this call:
>> ProtertyValue[] load_props = new PropertyValue[0]; XComponent comp =
>> xComponentLoader.loadComponentFromURL("private:factory/scalc",
>> "_blank", 0, load_props);
>>
>> This call never returns and is throwing the exception.
>>
>> Thanks in Advanced,
>>
>>
>>
>> Raymond
>
>
>
> --
> Best Regards
>  From aliuzhe@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
> For additional commands, e-mail: ooo-users-help@incubator.apache.org
>
Raymond;

You might try posting ths question to the dev list instead. Although a 
number of developers read and respond to this list you might have a 
better chance of someone knowledgeable in this particular area in the 
dev list.o can rea

I see you are subscribed to ths list through gmane you can reach the dev 
list through them also it is at:

gmane.comp.apache.incubator.ooo.devel

Regards
Keith


---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


RE: EXTERNAL: Re: loadComponentFromURL Issue

Posted by "Steele, Raymond" <ra...@lmco.com>.
Liu, 

Thanks for the response. I have tried using the 3.3 libraries and had the same results. As of now, unfortunately, I am stuck with developing against Star Office 9 because we have another organization that decides which software can be placed on the system, and I do not see that the current version of OpenOffice has been released for Solaris 10 x86, only a developers snapshot. Here is the output of printStackTrace():

com.sun.star.lang.DisposedException: java.io.EOFException
	at com.sun.star.lib.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:171)

Raymond


-----Original Message-----
From: Zhe Liu [mailto:aliuzhe@gmail.com] 
Sent: Monday, July 30, 2012 7:29 PM
To: ooo-users@incubator.apache.org
Subject: EXTERNAL: Re: loadComponentFromURL Issue

Hi Raymond,
Could you provide the full stack trace?
You can try the newest AOO to see if it's an version issue.

2012/7/31 Steele, Raymond <ra...@lmco.com>:
> I am trying to connect to a remote instance of StarOffice 9(basis3.1) on Solaris 10 x86, however, I am having some strange inconsistencies. On some systems, my application successfully launches the SpreadSheet application by using the bootstrap method, although it fails if I use a user that did not compile the code. However, on other systems (same architecture), the SpreadSheet application will not launch unless I already have StarOffice running, otherwise it throws com.sun.star.lang.DisposedException: java.io.Exception. Any help on this matter would be greatly accepted.
>
> I've narrowed it down to this call:
> ProtertyValue[] load_props = new PropertyValue[0]; XComponent comp = 
> xComponentLoader.loadComponentFromURL("private:factory/scalc", 
> "_blank", 0, load_props);
>
> This call never returns and is throwing the exception.
>
> Thanks in Advanced,
>
>
>
> Raymond



--
Best Regards
>From aliuzhe@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


RE: Re: loadComponentFromURL Issue

Posted by "Steele, Raymond" <ra...@lmco.com>.
Is there anyone out there that may be able to shed some light on this issue? It would be greatly appreciated.

Thanks,

Raymond

-----Original Message-----
From: Steele, Raymond 
Sent: Tuesday, July 31, 2012 10:03 AM
To: ooo-users@incubator.apache.org
Subject: RE: EXTERNAL: Re: loadComponentFromURL Issue

Liu, 

Thanks for the response. I have tried using the 3.3 libraries and had the same results. As of now, unfortunately, I am stuck with developing against Star Office 9 because we have another organization that decides which software can be placed on the system, and I do not see that the current version of OpenOffice has been released for Solaris 10 x86, only a developers snapshot. Here is the output of printStackTrace():

com.sun.star.lang.DisposedException: java.io.EOFException
	at com.sun.star.lib.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:171)

Raymond


-----Original Message-----
From: Zhe Liu [mailto:aliuzhe@gmail.com]
Sent: Monday, July 30, 2012 7:29 PM
To: ooo-users@incubator.apache.org
Subject: EXTERNAL: Re: loadComponentFromURL Issue

Hi Raymond,
Could you provide the full stack trace?
You can try the newest AOO to see if it's an version issue.

2012/7/31 Steele, Raymond <ra...@lmco.com>:
> I am trying to connect to a remote instance of StarOffice 9(basis3.1) on Solaris 10 x86, however, I am having some strange inconsistencies. On some systems, my application successfully launches the SpreadSheet application by using the bootstrap method, although it fails if I use a user that did not compile the code. However, on other systems (same architecture), the SpreadSheet application will not launch unless I already have StarOffice running, otherwise it throws com.sun.star.lang.DisposedException: java.io.Exception. Any help on this matter would be greatly accepted.
>
> I've narrowed it down to this call:
> ProtertyValue[] load_props = new PropertyValue[0]; XComponent comp = 
> xComponentLoader.loadComponentFromURL("private:factory/scalc",
> "_blank", 0, load_props);
>
> This call never returns and is throwing the exception.
>
> Thanks in Advanced,
>
>
>
> Raymond



--
Best Regards
>From aliuzhe@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


Re: loadComponentFromURL Issue

Posted by Zhe Liu <al...@gmail.com>.
Hi Raymond,
Could you provide the full stack trace?
You can try the newest AOO to see if it's an version issue.

2012/7/31 Steele, Raymond <ra...@lmco.com>:
> I am trying to connect to a remote instance of StarOffice 9(basis3.1) on Solaris 10 x86, however, I am having some strange inconsistencies. On some systems, my application successfully launches the SpreadSheet application by using the bootstrap method, although it fails if I use a user that did not compile the code. However, on other systems (same architecture), the SpreadSheet application will not launch unless I already have StarOffice running, otherwise it throws com.sun.star.lang.DisposedException: java.io.Exception. Any help on this matter would be greatly accepted.
>
> I've narrowed it down to this call:
> ProtertyValue[] load_props = new PropertyValue[0];
> XComponent comp = xComponentLoader.loadComponentFromURL("private:factory/scalc", "_blank", 0, load_props);
>
> This call never returns and is throwing the exception.
>
> Thanks in Advanced,
>
>
>
> Raymond



-- 
Best Regards
>From aliuzhe@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org