jobs abort with "ORA-00022 invalid session ID; access d

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
jacksamsula
Premium Member
Premium Member
Posts: 29
Joined: Tue Oct 21, 2008 9:26 am
Location: Samsula, FL
Contact:

jobs abort with "ORA-00022 invalid session ID; access d

Post by jacksamsula »

We have just migrated to version 8.1 on windows and are experiencing random job aborts with the message "ORA-00022: invalid session ID; access denied". These jobs then always run successfully on reset/restart. The failure always occurs on the first job in a batch which accesses Oracle (Oracle client is 10.2.0.1.0). The move from 7.5 was also coincident with a move from a dedicated to a virtual Windows Datastage server. No change to the Oracle server. Any suggestions highly appreciiated.
Jack McCarty
American University
Washington DC
jack@American.edu
386-871-4318
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Not sure whether the following link could help

http://jaffardba.blogspot.com/2008/12/o ... enied.html
jacksamsula
Premium Member
Premium Member
Posts: 29
Joined: Tue Oct 21, 2008 9:26 am
Location: Samsula, FL
Contact:

Post by jacksamsula »

Thanks Sainath. Not exactly pertinent as we are on Windows and the problem is not occurring on all jobs. However, it does suggest that we should look at the way we are submitting the host name. Thank You.
Jack McCarty
American University
Washington DC
jack@American.edu
386-871-4318
jacksamsula
Premium Member
Premium Member
Posts: 29
Joined: Tue Oct 21, 2008 9:26 am
Location: Samsula, FL
Contact:

Post by jacksamsula »

For those following this thread, the solution to the Session ID problem was to replace the Oracle 10g client on the Datastage server with version 11g.
Jack McCarty
American University
Washington DC
jack@American.edu
386-871-4318
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So... your target instances were 11g instances?
-craig

"You can never have too many knives" -- Logan Nine Fingers
jacksamsula
Premium Member
Premium Member
Posts: 29
Joined: Tue Oct 21, 2008 9:26 am
Location: Samsula, FL
Contact:

Post by jacksamsula »

No, they were 10g instances. However we found other users on the internet with the same problem who resolved it this way. There are problems created by using the 11g client with 10g - the major one being that date values do not format correctly with the "view data" feature. We can live with this problem much more easily than we can live with the job aborts and we will be migrating Oracle server to 11g soon.
Jack McCarty
American University
Washington DC
jack@American.edu
386-871-4318
Post Reply