Page 1 of 1

Oracle and Connector not working in 8.1 after migration

Posted: Wed Dec 08, 2010 1:20 pm
by prashantdogra50@gmail.com
Hi Guys,

1) I am facing a very strange issue and its driving me nuts. We are migrating from 7.5 to 8.1 .The Oracle stages that were working fine in 7.5 are not able to make connection in 8.1. However if i make a serevrjob, the oracle stage is working fine. In case of parrallel job, it fails saying:- Bad Oracle Environment". Not sure why its working fine in server job.

I tried with connector stage also but it is also failing with error:-
The OCI function OraOCIEnvNlsCreate:OCI_UTF16ID returned status -1. Error code: NULL, Error message: NULL. (CC_OraConnection::allocateOCIHandles, file CC_OraConnection.cpp, line 1732)


NLS is disabled for my project.

Will appreciate any help on this.

Thanks
Prashant

Posted: Wed Dec 08, 2010 1:39 pm
by ray.wurlod
Welcome aboard. Look in the "environment variables" event in the job log to ensure that your Oracle environment variables are correctly set for the user running the job.

Posted: Wed Dec 08, 2010 2:32 pm
by prashantdogra50@gmail.com
Thanks ray.

I have checked that. Its all correct. And same is able to make connection in server job. I tried by harcoding the parameters too.

Posted: Wed Dec 08, 2010 4:44 pm
by prashantdogra50@gmail.com
Any Suggestiom guys..?

Posted: Wed Dec 08, 2010 4:57 pm
by prashantdogra50@gmail.com
ITS resolved. -- Just for information fo others... its was a permission issue. The datastage client user was not given perimission to oracle lib.

Posted: Wed Dec 08, 2010 7:05 pm
by chulett
Thank you for posting your resolution.