Java , abab stack restart by using unix commands

hi experts,
i need steps to restart java , abab stack restart by using unix commands.
plz any one give me clear steps.
thanks& regards,
Xi reddy

Hi,
Check following
http://help.sap.com/saphelp_nw04/helpdata/en/5d/c4dd9b9d91dd458e9e5c0386edeb86/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/fe/40a04270600d31e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/85/24a64201e7c511e10000000a1550b0/frameset.htm
regards,
kaushal

Similar Messages

  • Using Unix commands

    Im creating a webserver in java and I want to use UNIX commands to access another directory and run a CGI script. Im trying to cd into the cgi-bin directory and run the script using the Process and Runtime classes but it doesn't seem to change to the cgi-bin directory. Is there another way I'm supposed to do this in java?

    Read this: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Using Unix commands from Java Application

    Hi,
    I need to write an Java application such that could run Unix commands in a Unix box.
    For example, my Java app needs to log in the Unix box, change directory (cd), create new folder (mkdir), list the current files in folder (ls), mount a new device (mount), etc.
    Thank you very much.
    Hung

    you can use java.lang.Runtime.exec to invoke OS commands, but if you're going to be completing a sequence that complicated and need to manage error handleing well, it might be best to just invoke a native method or write a shell script that does all of that stuff and then invoke that script via Runtime.exec . The Runtime class has limitations when you start invoking processes that require user input (like 'su'). Search the forums for more extensive examples on how to use Runtime.

  • Terminal - how to find my external hard drive using unix commands

    just discovered terminal and using cd and ls commands, which are the only commands i know, i realized that i can't find my external hard drive. i thought it would be listed on my desktop, as it is in the OSX interface, but it isn't there.
    not that im skilled enough to use terminal yet, but i thought the first step would be being able to navigate the computer's files.
    really curious as to where my external hard drive is and how i can find it using unix commands in terminal.
    i was trying to figure it out myself, then i thought surely someone knows this and could tell me in a sec.
    thanks.
    ibook   Mac OS X (10.4.4)  
    ibook   Mac OS X (10.4.4)  

    "ls /Volumes" will list all volumes, including internal and external hard drives and mounted disk images. I find "disktool -l" more useful in scripts, as it tells you which volume names correspond to which "mount points" under /Volumes. Usually they're the same, but if you have two volumes with the same name, or you try to remount a removable volume before it is fully unmounted, you'll end up with a mount point that consists of the volume name with a numerical suffix.

  • Using UNIX command to copy desktop files/folders

    Hello All. I need help using UNIX command(s) to copy text documents and or folders from my lab computers to my desktop at home. Since I have such a slow connection, I think this will work best. I need help with the cp command and the path mostly. Since all files would be in folders on the desktop (including documents (that "missed" the folders), I believe I could simply copy desktop contents? Thanks, J Langlois

    What you want to do is SCP (secure copy) your documents to your remote host.
    send this command to the computer with the documents
    scp ~/Desktop/FILEOR_FOLDERNAME USERNAME@REMOTE_COMPUTER:~/Desktop/
    Replace all the stuff in UPPERCASE with the correct vales for your situation.
    Mini (Intel Core Duo)   Mac OS X (10.4.8)  

  • Execute graph using unix command

    I am new to endeca3.1
    is there any way available to run the graph using unix command?
    how can i schedule the graph in cron tab?

    Take a look at the Integrator ETL Server Guide (CloverETL Server), Chapter 6, Scheduling and also Chapter 14 on the Simple HTTP API.  This should allow you to schedule or invoke ETL Graphs published on the server.
    http://docs.oracle.com/cd/E40518_01/integrator.311/IntegratorServerGuide.pdf

  • How to move folders from one server to another serve using unix command

    Hi All,
    How to move the folders from one server to another server using unix command.
    scp -r armops@sjarmprd01:/ARM/scripts [email protected]:/ARM/scripts/
    but it is giving an error like not a regular file .. what it means .. please let me know if any one knows about it
    Thanks
    Sreedhar

    not a regular file .. what it meansProbably you have some fifo (named pipe) files...
    Said that this has nothing to do with database (you should post on some nix forum, for example http://forums.oracle.com/forums/forum.jspa?forumID=135), you may try rsync* command (man rsync).

  • Convert .fmb and .rdf files to .txt using unix commands

    I want to know how to convert .fmb and .rdf files to .txt using unix commands
    Example ACCT_ACCOUNTS_ADMIN.fmb ---> ACCT_ACCOUNTS_ADMIN.txt
    agent_balances.rdf ---> agent_balances.txt
    NOTE: i don't want to use form builder or report builder.
    is there anyone who can help me
    Regards
    Harsh

    Thanks it helped and Just to add little bit on it
    for i in `ls *.fmb`
    do
    f60gen module=$i userid=$unpw forms_doc=yes batch=yes
    done
    Might help someone too.
    Thanks

  • Using Unix command lines in java code

    I was wondering if there was a way to run a unix command in java code. I know in C++ there is popen, but i don't know of a way in java. The command i need to run is the whois "domain name" command. Any help would be great!
    jarad

    try something like this:
      public static String whois(String domain) throws IOException {
        BufferedReader is = null;
        Process p = null;
        String result = "";
        p = Runtime.getRuntime().exec("whois " + domain);
        is = new BufferedReader(new InputStreamReader(p.getInputStream()));
        String line;
        while((line = is.readLine()) != null)
          result += line;
        return result;
      }

  • Software Updates using Unix command hangs

    Every time I try to do a software update to my OS 10.6.4, 10.6.8 iMacs, the process stays an/or hangs and I have to cancel it. This is the last message in the log:
    Writing files…    Running package scripts…    Removing old files…    Optimizing system for installed software…    Moving items into place…
    I have left it there for 24 hours and it stills never finishes. When I check an individual machine, the updates are still outstanding, except the combo 10.6.8 on the machines that are running 10.6.4
    Any help on this? I am running a Snow Leopard server with the software update service and doing local updates on the machines. I have sent already a unix command to the machines to do a local update with my server ip.
    Thanks,
    Elizabeth Rodriguez
    Rancho Dominguez Prep

    If your using ARD , you should be able to send, and copy & run the installer on your client computers without needing to directly interact with the computers. 
    ie:
    download the 10.6.8 combo updaters v1.1.dmg onto your ARD computer
    double click on the dmg so your computer mounts it.
    open ard
    select  one or more client that need to update
    click on install icon from the ard toolbar (it should be right next to unix) (altertively
    a dialog box will pop up asking what you want to install
    click the +
    select the 10.6.8 combo update v1.1.pkg from the mounted disk image
    set restart after install to attempt or force restart.
    click install
    it's a good idea to send this installer to computers physicaly in the same location at one time. IE send the installer to 1 lab of computers, then the next lab. for classrooms you might find it better to do 1 classroom or one building at a time.

  • How can I use unix commands from oracle report

    I have to use the following command from oracle reports.
    In oracle forms we can use the HOST command but what about oracle reports2.5.
    I have to email the attached file 100245.pdf from oracle reports to the given email id
    uuencode 100245.pdf 100245.pdf | mailx -s "test" [email protected]

    Hi,
    It's because .bat (or .cmd) files are scripts and not executables and are interpreted using the command line executable - which is normally cmd.exe (although you can buy others).
    So you need to call cmd.exe passing the bat file name as a parameter, something like
    cmd.exe /c batchfilename
    Without the /c you will never get a response.
    However, this brings us to the bizarre conclusion that you are going to:
    call cmd.exe (a shell interpreter)
    to launch a batch file
    that calls cygwin (another shell interpreter)
    which then runs ls
    When shouldn't that just be:
    call cmd.exe to run the dir command
    Or better yet, If you are just after a file name listing and you seem to understand Java stored procs, why not just write a JSP to list the contents of a directory? No problems with OS dependant commands, scripts and 3rd party interpreters. Plenty of examples of that out on the internet as well.
    HTH
    Chris

  • Using Unix Command Line to force logoff of other users

    Hello - I am the administrator for my family's Mac (OS X - 10.4.8). Four of us in the family share the system. Frequently, my family members forget to logoff. I would like to be able to force them off via the Unix command line. Can't I sign on as root and execute a "forced logoff" type of command?

    Thanks to Mihalis and Jarik for the additional info.
    I'm back now with a question. I have a user named "visitor" logged on. I issued a killall command which killed all the users processes except one. Using /Applications/Activity Monitor.app, I can see the process is "loginwindow" and it is owned by visitor.
    However,
    ps -u visitor
    reveals no running processes. Assuming I only had command-line access (no GUI to use Activity Monitor.app) and had multiple users logged in, how can I discover which loginwindow PID belongs to visitor?
    msq
    EDIT: I went ahead and sudo kill PID the loginwindow process owned by visitor and realized that
    ps -axj | grep visitor
    worked to reveal the loginwindow process owned by visitor. But when I logged visitor in (Fast User Switching) and ran sudo killall the Activity Monitor.app identifies the loginwindow as being owned by root but ps -axj | grep visitor shows the process belonging to visitor.
    Something weird in the depths of Leopard's UNIX land, but I think I can find my way around now.
    Thanks, everyone.
    Message was edited by: mistersquid

  • SFTP using Unix command

    Hi all,
    I am trying to upload a file from SAP to a folder in another server.
    Here they want us to use SFTP port 22 which is not supported by SAP by default i guess.
    Could any one give me clear procedure and commands to be used in program in order to upload the in file in the server.
    If you could give the methods and FMs and unix commands used it would be great.
    I went through lot of threads but very few are talking about SFTP and i am not the clear about how to go with it.
    Few say that we need to create and external command in SM59.
    IF it is so can you tell what exactly are the parameter to be given for ex i want to put a file so what would be the parameters and how do we use this command in my program
    Any sample code which puts the file another server???
    Thanx

    Check if your able to do sftp at command line from the server where BPEL is running.
    --Prasanna                                                                                                                                                                                                   

  • How to run an applescript using unix command

    Hi All,
    Can any one help me in giving me the command for running an apple script thru postupgrade shell file in other words i wana run an apple script while running my new installer that will upgrade the old version of application but while installing i want to run an applescript so as i know ill have to give that applescript path in the postupgrade script but how to run it while installation and where to keep it (is it postupgrade). May be in short how can i run apple script thru unix command.

    Use the osascript command.
    In my installer, I use the DropDMG program to build my DMG disk image. It doesn't quit automatically, so I have to do the following:
    osascript -e "tell application \"DropDMG\" to quit"
    Type "man osascript" for more information.

  • SAP Backup using Unix commands / tools

    Hi,
    We want to include file system backup process as part of our backup strategy. To test the waters, we are planning to take a backup of the at filesystems level. Following are the filesystems in our production systems. We have a test server (hostname is different), without any filesystems created beforehand. I want to know: 1. Which filesystems will be required from the below:
    Filesystem    GB blocks      Used      Free %Used Mounted on
    /dev/hd4           2.00      0.20      1.80   11% /
    /dev/hd2           5.00      2.07      2.93   42% /usr
    /dev/hd9var        2.00      0.07      1.93    4% /var
    /dev/hd3           2.00      0.77      1.23   39% /tmp
    /dev/hd1           0.06      0.00      0.06    2% /home
    /proc                 -         -         -    -  /proc
    /dev/hd10opt       0.31      0.21      0.10   68% /opt
    /dev/oraclelv     40.00      5.10     34.90   13% /oracle
    /dev/optoralv     10.00      0.00     10.00    1% /opt/oracle
    /dev/oracleGSPlv     40.00      4.34     35.66   11% /oracle/GSP
    /dev/sapdata1lv    397.50    331.72     65.78   84% /oracle/GSP/sapdata1
    /dev/sapdata2lv    297.50    194.58    102.92   66% /oracle/GSP/sapdata2
    /dev/sapdata3lv     98.75     47.09     51.66   48% /oracle/GSP/sapdata3
    /dev/sapdata4lv     98.75     38.08     60.67   39% /oracle/GSP/sapdata4
    /dev/origlogAlv     10.00      0.12      9.88    2% /oracle/GSP/origlogA
    /dev/origlogBlv     10.00      0.12      9.88    2% /oracle/GSP/origlogB
    /dev/mirrlogAlv     10.00      0.10      9.90    1% /oracle/GSP/mirrlogA
    /dev/mirrlogBlv     10.00      0.10      9.90    1% /oracle/GSP/mirrlogB
    /dev/oraarchlv    148.75     24.02    124.73   17% /oracle/GSP/oraarch
    /dev/usrsaplv     20.00      0.24     19.76    2% /usr/sap
    /dev/sapmntlv     20.00     10.84      9.16   55% /sapmnt
    /dev/usrsapGSPlv     20.00      7.89     12.11   40% /usr/sap/GSP
    /dev/saptranslv     20.00     17.54      2.46   88% /usr/sap/trans
    IDES:/sapcd       40.00     37.72      2.28   95% /sapcd
    GILSAPED:/usr/sap/trans     20.00     17.54      2.46   88% /usr/sap/trans
    2. Is it possible to directly backup the filesystems (like /dev/oracleGSPlv)? This requirement is because, when I backup (using tar) /oracle, all the folders in /oracle, like /oracle/GSP, /oracle/GSP/sapdata1 etc, are also backed up. I do not want it. I would like to backup the filesystems directly.
    3. Which unix backup tools are used to backup the individual filesystems?
    4. How do we restore the filesystems to the test server? Thanks for your advise. Abdul Edited by: Abdul Rahim Shaik on Feb 8, 2010 12:10 PM

    Hi,
    I am not sure about your OS as you have not mentioned it...
    If it is HP-UX then you can use "fbackup" backup for filesystem...
    and IGNITE to backup volume groups..
    fbackup will backup the filesystem only... but IGNITE backup creates bootable media for recovery...
    With IGNITE (make_tape_recovery) backup you can backup individual volume group.
    you can see the man pages for the details...
    #man fbackup
    #man make_tape_recovery
    It will be more easy to guide you if you provide your OS and Filesystem layout and what you need to backup...
    If you still want to use "tar" command for backup, use "--no-recursion" option to backup single directory
    Regards.
    Rajesh Narkhede

Maybe you are looking for

  • Migrating to a new iMac, Time Capsule and external drive involved.

    The family has gotten a lot of use out of the good old 2.16 iMac Core 2 Duo but it was time to upgrade. So now we have a 27" 3.2 iMac, 2x 4Gb, 1Tb of storage to migrate to. The mess is this... There are 4 users on the old iMac. The old iMac is full t

  • Discrete manufacturing Resource Charge Type manual Versus Automatic

    We are implementing Oracle Discrete manufacturing, we want to know the pros and cons for using manual versus WIP move resource charge type and what is the best practice in this regards. Thanks Mohamed Abo Zekry

  • Trouble launching my new Lightroom 5 everyday

    I recently bought Lightroom 5 off Amazon but every time I open the application it wants me to enter the country where I've registered it, the serial number, and then I have to reload and update my Lightroom 4 catalog to be used in 5.  How do I make L

  • IMessage error message? Can't sign in

    IvE tried changing the dns to 8.8.8.8 and tried 8.8.8.8, 8.8.4.4 doesn't help. Frustrated. Any help?

  • Data hidden by screen modification

    Hi Experts, I am facing a problem, I have created a record in IT0016 (Contract elements) and saved it. Now when I am chossing Period as "All" in the overview, it is not showing any data, however when I go to "display" I can see the input data with a