On Fri, Feb 22, 2013 at 8:44 PM, André Warnier <a...@ice-sa.com> wrote:
> chris derham wrote: > >> The first part (running programs which require a Window) usually doesn't, >>> because those programs are usually such that they do not work "as a >>> service". It is not usually only the fact that they need a console, but >>> they need a whole bunch of other environment which a Service does not >>> provide. >>> It will only work when the other program is specifically designed to work >>> that way. >>> For example, OpenOffice in "headless" mode works fine. But MS-Office >>> programs do not, and this mode of operation is explicitly indicated by >>> Microsoft as "not recommended and not supported". >>> >> >> So summarising discussion so far >> >> 1) services generally run headless with no interaction with desktop >> 2) you can run a service with interaction with desktop enabled >> 3) this doesn't work under Windows Server 2008 and later. >> >> So questions to OP >> >> a) did the link I sent help? >> > No the access to network resources is an issue when allowed to interact with desktop > b) what programs are you trying to run that open windows on desktop? >> > its a totally different application whose modules we are trying to access from our application > c) what version of os are you running under? >> > Its windows XP > >> I would add another one : > d) can you run instead Tomcat in a command window (via setup.bat), or is > that not possible ? > (I do this kind of thing under similar circumstances, using a virtual > machine so that there is no physical console accessible). > > our client does not wish to have an window opened in the application. > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@tomcat.**apache.org<users-unsubscr...@tomcat.apache.org> > For additional commands, e-mail: users-h...@tomcat.apache.org > > We have made an online application and have technically developed an offline application using Tomcat So I guess we don't have a solution I have another related question, can we run Tomcat using javaw instead of java , this causes no command window to appear . but there are some other issues. is it Ok to do it like this?