|
From: Alan Xu <ala...@gm...> - 2010-07-01 08:02:21
|
Hi, Hubert The service installation succeed, but I got an error when I tried to start the service: Unable to start the service - The service did not start due to a logon failure. (0x42d) I added below properties in wrapper.conf file: wrapper.ntservice.account=<domain>\<username> wrapper.ntservice.password=<plain_text_pwd> I am sure the username/pwd are correct. Do you have any ideal about it? Thanks! Alan On Thu, Jul 1, 2010 at 2:55 PM, Alan Xu <ala...@gm...> wrote: > Hi, Hubert > > Thank you for the quick reply. I am trying to use a user account for the > service and will update you later! > > Cheers > Alan > > > On Thu, Jul 1, 2010 at 2:17 PM, Hubert Felber <Hub...@ab...>wrote: > >> Hey Alan, >> >> Are you using windows? >> >> The printers are probabely installed for a certain user. Running your >> app in console means, that you use that users settings. Running as >> service probabely means that it runs with LocalSystem account, which >> does not have any printers assigned. >> You 'll have to run the service with a user a account that has the >> printer installed. >> Hubert >> >> >> >>> Alan Xu <ala...@gm...> 01.07.2010 08:11 >>> >> Hi, Guys >> >> I am using *PrinterJob.lookupPrintServices()* to get printer services >> in my >> java application. It works fine in console, but when I wrapped it to >> Java >> Service Wrapper, I get nothing. Anyone can help me out or give some >> suggestions. >> >> Thank you very much! >> Alan >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > > |