?
Solved

AutoStart OC4J_home

Posted on 2004-04-27
5
Medium Priority
?
568 Views
Last Modified: 2013-12-01
Need a way to make sure that the OC4J_home Service Component starts on reboot ...

Is there a way to ensure that it starts?
And then check to ensure it was started?

Suggestions?
0
Comment
Question by:dfu23
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 21

Expert Comment

by:oleggold
ID: 10938888
where do you work,unix,nt/2000/2003
what version?
0
 
LVL 14

Author Comment

by:dfu23
ID: 10939023
Windows 2000 Server
0
 
LVL 2

Accepted Solution

by:
rogerperkins earned 1400 total points
ID: 10939751
The prefered method of starting the Oracle services in the right order is to set most services to manual and create a startup.cmd file that is launched by the task manager on startup, you will need to find the Resourse Kit program 'sleep' because, at least in 9i, you want your server to settle before you start up the services to have a stable startup, and I usually wait 10 minutes before logging on after startup, to be sure I don't interfere with the startup.  My task manager command says startup.cmd > startup.log that way I can refer to startup.log after it boots up to see if everything started up okay.  Here is an example startup.cmd file (on the line that says 'oidmon start', you will want it to say 'oidmon connect=iasdb start' if your database is on the same server as your IAS):

cd \oracle
time /t
"C:\Program Files\Resource Kit\sleep" 180
rem *** Start Infrastructure ***
set ORACLE_HOME=C:\oracle\9ias_Infrastructure
set ORACLE_SID=IASDB
oidmon start
"C:\Program Files\Resource Kit\sleep" 10
9ias_Infrastructure\bin\oidctl server=oidldapd instance=1 start
"C:\Program Files\Resource Kit\sleep" 10
9ias_Infrastructure\opmn\bin\opmnctl startall
call 9ias_Infrastructure\dcm\bin\dcmctl getstate -v
"C:\Program Files\Resource Kit\sleep" 10
rem *** Start Mid Tier ***
set ORACLE_HOME=C:\oracle\9ias_home
9ias_home\opmn\bin\opmnctl startall
call 9ias_home\dcm\bin\dcmctl getstate -v
"C:\Program Files\Resource Kit\sleep" 10
C:\oracle\9ias_home\BIN\webcachectl start
net start OracleOra9iasInfraEMWebsite
time /t

0
 
LVL 23

Assisted Solution

by:rama_krishna580
rama_krishna580 earned 600 total points
ID: 10946423
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question