To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=50605 Issue #:|50605 Summary:|User interaction unintentionally impedes server side |application Component:|udk Version:|680m104 Platform:|All URL:| OS/Version:|Windows, all Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|kr Reported by:|tora
------- Additional comments from [EMAIL PROTECTED] Sat Jun 11 05:20:47 -0700 2005 ------- I was wondering if it would be possible to integrate any way to avoid an server side error. A demand of cost effective, rich featured, highly reliable server side application has been increasing. The well improved office suite, SO 8, SS 8 and OOo 2.0, can be the best one in the world. Environment: Internet Explorer --> Internet Information Services (IIS) --> Server Side VBScript ---> CreateObject() --> COM --> soffice.exe Similarly, Firefox --> Apache --> Tomcat --> JRE --> UNO or URE. Problems: Case 1: Time out occurs as soffice.exe starts at the first time right after installation. IIS runs soffice.exe as a different user from one who has installed it. i.e. IWAM_machinename or IUSR_machinename. Therefore, soffice would need to wait for a user action accepting a software license agreement. Case 2: Time out happens when soffice.exe attempts to start a recovery process that currently needs a user interruption. In the both cases, soffice.exe would never return because nobody can see a dialog window or take actions unless the special user IWAM_machinename logs on to the Windows server machine. Consequently, an end user who made a request would face the following error message on her/his web browser. Error message that appears on the Internet Explorer: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services Technical Information (for support personnel) * Error Type: Active Server Pages, ASP 0113 (0x80004005) The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools. Quick Look: A registry database seems to have the following entry of CLSID for com.sun.star.ServiceManager: C:\Program Files\OpenOffice.org 1.9.104\program\soffice.exe -nodefault -nologo Options: 1. Adding a new command line switch to suppress user interaction. 2. Use Uno Runtime Environment (URE), instead. http://www.openoffice.org/servlets/ReadMsg?list=announce&msgNo=245 3. Something else... Sample Code (sample.asp): <HTML><BODY> <% Set objServiceManager = Server.CreateObject("com.sun.star.ServiceManager") Set objDesktop = objServiceManager.createInstance("com.sun.star.frame.Desktop") Dim args() Set objDocument = objDesktop.loadComponentFromURL("private:factory/swriter", "_blank", 0, args) Set objText = objDocument.getText Set objCursor = objText.createTextCursor objText.insertString objCursor, "The first line in the newly created text document." & vbLf, false %> Is everything going OK? </BODY></HTML> --------------------------------------------------------------------- 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]