Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to shutdown oc4j server

 
himanshu patel
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can anyone tell me how to shutdown oc4j server.
I am using Oracle9iAS (9.0.3.0.0) and OS is
Win 2000 professional.
Thx,
Himanshu
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Two ways, one is there is a batch file (.bat) that can shutdown the OC4J ( I have that on my development box), or you can go into the Windows Services, and find it in the services list and stop the service from running.
Mark
 
L Brennan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following commands will shut down the server as either part of a batch file or directly from the command prompt

cd \oc4j\j2ee\home
java -jar admin.jar ormi://localhost admin admin -shutdown
Hope this helps
 
James Clinton
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ensure you add the RMI port 'not' the http port.

cd ${OC4J_HOME}; ${JAVA_EXE} -Xmx512M -jar ${adminjar_filename} ormi://localhost:${rmi_port}/ <admin_id> <admin_pw> -shutdown
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic