Start EM service in window services

dear friends
I installed Oracle10g on win2003, My hostname was student and my domain name was exam.com and I could work with http://student.exam.com:5500/em, but I change my domain and rename it to test.com (IP address change), now I can't start Oracle dbconsole, I change folder name and path under student.exam.com and oc4j manually and set new listener, but it doesn't work, please help me.
thanks a lot.

Hi,
Login as Administrator in win2k, start TNSListener first, and then
Managementmentserver Second.
Use Control panel or
C:/>net start <managementservername>
Regards
karthik

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

  • 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

  • Diff b/w Web service and window service

    What is the difference between web service and window service, whether the both are same or not, Give some explain about that each one and give some examples also.

    An XML Web service is a component that implements program
    logic and provides functionality for diseparate
    applications. These applications use standard protocols,
    such as HTTP, XML, and SOAP, to access the functionality.
    XML Web services use XML-based messaging to send and
    receive data, which enables heterogeneous applications to
    interoperate with each other. You can use XML Web services
    to integrate applications that are written in different
    programming languages and deployed on different platforms.
    In addition, you can deploy XML Web services within an
    intranet as well as on the Internet. While the Internet
    brings users closer to organizations, XML Web services
    allow organizations to integrate their applications.
    A Windows service starts much before any user logs in to
    the system (if it has been setup to start at boot up
    process). A Windows service can also be setup in such a way
    that it requires a user to start it manually ? the ultimate
    customization!
    Windows services run as background processes. These
    applications do not have a user interface, which makes them
    ideal for tasks that do not require any user interaction.
    You can install a Windows service on any server or computer
    that is running Windows 2000, Windows XP, or Windows NT.
    You can also specify a Windows service to run in the
    security context of a specific user account that is
    different from the logged on user account or the default
    computer account. For example, you can create a Windows
    service to monitor performance counter data and react to
    threshold values in a database.

  • I am not able to login afer making obiee Admin service as windows service

    Hi all,
    I recentry intalled obiee1g. All is working fine. However, I followed
    http://gerardnico.com/wiki/dat/obiee/windows_service_11g
    to obiee11g Admin service as windows service. I made it successfully. I am able to start this service via windows service. Now I m not able to on any obiee11g tool. Can you please help me?
    Thank you
    Raja

    Hi all,
    I recentry intalled obiee1g. All is working fine. However, I followed
    http://gerardnico.com/wiki/dat/obiee/windows_service_11g
    to obiee11g Admin service as windows service. I made it successfully. I am able to start this service via windows service. Now I m not able to on any obiee11g tool. Can you please help me?
    Thank you
    Raja

  • What are the differences between Azure(Cloud) Service Bus and On-Premises Service Bus (Windows Service Bus 1.0)?

    Hi,
    I want to know the exacts differences between Windows Azure(Cloud) Service Bus and On-Premises Service Bus (Windows Service Bus 1.0)
    Thanks
    mit

    Might ask them over here.
    http://social.technet.microsoft.com/Forums/en-us/home?category=biztalkserver
    http://social.msdn.microsoft.com/Forums/windowsazure/en-US/home?forum=windowsazuremanagement%2Cservbus%2Cazuremobile&filter=alltypes&sort=lastpostdesc
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Analyzer service as Windows Services

    Hi, I need the Analyzer service as windows services, the version is 7.2.1
    I only find the step for Analyzer 6, and the file and folder are different
    Thanks

    Hi,
    The oracle support send me a batch file, the service is a Windows services now
    Thanks

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

  • 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

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

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

  • Auto start weblogic 11gR1 as windows service?

    I have installed Weblogic Server 11gR1 and created a domain with only one server (Administration Server).
    I wonder if I can configure to run as windows service, in case of windows update and auto restart

    Copy this to a new file called createSvc.cmd and put it in the \wlserver_10.3\server\bin
    echo off
    SETLOCAL
    set DOMAIN_NAME=ADFDomain
    set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\ADFDomain
    set SERVER_NAME=AdminServer
    set PRODUCTION_MODE=false
    set JAVA_VENDOR=Sun
    set JAVA_HOME=C:\Oracle\Middleware\jdk160_18
    set MEM_ARGS=-Xms256m -Xmx512m
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd"
    ENDLOCAL
    you will have to edit the DOMAIN_NAME to match yours
    and the USERDOMAIN_HOME as well. This is pretty much a default install of the WLS 10.3 - though I changed the domain name.
    I assume you used the default admin server name.
    Go to the command prompt and set the current directory to the \wlserver_10.3\server\bin directory.
    execute the createsvc.cmd and it should be done.

  • Installing BI Services as Windows Service

    Hi All,
    I am on 64 bit windows server 2008, I have done a simple install of obiee 11g. So I have only Admin Server
    and no managed server.
    I need to install the weblogic as windows service. And this is what i have done till now
    1. Modified the boot properties file to enter the login and password (weblogic/Welcome1)
    2. Set system environment variables BI_ORACLE_HOME and JAVA_HOME
    3. Modified the installsvc.cmd file to enter the following
         a.
         b.
         c.-log:"E:\MW_OBI\user_projects\domains\bifoundation_domain\AdminServer-stdout.txt
    4. created the installAdminServer_service.cmd file with following contents
    echo off
    SETLOCAL
    set DOMAIN_NAME=bifoundation_domain
    set USERDOMAIN_HOME=%Middlewarehome%\user_projects\domains\bifoundation_domain
    set SERVER_NAME=AdminServer
    set PRODUCTION_MODE=true
    call "%Middlewarehome%\user_projects\domains\bifoundation_domain\bin\setDomainEnv.cmd"
    call "%Middlewarehome%\wlserver_10.3\server\bin\installSvc.cmd"
    ENDLOCAL
    5.Now when I run this, it does run something but doesn't install the "beasvc %DOMAIN_NAME%_%SERVER_NAME%"
    service as expected.
    This is the extract from my installsvc.cmd file. What is that I am missing? Is there any variable which
    needs to be set. What could be the issue. Does this work for 64 bit machine?
    @rem *************************************************************************
    @rem This script is used to install WebLogic Server as a Windows Service.
    @rem
    @rem To create your own start script for your domain, simply set the
    @rem SERVER_NAME variable to your server name then call this script from your
    @rem domain directory.
    @rem
    @rem This script sets the following variables before installing
    @rem WebLogic Server as a Windows Service:
    @rem
    @rem WL_HOME - The root directory of your WebLogic installation
    @rem JAVA_HOME - Location of the version of Java used to start WebLogic
    @rem Server. This variable must point to the root directory of a
    @rem JDK installation and will be set for you by the installer.
    @rem See the Oracle Fusion Middleware Supported System Configurations page
    @rem (http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html)
    @rem for an up-to-date list of supported JVMs.
    @rem PATH - Adds the JDK and WebLogic directories to the system path.
    @rem CLASSPATH - Adds the JDK and WebLogic jars to the classpath.
    @rem
    @rem Other variables that installSvc takes are:
    @rem
    @rem WLS_USER - admin username for server startup
    @rem WLS_PW - cleartext password for server startup
    @rem ADMIN_URL - if this variable is set, the server started will be a
    @rem managed server, and will look to the url specified (i.e.
    @rem http://localhost:7001) as the admin server.
    @rem PRODUCTION_MODE - set to true for production mode servers, false for
    @rem development mode
    @rem JAVA_OPTIONS - Java command-line options for running the server. (These
    @rem will be tagged on to the end of the JAVA_VM and MEM_ARGS)
    @rem JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
    @rem -client, etc.)
    @rem MEM_ARGS - The variable to override the standard memory arguments
    @rem passed to java
    @rem
    @rem
    @rem MAX_CONNECT_RETRIES - Number of attempts the Windows Service will make to check
    @rem if the Weblogic Server is started. If this variable
    @rem is specified along with HOST and PORT, the Windows Service will
    @rem wait until the Weblogic Server is started.
    @rem HOST - IP address of the Weblogic Server
    @rem PORT - Port number where the WebLogic Server is listening for requests
    @rem
    @rem jDriver for Oracle users: This script assumes that native libraries
    @rem required for jDriver for Oracle have been installed in the proper
    @rem location and that your system PATH variable has been set appropriately.
    @rem
    @rem For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @rem (http://download.oracle.com/docs/cd/E17904_01/web.1111/e13708/overview.htm).
    @rem *************************************************************************
    @echo off
    SETLOCAL
    set WL_HOME=E:\MW_OBI\wlserver_10.3
    call "%WL_HOME%\common\bin\commEnv.cmd"
    @rem Check that the WebLogic classes are where we expect them to be
    :checkWLS
    if exist "%WL_HOME%\server\lib\weblogic.jar" goto checkJava
    echo The WebLogic Server wasn't found in directory %WL_HOME%\server.
    echo Please edit your script so that the WL_HOME variable points
    echo to the WebLogic installation directory.
    goto finish
    @rem Check that java is where we expect it to be
    :checkJava
    if exist "%JAVA_HOME%\bin\java.exe" goto runWebLogic
    echo The JDK wasn't found in directory %JAVA_HOME%.
    echo Please edit your script so that the JAVA_HOME variable
    echo points to the location of your JDK.
    goto finish
    :runWebLogic
    if not "%JAVA_VM%" == "" goto noResetJavaVM
    if "%JAVA_VENDOR%" == "BEA" set JAVA_VM=-jrocket
    if "%JAVA_VENDOR%" == "HP" set JAVA_VM=-server
    if "%JAVA_VENDOR%" == "Sun" set JAVA_VM=-server
    :noResetJavaVM
    if not "%MEM_ARGS%" == "" goto noResetMemArgs
    set MEM_ARGS=-Xms32m -Xmx200m
    :noResetMemArgs
    @echo on
    set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
    @echo ***************************************************
    @echo * To start WebLogic Server, use the password *
    @echo * assigned to the system user. The system *
    @echo * username and password must also be used to *
    @echo * access the WebLogic Server console from a web *
    @echo * browser. *
    @echo ***************************************************
    rem *** Set Command Line for service to execute within created JVM
    @echo off
    set JAVA_VM=-server
    set MEM_ARGS=-Xms512m -Xmx512m -XX:MaxPermSize=512m-XX:+UseSpinning
    if "%ADMIN_URL%" == "" goto runAdmin
    @echo on
    set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -classpath \"%CLASSPATH%\" -Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER% -Dweblogic.management.server=\"%ADMIN_URL%\" -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy=\"%WL_HOME%\server\lib\weblogic.policy\" weblogic.Server"
    goto finish
    :runAdmin
    @echo on
    set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -classpath \"%CLASSPATH%\" -Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy=\"%WL_HOME%\server\lib\weblogic.policy\" weblogic.Server"
    :finish
    rem *** Set up extrapath for win32 and win64 platform separately
    if "%WL_USE_X86DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\32;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\32\oci920_8
    if "%WL_USE_IA64DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\64\;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\64\oci920_8
    if "%WL_USE_AMD64DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\x64\;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\x64\oci920_8
    rem *** Install the service
    "%WL_HOME%\server\bin\beasvc" -install -svcname:"beasvc %DOMAIN_NAME%_%SERVER_NAME%" -delay:120000 -javahome:"%JAVA_HOME%" -execdir:"%USERDOMAIN_HOME%" -maxconnectretries:"%MAX_CONNECT_RETRIES%" -host:"%HOST%" -port:"%PORT%" -extrapath:"%EXTRAPATH%" -password:"%WLS_PW%" -cmdline:%CMDLINE% -log:"E:\MW_OBI\user_projects\domains\bifoundation_domain\AdminServer-stdout.txt"
    ENDLOCAL

    Hi Ronny,
    The procedure does work for 64-bit machines. I have done for OBIEE 11.1.1.5 on Windows 2008 64-bit machine.
    In your installAdminServer_service.cmd file, turn on echo and check if you get additional information. This will help you know which steps are getting executed and which aren't.
    Also, you can cross check your steps with document on Oracle Support - How to Install MS Windows Services For FMW 11g WebLogic Domain Admin and Managed Servers.
    Thanks

  • Manually creating the oracle services inside windows services

    Hi All,
    After discussion we came up for the following conclusion and would like to have further discussion on the topic.
    - We have node 1 windows 2003 enterprise sp2 available on one of the server which has Oracle 11g R1 having custom database installed on it.
    - All database and Oracle server files are stored on shared storage.
    - It created windows services inside which we will be registered under cluster administrator
    - We will install Oracle 11g R1 on node 2 (Passive node of windows cluster) with the software only option.
    - We will manually create the oracle services on this node with the same name as we have on node 1.
    In case the node 1 will be failed, node 2 will fail over and will become active node for the users.
    Is there any one involve in such practice? did it work ?
    Thanks,

    I am installing 10g client and create an ORCL service using the Net configuration Assistant. I don't see this service when i open ontrol panel/administrative tools/services. Is this normal?
    I thought i wld see it and start the service and listener. Some confusion here.... first of all, listener is a server process, which listens for incoming calls, you don't have it on a client.
    Secondly, the service you created with Net Configuration Assistant is just an alias you'll use to connect a remote database to, and does not create any Windows service. You can find its specifications within tnsnames.ora file, in ORACLE_HOME\network\admin directory.
    I'd read some documentation

  • Start BI Services as Windows Service in OBIEE 11g

    Hello All,
    We need to Automate the Start BI Services in OBIEE 11g.
    The options that were tried from my side to achieve the same are as follows:
    1) Creating Command files for Admin_Server and BI_Server
    2) Creating Utility files installSvc_Admin.cmd and installSvc_BIServer.cmd.
    3) Created the Boot file.
    4) Ran the Command files.
    Still i am unable to automate the Start BI Services. I have to manually Start the BI Services whenever i login to the RDC.
    Pls help.
    Thanks.
    Regards,
    Ashwinni

    Ashwinni,
    The batch files should be able to solve your problem.
    Can you post your batch file code here for the start up script? I'll see if I can help you troubleshoot.

Maybe you are looking for

  • How to capture error message in a FM call during exception

    Hi, The FM i'm trying to call is giving an exception and don't have the built in mechanism to pass on the error message that occured during processing. However, if i see the job log in SM37, I'm able to see the corresponding error message. Please let

  • Error during EA16manual billing ' AH632 - Tax code could not be determined'

    Hi, During manual billing t code EA16, we are getting following error. 'Tax code could not be determined' Actually there is no tax code given in configuration for the subtransaction which I am using for manual billing. Whether anyone has any clue? Re

  • The sequence does not show when exporting media from premiere

    hi i have the following setting for my sequence- editing mode- main concept bluray time base-25.00 preview file format -mpeg bd 1080 50i vbr 34 mbps width 1920 height- 1080 maximum render quality issue is when i export media the adobe media encoder d

  • Dvr620ku only shows black and white using HDMI cable

    I connected the av cables and they showed black and white, now im connected through hdmi and same problem watching vcr tapes... what can I do besides trying a component cable?

  • RFC Error in SM58 Commit fault

    My scenario is RFC to XI to FILE. I made RFC destination in SM59 and configure xi according to /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step The connection test in SM59 is succeeded. I would like to execute