How to start OC4J as a Windows service?

I installed OC4J standalone version 10.1.3.4.0 so I can configure Apache FOP. The startup/shutdown process is manual and my Windows customers are not liking it at all. Is there a way to make it a Windows service so it starts automatically when the system boots? Otherwise, the system has to stay logged in and the command window that started the process needs to remain open. Windows folks don't like this.
Thanks,
Denise

I had an example here of doing this, way back when I was a young lad:
[http://radio.weblogs.com/0132383/stories/2004/04/28/oc4jAsAWindowsService.html|http://radio.weblogs.com/0132383/stories/2004/04/28/oc4jAsAWindowsService.html]
Don't know if the utility even exists any more but there's likely to be something else that has taken its place if not.
-steve-

Similar Messages

  • How i can Start OC4J Instance as window service

    hi ,
    How i can Start OC4J Instance as window service ?
    Regards
    Omar

    Omar,
    check
    http://www.taltech.com/TALtech_web/support/sw_tricks/NTService.htm
    Frank

  • How to start and stop the BI Services in Solaris 10

    Hello All,
    Can anyone guide me on how to start and stop the BI Services in Solaris 10. In windows there are options set in Start->Programs->Middleware_Home->Start/Stop BI Services.
    Primarily after doing changes to the scheduler configuration, I need to restart the services to get it implemented? If yes how can I do it?
    Any help will be appreciated
    Thank you
    Ash
    Edited by: 902739 on Jan 11, 2012 12:17 PM

    Please help me by showing action plan for stop sap , offline backup and then start sap.
    i am little bit confuse How to start and stop SAP on cluster for offline backup
    Below are the systems name with host name , please explain me in sequence
    Systems name                                   Hostname
    # Hope SAP ERP Prod DB Primary       gsgbbux860
    # Hope SAP ERP Prod DB Standby      gsgbbux861
    # Hope SAP ERP Prod Cluster              gsgbbux862
    # Hope SAP ERP App 1                       gsgbbux864
    # Hope SAP ERP App 2                       gsgbbux865
    Thanks in advance
    Zaheer

  • How to start OC4J in Sun Solaris???

    How to start OC4J in Sun Solaris???

    It's very simple, you go to the OBIEE documentation page:
    http://download.oracle.com/docs/cd/E10415_01/doc/nav/portal_booklist.htm
    And you download the Infrastructure Installation and Configuration Guide. You then read it and get to the section where if talks about Starting and Stopping the OC4J Process.

  • Running OC4J as a Windows service

    Hi
    Does anyone know if it is possible to run OC4J as a Windows service?
    Are there any tools I could use besides Microsoft’s SVRANY?
    Best regards
    Ole

    > Hi
    >
    > Does anyone know if it is possible to run OC4J as a
    > Windows service?
    >
    > Are there any tools I could use besides Microsoft’s
    > SVRANY?
    >
    > Best regards
    > Ole
    Hi
    We have found the product for the job. If anyone have the same problem, you can find the program Service+ at nicoware.net
    It is running OC4J as a service very well. It even logs console output to a text file. We are now using it in our production system.
    Ole

  • Start and Stop a Windows Service From Java

    Is there any way to start and stop a Windows service from Java? The only post I found on it (http://forum.java.sun.com/thread.jspa?threadID=647509) had a link to one of the many aps that allow Java programs to be services, which is not what I am interested in doing.
    I am attempting to get data from performance counters from the Windows Performance Monitor into a Java ap without using JNI. I can get the data from C++ or a .net language pretty easily and was going to create a service that would listen for socket requests and feed back the data. However, I'd like to start and stop that service when my java code starts and stops. Is this possible? Would it make more sense to just use a .exe and Runtime.exec()?

    If it's only to start or stop a service then you could use the net command without any need for JNI.import java.io.*;
    public class MsWinSvc {
        static final String CMD_START = "cmd /c net start \"";
        static final String CMD_STOP = "cmd /c net stop \"";
        public static int startService(String serviceName) throws Exception {
            return execCmd(CMD_START + serviceName + "\"");
        public static int stopService(String serviceName) throws Exception {
            return execCmd(CMD_STOP + serviceName + "\"");
        static int execCmd(String cmdLine) throws Exception {
            Process process = Runtime.getRuntime().exec(cmdLine);
            StreamPumper outPumper = new StreamPumper(process.getInputStream(), System.out);
            StreamPumper errPumper = new StreamPumper(process.getErrorStream(), System.err);
            outPumper.start();
            errPumper.start();
            process.waitFor();
            outPumper.join();
            errPumper.join();
            return process.exitValue();
        static class StreamPumper extends Thread {       
            private InputStream is;
            private PrintStream os;
            public StreamPumper(InputStream is, PrintStream os) {
                this.is = is;
                this.os = os;
            public void run() {
                try {
                    BufferedReader br = new BufferedReader(new InputStreamReader(is));
                    String line;
                    while ((line = br.readLine()) != null)
                        os.println(line);
                catch (Exception e) {
                    e.printStackTrace();
    }Regards

  • Start WebLogic Server as windows service !

    hello,
    How can setup WebLogic 8.1 to start as a windows service in win2000?

    Please see this link:
    http://e-docs.bea.com/wls/docs81/adminguide/winservice.html#1190977
    Thanks,
    Vishwas

  • Error in configuring OC4J as a Windows Service

    I created a batch file and placed it in my drive C. It has the following code:
    SET PATH=C:\Program Files\Java\jdk1.6.0_01\bin
    cd C:\OracleBI\oc4j_bi\j2ee\home
    java -jar oc4j.jarWhen i double click on the batch file OC4J starts correctly. However, when i configure it as a windows service using the same batch file i get the error:
    Error 1053: The service did not respond to start or control request in a timely fashion
    I created a windows service are as follows:
    sc.exe create "Oracle BI OC4J" binPath= "c:\Start_OC4J.bat"
    Thats it. I did only this much. I feel i am missing out on some steps. I can see the service but not able to start it. The error is:
    Error 1053: The service did not respond to start or control request in a timely fashion

    Windows bit also matters and you need to use specific javaservice
    Try something like below
    Windows 64 BIT
    Download "JavaService-2.0.7.64" from http://forge.ow2.org/project/download.php
    javaservice -install "Oracle BI OC4J Service" "C:\Program Files\Java\jre6\bin\server\jvm.dll" -XX:MaxPermSize=128m -Xmx512m "-Djava.class.path=D:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar" -start oracle.oc4j.loader.boot.BootStrap
    Windows 32 BIT
    Download "JavaService-2.0.10" from http://forge.ow2.org/project/download.php
    javaservice -install "Oracle BI OC4J" "D:\Java\jre7\bin\client\jvm.dll" -XX:MaxPermSize=128m -Xmx512m "-Djava.class.path=D:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar" -start oracle.oc4j.loader.boot.BootStrap -out "D:\OracleBI\oc4j_bi\j2ee\home\log\oc4j.log.txt" -err "D:\OracleBI\oc4j_bi\j2ee\home\log\oc4j.err.txt" -description "Oracle BI OC4J"
    Edited by: Srini VEERAVALLI on May 20, 2013 9:13 AM

  • Can we start JavaWebStart Application as Windows service

    Hi,
    Can we have JavaWebStart application as windows service?
    Thanks
    LeoSun

    Hi LeoSun,
    I dont exactly how to start this is as a window service, but if your requirement is just to start your application when the machine boots,
    then you can create a shortcut for ur webstart app, using the jnlp tag <shortcut>
    then add this shortcut to your windows startup folder.

  • How to start oc4j 1.0.2.2.1

    it is stopped, but i don't know how to start it.

    sometimes it work, sometimes it doesn't work.
    can i have other way to start oc4j?
    Hi Fee,
    If you're running under linux, try running OC4J in the background with
    "nohup", as in...
    nohup java -jar $j2ee_home/orion.jar &
    Good Luck,
    Avi.

  • How to start a process via web service with automatically run first screen

    Hi guys,
    we want to start the process via web service and skip the inbox presentation of the first human activity of the process. It means that the first activity should start automatically by clicking the link (wsdl link).
    Is there any opportunity to realize this thought?
    THX
    Regrads
    Phil

    Hi Phil,
    You may refer to my blog series for steop by step procedure on how to initiate a BPM workflow through webservice. Below are the links:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    /people/arafat.farooqui/blog/2010/06/23/introduction-to-sap-netweaver-bpm-part-5
    Hope this helps!!
    Regards,
    Arafat

  • How to start OC4J at Linux boot time

    Hello,
    I am using Linux AS 3.0 and i have installed OC4J ( 9.0.4) ok, and OC4J also work fine.But each time i want to start OC4J , i must execute command java -jar oc4j.jar at console.
    Now, I want to start OC4J automatic at System startup ( ie: Linux boot time ).How can i do?
    Thanks.

    Just put your OC4J start/stop commands in a rc script.
    Scripts in the directories
    /etc/rc.d/rc2.d
    /etc/rc.d/rc3.d
    /etc/rc.d/rc5.d
    will be called by the operating system with the command line option start.
    The number in the directory names represent the desired run level of the machine.
    Scripts in the directory
    /etc/rc.d/rc0.d
    will be called during shutdown with the command line option stop.

  • OBIEE 11g Start all compenents as Windows Services

    Hi Attached link to document for OBIEE 11g Start as windows Services.
    http://deliverbi.blogspot.com/2010/10/obiee-11g-auto-start-all-with-windows.html
    Cheers
    Shahed

    I have made a change to the scripts so they allow a new rpd to be loaded without errors... Beware Metalink scripts are incorrect for embedding OBIEE 11g windows services..
    cheers
    shahed

  • How to start airport extreme on windows 7 professional

    how to start airport extreme on windows

    Doublechecking before proceeding ... are you getting a message saying that "the Bonjour Service can't be started" when you try to install iTunes? Or is something different going on?

  • How to start oc4j instance in linux

    I need the oracle report server to generate reports via the call from JSP.
    But the response contains no data. But i think that the problem is that the oc4j instance is not started or the port number i am using in the URL is wrong.
    I have two questions in my mind.
    1) How to start the oc4j instance in linux
    2) How to find the port number of the oracle report server. will it be stored in any files.
    Pls provide some inputs on this query.

    Hello,
    1) How to start the oc4j instance in linuxYou have not specified what version, so for standalone you can use the following command:
    java -jar oc4j.jar
    In 10.1.3 you need to use the oc4j.cmd/oc4j.sh file to start and stop OC4J.
    If you are using the Application Server, then please use opmnctl start and stop the OC4J instance.
    2) How to find the port number of the oracle report server. will it be stored in any files.
    Please post this to the Reports forum.
    Hope this helps.
    Deepak

Maybe you are looking for

  • Is it possible to update multiple tables with a dynamic form?

    I have columns from two tables populating a dynamic form. I am trying to have the form update both tables on submit. I have tried both a linked transaction and a custom transaction but I am not making progress. Only the master table is being updated.

  • Table of Contents Slider Issues

    I have been told by iBooks that on my iBook that I have published that when you look at The TOC (Table of Contents) in landscape mode the slider either doesn't move or it goes back to the first page (copyright page).  Any ideas how I solve this? 

  • CURRENCY VALUATION - BANK ACCOUNTS

    I wanted to know how you manage currency valuation with regards to daily reporting of Foreign Currency Bank Accounts in Local Currency I am on Version 4.6C and do valuations monthly so that we are able to value our Foreign Currency Bank Accounts at t

  • Apex 4 problem after upgrading - apex$_rpt_src error

    Hi all - I just upgraded my Apex installation Sunday, and yesterday I also installed the sample websheet application and told it to create the objects in the default schema my other stuff resides in. Today, one of my users said there's a problem with

  • Help me solve this problem, Urgent. Thx

    I am new in javacard. I wrote a javacard applet and loaded applet into card using JCOP successfull. My card applet: package stAppletTest; import javacard.framework.APDU; import javacard.framework.Applet; import javacard.framework.ISO7816; import java