Automatic starting of OC4J services problem

Hi,
When I log into Oracle Management Server
http://localhost:1810
And go to the infrastructure, I see all of the OC4J stopped by default.
I have to manually start all the services to make all the portal features to wok.
Is there anyway to start all the services automatically.
Please help.
regards
Kamlesh

Hi,
I found out the problem.
The HTTP Server was not getting started when the computer was switched on even tough the status was displayed as started.
I started the HTTP Server via the Start menu -> Programs.
The OC4J services were started after this.
regards
Kamlesh

Similar Messages

  • How can i start several oc4j services?

    Dear,
    I will start several oc4j services in one computer.how can I do it?
    for example:
    1.oc4j directory is: oc4j_pcc and oc4j_ims
    2.I modify the files,jndi.properties,jms.xml,rmi.xml and http-web-site.xml,which port is different.
    then oc4j_pcc and oc4j_ims service can start.but I can not connect server.why?
    exception is:
    java.lang.InstantiationException: Error communicating with server: Lookup error: java.io.EOFException: Disconnected; nested exception is:
         java.io.EOFException: Disconnected; nested exception is:
         javax.naming.NamingException: Lookup error: java.io.EOFException: Disconnected; nested exception is:
         java.io.EOFException: Disconnected
    I think that configuration is wrong.but I do not know i can modify else.
    can you help me? thanks!
    Benson

    try this link
    http://www.kcmultimedia.com/javaserv/index.html
    U can download an utility with the help of wich java programs can be executed as NT services
    I tried it with orion server with moderate success. I was able to start it as a service but when i stopped or restarted the service the orion server ended abruptly.
    so each time i got a message "Forced or abrubt (crash etc) server shutdown detected". except for this, it worked fine as a service
    raees

  • Automatically start SQL Agent service after SQL Server service fails and starts.

    Hi! 
    I have SQL Server 2008 R2 with two main services - SQL Server and SQL Agent.
    I'll try to describe my situation. It happens very occasionally, but sometimes SQL Server service terminates unexpectedly. It's my log:
    09/13/2013 10:46:21,Service Control Manager,Error,The SQL Server (MSSQLSERVER) service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 120000 milliseconds: Restart the service.
    09/13/2013 10:46:21,,Error,[359] The local host server is not running,,,,
    09/13/2013 10:46:22,MSSQLSERVER,Error,The MSSQLSERVER service terminated unexpectedly.,Server,1073760843,,
    09/13/2013 10:46:22,,Warning,[139] AutoRestart: Attempting to restart the MSSQLSERVER service (attempt #1)...,,,,
    09/13/2013 10:46:27,,Warning,[139] AutoRestart: Attempting to restart the MSSQLSERVER service (attempt #2)...,,,,
    09/13/2013 10:46:32,,Warning,[139] AutoRestart: Attempting to restart the MSSQLSERVER service (attempt #3)...,,,,
    09/13/2013 10:46:32,,Error,[140] AutoRestart: The MSSQLSERVER service could not be restarted after 3 attempts,,,,
    09/13/2013 10:46:32,,Warning,[360] SQLServerAgent initiating shutdown following MSSQLSERVER shutdown,,,,
    As you can see, SQL Server service  terminates unexpectedly. Then SQL Agent service tries to start SQL Server service. After unsuccessfully attempts to start SQL Server service, SQL Agent service stops itself. I have the option setting in SQL Server
    service to start itself after unexpectedly stop within 2 minutes and it is works well. But I have to start my SQL Agent service after this manually. Unfortunately, I can't investigate the reason of my SQL Server stops unexpectedly and in this case I just want
    to make the settings to start both of my services SQL Server and SQL Agent automatically after this.  How can I set up this? How can I make my SQL Agent service starts after SQL Server service?

    Hello,
    SQL server agent service depends on SQL server service so unless SQL server service comes online agent will not come online so agent is depended on SQL server not the other wise.
    Now is your server 2008 R2 patched to latest service pack (SP2).If not please upgrade it to latest SP.Some fixes are there in Sp which will subside this issue.Can you paste output of
    select @@version
    >>Then SQL Agent service tries to start SQL Server service.No this is not the case
    >>Unfortunately, I can't investigate the reason of my SQL Server stops unexpectedly
    Did you checked sql server errorlog and windows event log completely.Please do so and paste if you find some more info
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Automatic Start of J2EE services

    Hi
    I am trying to configure J2EE services to start automatically after boot in Windows 2000.
    Most of SAP* services in "services mananagment" are already configured to startup automatically, including SAPDB (this wasn't the default).
    I started manually via MMC and checked 'services managment' but I did not find any obvious service that were stopped and became running.
    What is the trick?
    Regards.

    Hi Ronaldo,
    you mean to configure the J2EE Engine to start automatically, right? To do that, set the value of the Autostart parameter to 1 in both profiles START_<InstanceID>_<host> and START_<Central instanceID>_<host> under \usr\sap\<SID>\SYS\profile directory. Then the J2EE Engine will be automatically started when windows boots.
    Regards,
    Ivo

  • How to let SOA Suite automatically start Oracle Database services if necess

    It occurs from time to time that I forget to start Oracle database services
    before I start Soa Suite. Can I somehow let SOa Suite startup script check in advance
    if Oracle database services need to be started (and start them automatically if necessary)?
    Peter

    Hi,
    This is a familiar issue. I've come up with the following solutions.
    1) On my linux machine, I start the database (EE) and soa suite at boot time using /etc/oratab.
    2) On my windows machine, I start the database (XE) at boot time, as a service that automatically starts. The soa suite is started manually. I could start the suite automatically as a service also, but because it takes up so much memory and I do not always want to run the suite, I prefer to start manually. In any way, the database is started automatically before the soa suite.
    Hope this will help you.
    Kind regards,
    H

  • Automate start/stop essbase service using Maxl or batch

    Hi - how would my batch or Maxl file look like if I wanted to come out with a script to stop and start my essbase service? The reason why i am doing this is because I wanted to stop the essbase service, so that I can archive the essbase.log file.
    I am on essbase 7.0, I have read on some postings that stopping and starting the essbase service can potentially corrupt the sec file. If so, then is there any other way of archive the essbase.log file so that it does not grow to megs.
    Thanks.

    Hi,
    You could use the following maxl
    alter system shudown;
    it may be useful to stop all the applications first e.g.
    alter system unload application all;
    or you can use windows command line
    net stop essbaseservicename
    and to start
    net start essbaseservicename
    Another method to backup the essbase.log is to make a copy of the log then use maxl to delete the log.
    alter system clear logfile;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • OC4J when started as Win Service does not map URL for analytics website

    Hi All,
    When OC4J is started as a console and user enters the URL http://server-1/analytics it is automatically mapped to URL http://bof-iclu-1/analytics/saw.dll?Dashboard and we get the dashboard login page displayed.
    Now I have created a Windows Service to Automatically start the OC4J serivce.
    When OC4J is started as a service and user enters the URL http://server-1/analytics it does not map to the Dashboard URL and we get the website cannot display the page. However entering the complete URL http://server-1/analytics/saw.dll?Dashboard the login page is displayed.
    I believe the issue is cause by the OC4J being started as a service and not as a console start.
    Any idea what the issue could be?
    Do I need to change any of the configuration xml files?
    Where do the configuration setting for website mapping and welcome files is mentioned in the Oc4j?
    Any help is greatly appreciated.
    Best Regards
    B

    This is not going to help but you shouldn't be using OC4J for anything other than development.

  • OC4J service startup & running form from forms builder

    Hello everybody,
    I have installed Oracle 9i database and Oracle 9i DS on my personal Computer. (O.S. is Windows XP) . Now if I want to run any form from Forms builder I have to everytime start the OC4J service, from oracle-home\j2ee\oracle9i DS\startinst.bat
    How to eliminate this? Is there any way to automate this procedure? so that everytime when I open the forms builder, it will automatically start this service or run this bat file.
    Or any other way to overcome this prob?
    regards
    achchani

    Hi,
    unfortunately the answer is no. If you search the Internet you may find lik of how to make bat execution a Windows Service
    Frank

  • Reporting Services not automatically starting. System event log 7009, Application event: 18456

    For the past month (since Oct 11,2012)  reporting services (SSRS 2008R2) is not starting after the server is rebooted. The service is set to automatically start and starts manually without a problem.  The system event log contains the following error:
    Event ID 7009: A timeout was reached (30000 milliseconds) while waiting for the SQL Server Reporting Services (MSSQLSERVER) service to connect.
    SQL logs :
    The SQL logs has many "Event 18456 Login Failed, State 38" errors when the database engine starts. I assume clients conections are failing because the databases  aren't online yet. None of these 18456 errors coorespond to the account reporting services
    runs under.
    The SQL logs indication Event 7009 occures before the "ReportingServer" database is online so im assuming there is a dependancy but I don't know how to avoid this.
    This problem is occuring on a number of our servers running SSRS (if not all)
    Any ideas?
    Paul

    Hi A141695,
    For Event ID 7009, you can try to do the steps below to resolve it.
        1. Click Start, click Run, type regedit, and then click OK.
        2. Locate and then click the following registry subkey:
            HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
        3. Right-click Control, point to New, and then click DWORD Value.
        4. In the New Value #1 box, type ServicesPipeTimeout, and then press ENTER.
        5. Right-click ServicesPipeTimeout, and then click Modify.
        6. Click Decimal, type the number of milliseconds that you want to wait until the service times out, and then click OK.
    For example, to wait 60 seconds before the service times out, type 60000.
    Quit Registry Editor, and then restart the computer. For more information about it, please see:
    http://www.sqlservercentral.com/Forums/Topic850540-1550-1.aspx#bm851211
    http://myitforum.com/myitforumwp/2012/08/22/configmgr-2012-sms_srs_reporting_point-component-failure/
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.

  • ADFS 2.0 service does not automatically start after reboot

    Hello,
    We have two ADFS 2.0 servers in a farm.  Any time these servers reboot, the ADFS service does not automatically start, even though the service is set to auto start.  If I manually start the service it starts within 10 seconds.
    The error in the logs show:
    A timeout was reached (30000 milliseconds) while waiting for the AD FS 2.0 Windows Service service to connect.
    The AD FS 2.0 Windows Service service failed to start due to the following error:
    The service did not respond to the start or control request in a timely fashion.
    But after the reboot is completed, I can manually start the service with no problems.  Again, this ONLY happens on restart.  I've searched the forums and found potential solutions for people who have consistent issues with starting ADFS every time.
    Any ideas?

    UPDATE - I built a 3rd ADFS server and was unable to reproduce the problem, until...
    I went in to the service properties of ADFS and saw that even though I specified a Log On As account during the ADFS wizard, it changed itself back to "Network Service".  I re-entered our ADFS service account username and password, it was
    accepted, and I rebooted.  On the next reboot, the service did not start automatically (with the same errors as the other ADFS servers), but I was able to manually start it.
    I then went to the original ADFS server having the problem, switched it to use "Network Service", rebooted, and the service started up properly on reboot.  I then changed it back to the named domain service account, and the issue came right
    back.  There are no other errors in the System Log indicating a problem with anything else.
    So my guess is that something is happening to prevent the service from starting with the named Domain account on server reboot.  But what?

  • Error 1053 comes out while starting oc4j service through windows services

    HI EVERYBODY
    I face some problem and I'll be very happy if i recieved any reply from u.
    here is my problem :
    I used the code which starts/stops OC4J-standalone as a Windows service using
    java service for install and uninstall the service(the code is shown down),however the code works well
    and the service install and uninstall successfully.
    but when I start the service throught the windows servecis manager this error comes out:
    * Error 1053: The service did not respond to the start or control request in a timely fashion"
    and the status of the service stay "starting"*
    I found solution by adding "DWORD Value" in the registry and modify it to 60000
    but it didn't work and still this error come out.
    Any help will be appreciated.
    the code is :
    install_OC4J_Service :
    Setlocal
    @rem Note that if JVM not found, service 'does not report an error' when startup fails, although event is logged
    if "%JAVA_HOME%" == "" set "JAVA_HOME"=C:\Program Files\Java
    REM set the display name of the service
    set JSNAME=OC4J_Service
    REM Set the Java server directory
    set JVMDIR=%JAVA_HOME%\jre1.6.0_01\bin\client
    REM Setting a bind directory for the software
    set JSBINDIR=%CD%
    REM Setting path and filename of the (renamed) javaservice executable
    set JSEXE=%JSBINDIR%\OC4J_Service.exe
    REM Stating the directory of the OC4J-home
    set OC4J_HOME=E:\DevSuiteHome_1\j2ee\home
    REM just to check the used version @echo . To install the service "%JSNAME%" the following version of JavaService executable is used: @ echo . %JSEXE% -version @echo .
    @echo Installing service OC4J_Service ... Press Enter to continu or press Control-C to abort installation
    @pause
    @echo
    %JSEXE% -install %JSNAME% %JVMDIR%\jvm.dll -Djdbc.debug=true java.class.path=%OC4J_HOME%\oc4j.jar –Xmx256M -start com.evermind.server.OC4JServer -params -config %OC4J_HOME%\config\server.xml -out %OC4J_HOME%\log\OC4J_service_stdout.log -err %OC4J_HOME%\log\OC4J_service_stderr.log -current %JSBINDIR% -manual -description "OC4JService"
    @echo
    @echo End of Installation
    @pause
    uninstall_OC4J_Service:
    @echo off
    @echo . Uninstall_OC4JService.cmd - de-install of JavaService executable using OC4J.jar
    @echo .
    setlocal
    @rem Note that if JVM not found, service 'does not report an error' when startup fails, although event logged
    if "%JAVA_HOME%" == "" set JAVA_HOME=c:\java\j2sdk142
    set JVMDIR=%JAVA_HOME%\jre1.6.0_01\bin\client
    set JSBINDIR=%CD%
    set JSEXE=%JSBINDIR%\OC4J_Service.exe
    @echo . Using following version of JavaService executable:
    @echo .
    %JSEXE% -version
    @echo .
    @echo Un-installing service OC4J_Service ... Press Control-C to abort
    @pause
    @echo .
    %JSEXE% -uninstall OC4J_Service
    @echo .
    @echo End of script
    @pause
    -------------------------------------------------------------------------

    Any recent change? Use below command to validate the opmn.xml file.
    opmnctl validate
    Replace the opmn.xml backup file in $ORACLE_HOME/opmn/conf and try starting opmn.
    Also ipm.log file in $ORACLE_HOME/opmn/log folder

  • Automatic Start of "Services" in J2EE

    Hi,
    I'm a complete novice in J2EE and have some questions.
    I'm looking into using J2EE for supervising some "devices".
    They will send "heart-beat"s back to the J2EE server to tell their alive, and I need to take actions in the J2EE server if heartbeats are missing.
    1) I would like a "Service" monitoring that all devices are alive and sending "heart beats" to start automatically when the J2EE server starts. How can I start such a service in J2EE?
    2) I want to minimize network impact of these heartbeats and I'm thinking about using raw UDP (or alternatively TCP). Does anyone know how I can open a UDP port and listen for incoming packets?
    Thanks.

    What you are probably looking for is may be turning your devices into SNMP agents that could send traps to an SNMP server that could take whatever appropriate action upon receival of the trap, one such action could be sending a message to a JMS queue on your J2EE application server.

  • Windows service question (automatic start?)

    Is there a setting in OSX server that tells the box to start a specific service automatically if the machine is rebooted, specifically Windows service? When we reboot, Windows service does not start automatically.
    Thanks!

    /System/Library/StartupItems/Samba/Samba is a startup script that starts SAMBA, which provides the Windows file sharing. The script checks the entry in /etc/hostconfig for SMBSERVER to say yes, and if it does starts the daemons (smbd and nmbd).
    Roger

  • Problem starting a reggie service in jini

    Hi,
    I am trying to start a reggie service as follows. I set classpath and then
    start java -jar C:\jini2_1\lib\tools.jar -port 8083 -dir C:\jini2_1\lib -verbose
    The result is :
    Dec 8, 2005 10:11:16 AM com.sun.jini.tool.ClassServer run
    INFO: ClassServer started [[C:\jini2_1\lib\], port 8083]
    java -Djava.security.policy= C:\jiniworkspace\jini\policy.all -jar \jini2_1\lib\start.jar C:\jiniworkspace\jini\start-transient-reggie.config
    it throws exception:
    Dec 8, 2005 12:18:06 PM com.sun.jini.start.HTTPDStatus httpdWarning
    WARNING: Problem accessing desired URL[http://localhost/reggie-dl.jar]: java.io.
    FileNotFoundException: http://localhost/reggie-dl.jar.
    Dec 8, 2005 12:18:06 PM com.sun.jini.start.NonActivatableServiceDescriptor creat
    e
    SEVERE: classloader.problem
    Dec 8, 2005 12:18:06 PM com.sun.jini.start.ServiceStarter checkResultFailures
    WARNING: Exception creating service.
    java.io.IOException: The filename, directory name, or volume label syntax is inc
    orrect
    at java.io.WinNTFileSystem.canonicalizeWithPrefix0(Native Method)
    at java.io.Win32FileSystem.canonicalizeWithPrefix(Win32FileSystem.java:3
    76)
    at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:348)
    at java.io.File.getCanonicalPath(File.java:513)
    at java.io.File.getCanonicalFile(File.java:534)
    at com.sun.jini.start.ClassLoaderUtil.getClasspathURLs(ClassLoaderUtil.j
    ava:88)
    at com.sun.jini.start.ClassLoaderUtil.getImportCodebaseURLs(ClassLoaderU
    til.java: 146)
    at com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivata
    bleServic eDescriptor.java:564)
    at com.sun.jini.start.ServiceStarter.create(ServiceStarter.java:290)
    at com.sun.jini.start.ServiceStarter.main(ServiceStarter.java:470)
    Dec 8, 2005 12:18:06 PM com.sun.jini.start.ServiceStarter checkResultFailures
    WARNING: Associated service descriptor [0]: [http://localhost/reggie-dl.jar, C:j
    eggie.jar, com.sun.jini.reggie.TransientRegistrarImpl, [C:jiniworkspacejini
    ransient-reggie.config], com.sun.jini.start.NonActivatableServiceDescriptor$1@1d
    fafd1, BasicProxyPreparer[]]
    start-transient-reggie.config contains :
    import com.sun.jini.config.ConfigUtil;
    import com.sun.jini.start.ServiceDescriptor;
    import com.sun.jini.start.NonActivatableServiceDescriptor;
    com.sun.jini.start {
    private static codebase ="http://localhost/reggie-dl.jar";
    private static policy = "C:\jiniworkspace\jini\reggie.policy";
    private static classpath = "C:\jini2_1\lib\reggie.jar";
    private static config = "C:\jiniworkspace\jini\transient-reggie.config";
    static serviceDescriptors = new ServiceDescriptor[] {
    new NonActivatableServiceDescriptor(
    codebase, policy, classpath,
    "com.sun.jini.reggie.TransientRegistrarImpl",
    new String[] { config })
    transient-reggie.config contains :
    import net.jini.jrmp.*;
    com.sun.jini.reggie {
    serverExporter = new JrmpExporter();
    initialMemberGroups = new String[] {};
    Any tips on this one. Thanks.

    Hi John,
    I've experimented something like that before. I think solution was:
    - Search the webservice in SE80, Repository Information System -> Enterprese Services
    - Enter the service definition
    - Go to 'Configuration' tab
    - Click on 'Transport Security'/'Authentication'
    - In profile setting, switch it for 'Low' or 'None'
    I believe this will turn available the option you're looking for.
    Kind regards,
    Garcia

  • Auto start service problem with Xp

    i installed Oracle 8i (8.1.5) on window XP Pro. it was install ok. but when i am restarting the PC. it is not starting the database service autometic. i check all the values of auto service but i am failed to start it.
    so can anyone help me to solve this problem.
    thanks

    The earliest version of Oracle database supported on WinXP Pro is 9.0.1. Your version is not supported.
    Some components of 8.1.7 CLIENT are supported. They are client components only.

Maybe you are looking for

  • How to get a UDF value inside print event.

    I'm designing an add-on that will print 3 labels based on different criteria when and Invoice or a Delivery ticket is print.  Each label will go to a different printer since these are specifilly dedicated to each type of label/form. My problem is tha

  • Want to input interference signal in labview + perform bandpass filtering/demodulation

    Hello to whom it may concern, I have a fiber-based OCT system linked to a Tektronix TDS 2024B digital oscilloscope, with which is showing the interference fringes of the low-coherence lightsource. The signal is linked to the computer using the NI DAQ

  • Getting the NAC agent out of the system tray.

    I am installing a NAC solution for a customer and they don't want users to have the NAC agent in the sytem tray. Is there any way to do this because they are pretty adamant about it.

  • ActionScript class being run by mistake in Flex project

    I have a Flex project where my main MXML file is set as the one and only application file and is also set as the default file. I also have an ActionScript class in the project that extends Sprite. It is _not_ set as an Application file. When I have t

  • Job Overview

    Hi BW Experts, I have some doubts in data loading. We run the jobs through Process Chains and InfoPackages. What is difference between Dialogue Process and Background Process? When we run the Process Chains, it will show User Name: ALEREMOTE When we