Here is my srvstart.exe INI file for OC4J. I suppose one for Orion would be similar.
[OracleOC4J] #to install the service: srvstart install OracleOC4J -c c:\oracle\conf\oc4j\service.ini #to remove the service: srvstart remove OracleOC4J #make sure that the system PATH inclues the folder #containing the srvstart.exe #the next item is all on one line startup=e:\software\sun\jdk1.3.1_03\jre\bin\java -Xrs -jar c:\oracle\j2ee\home\orion.jar -config c:\oracle\j2ee\home\config\server.xml -err c:\oracle\j2ee\home\log\stderr.log -out c:\oracle\j2ee\home\log\stdout.log startup_dir=c:\oracle\j2ee\home shutdown_method=command # the next item is all on one line shutdown=e:\software\sun\jdk1.3.1_03\jre\bin\java -Xrs -jar c:\oracle\j2ee\home\admin.jar ormi://localhost/ admin password -shutdown auto_restart=y restart_interval=30