[api-dev] Specify the user installation while connection to OO from Java

2007-04-19 Thread Reinhold Merk
Hi all,

i've created several user installations with 

soffice -env:UserInstallation=file:///home/user1
soffice -env:UserInstallation=file:///home/user2 ...

which all contain user-specific configurations such as disabled menus etc.

Now i'm searching for a way to specify a certain of these installations when
connecting to OO from a Java application, i.e. i want to start app1 with the 
configuration of user1, app2 with the configuration of user 2 and so on.
Any ideas how to manage that?

Best regards,
Reinhold

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



Re: [api-dev] Specify the user installation while connection to OO from Java

2007-04-19 Thread Mathias Bauer
Reinhold Merk schrieb:

 Hi all,
 
 i've created several user installations with 
 
 soffice -env:UserInstallation=file:///home/user1
 soffice -env:UserInstallation=file:///home/user2 ...
 
 which all contain user-specific configurations such as disabled menus etc.
 
 Now i'm searching for a way to specify a certain of these installations when
 connecting to OO from a Java application, i.e. i want to start app1 with the 
 configuration of user1, app2 with the configuration of user 2 and so on.
 Any ideas how to manage that?

If you don't use the simple bootstrapping but connect manually you are
able to pass all command line arguments you want.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to [EMAIL PROTECTED].
I use it for the OOo lists and only rarely read other mails sent to it.

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



Re: [api-dev] Specify the user installation while connection to OO from Java

2007-04-19 Thread Laurent Godard

Hi


which all contain user-specific configurations such as disabled menus etc.

Now i'm searching for a way to specify a certain of these installations when
connecting to OO from a Java application, i.e. i want to start app1 with the 
configuration of user1, app2 with the configuration of user 2 and so on.

Any ideas how to manage that?


make each user listen on a different port in the common.xcu 
ooConnectionURL ?


see 
http://svn.nuxeo.org/trac/nuxeo/browser/org.nuxeo.ecm.platform.transform/trunk/plugins/ooo_autoListen

for an example to setup this using an extension

Laurent


--
Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org - 
http://www.indesko.com
Nuxeo Enterprise Content Management  http://www.nuxeo.com - 
http://www.nuxeo.org

Livre Programmation OpenOffice.org, Eyrolles 2004-2006

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



[api-dev] [EMAIL PROTECTED] REQUEST: unanswered questions

2007-04-19 Thread Michael Hoennig
Dear OpenOffice.org community,

We really would like to see all questions answered, but
we need your help to keep track of your questions and their
answer status.  Thus, if you still have a question unanswered
for more than two days, feel free to place a reminder on the
list.  But maybe you should think about simplifying your
question, strip down your code example etc.

I'd like to remind that this mailinglist is not a support 
forum. We core developers like to see all questions answered,
but we cannot do your work.  Thus, even though some background
information can be helpful, phrase your question as easy as 
possible to us and focus on the OOo API rather then your 
application.

Juergen+Andreas

-- 
http://api.openoffice.org

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



Re: [api-dev] DCOM OpenOffice.org

2007-04-19 Thread JV

Hi


I'm trying to get OpenOffice.org to run under COM/DCOM for use on an
unattended server.

To do this I create a Component Package under COM+. It works fine.
However if I change the user from the Interactive User (me) to a
named user (also me) then I start getting errors when I try to create
an instance of the Service Manager.

Retrieving the COM class factory for component with CLSID
{82154420-0FBF-11D4-8313-005004526AB4} failed due to the following
error: 80080005. [Server execution failed]


Prompted by the mail on unanswered questions I was wondering if anyone had any 
more thoughts on this?


It's obviously something that someone is familiar with given that this behavior 
is in the documentation.


However it's not something which is explained in any way.

At present I don't know whether to look at OOo at UNO (the UNO guys say not) or 
at COM+ itself.


Best Wishes

Jos

--
jos vernon
http://www.websupergoo.com/
.NET Image Components  Consultancy
-- 


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