Re: app start up with oracle
- From: Brian Peasland <oracle_dba@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 27 Apr 2006 15:26:36 GMT
I'm writing an app that will be a simple server communicating with my
pl/sql procedures via tcp/ip (utl_tcp package). How can I cause the app
to start up along with the Oracle after e.g. machine reboot?
I'm going to assume that you can start your app with some sort of command line utility. Even in Windows, you can start a service with 'net start service_name'. Once you know how to start your app from the command line, create a Java Stored Procedure to envoke this routine. You are not limited to a Java Stored Procedure as you can use external procedure calls too. That lets you start the app from within the database. Once that is set up, create an AFTER STARTUP trigger to envoke the routine you called. Once the database starts up, the trigger is fired and your app is started.
HTH,
Brian
--
===================================================================
Brian Peasland
oracle_dba@xxxxxxxxxxxxxxxxxxx
http://www.peasland.net
Remove the "nospam." from the email address to email me.
"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
.
- Follow-Ups:
- Re: app start up with oracle
- From: schw
- Re: app start up with oracle
- References:
- app start up with oracle
- From: schw
- app start up with oracle
- Prev by Date: Re: many instances of Oracle on single machine
- Next by Date: Re: app start up with oracle
- Previous by thread: Re: app start up with oracle
- Next by thread: Re: app start up with oracle
- Index(es):
Relevant Pages
|
|