Is is possible to shutdown the Java Cluster using an OS command?

We have a Netweaver 7.0 dual stack system.  How can we shutdown the java cluster only using a Unix OS command?  I tried "stopsap j2ee" but that shutdown the j2ee and abap services.  I only want to shutdown the j2ee services (dispatcher,server & sdm).  I know you can shutdown the java cluster using SMICM and jcmon, but these are interactive interfaces.  I am trying to create an Unix script just to shutdown the java components.
Is this possible?
Thank you!

Hi Magnus...
The command STOPSAP with the switch J2EE stop SAP NetWeaver
as per SAP start/stop
http://help.sap.com/saphelp_nw70/helpdata/en/71/1c9a4267f9c66ae10000000a155106/content.htm
but may be try this
STOPSAP.EXE name=<SID> nr=<SYSNR> SAPDIAHOST=<host>
one thing remembered ABAP Schema has formula SAP<SID> ( Database Schema), but in Java Schema SAP<SID>DB ( there is additional u201CDBu201D).
ABAP instance called DVEBMG<system number>, JAVA/SCS Instance called SCS<java system number>, commonly, for example my server uses DVEBMG00 and SCS01
thnx....

Similar Messages

  • Adding Server to cluster will make server halt (weblogic) & cannot shutdown the server by using script command

              Hi,
              When I Adding a server from the server list to the cluster , and
              click 'apply' , the weblogic server will be halted. Why could it
              happen and How can I solve this problem?
              Furthermore,I try to shutdown the server by using the command script
              - java weblogic.Admin -url http://localhost:port SHUTDOWN -username
              username -password password ( e.g. java weblogic.Admin -url http://999.99.99.99:7001
              SHUTDOWN -username system -password weblogic ), there is an error
              message "Exception in thread 'main' java.land.NoclassDefFoundError:
              weblogic/Admin" . Why?
              Chris
              

              Your CLASSPATH must include $WL_HOME/classes to startup as:
              java weblogic.Admin t3://localhost:<port> SHUTDOWN <USERNAME> <PASSWORD>
              Note here protocol is t3. Brian
              "Joe E. Schwarz" <[email protected]> wrote:
              >
              >Chris,
              >You gave probably forgotten to set your CLASSPATH to,
              >for example
              >on NT, C:\bea\wlserver6.0\lib\weblogic.jar.
              >Joe
              >
              >"Chris" <[email protected]> wrote:
              >>
              >>Hi,
              >>When I Adding a server from the server list to the cluster
              >>, and
              >>click 'apply' , the weblogic server will be halted. Why
              >>could it
              >>happen and How can I solve this problem?
              >>Furthermore,I try to shutdown the server by using the
              >>command script
              >>- java weblogic.Admin -url http://localhost:port SHUTDOWN
              >>-username
              >>username -password password ( e.g. java weblogic.Admin
              >>-url http://999.99.99.99:7001
              >>SHUTDOWN -username system -password weblogic ), there
              >>is an error
              >>message "Exception in thread 'main' java.land.NoclassDefFoundError:
              >>weblogic/Admin" . Why?
              >>
              >>
              >>Chris
              >
              

  • Is it possible to run the java program without main?

    Hi,
    Is it possible to run the java program without main?
    if anybody know please tell me, how it is possible.
    Regards,
    Ramya

    Hi,
    Is it possible to run the java program without main?
    if anybody know please tell me, how it is possible.
    Regards,
    RamyaWhy do you ask? It sounds like an odd question. Your program can be an applet and it doesn't need a main method in that case.
    Kaj

  • Is it possible to connect the java with XL database

    Hi friends,
    Is it possible to connect the java with XL database.
    if it is possible can u send the detail for that .
    Thnax in Advance..............

    What the heck is a XL database?

  • I can't locate my iphone as the app findmyiphone is off. Is it possible to shutdown the iphone so the thief can't use it?

    I can't locate my iphone as the app findmyiphone is off. Is it possible to shutdown the iphone so the thief can't use it?

    No.  If you did not activate find my iPhone then here's nothing you can do. Lesson learned.

  • Why does the Java API use int instead of short or byte?

    Why does the Java API use int if short or even byte would be sufficient?
    Example: The DAY_OF_WEEK field in Calendar uses int.

    One of the point is, on the benchmark tests on Java performance, int does far better than short and byte data types.
    Please follow the below blog talks about the same.
    Java Primative Speed
    -K

  • I am not able to shutdown the database by using stopsap

    Dear all,
    As mentioned in the subject "I am not able to shutdown the database by using stopsap". I am getting the following errors:
    exec(): 0509-036 Cannot load program oracle<SID> because of the following errors:
            0509-150   Dependent module libjox9.a(shr.o) could not be loaded.      
            0509-022 Cannot load module libjox9.a(shr.o).                          
            0509-026 System error: A file or directory in the path name does not exist
    R3 is terminated correctly by using the command stopsap and also I am able to shutdown the database normally by using the SQL command.
    Thanks for your cooperation.
    Maher

    Thank you Nick for your care.
    I will test start/stop manually later; because the system is active and used by the users for testing purpose (not production).
    Yes, LIBPATH is the same for both users.
    The ownership/permisssion for the both files is
    -rwxr-xr-x   1 <SID>adm   sapsys    stopdb
    -rwxr-xr-x   1 <SID>adm   sapsys    startdb
    I compared with production, it seems ok.
    I started DBCheck by using the transaction DB13 and also it failed due to same errors.
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000272, user name ****)
    No application server found on database host
    Execute logical command BRCONNECT On host *******
    Parameters: -u / -c -f check
    BR801I BRCONNECT 6.20 (113)
    exec(): 0509-036 Cannot load program oracle<SID>because of the following errors:
    #0509-150   Dependent module libjox9.a(shr.o) could not be loaded.
    #0509-022 Cannot load module libjox9.a(shr.o).
    #0509-026 System error: A file or directory in the path name does not exist.
    BR805I Start of BRCONNECT processing: cdnybrme.chk 2004-08-11 08.27.04
    exec(): 0509-036 Cannot load program oracle<SID> because of the following errors:
    #0509-150   Dependent module libjox9.a(shr.o) could not be loaded.
    #0509-022 Cannot load module libjox9.a(shr.o).
    #0509-026 System error: A file or directory in the path name does not exist.
    BR280I Time stamp 2004-08-11 08.27.07
    BR301E SQL error -12547 at location db_connect-2
    ORA-12547: TNS:lost contact
    BR310E Connect to database instance <SID> failed
    exec(): 0509-036 Cannot load program oracle<SID> because of the following errors:
    #0509-150   Dependent module libjox9.a(shr.o) could not be loaded.
    #0509-022 Cannot load module libjox9.a(shr.o).
    #0509-026 System error: A file or directory in the path name does not exist.
    BR280I Time stamp 2004-08-11 08.27.07
    BR301E SQL error -12547 at location thr_db_connect-4
    ORA-12547: TNS:lost contact
    BR310E Connect to database instance <SID> failed
    BR806I End of BRCONNECT processing: cdnybrme.chk 2004-08-11 08.27.07
    BR280I Time stamp 2004-08-11 08.27.07
    BR804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job finished
    Do you think that we need to rebuild the Oracle Software ?
    Thank in advance for your cooperation.
    Maher.
    Message was edited by: Maher M.

  • Is it possible to check the list of used password for my apple account?, Is it possible to check the list of used password for my apple account?

    Is it possible to check the list of used password for my apple account?, Is it possible to check the list of used password for my apple account?

    No Alvin I'm sorry but you can't access a list of used passwords for an Apple ID (or any account for that matter) as it would be consider a security flaw

  • Is it possible to customise the email address used to send iCal invites?

    Hi,
    I am trying to find out if it is possible to customise the email address used by iCal to send an invite.
    i.e. each user would like their email address to be used rather than a generic one.
    Tks
    Ben

    Sorry, that isn't possible. The email address is used as the account name. If you need to change it, a new account would need to be created.

  • Is it possible to open the Java plugin / WebStart Console from my app ?

    Hi,
    I would like to know if it is possible to add a menuitem to my application that would start the Java plugin/web start console.
    That would be nice when people have errors in my application.
    Martin

    Thanks for the information, but is there a way to do it without using exec methods ?
    I just want to bring up the Java Console from my app, in the more portable way possible ;-)
    Martin

  • Is it possible to put the java classes of an application and run?

    Hi All,
    Please excuse me if this question seems meaningless / laughable.
    We get java class files by compiling the source code with java compiler. To run the application, classpath can be set to the folder where the class files are stored and then run the main class.
    Now the question is, is it possible to read the class files to RAM and then run the application. I highly appreciate your help.
    Thanks in advance.
    Chinnaswamy

    You could
    1.) copy the class files to a ramdisk
    2.) write another class loader that deletes the class files after loading >them from ram
    but all of this is probably not necessary.
    What exactly would you like to achieve by doing this? Thanks, JoachimSauer.
    The idea I have in mind is to first read and store the java class files in C/C++ code and then while running the C/C++ code, read & put the java classes into RAM and run the java application.
    This way the decompilation problem can be alleviated for valuable java applications. ( I am not sure, this will work)
    Another reason could be speed improvement. Classes in RAM is expected to make the application to run faster than when class files are in hadr disk
    With regards
    Chinnaswamy

  • Close/shutdown the Sun Cluster Package/resource Group

    Hi,
    I have a SUN cluster system.
    I want to know what script do when the SUN cluster shutdown the package "app-gcota-rg" as I may need to modify it ?? Where can I find out this information in the system??
    In which directory and log file ???
    Any suggestion ???
    Resource Groups --
    Group Name Node Name State
    Group: ora_gcota_rg ytgcota-1 Online
    Group: ora_gcota_rg ytgcota-2 Offline
    Group: app-gcota-rg ytgcota-1 Online
    Group: app-gcota-rg ytgcota-2 Offline

    Hi,
    you would first find out which resources belong to app-gcota-rg.
    Do a "clrs list -g app-gcota-rg". Then find out which of the resource is the one dealing with your application. Then try to find out its resource type:
    "clrs show -v <resource name>| fgrep Type". If it is a standard type like HA Oracle, it is an extremely bad idea to hack the scripts, as you'll lose support. If type is SUNWgds, the scripts to start, stop and monitor the application are user supplied. You can find their pathnames using:
    "clrs show -v <resource-name>| fgrep _command". This should display full pathnames.
    Regards
    Hartmut

  • Is it possible to trace the mouse event using java script in indesign cs3?-request urgent

    Hi friends,
    am writing js for indesign cs2, i want to know the things whether it is possible for tracing the curse position in indesign application using javascript? i need it to know for both cs2 and cs3
    thanks in advance
    by
    subha

    to Subha:
    I definitely do not know enough to answer your question.
    But on June 14, 2007, Dave Saunders started a topic
    (this forum) titled "Am I making progress".
    Posts 23 and 32 there could be helpful, but I may
    have misunderstood your phrase "tracing the
    cursor position".
    Roger Purves

  • It is possible to download the java tutorials?

    Hi all,
    there is a place where I can download the java tutorials? I need them for a computer without connection to internet. I'm interested in all the tutorials, but the Thread and Swing tutorials are the ones that I need now.
    TIA.
    Jorge.

    At least the swing tutorial is there.
    Thanks you.You're welcome. Good luck, and happy coding!

  • Is it possible to control the naming convention used by Aperture when importing photos?  If so, how

    When I import photos from my camera, I have them placed into projects based on the date the photos were taken. However, I do not like the naming convention used by Aperture as it causes the projects to sort into a non-chronologial order. The convention is MMM-DD-YYYY and I want to change it to YYYY-MM-DD. Is it possible in Aperture 3.2.4 to do this?

    In the Import  panel you can edit the preset for the file name format to "Image year - image month - image day - index" for example; the preset for folder names seems to be gone in Aperture 3,3 - at least I cannot find it any longer. You only seem to be able to enter the folder name manually in the Import panel.

