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

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 Keep the "Start OC4J instance" window or Forms Server always up 24*7

    Gurus -
    Can you please tell me how could I have the "Start OC4J instance" always up and running in my server. I want the Forms server ( 10g) up and running all the the time. please advice how could I do that. My DB is 11g and using the Oracle Devsuite 10g. Please advice
    Gurus - Can you please advice on this. Basically have developed a form and couple of users want to access that but get error " page cannot be displayed" and I figured out the "Start OC4J instance" windows gets closed automatically after some hours.
    so I wanted this OC4J instance to run 24*7 ( always) without closing by itself. Please advice how could I do that.
    Thanks
    Sheik

    Thanks a lot Steve,
    Just wanted to find out if there is no other work around on this except to have the Oracle App Forms server to install and up and running?
    I have 11g DB , so do I have to have 11g Oracle Apps Server or 10g Oracle apps server will be sufficient as the installed Devsuite is in 10g. Please advice
    OR
    Is there way we can setup this Oracle Apps forms server from the OEM console? or we have to do a seperate install for this Apps server.
    Other option I thought, which I am not sure will work out is the creat a scheduled task in windows and have this "Start OC4j Instance" scheduled to run always. Any ideas/commments on this.
    Thanks again for your inputs.
    Rgds
    Sheik

  • Could not start OC4J instance.. Exception in thread "OC4J Launcher"

    Hi All,
    This is Kumar and I am using Oracle Enterprise Manager 10g which is installed on a Linux box. Recently, I found that I could not start OC4J instance either by giving ./opmnctl startall command or from EM console. Below is the error message from ./opmn/log/ folder.
    11/03/28 10:03:47 Start process
    11/03/28 10:03:49 Error writing server.xml
    11/03/28 10:03:49 Exception in thread "OC4J Launcher" java.lang.OutOfMemoryError: Java heap space
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerEntry.readObjBytes(TimerEntry.java:274)
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerEntry.read(TimerEntry.java:248)
    11/03/28 10:03:49      at oracle.ias.container.timer.internal.TimeBasedEntry.readEntry(TimeBasedEntry.java:253)
    11/03/28 10:03:49      at oracle.ias.container.timer.Timer.readObject(Timer.java:489)
    11/03/28 10:03:49      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    11/03/28 10:03:49      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    11/03/28 10:03:49      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    11/03/28 10:03:49      at java.lang.reflect.Method.invoke(Method.java:597)
    11/03/28 10:03:49      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    11/03/28 10:03:49      at oracle.ias.container.timer.internal.FileTimerStore.readPersistentStore(FileTimerStore.java:191)
    11/03/28 10:03:49      at oracle.ias.container.timer.internal.TimerFactory.readPersistentStore(TimerFactory.java:103)
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerService.schedulePersistedTimers(TimerService.java:655)
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerService.initialize(TimerService.java:473)
    11/03/28 10:03:49      at oracle.ias.container.ContainerServiceManager.addService(ContainerServiceManager.java:209)
    11/03/28 10:03:49      at com.evermind.server.ApplicationServer.startContainerServices(ApplicationServer.java:911)
    11/03/28 10:03:49      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:952)
    11/03/28 10:03:49      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    11/03/28 10:03:49      at java.lang.Thread.run(Thread.java:619)
    11/03/28 10:03:49 Shutting down OC4J...
    To resolve the issue, I have tried changing the opmn.xml file (from $ORACLE_HOME/opmn/conf/opmn.xml) such that, for the failed OC4J instance -XX:MaxPermSize=256m (old value was 128m).
    Though I made the modification and re-start the OC4J instance, I could see the same error and behavior.
    Can anyone help me to resolve this issue please?
    Regards,
    Kumar

    This is bit strange. It should work. I tested and works fine for me.
    Can you remove the entry from opmn.xml and make sure no typo in server.xml and try again. You might want to reload OPMN (opmnctl reload) and then try restarting OC4J (opmnctl startproc ias-component=OC4J).
    Note that value (-DcheckForUpdates) set in opmn.xml overrides the value set in server.xml:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28951/autodeploy.htm#CHDIBFAH
    Thanks
    Shail

  • 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.

  • Start oc4j instance

    i started oc4j instance so i'll be able to run my forms.
    i run it from start menu.
    what i recieve is ORACLE APPLICATION SERVER CONTAINERS FOR J2EE INITIALIZED.
    BUT STILL I CAN'T RUN MY FORMS.IS THERE ANY ERROR TO OC4J?

    Hello,
    Are you talking about Oracle Forms Server?
    Which version of Oracle Application Server are you using ?
    For me OC4J is up and running -you should be able to see the instance up and running in Enterprise Manager-.
    If it is an Oracle Forms problem I would encourage you to post your question on the Forms
    Regards
    Tugdual Grall

  • Unable to start oc4j instance

    Hi,
    My application was running well. But since last two days oc4j instance is not starting up.
    I reinstalled developer suite 10g release 2. But the problem is still there.
    A flash comes when i click start oc4j instance. Even i m not able to read the messages coming on the screen & the oc4j window is closed.
    My report server is not starting. I have tried to make report server up too thru naming service.
    Kindly help it is urgent.
    Thanks in Advance.
    Regards
    Swati

    Have you installed any new software or OS updates lately? It sounds like your OS can't find Java any more because your computer's environment settings have been modified or perhaps Java was uninstalled. A quick test of Java is to open a Command Window (CMD) and type "Java -version" (without the quotes). If you get an error this indicates that your PATH environment variable no longer includes the directory where Java is installed. You may only need to clean up the PATH environment setting to get things working again, or you may need to reinstall Java.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to start my instance??!!!!!!!!

    I installed Oracle 10g. Then I created an instance. After the instance was created, I went to OEM to look at the instance, and noticed it wasn't turned on. I went to the network folder and noticed I only had sqlnet.ora; no Listener.ora or tsnames.ora. I put the files there, but when I try to startup the instance, the password and usernames I created with the database don't work.
    Agent Connection to Instance failed
    Listener down

    PLease, do not multi-post the same issue
    How to start my instance??!!!!!!!!
    HELP!!!!!!!!!!!!!!!!!!!!!!!!!
    HELP!!!!!!!!!!!!!!!!!!!!!!!!!
    And don't think stacking a long string of "!!!!!" and/or '?????" on your subject helps get a better/faster answer.

  • 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.

  • 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.

  • Start OC4J instance with warning

    Dear All
    I got two problem need your help.
    1.When i start the OC4J instance for run test from,after i install the oracle
    deveploer suite 10g, it show the message as below
    ============================================================
    07/03/23 14:25:30 Warning: Error reading transaction-log file <oracle_home/j2ee/DevSuite/persistence/transaction.state > for recovery: premature end of file
    07/03/23 14:25:30 Forced or abrupt <crach etc> server shutdown detected, starting recovery process...
    07/03/23 14:25:30 Recovery completed, 0 connections committed and 0 rolled back.
    07/03/23 14:25:31 Oracle Application Server Containers for J2EE 10g < 9.0.4.0.0> initialized
    ============================================================
    did someone get the same error? and please tell me how to solved it
    2. when i try to install the oracle developer suite 10g, i try to execute the jinit.exe
    from the /oracle_home/jinit/jinit.exe .. <Jinitiator 1.3.1.17>
    but the window always end after the extracting files.In my client laptop
    OS : Windows XP SP2
    and in the directory C:\Program Files\Oracle , i had already install the
    Jinitiator 1.1.8.16, 1.3.1.18, 1.3.1.21
    Thanks for you reading, and if have any idea please reply it.
    K.K

    Dear Mark
    Thank for your replied.
    I have the privileges to do the install.
    After i click the jinit.exe, it show the extracting files ... window.
    after the extracting file process, the window been closed automatically.
    by the way, if i modify the value the version of JInitiator in the formsweb.cfg, l
    ike 1.3.1.17 => 1.3.1.18 show i replace the jinit.exe file in
    the /ora10g_home/jinit ?
    It default is for 1.3.1.17, because i can't install that successful,
    so i modify the related value in the formsweb.cfg,
    but i didn't replace the jinit.exe file for that .
    That will it effect the oc4j work on forms running time process?
    Best Regards,
    K.K

  • Auto start Oracle instance in linux

    Can I configure oracle to auto start an oracle instance in linux environment ?

    Here are the steps to enable the oracle service start automatically during the system boot
    Login as root in Linux box to execute the following steps
    1. the flag set to Y in /etc/oratab file with the respective instance
    2. Copy the oracle script in /etc/init.d folder
    3. change the permission < chmod 755 <script filename>
    4. add the service <chkconfig --add <script filename>
    5 Put the service auto on <chkconfig <script filename> on >
    6. To verify the oracle service startup automatic < service <script filename> stop > < service <script filename> start >
    Regards
    N Jandial

  • Auto start OC4J instance if not running?

    Is there a way for get Forms Developer to start my OC4J instance if its not running or would this be a bad/impractical idea? Its a pain having to navigate to the menu option to start it all the time.
    Thanks
    Richard

    Richard,
    this is an enhancement that is on our list, not sure when this will be in.
    Frank

  • Starting OC4J Instance

    I've got an error indicating that I have to sart http listener first ,when I tried to run my form .Then I tried to start OC4J ,I left it's window open .When I ran my form again it tried to down load the java applet but it gave the following error:
    FRM-90928:positional parameter after key on command line .
    I wonder how i can solve this one .
    Thanks in advance

    I think you are trying to run the form with out saving. so when it run it creat the fmx file on u r desk top temporarly that include the space. so pls make a directory on u r hard disk that should not inlclude any space and then try agian to run again. will solve the prob.
    thanks

  • How to start new instance of Application server 6.0 sp3 on Solaris

    Hi!
    I am a new user of iPlanet Application server (ver. 6.0 sp3) for Solaris and I have problems with starting new instance of App. Server. Directory server and administration server are started during installation but application server isn't started. I've used Application Server Command Line Utilities to start server but I've got message "you must register
    the server instance via the application server admin tool". I've tried to do that but I don't know how. I've searched documentation and I haven't found what I'm looking for.I would like to know where can I find instructions for starting App. server?

    Hello,
    Start your "ksvradmin" from $IASHOME/bin/ksvradmin tool - a GUI tool and under file menu register the server instance by supplying port on which the server is running.. it is intuitive..
    Thanks
    Sudhir

Maybe you are looking for