SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
DatabaseConnect causes Dr. Watson error

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
DatabaseConnect causes Dr. Watson error
Author Message
Don Rector



Joined: 08 Jun 2001
Posts: 10

Post DatabaseConnect causes Dr. Watson error Reply with quote

I have a job that connects to an Oracle 8.1.6 database using DatabaseConnect. It reads records from 2 tables successfully, then I use DatabaseDisconnect to disconnect from the database. This is successful the first time the job runs. However, 24X7 bombs at the DatabaseConnect statement with a Dr. Watson error about access violation if I run the same job a second time without stopping/restarting 24X7. How do I fix this?



Fri Jul 20, 2001 1:14 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: DatabaseConnect causes Dr. Watson error Reply with quote

This is known issue in versions 2.3.x and prior. Please upgrade to a more recent version

: I have a job that connects to an Oracle 8.1.6 database using DatabaseConnect.
: It reads records from 2 tables successfully, then I use DatabaseDisconnect
: to disconnect from the database. This is successful the first time the job
: runs. However, 24X7 bombs at the DatabaseConnect statement with a Dr.
: Watson error about access violation if I run the same job a second time
: without stopping/restarting 24X7. How do I fix this?

Fri Jul 20, 2001 2:10 pm View user's profile Send private message
Don Rector



Joined: 08 Jun 2001
Posts: 10

Post Re: DatabaseConnect causes Dr. Watson error Reply with quote

: This is known issue in versions 2.3.x and prior. Please upgrade to a more
: recent version

I was running 3.0.4b at the time of the error. Just upgraded this morning. Now what do I do?

Fri Jul 20, 2001 3:10 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: DatabaseConnect causes Dr. Watson error Reply with quote

Version 3.0.4b is the most recent!

Which database driver do you use for connection? "8.0.4 and later" or some other? Which version of Oracle client are you running?

By the way, there is one simple way to deal with such problems. Set the job to run "detached" and it will not impact other jobs or other subsequent runs

: I was running 3.0.4b at the time of the error. Just upgraded this morning.
: Now what do I do?

Fri Jul 20, 2001 4:05 pm View user's profile Send private message
Don Rector



Joined: 08 Jun 2001
Posts: 10

Post Re: DatabaseConnect causes Dr. Watson error Reply with quote

: Version 3.0.4b is the most recent!

: Which database driver do you use for connection? "8.0.4 and later"
: or some other? Which version of Oracle client are you running?

: By the way, there is one simple way to deal with such problems. Set the job
: to run "detached" and it will not impact other jobs or other
: subsequent runs

I am using the Oracle 8.0.4 - 8i Database profile. I am running Oracle 8.1.6.
The job uses MailSend and MailSendWithAttachment and is called from various other scripts with the JobRun command. I tried setting the job to run detached but I never received email and the job log doesn't show the job as having run. I tried setting the job to run asynchronous and detached and had the same results.

The email job is a script called SendMail and it is called from another script using the JobRun("SendMail") command.

Any other suggestions?

Mon Jul 23, 2001 12:34 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: DatabaseConnect causes Dr. Watson error Reply with quote

Please try creating Oracle 7.3 profile (for connnecting to your Oracle 8.1.6 database)

: I am using the Oracle 8.0.4 - 8i Database profile. I am running Oracle 8.1.6.
: The job uses MailSend and MailSendWithAttachment and is called from various
: other scripts with the JobRun command. I tried setting the job to run
: detached but I never received email and the job log doesn't show the job
: as having run. I tried setting the job to run asynchronous and detached
: and had the same results.

: The email job is a script called SendMail and it is called from another
: script using the JobRun("SendMail") command.

: Any other suggestions?

Mon Jul 23, 2001 1:19 pm View user's profile Send private message
Don Rector



Joined: 08 Jun 2001
Posts: 10

Post Re: DatabaseConnect causes Dr. Watson error Reply with quote

: Please try creating Oracle 7.3 profile (for connnecting to your Oracle 8.1.6
: database)

I can't connect with a 7.3 profile (Ora-01017 - invalid user profile) because the database was created as an 8i database.

I did try connecting to the same database through an ODBC connection rather than the Oracle connection and was able to run the same job several times. This will work as a temporary fix, but can you please check into the Oracle 8.0.4 - 8i connection and modify it to work correctly?

Mon Jul 23, 2001 1:55 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: DatabaseConnect causes Dr. Watson error Reply with quote

From what I know this is caused by a bug in the Oracle OCI (Oracle Call Interface) which is a part of the Oracle client. On disconnect, some versions of the OCI don't releases all allocated system resources and the next connect may lead to a crash. If you are interested, I can find out Oracle assigned bug number.

You should be able to use the Oracle 7.3 driver as long as you correctly specify the Connect String. The format of the string is different in different Oracle versions. Your Oracle client version and the selected driver don't have to match your server version. Ora-01017 is likely a result of the incorrect Connect string.

: I can't connect with a 7.3 profile (Ora-01017 - invalid user profile) because
: the database was created as an 8i database.

: I did try connecting to the same database through an ODBC connection rather
: than the Oracle connection and was able to run the same job several times.
: This will work as a temporary fix, but can you please check into the
: Oracle 8.0.4 - 8i connection and modify it to work correctly?

Mon Jul 23, 2001 3:51 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.