Maybe you are looking for

  • Problem with XML formatting

    All, Lets suppose we have a table like create table Test_data user_mane varchar2(30), user_id number, xml_data varchar2(3000) and we have inserted the data as Insert into Test_data(user_mane,user_id,xml_data) values ('ABC',19,'<Employee><firstName>Ka

  • No longer see street names in local language after...

    In WP8, I can have English as the Phone Language and Chinese as the Browser & Search Language, and see street names in Chinese in Here Maps and Here Drive, as i'm in a Chinese-spoken country. However, after upgrade to 8.1, I can no longer enjoy the b

  • MRP is not generating purchase requisitions consistently for MRP type VB

    Issue: When executing consumption based MRP in ECC 6.0 using the following parameters; purchase requisitions are not created for all material with stocks below max stock levels. In other words  requisitions are  created incase of some materials and r

  • How to load data into read only cells in HFM?

    Can any one help me in loading data into Read only cells in HFM?. I am trying to lad data into a read only cell using data load file and i m getting the below error. NB: I need the "UseLineItem Details" to be enabled.I shud be able to submit the data

  • Bdc error recovery

    Hi,      plz any body tell me the best method of error recovery in bdc both  in call transaction and bdc session, since data is in huge ammount and in excel sheet. plz give me answer in full details, bcaz i am is in big trouble uploading around 40 la