How to start & stop SAP J2EE services.

Hello,
Can anyone tell me the steps how to Start and Stop SAP J2EE operations and how to troubleshoot the problems when the Java doesn't come-up.
Regards,
Murali

Hi,
In windows,
go to SAP management console,Right click on the SID and then <b>start all tasks</b>
similarly to stop,Right click,
<b>stop all tasks</b>
If it is linux machine,
switch to SIDadm user,by giving the command <b>su sidadm</b>
ex:if SID is J2E,then it will be <b>j2eadm</b>.and then it is <b>startsap</b> or <b>stopsap</b>.
For troubleshooting,
1.go to /usr/sap/SID/JCxx/j2ee/cluster/server0/log
look for <b>defaulttrace.trc file.</b>
you can get to know the errors here and find teh root cause of it.
2.you can also look for <b>devp_trace</b> in SAPmanagement console.
3.Before doing all this,first check if <b>JAVA_HOME,path</b> and <b>LD_LIBRARY_PATH</b> is set properly and proper JDK is taken.
4.check id <b>DB is up and running.</b>
reward points if helpful
Message was edited by:
        usha rani

Similar Messages

  • How do starting/stopping of application services differ in R12 ??

    How do starting/stopping of application services differ in R12 when compared to 11i ??
    Can I start/stop services using opmnctl ??

    Can you plese refer me a document where role of OPMN and OC4J in R12 is mentioned ??? In short:-
    OPMN - Oracle Process Manager & Notification Server is component in Oracle Application Server (10g) to manage (start/stop/status) Application Server components (HTTP, OC4J)
    For more:-
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13996/intro.htm
    OC4J -- oracle container for java.
    In R12 we have 3 groups of OC4J's.
    oacore OC4J - framework based applications
    forms OC4J - forms based applications
    oafm OC4J - Fusion Middleware - for mapviewer, webservices, ascontrol.
    For more, pls read
    http://download.oracle.com/docs/cd/B10464_05/web.904/b10326/intro.htm
    thanks,
    JD

  • Batch / script file to start /stop sap server

    Hi,
       I would like to start/stop SAP server using batch file (in windows). I need this, whenever we have to shutdown the server and restart of the server, so that SAP will automatically shutdown and restart using batch files while server restart cases? If anyone knows, please let me know. Thanks,
    Regards,
    Sundar.

    target of the 700 sapstartsrv improvement was to deliver identical functionality on all SAP platforms. As the DCOM programing model is only available on Windows platforms sapstartsrv.exe was enhanced by the WEB-Service interface and is available now on Unix too.
    The DCOM SAPControl interface of sapstartsrv.exe is still existing, but only on Windows. Here you can use VB Script or any other programming language able to handle DCOM objects to write your own programs / scripts to interact with the SAPControl.
    sapcontrol.exe is a command line program available since 700 which enables you control over nearly all functions of the sapstart service.
    Even it has the same name as the DCOM interface it' something completly different.
    regards
      Peter
    PS: sapcontrol syntax
    usage: sapcontrol [
                       -prot GSOAP_HTTP| http using gsoap build in sockets (default)
                             NI_HTTP|    http using SAP NI sockets (prefer Unix domain sockets)
                             NI_HTTPS|   https using SAP NI sockets (prefer Unix domain sockets)
                             WINHTTP|    http using Windows winhttp
                             WINHTTPS|   https using Windows winhttp
                             PIPE        Windows named pipes
                       [-user <user> <password>] OS user and password for Webservice authentication
                       [-repeat <N> <D>]         Repeat Webmethod call <N> times (-1=forever) with <D> sec delay
                        -format list|            List output format (default)
                                script           Script output format
                       [-host <hostname>]        Host to connect to (default: localhost)
                       -nr <instance nr.>        SAP Instance number to connect to
                       -function <Webmethod> [parameter list]
    Webmethods: Start
                Stop [softtimeout sec]
                Shutdown
                RestartInstance [softtimeout sec]
                StopService
                StartService <SID>
                RestartService
                ParameterValue [<parameter>]
                GetStartProfile
                GetTraceFile
                GetAlertTree
                GetAlerts
                GetEnvironment
                GetVersionInfo
                GetQueueStatistic
                GetProcessList
                GetInstanceProperties
                ListDeveloperTraces
                ReadDeveloperTrace <filename> <filesize>
                ListLogFiles
                ReadLogFile <filename> [<filter> [<language> [<maxentries> [<cookie>]]]]
                AnalyseLogFiles [<severity 0-2>] [<maxentries>] [<starttime YYYY MM DD HH:MM:SS> <endtime YYYY MM DD HH:MM:S
    S>]
                OSExecute <command> <async> <timeout> <protocolfile>
                SendSignal <pid> <signal>
                GetSystemInstanceList
                StartSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [<waittimeout sec>]]
                StopSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [[<waittimeout sec>] [softtimeout sec]]]
                RestartSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [[<waittimeout sec>] [softtimeout sec]]]
                AccessCheck <function>
                ABAPReadSyslog
                ABAPReadRawSyslog
                ABAPGetWPTable
                J2EEControlProcess <processname> <function>
                J2EEGetProcessList
                J2EEGetThreadList
                J2EEGetSessionList
                J2EEGetCacheStatistic
                J2EEGetApplicationAliasList
                J2EEGetVMGCHistory
                J2EEGetVMHeapInfo
                StartWait <timeout sec> <delay sec>
                StopWait <timeout sec> <delay sec>
                WaitforStarted <timeout sec> <delay sec>
                WaitforStopped <timeout sec> <delay sec>
    Exitcode: 0: Last Webmethod call successfull
              1: Last Webmethod call failed, invalid parameter
              2: StartWait, StopWait, WaitforStarted, WaitforStopped timed out
              3: GetProcessList succeeded, all processes running correctly
              4: GetProcessList succeeded, all processes stopped
    Security: Trusted connects without user and password check are possible through
              Unix domain socket or Windows named pipes. Protected webmethods like
              Start or Stop require a trusted connection or OS user and password
              authentication.

  • How can I stop a report service manually ?

    How can I stop a report service manually in DOS command?
    I only know start a report service manually in DOS command.For example:rwserver service=repljbass

    My start/stop scripts for Solaris looks like this.
    Start:
    rwserver.sh server=reportserver batch=yes
    Note: batch=yes means that the extra control window doesn't start (at least on Unix)
    Stop:
    rwserver.sh server=reportserver shutdown=immediate authid=repadmin/reports
    Just remove the .sh and it'll work on your PC.
    PS. The complete Solaris start command I use is:
    exec nohup rwserver.sh server=reportserver batch=yes &

  • How to start/stop Event Mgr. and RFID information server?

    I take over our form RFID admin (who quit) position.
    I cannot find any document which tells me How to start/stop Event Mgr. and RFID information server.
    Even the "Sun Java System RFID Software 3.0 Administration Guide" does not have this piece of info.
    Would you please help? Points guaranteed. Thanks!

    Ashley you are still not clear to me.
    Please mention what applications are these??
    Is it SAP Event Manager??
    What is the RFID Information server??
    Is it SAP based, or some other vendor??
    How is the integration done?
    Thanks

  • How to Start / Stop Oracle Applications

    How to Start / Stop Oracle Applications.
    Oracle Applications Services (TCF, ConcManagers, Metric, Forms, Reports etc...) TnsListner & Oracle Service (DB) are started when the Server is started.
    What is the sequential Order to Start / Shutdown services, Listener & DB.
    Best regards,

    hi
    there is no hard coded rule on which service should be started first.
    the basic thing is concurrent manager uses database for starting, so i advice you the following sequence:
    1. start the database
    2. start the database listener
    3. Apache server
    4. forms server
    5. report server
    6. concurrent manager
    and shutdown in the reverse order
    simple
    regards
    srinivas

  • How to Start/Stop from Server Manager

    Hello,
    I am trying to figure out how to start/stop/restart my coldfusion servers from server manager.  I have seen the instruction at this link:
    http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSfd7453be0f56bba4-2a6b48f122a6582c7f-7ff e.html
    However it mentions "place the jrunappstartup.war file under the directory <CF_Home>/runtime/servers/admin"
    I do not know where to get this file from.  Please help!
    I am running ColdFusion standalone.
    Any help is much appreciated,
    Thanks,
    David

    An update to eariler posting. Configure CF9 Enterprise multiserver.
    Likewise unable to find jrunappstartup.war file mentioned.
    If I follow the instructions and try configure the SM Start Stop Details the Start Stop Restart
    does not become an highlighted option.
    Here are a couple screen cuts for interested readers-
    Start Stop Details (are these correct Jrun items to fill in?):
    Unable to restart from SM:
    Regards, Carl.

  • How to start/stop report server?

    Dear memebers,
    when i restart my machine the report don't run. and give the following errro: frm-41213 unbale to connect to the report server.
    how to start/stop the report server?
    i have installed the DS 10g.
    Thanks
    Muhammad Nadeem
    [email protected]

    I try to find same solution from three month , i think first you intsall report server
    and check that if in server/conf folder rep_<hostname> file is there than your report is running with in process method in that you are not able to run report with report server , if you get solution than please give me the same

  • How to start CRS and other services after rebooting nodes.

    Hi,
    i have created two node cluster database.how to start CRS and other service after rebooting nodes?
    Thanks,

    use crsctl command start...
    $ORA_CRS_HOME/bin/crsctl start crsOr check status about CLusterware...
    $ORA_CRS_HOME/bin/crsctl check crs
    CSS appears healthy
    CRS appears healthy
    EVM appears healthyIf not OK... check log at $ORA_CRS_HOME/log/hostname/*
    and check status database , service and etc...
    use crs_stat
    $ORA_CRS_HOME/bin/crs_stat -t
    $ORA_CRS_HOME/bin/crs_stat if you find some service or instance ... not online...
    use srvctl command, help to start
    Get Help...
    $ORA_CRS_HOME/bin/srvctl -h

  • How to start/stop an Xserver?

    Gurus:
    Would you please help tell how to start/stop an Xserver?
    Thanks!

    Hi Linda Li,
    Basically it depends on enviroment and If it's unix then it depends on how you configure your scripts in /etc/init.d
    1. If you are looking for on how to start & stop XServer for environment APO/LiveCache & MaxDB then below are commands
    x_server [<options>] [start]
    x_server stop
    2. If its on general UNIX then
    If you're in X and want to stop it, bring up the terminal window and type:
    init 3
    To start X from the command line, type either:
    startx
    or
    init 5
    I hope this helps you.
    Thanks and best regards
    Sekhar

  • How to start a SAP training institute?

    Hello every one,
    Thanks for reading this email. I have a couple of questions. It would be great if you can help me out by answering these.
    1. How to start a SAP training institute?
    2. What would be the cost of the SAP software ,that one needs to buy for training ?
    3. Should we contact SAP to get permisson to conduct SAP training ?
    Thanks in advance.
    Karan

    Hi Chinmay!
    I too have the same Query, i see that there has been no response to your query, incase if you have started the institute, may be you can help me!
    I need to know the procedure to start an SAP training Institute.
    I have set up a Company, now what next? Do i need to Partner with SAP? how do i get access to SAP IDES? How much is it going to cost me?
    Once that is in place, who are the people i need like Basis team to set up the landscape. etc...
    Awaiting a response from anyone, who can guide me.
    Regards,
    Ronica.

  • Starting and stopping SAP J2EE Engine

    Hi guys,
             I have downloaded and installed trial version of SAP Web Application Server (SAP Web AS) Java 6.40 for Microsoft Windows XP.
       I wanted to launch SAP J2EE Engine and Software Deployment Manager (SDM) to run my web dynpro application. The Netweaver Developer studio getting started guide has a link for starting and stopping the SAP J2EE Engine but its not working for me. I get an error with the link.
    Is it possible for someone to let me know how to launch J2EE engine and SDM. Also what server settings I need to make in the menu path Window -> Preferences -> SAP J2EE Engine.
    Any help will be appreciated.
    Thanks,
    Mandar

    Hi Ivaylo and Thomas,
        Thanks for your help, It works fine. For some reason after starting my J2EE server, when I start my Netweaver developer studio, it gives the following error
       JVM Terminated Exit code=1
       c:\j2sdk1.4.2_05\bin\javaw.exe
       -Xmx512m
       -Xms128m
       -XX:PermSize=128m
       DallUserDir='C:\Documents and Setting\All users\Application Data'
       -cp C:\Program Files\SAP\JDT\eclipse\SAPStartup.jar com.sap.ide.eclipse.startup.Main
       -os win32
       -ws win32
       -arch x86
       -feature com.sap.java.ide
       -showsplash C:\Program Files\SAP\JDT\eclipse\SAPIde.exe -showsplash 600
      Any idea why I get this error and how to fix it. My Netweaver Developer studio did startup few times and I did write some code in it. But now when I try to start NDS, I get the above error.
    Any help will be appreciated.
    regards,
    Mandar

  • How to start/stop a  MSCS clustered SAP system?

    Hi!
    I know the sequece is very important.
    Could you give the step  sequence and the method of each step?
    I search SMP but found no clue.
    Thanks a lot! Pints guaranteed.

    Hi Jennifer,
    Please follow the below sequence :-
    Eg: - System Landscape - MSCS - [Node A(CI) & Node B(DB)] and C as Application Server.
    Stoping:-
    1. MMC - C(Stop All Application Server)
    2. NodeA - Cluster Administrator - move DB Group to NodeA
    3. NodeB - MMC - Stop all SAP instances
    4. NodeA - MMC - Stop all SAP Instances
    5. Now You can safely do any maintenance work or shudown the MSCS cluser servers
    Starting:-
    1.NodeA - MMC - Start all SAP instances
    2.NodeB - MMC - Start all SAP instances
    3.NodeA - Cluster Administrator - move DB group to NodeB
    4.The Application Server MMC Start all Apllication Server Instances.
    Hope this will help you in regard to MSCS starting and stoping sequence.
    Regards
    Rayees Palot

  • How to start or restarted Oracle_Secure_Backup service in RedHat linux

    Hi
    when i try to connect oracle secure backup using the following command, i am getting the follwoing message
    [root@midevdb bin]# obtool
    obtool: Error: can't connect to administrative observiced - observiced not running
    so how i can start, stop and restart Oracle_Secure_Backup service in redhat linux.
    thanks
    Settu Gopal

    the below is the logs from observiced.log log file.
    2009/03/31.12:19:28 observiced version 10.2.0.3.0 (linux) -- Tue Sep 23 10:36:22 PDT 2008
    Copyright (c) 1992, 2007, Oracle. All rights reserved. on midevdb.in.valtech.com pid 27248
    2009/03/31.12:19:28 listening for requests on --
    2009/03/31.12:19:28 virbr0 (192.168.122.1) port 400
    2009/03/31.12:19:28 eth0 (192.168.140.22) port 400
    2009/03/31.12:19:28 info: local host identity not readable or not yet established - no .hostid file
    2009/03/31.12:19:28 listening for NDMP connections on --
    2009/03/31.12:19:28 virbr0 (192.168.122.1) port 10000
    2009/03/31.12:19:28 eth0 (192.168.140.22) port 10000
    2009/03/31.12:27:04 failure to negotiate SSL connection with component obtool on fd 6 - no matching cipher suites (FSP Oracle network security functions)
    Thanks
    Settu Gopal

  • How to start / stop nodes without domain-controller / automatically on Win?

    Hi,
    we have a distributed installation of CMSDK 9.0.4.
    We have installed a 9.2.0.4 Database on Solaris and we are using the 10g(9.0.4) Infrastructure on Solaris with it.
    The first installation of CMSDK uses a J2EE-MidTier installation on the Solaris server and contains the CMSDK domain controller and a normal node with nfs protocol server running.
    The other installations are done on Win2003 Blades. Currently we are using two Blades. On each there is a J2EE-MidTier installation and within these we have installed CMSDK with HTTP-Node and normal node. We are using NTFS-Server within the normal nodes.
    The Blades are within one Domain and we have NLB-Cluster activated for both.
    The whole thing sounds complex, but it works fine. We only have some trouble regarding start/stop of the nodes:
    1. If the solaris backend fails, our cluster-configuration tries to stop and start cmsdk. While stopping cmsdk, all nodes - even those on the Win-Servers - are stopped. But starting does not bring em up again automatically.
    2. If a Windows Server is booted, the normal node does not start automatically.
    3. If one Windows Server is not available, the ifsctl check takes a very long time because it's trying to get information from the missing one.
    Is there a way to restart the domain controller and node on solaris without stopping the nodes on Windows?
    How can we start the windows nodes automatically after reboot?
    Is there a way to probably start the nodes without being managed / guarded by the domain controller?
    Thanks for help,
    Alex

    Try adding this script to your /etc/init.d directory:
    #!/bin/sh
    ifsctl start << EOF
    <ifsctl password>
    EOF
    Replace <ifsctl password> with the password that you would give at the prompt.
    It will complain about Inappropriate ioctl for device, but it works.

Maybe you are looking for

  • Enhance DataSource 2LIS_04_P_ARBPL

    Hello, I tried to enhance the DataSource 2LIS_04_P_ARBPL with informations from the table AFRU in the SAP R/3-System (RSA6). But I can't see a possibilty to read the table AFRU (Keyfields: RUECK and RMZHL)with the informations I get from the extracto

  • Paging problem while opening new window with getURL from presentation fullscreen exe

    Can any one please help me out from this, I have the flash presentation exe with some pdf links when I click on the pdf link it will come at the top for a first time and send it back to my exe presentation. after every click on the pdf link each brow

  • Manage Skype Groups issue

    I have several skype groups.   I make daily calls to the groups.  Some days people are on vacation - or don't need to be in the group call.   There is not a consistent way to remove a person from a group.  Sometimes in the Right-Click menu I get the

  • Web Logic Licensing and Support

    Hi all, We would like to know about Web Logic Server licensing and support details. Much appreciate your valuable inputs Thanks!

  • Disk Ejects before doing anything

    I'm trying to update to Snow Leopard 10.6.3 on my iMac (purchased version online, I was told it was the disk I needed for my computer) and when I put the disk in it ejects after about a minute without doing anything. Any suggestions...?