arputh Contributor.
Contributor.
90 views

Demand Management Web Services: Authentication failed for user

Hi,

 

I have a process running using the Demand Management Web Services.

The process run successfully most of the time but then sometimes the process fails with message: Authentication failed for user

Here is the failure output:

Authentication failed for user wsuser.

---detail---

Exception in thread "main" java.lang.NullPointerException

        at corp.vodacom.vprompt.project.request.portal.OrganisationWidePriorityRanking.main(OrganisationWidePriorityRanking.java:110)

exit code = 1

Errors occurred during command execution.

 

“wsuser” is the that we created specifically to identify the Web Services process. The user has all the Demand Management license and “PPM All Access Grants” security group.

Any advice on what can be done to illuminate this failure?

Thanks,

Alfred

Alfred Puth
PPM Consultant
EOH Application Management
0 Likes
3 Replies
CGut Absent Member.
Absent Member.

Re: Demand Management Web Services: Authentication failed for user

Hello arputh,

 

Are you using toolkit? I found a similar case reported and the solution provide was the following:

 

Please make following changes are been made in the toolkit files :

 

$TOOLKIT_HOME/conf /client_axis2.xml and change the username

$TOOLKIT_HOME/client/src/examples/security/PasswordCallbackHandler.java, and change the password

 

 

You can try changing the password and username for " wsuser"

 

 

Please let me know if this helped you.

 

Best Regards,

Carolina.


“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
0 Likes
arputh Contributor.
Contributor.

Re: Demand Management Web Services: Authentication failed for user

Hi Carolina,

 

Thanks. Yes I use the toolkit.

 

I will apply the change and monitor because it does not happen everytime.

 

Regards,

 

 

 

 

Alfred Puth
PPM Consultant
EOH Application Management
0 Likes
arputh Contributor.
Contributor.

Re: Demand Management Web Services: Authentication failed for user

Hi Carolina,

 

I have monitored and work but I had another similar failure on new user:

 

Authentication failed for user owpuser. ---detail--- Exception in thread "main" java.lang.NullPointerException at corp.vodacom.vprompt.project.request.portal.OrganisationWidePriorityRanking.main(OrganisationWidePriorityRanking.java:110) exit code = 1

Errors occurred during command execution.

 

The new user: owpuser

 

The only change I made to the toolkit PasswordCallbackHandler file is that I read the password from a properties files. My reason was that if someone change this password in the workbench I can only apply the new password to the properties file without recompiling the PasswordCallbackHandler file again. Not sure if this will cause this error?

 

Regards,

 

 

Alfred Puth
PPM Consultant
EOH Application Management
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.