To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=94036
------- Additional comments from [EMAIL PROTECTED] Thu Sep 18 14:09:29 +0000
2008 -------
Well it's only a problem with the database access - if I just want to display a
document it works fine - starts office and connects to it - if I look at the
running processes I only have one soffice.exe and soffice.bin and a netstat
shows that listening on port 8100.
Here is my .bat file that I call.
@echo off
rem Init start parameters
set OOO_APP="C:\Program Files\OpenOffice.org 2.4\program\soffice.exe"
set OOO_PARAM=-quickstart -minimised
set OOO_SOCKET="-accept=socket,host=localhost,port=8100;urp"
rem Start OpenOffice.org
echo start "OpenOffice.org" %OOO_APP% %OOO_PARAM% %OOO_SOCKET% >oo.log
start "OpenOffice.org" %OOO_APP% %OOO_PARAM% %OOO_SOCKET%
quickstart or headless does the same..I use quick start as the app prints many
single letters on the trot..
Here is what is in the java for connecting.
xRemoteServiceManager = this
.getRemoteServiceManager("uno:socket,host=localhost,port=8100;urp;StarOffice.ServiceManager");
And here is my "start oepenOffice code"
String cmd2 = "C:\\PJDocs\\StartOffice.bat";
String cmdOut = cmd2;
System.out.println(" Trying " + cmdOut);
Runtime.getRuntime().exec(cmd2);
Thread.sleep(10000); // Waits 10 seconds, because
// Runtime.getRuntime().exec("...") does not
// wait until OOo is really running in Listening
// Mode
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]