From users-return-3449-apmail-openoffice-users-archive=openoffice.apache.org@openoffice.apache.org Fri Nov 30 15:27:37 2012 Return-Path: X-Original-To: apmail-openoffice-users-archive@www.apache.org Delivered-To: apmail-openoffice-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E0737D921 for ; Fri, 30 Nov 2012 15:27:36 +0000 (UTC) Received: (qmail 94505 invoked by uid 500); 30 Nov 2012 15:27:36 -0000 Delivered-To: apmail-openoffice-users-archive@openoffice.apache.org Received: (qmail 94128 invoked by uid 500); 30 Nov 2012 15:27:30 -0000 Mailing-List: contact users-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openoffice.apache.org Delivered-To: mailing list users@openoffice.apache.org Received: (qmail 94091 invoked by uid 99); 30 Nov 2012 15:27:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 15:27:29 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of raymond.steele@lmco.com designates 192.31.106.12 as permitted sender) Received: from [192.31.106.12] (HELO mailfo01.lmco.com) (192.31.106.12) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 15:27:23 +0000 Received: from HDXHTPN10.us.lmco.com (hdxhtpn10.ems.lmco.com [158.188.83.20]) by mailfo01.lmco.com (8.14.5/8.14.5) with ESMTP id qAUFQZvT000350; Fri, 30 Nov 2012 15:27:01 GMT Received: from HDXDSP54.us.lmco.com ([fe80::9df7:2ef3:a7e8:73e6]) by HDXHTPN10.us.lmco.com ([fe80::cc18:d817:48d2:b2b0%15]) with mapi id 14.02.0318.004; Fri, 30 Nov 2012 08:24:49 -0700 From: "Steele, Raymond" To: "andrew@pitonyak.org" , "dev@openoffice.apache.org" CC: "users@openoffice.apache.org" Subject: RE: EXTERNAL: Re: Listening Mode - Single instance Thread-Topic: EXTERNAL: Re: Listening Mode - Single instance Thread-Index: AQHNzofsnMJQAk/PoE6s3vFKTuLbWJgCfx1g Date: Fri, 30 Nov 2012 15:24:47 +0000 Message-ID: References: <50B7ED64.40106@pitonyak.org> In-Reply-To: <50B7ED64.40106@pitonyak.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [158.188.95.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8185,1.0.431,0.0.0000 definitions=2012-11-30_13:2012-11-30,2012-11-30,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org Andrew,=20 Thanks for replying. Yes, I want only the instance of OpenOffice that is la= unched from my java application to be listening. If a user launches OpenOff= ice any other way, it would not be listening on the same port. I too have h= ad unreliable results with oooforum.org and have done an extensive search o= n the web for this topic. Your suggestion about the two instances is intere= sting, thanks for it. I may look into that.=20 Lastly, placing: socket,host=3Dlocalhost,port=3D2002;urp;StarOffice.ServiceManager<= /value Into the maind.xcd file seems to be unreliable. Is there something else tha= t I should be doing to launch OpenOffice in listening mode? -----Original Message----- From: Andrew Douglas Pitonyak [mailto:andrew@pitonyak.org]=20 Sent: Thursday, November 29, 2012 4:19 PM To: dev@openoffice.apache.org Cc: Steele, Raymond; users@openoffice.apache.org Subject: EXTERNAL: Re: Listening Mode - Single instance On 11/29/2012 10:18 AM, Steele, Raymond wrote: > Is it possible to open a single instance of calc via loadComponentFromURL= () in listening mode. The instructions here, http://wiki.openoffice.org/wik= i/Documentation/DevGuide/ProUNO/Starting_OpenOffice.org_in_Listening_Mode, = define editing a Setup.xcu file, but the information here, https://issues.a= pache.org/ooo/show_bug.cgi?id=3D117803, says that Setup.xcu no longer exist= in version 3.3. Apparently, I could update the main.xcd file, but I only w= ant listening mode when a specific application opens calc because another a= pplication will need to close that instance. I'd prefer not use a script to= launch soffice -accept=3Dsocket,host=3D0,port=3D2002;urp;. > > Raymond > > My initial reaction is that "Calc does not listen, OpenOffice listens".=20 So are you saying that as soon as a Calc document is opened, you want OOo t= o start listening? Off hand, I don't think that you can do that. I believe = that the choice must be made when OOo begins (not sure how that plays into = the whole quick-starter stuff). You do not mention your operating system, but, you might be able to configu= re another copy of OOo for a different user or location that is configured = to use it. I have seen comments on this in the past, I don't remember the d= etails. I ran a quick google query using running two instances of OOo at the same time and it returned links into oooforum.org, which has been highly unreliable l= ately, and I could not connect. Give it a try and maybe it will work for y= ou. The idea is to use two different OOo profiles so that you can have two diff= erent instances. Then, you can choose which instance you want to run. --=20 Andrew Pitonyak My Macro Document: http://www.pitonyak.org/AndrewMacro.odt Info: http://www.pitonyak.org/oo.php --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org For additional commands, e-mail: users-help@openoffice.apache.org