Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

WEB API examples' ERRORS

SOLVED
Go to solution
Highlighted
lema
Super Collector

WEB API examples' ERRORS

hi all.

let's say that i'm running Example3 with:

String server = "192.168.166.22";
String username = "ict_sokolova";
String password = "12121212";

and that:

1) 192.168.166.22 is the ip of the server where HPOV SD5.1 is.
2) my username to login to that server is ict_sokolova.
3) my username to login to my own machine is it_sokolova.
4) 12121212 is the password to login to the server with HPOV SD5.1

when i run Example3 on my own machine (on eclipse) it shows me an error/message like:

18.06.2007 8:48:16
INFO: Session timeout set to 44 640 minutes
18.06.2007 8:48:20
INFO: Could not find the configuration file C:\Documents and Settings\it_sokolova\Application Data\HP OpenView\conf\OvObsClient.conf
Access denied: incorrect account name or password. Click OK to retry to log on.


i've checked the folder on the server(192.168.166.22) C:\Documents and Settings\ict_sokolova\ but couldnot find any Application Data. there is no such doc on my own machine either. so, pls say, what/where should i check? what the error can be?

thanks in advance.

lema
17 REPLIES
Vasily Kamenev
Honored Contributor

Re: WEB API examples' ERRORS

HI
this is file(C:\Documents and Settings\it_sokolova\Application Data\HP OpenView\conf\OvObsClient.conf) will be created after client s/w be installed.

Vasily
lema
Super Collector

Re: WEB API examples' ERRORS

so what is s/w please?
lema
Super Collector

Re: WEB API examples' ERRORS

i've changed ict_sokolova to it_sokolova, and found C:\Documents and Settings\it_sokolova\Application Data\HP OpenView on the server. but no conf\OvObsClient.conf
Raman Shcharbak
Frequent Visitor

Re: WEB API examples' ERRORS

s\w = software.
Have you ever logged in to SD as ict_sokolova? Try to do it on server.

STOP
is ict_sokolova SERVICE DESK ACCOUNT
I `m almoast shure than NOT

YOU MUST SPECIFY USERNAME AND PASS OF SERVICEDESK APPLICATION ACCOUNT, NOT your win account!
lema
Super Collector

Re: WEB API examples' ERRORS

ok Vasiliy now i made a change:

String server = "192.168.166.22";
String username = "test";
String password = "123456";

this is the resuslt:

18.06.2007 13:59:20
INFO: Session timeout set to 44 640 minutes
18.06.2007 13:59:21
INFO: Could not find the configuration file C:\Documents and Settings\it_baynazarova\Application Data\HP OpenView\conf\OvObsClient.conf
Setting the status to Request for change (RFC)
Made problem with id 7
Added by API

is it the right result, should it be like this??
Raman Shcharbak
Frequent Visitor
Solution

Re: WEB API examples' ERRORS

Yes, Check that a problem with ID 7 and status Request for change (RFC) was created (use SD Client)
lema
Super Collector

Re: WEB API examples' ERRORS

oh sorry, my last reply was adressed to you Roma, i confused with Vasiliy.

oh ya, now see both, OvObsClient.conf and problems created.
thanks a lot
lema
Super Collector

Re: WEB API examples' ERRORS

just wondering what does mean this message when running Example3:

18.06.2007 13:59:20
INFO: Session timeout set to 44Ã 640 minutes
18.06.2007 13:59:21
INFO: Could not find the configuration file C:\Documents and Settings\it_baynazarova\Application Data\HP OpenView\conf\OvObsClient.conf
Raman Shcharbak
Frequent Visitor

Re: WEB API examples' ERRORS

INFO: Session timeout set to 44Ã Â 640 minutes
- This is info line, appears every time when a session is created.
OvObsClient.conf - I think that some client settings are read from this file when establishing a session. So, your program tries to read them, and falls back to defaults when is not able to find the file.
Gupta_1
Occasional Contributor

Re: WEB API examples' ERRORS

Hi,

I am also facing the same error.

We are using Janitor interface(developed in Java) to transfer records from Asset Center to Service Desk.

The Janitor tool is being deployed on AC server and it is triggreded using startup.bat file. When it triggred from command prompt it displays the following error:

21.05.2009 11:48:16
INFO: Session timeout set to 44 640 minutes
21.05.2009 11:48:17
INFO: Could not find the configuration file C:\Documents and Settings\openview\Application Data\HP OpenView\conf\OvObsClient.conf

Could anyone please let me know where I need to change to get it resolved.

Please let me know if you need further information.

Thanks & Regards,
Gaurav
Raman Shcharbak
Frequent Visitor

Re: WEB API examples' ERRORS

This is INFO! Not error.
You just never logged in to SD from win account "openview"

>>>INFO: Session timeout set to 44Ã Â Ã Â 640 minutes
- This is info line, appears every time when a session is created.
OvObsClient.conf - I think that some client settings are read from this file when establishing a session. So, your program tries to read them, and falls back to defaults when is not able to find the file.
Gupta_1
Occasional Contributor

Re: WEB API examples' ERRORS

Thanks for reply Roman.

You mean to say that I need to logon into SD5.1 application using account "openview", is it?

But "openview" account is for logon into AC server. There is no such application account created with "openview" in SD application.

Please clear it more.

I also did not get what is win account.
Thanks,
Gaurav
Raman Shcharbak
Frequent Visitor

Re: WEB API examples' ERRORS

Login to windows under openview, then using SD Client login to SD using application account of SD that is used to transfer records. This will create a file ...\openview\Application Data\HP OpenView\conf\OvObsClient.conf, And this INFO line will disappear.
Gupta_1
Occasional Contributor

Re: WEB API examples' ERRORS

Unfortunately our SD server is Unix box. But I've tried to login into SD client application (on Unix Box) using account used for transfer records.

I think there is some slight confusion regarding settings.

Following is the set-up used to transfer records from AC -SD.

1) AC server and Janitor are installed on ip 62.239.62.111 (AC client application also installed on it)
2) AC win account details are:
User Name - openview
Password - Possw0rd


3) SD server is installed on ip 62.239.111.194(this is UNIX box)

When Janitor triggers; it search for conf file on AC server machine (not on SD machine) but the file is not present at the specified location.
So how can this file be created on AC server as I also tried the same procedure (mentioned by you) for AC as well.

Please assist me on this.


Thanks,
Gaurav
Raman Shcharbak
Frequent Visitor

Re: WEB API examples' ERRORS

1. Install SD client on windows AC server where janitor is. Then do as I said
2. Forget about this - this is not ERROR. This is normal
Gupta_1
Occasional Contributor

Re: WEB API examples' ERRORS

Thanks for your kind support. Much appreciated. It is working fine now and no more INFO message is displaying.

Just want to know one more thing; so there would only be one conf file for all the SD Users (accounts).

I mean if suppose in future I would be using another account to tranfer records so the same conf file would work for this account as well.

Thanks,
Gaurav
Raman Shcharbak
Frequent Visitor

Re: WEB API examples' ERRORS

Separate file for each user in
C:\Documents and Settings\%USERNAME%\Application Data\HP OpenView\conf\OvObsClient.conf
//Add this to "OnDomLoad" event