|
From: Tanuki S. S. <su...@ta...> - 2010-07-09 06:40:34
|
Michael, Sorry for the delay. Is the machine that you are running on a Native Chinese machine? Or did you set the locale of a particular desktop session to Chinese? I asked because Windows has a system default locale as well as the locale of the current user. When you run as a service, are you running as the default SYSTEM user? Or have you tried configuring a specific account to run as with the wrapper.ntservice.account property? Be sure to read the docs for this property as the account must be configured in order to run services: http://wrapper.tanukisoftware.com/doc/english/prop-ntservice-account.html Sincerely, Leif Mortenson Tanuki Software, Ltd. On Mon, Jul 5, 2010 at 9:25 AM, Michael Kwok <mi...@mk...> wrote: > Hi > > I have added “wrapper.java.command.loglevel=INFO” and have not noticed any > differences in the generated output. > > I understand that the JVM should be the same in console and service mode, > but for some reason, its unable to use a referenced font when it runs in > service mode. We believe its something to do with how in console mode, the > wrapper is able to interact with the users desktop, but when its in service > mode its not able to, do you have any idea about this? > > Thanks > > Michael > > From: Leif Mortenson [mailto:lei...@ta...] > Sent: Friday, July 02, 2010 4:14 PM > To: wra...@li... > Subject: Re: [Wrapper-user] wrapper.exe cannot use specific fonts when > running in service mode on windows 2008 > > Michael, > It is a fairly common mistake that a different JVM is being used when > running as a Service vs in a console. Please set the following property > and compare the generated command lines in each case. > wrapper.java.command.loglevel=INFO > > If they are different, then it is most likely an environment or path issue. > What does your wrapper.java.command property look like? > > Cheers, > Leif > > On Fri, Jul 2, 2010 at 4:08 PM, Michael Kwok <mi...@mk...> wrote: > > Hello, > > We have encountered a problem whereby when we use wrapper.exe from the > command line a java application is able to use specific Chinese Fonts when > calling vb program. But as soon as we run it in service mode, the Font is > unable to be used. > > We have repeated the exercise on a Chinese Windows XP machine and it works > fine both in service mode and command line mode, but when we try this on a > Chinese Windows 2008 the Chinese font is shown as square blocks. > > Would you have any suggestions on what the problem can be? > > Thanks > > Michael -- Leif Mortenson Tanuki Software, Ltd. 6-16-7-1001 Nishi-Kasai, Edogawa-ku Tokyo 134-0088 Japan Tel/Fax: +81-3-3878-3211 http://www.tanukisoftware.com lei...@ta... |