Solved

AutoStart OC4J_home

Posted on 2004-04-27
5
559 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
5 Comments
 
LVL 21

Expert Comment

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

Author Comment

by:dfu23
Comment Utility
Windows 2000 Server
0
 
LVL 2

Accepted Solution

by:
rogerperkins earned 350 total points
Comment Utility
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 150 total points
Comment Utility
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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 …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now