wrapper + JMX, Failed in reading password file

View: New views
4 Messages — Rating Filter:   Alert me  

wrapper + JMX, Failed in reading password file

by Shashank C Deshmukh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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

 

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.


------------------------------------------------------------------------------
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
Wrapper-user@...
https://lists.sourceforge.net/lists/listinfo/wrapper-user

Re: wrapper + JMX, Failed in reading password file

by Leif Mortenson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
<shashank.x.deshmukh@...> 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
Wrapper-user@...
https://lists.sourceforge.net/lists/listinfo/wrapper-user

Re: wrapper + JMX, Failed in reading password file

by Shashank C Deshmukh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:leif.mortenson@...]
Sent: Wednesday, September 23, 2009 12:11 PM
To: wrapper-user@...
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
<shashank.x.deshmukh@...> 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
Wrapper-user@...
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.  

------------------------------------------------------------------------------
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
Wrapper-user@...
https://lists.sourceforge.net/lists/listinfo/wrapper-user

64 bit wrapper on Solaris

by IKoelliker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I am wondering if the 64 bit version of the wrapper executable and .so need to be run on a 64 bit Solaris machine in order to handle the system signals properly or if the 32 bit version will work correctly?

I know on a 64 bit version of Windows, if the 32 bit version of the wrapper is used the java processes will stop when the user logs off the box, but I am wondering if it is the same case with Solaris too.

Thanks,
Ian Koelliker
------------------------------------------------------------------------------
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
Wrapper-user@...
https://lists.sourceforge.net/lists/listinfo/wrapper-user