WebSphere Application Server - launch wsadmin without put user and password

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > December 2006 > launch wsadmin without put user and password





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author launch wsadmin without put user and password

2006-12-19, 1:24 pm

Hi all, in websphere6 I have created 2 profiles, the profile admin is the dmgr, when I try to launch wsadmin.sh -profileName admin I get this:


javax.management.JMRuntimeException: ADMN0022E: Access denied
for the getProcessType operation on Server MBean due to
insufficient or empty credentials.

Putting user and password like this wsadmin.sh -profileName admin -user myuser -password mypass , it work fine, I use user and password configurated within soap.client.properties.
Is there some paramether to configure so that websphere use soap.client.properties and I hadnt to put user and pass in the command line?

The soap.client.props and sas.client.props have the same configuration that other environments that they are work fine.



Thanks in advance.
Ken Hygh

2006-12-19, 1:24 pm

josejuliansaez@terra.es wrote:
> Hi all, in websphere6 I have created 2 profiles, the profile admin is the dmgr, when I try to launch wsadmin.sh -profileName admin I get this:
>
>
> javax.management.JMRuntimeException: ADMN0022E: Access denied
> for the getProcessType operation on Server MBean due to
> insufficient or empty credentials.
>
> Putting user and password like this wsadmin.sh -profileName admin -user myuser -password mypass , it work fine, I use user and password configurated within soap.client.properties.
> Is there some paramether to configure so that websphere use soap.client.properties and I hadnt to put user and pass in the command line?
>
> The soap.client.props and sas.client.props have the same configuration that other environments that they are work fine.
>
>
>
> Thanks in advance.


There's clearly some difference. Make sure sas.client.props has

com.ibm.CORBA.loginSource=properties

Ken

2006-12-19, 1:24 pm

Hi, sorry I have realized that I had put empty characters with the space bar in the soap.client.properties.

It work fine now.

Thanks
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com