on 07-31-2015 12:19 PM
Hello All,
I am using jco3 to connect with the backend sap system using rfc destination of type current user(logon ticket) , connectivity works fine but i am having an issue with the session handling.
In jco3 there is no concept of closing connection explicitely right ?
I am facing the below issue :
Case 1:Fail
I am able to connect with the backend system(KDD) for the first time with user id and password that exist in backed.
PFB the connection properties after successful login:
{jco.destination.auth_type=CURRENT_USER, jco.client.lang=EN, propertiesProvider=destination for a current user configuration, jco.client.auth_type=CURRENT_USER, jco.client.type=3, jco.client.sysnr=00, jco.client.client=001, POOL_MODE=POOL_MODE_POOLED, jco.client.gwserv=sapgw00, jco.client.destination=JCODATAPP, jco.client.ashost=KDD.na.pg.com, jco.client.cpic_trace=-1, jco.destination.peak_limit=10, jco.client.gwhost=KDD.na.pg.com, jco.destination.pool_capacity=5, jco.destination.userid=CM7656, jco.destination.max_get_client_time=10000, jco.destination.expiration_time=300000}
2) Instantly I logout the previous session user and trying with a new session when I try to login with a new username that do not have access to backend still I am still able to login to the backend with the below properties
{jco.destination.auth_type=CURRENT_USER, jco.client.lang=EN, propertiesProvider=destination for a current user configuration, jco.client.auth_type=CURRENT_USER, jco.client.type=3, jco.client.sysnr=00, jco.client.client=001, POOL_MODE=POOL_MODE_POOLED, jco.client.gwserv=sapgw00, jco.client.destination=JCODATAPP, jco.client.ashost=KDD.na.pg.com, jco.client.cpic_trace=-1, jco.destination.peak_limit=10, jco.client.gwhost=KDD.na.pg.com, jco.destination.pool_capacity=5, jco.destination.userid=CM7656, jco.destination.max_get_client_time=10000, jco.destination.expiration_time=300000}
The second session uses the previous session details even after logout and hence was able to access the backend(KDD) again after incorrect details.
Case2: Success-Expected functionality
{jco.destination.auth_type=CURRENT_USER, jco.client.lang=EN, propertiesProvider=destination for a current user configuration, jco.client.auth_type=CURRENT_USER, jco.client.type=3, jco.client.sysnr=00, jco.client.client=001, POOL_MODE=POOL_MODE_POOLED, jco.client.gwserv=sapgw00, jco.client.destination=JCODATAPP, jco.client.ashost=KDD.na.pg.com, jco.client.cpic_trace=-1, jco.destination.peak_limit=10, jco.client.gwhost=KDD.na.pg.com, jco.destination.pool_capacity=5, jco.destination.userid=CM7656, jco.destination.max_get_client_time=10000, jco.destination.expiration_time=300000}
Invalid username and password
Kindly help me to resolve this issue !
Hi Arun,
you may only use the CURRENT_USER authentication type if the DestinationDataProvider is also supporting this feature.
Who is the implementor of your DestinationDataProvider that you have deployed? Or do you use the default one with reading property files? The default implementation does not support the CURRENT_USER authentication type.
Best regards,
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK this looks like you are using the embedded JCo in NW AS Java and its destination service.
There the SAP Assertion Tickets are supported, of course.
But I know that there was one or the other bug in this area.
I suggest that you update your AS Java installation to the latest patch level at least for SERVERCORE.SCA. But please be aware of the dependencies to other component archives and check with the SCA dependency analyzer which other archives need to be updated together with it.
Hello Stefan,
Iam using the rfc destination service of the netweaver administraion.
The issue persists for type assertion ticket as well .:(
What do you mean by ""please update your AS Java installation to the latest patch level at least for SERVERCORE.SCA. But please be aware of the dependencies to other component archives and check with the SCA dependency analyzer which other archives need to be updated together with it..
Can you please elaborate on this what exactly i need to do here. ?
Hi Arun,
in your case 1, you obviously did not exchange the user credentials in the destination properties. When looking at the properties, it's easy to notice that you are using CM7656 in both cases. Then it's clear that a logon does not fail. The user that does not have access is obviously using the same destination properties. This looks like the properties instance that is used has still the old data. Check the DestinationDataProvider implementation, whether it really does the things correctly.
Best regards,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.