On Thu, Feb 21, 2013 at 4:37 AM, ankur bajaj <ankurbaj...@gmail.com> wrote:
> Hi All > > I have a tomcat service which when runs with local account and is allowed > to interact with desktop is not able to access network resources > but If I start this service with a username it cannot interact with the > desktop. > > Is it possible that both these features can be accessed simultaneously? > > I mean I need a tomcat service which can interact with desktop and can > access network resources > > First of all, I find Andre, Chris, and David's responses very interesting. My two cents (my experience and/or requirement). 1. Never ran/used tomcat6 2. I have been using tomcat7 as a Windows Service on Windows Server 2003 and then moved from Windows Server 2003 32-bit to Windows Server 2008 R2 64-bit. 3. Never really had the need for service to interact with desktop, except for the basic need to start/stop tomcat7 and/or adjust the properties of the service. tomcat7w.exe definitely fulfills this requirement of mine!!! 4. The Windows 2003 server is already the domain server/controller, and the network shared drives are there...if i need to access shared/network resources. Also, HP printer driver/software was installed 'already' (prior to development of the web app running via tomcat7), so when time came for 'silent printing', i found some java code that performs silent printing well, that scans the list of printers on the Windows Server 2003, and allows me to print (PDF document) to any one of those printers. 5. Now, I do have some plans or future requirements that I'd like to address immediately, where I am pushing data to QuickBooks; there is a QuickBooks data file still hosted on the Windows Server 2003 and the Windows Server 2008 is 'not' on the domain, but can talk to the rest of the network via tcp/ip. Also, i'm aware that QuickBooks has QuickBooks Online, qbXML, etc..., and I'm considering those options to push data to QuickBooks instead of accessing 'network resources'. Okay, it may be a quicker response-time to access local area network resources than push data to WAN. Not really a concern of mine, since the app is already pushing data to Google Calendar, successfully, reliably, and in a manner that performs quite well, too..especially, since good hardware and network connection is 'now' in place. :)