|
From: Shashank X D. <sha...@jp...> - 2009-09-23 16:44:17
|
Thanks Lief for your time !! I was able to solve the problem this morning. For some reason, I had to change the ownership to ADMINISTRATOR on the windows box though the creator of windows service ( and = the owner the password file) was also admin on the box. Also the error was "Failed in reading password file" which misled in believing that it wasn't a permission issue but something else. Regards Shashank -----Original Message----- From: Leif Mortenson [mailto:lei...@ta...] Sent: Wednesday, September 23, 2009 12:11 PM To: wra...@li... Subject: Re: [Wrapper-user] wrapper + JMX, Failed in reading password file Shashank, Where is the ../config/jmxremote.password file relative to the location of the wrapper binary? By default, the Wrapper and JVM's working directory will be set to the location of the wrapper binary. The working directory depends on where Java is launched when running standalone. The Wrapper forces the working directory location to make the application run consistently. If you still have the problem, please send me your wrapper.conf file and a description of where the relevant files are located. Cheers, Leif On Tue, Sep 22, 2009 at 11:46 PM, Shashank X Deshmukh <sha...@jp...> wrote: > Hi, > > > > I'm running a java application through wrapper under windows XP with java > 1.6.0_16 . When I run the application outside wrapper through a bat file, > it works fine and I'm able to access my mBeans. But when I try to start the > application as a windows service implemented through wrapper, I get the > following error: "Error: Failed in reading the password file: > ../config/jmxremote.password" . > > This is probably not a file permissions issue as I've verified the windows > permissions and they are equivalent of 600. The jmxremote.password is out of > the jmx password file. > > Anyone encountered this problem before or any other suggestions? > > > > Thanks and Regards > > Shashank ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. |