on 03-08-2017 10:13 AM
Dear All,
I am getting error as mentioned here below after 10-15 minutes of generating the token though session is active and token is valid and not expired. After getting these issues when I accessing with newly generated token these issues are resolved automatically. I checked in CMC token is set to expire after 60 minutes. I am not able to understand the nature of token here.
Any help would be appreciated to resolve thess issues.
Below call is working for me:
GET: http://<server>:6405/biprws/infostore
Accept:application/xml
X-SAP-LogonToken:"<valid_token_value>"
Status: 200 OK
Below issue1 and issue2 causing problem with same token which was used in above call and with newly generated token these issues are resolved automatically getting desired output with Status: 200 OK
Issue 1:
GET:http://<server>:6405/biprws/raylight/v1/documents/2050057/parameters/ Accept:application/xml
X-SAP-LogonToken:"<valid_token_value>"
-----------------Getting Error--------------------
Status: 503 Service Unavailable
<error>
<error_code>WSR 00402</error_code>
<message>Resource is not reachable: "FatalException occured. The cause was : com.businessobjects.corba.generic.container.proxy.internal.DependencyFailoverCallbackImpl$FailoverFatalException: Prepare failover failed"
</message>
</error>
Issue 2:
PUT:http://<server>:6405/biprws/raylight/v1/documents/2050057/parameters/ Content-Type:application/xml
X-SAP-LogonToken:"<valid_token_value>"
Body>Raw:
<parameters>
<parameter type="prompt"><id>0</id><answer type="Numeric"><values><value>ALL</value></values></answer></parameter>
<parameter type="prompt"><id>1</id><answer type="Numeric"> <values> <value>ALL</value> </values></answer> </parameter>
<parameter type="prompt"><id>2</id><answer type="Numeric"><values><value>%Lic%</value></values></answer></parameter>
</parameters>
-----------------Getting Error--------------------
Status: 503 Service Unavailable
<error>
<error_code>WSR 00402</error_code>
<message>Resource is not reachable: "FatalException occured. The cause was : com.businessobjects.corba.generic.container.proxy.internal.DependencyFailoverCallbackImpl$FailoverFatalException: Prepare failover failed"
</message>
</error>
Thanks & Regards,
Deepak Kumar
Hi Deepak
Hopefully you found a solution to this as the question is quite old.
My first question would be: How is the X-SAP-LogonToken generated? is it generated from an existing Enterprise Session?
If so, if the originating session is timed out or destroyed, the associated X-SAP-LogonToken is also invalidated.
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.