|
From: Ori A. <oa...@me...> - 2006-01-23 09:25:39
|
Hi Catalin, Sounds like permission problems. NT Services run under a different user account by default which has some restrictions. Try running the service under another account as explained here: http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-account.html Hope this helps. Ori -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Catalin Kormos Sent: Monday, January 23, 2006 10:20 AM To: wra...@li... Subject: [Wrapper-user] Detect printers when running as service Hi there, I'm running JBoss as Windows service using Java Service Wrapper. My J2EE application is used to print remotely, so the server side application needs to detect the printes attached to the server machine. This works fine as long as i run JBoss in a console, but when is runned as service it doesn't find any printers. I use wrapper.ntservice.interactive=true, is there anything else that i'm missing? maybe some specific service dependencies? my service should be started after some specific printers related services? Thanks for any hint. Regards, Catalin ________________________________ Yahoo! Autos <http://us.rd.yahoo.com/evt=38381/ ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http:/ /autos.yahoo.com/index.html> . Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |