Stop oc4j with a command line

Hello
To start oc4j I launch
C:\jdevstudio10132\jdk\bin\javaw.exe -client
-classpath C:\jdevstudio10132\j2ee\home\oc4j.jar;C:\jdevstudio10132\jdev\lib\jdev-oc4j-embedded.jar
-Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly
-Doracle.application.environment=development
-Doracle.j2ee.dont.use.memory.archive=true
-Doracle.j2ee.http.socket.timeout=500
-Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap
-config C:\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config\server.xml
What is the command to stop 0C4J ?
Tanks in adavance.
Benoît

Try this:
c:\jdevstudio10132\jdev\bin> OC4J -shutdown -port 23791 -password _______
It works for me.

Similar Messages

  • How to get the MAC address of the additional 10G NIC with ILO command line

    how to get the MAC address of the additional 10G NIC with ILO command line?
    thanks.
    This question was solved.
    View Solution.

    Hi Bruce,
    Out from what I can find on this network card is it not possible to get the mac address without a OS. I would recommend you to get/burn a Linux/Ubuntu live CD/DVD and run a Ifconfig in there.
    Hope it helps you.
    Best regards
    Zincas
    I work on behalf of HP

  • Error message in scanning:"The scanning software was launched with improper command- line arguments"

    We have downloaded and installed the HP Photosmart full feature Sostware and Drivers to Photosmart C3183 All-in-one.
    Click the Scan document in Solution Center-
    Error message displayed:
    The scanning software was launched with improper command-line arguments"
    Extended error information: 8,[(-1,0,0)]
    When Hp scan diagnostic utility  was used  - the message was: no scanners installed.
    how can we resolve the scanning problem
    nidataytay

    I have the same problem on a HP 5610 Officejet All-in-One.
    "The scanning software was launched with improper command-line arguments.
    8, [(-1, 0, 0)]"
    What is the solution? The scanner does not work. All other functions, print, fax, copy work from with in the HP Solutions Center software - but not the scanner.

  • Adobe Reader XI does not open files with a command line "path" argument.

    Adobe Reader XI does not open files with a command line "path" argument. Version X and lower all worked fine. I have deleted and reinstalled the program with no success. Is this a bug?

    Hi Daniel,
    What is the make of the printer and is it using PCL or PS driver.?
    Do you have Acrobat installed on this machine as well?
    Please check if 'Print Spooler' service is running on the machine.
    Regards,
    Rave

  • Can flash player app be run and controlled in a system with only command line?

    I want to test my.  flash app in a remote linux pc. I am not permitted to install  desktop environment in that remote pc.
    So I am wondering if I can use flashplayer_10_sa_debug to run my app in a system with only command line access.
    And further, can I use some command option to interact with my app for doing something?
    If not , how can I reach my goal? Can you give me some advices?

    Hi,
    Can we get a status update for this? This seems to have broken Mac Projector files when published from a PC. Our old CD-ROM presentations no longer work. They throw the same error.
    Is there a bug ticket that we can follow? Any sort of timeline? I need to give an answer to my client on when this will be fixed. Telling them to disable Gatekeeper isn't really a great solution.

  • How change the wallpaper/background with a command line ?

    Hi people,
    did someone know how change the wallpaper with a command line ?
    thx a lot

    Hi,
    I think this can be done with PowerShell. We could create a function to set wallpaper:
    Function Set-WallPaper($Value)
     Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value $value
     rundll32.exe user32.dll, UpdatePerUserSystemParameters
    Open PowerShell; paste the function above in it to make this function work.
    Now, if you want to change some wallpaper, you could type the following text:
    Set-WallPaper -value "the path of you wallpaper"
    If you are interested, I would like to share the following article with you for your reference:
    Hey, Scripting Guy! How Can I Hide
    My Desktop Wallpaper?
    If you need some help on writing this script, you can also post your question to The Official Scripting Guys Forum:
    The
    Official Scripting Guys Forum
    Hope this helps. Thanks.
    Alex Zhao
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Stopping OC4J with a Linux kill command -- is it OK?

    Hello All,
    Has anyone had any problems with stopping OC4J using the Linux kill command?
    Is this the appropriate way to stop OC4J in Linux?
    We've had a problem several times where OC4J did not seem to stop completely, and, subsequently, wouldn't start.
    I decided to try and avoid using the kill command and instead use the "stop" command employed by MS Windows installations.
    But in Linux it produced errors in the oc4j log file.
    The stop command I am testing right now in Linux is identical to its counterpart in Windows. It looks like this:
    java -jar $ORACLEBI_HOME/oc4j_bi/j2ee/home/admin.jar ormi://localhost:23791 oc4jadmin `~/.ops/.ex oc4jadmin` -shutdown
    The `~/.ops/.ex oc4jadmin` part is just a crafty Linux way of hiding the password.
    The errors generated in OracleBIData/web/log/javahost.out.log are as follows:
    <br>
    <br>
    <br>
    <br>
    Mon Apr 27 18:24:14 PDT 2009
    Stopping Java Host...
    Apr 27, 2009 6:24:14 PM MessageProcessorImpl processMessage
    WARNING: Unexpected exception. Connection will be closed
    java.io.EOFException
    at com.siebel.analytics.web.sawconnect.sawprotocol.SAWProtocol.readInt(SAWProtocol.java:167)
    at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:133)
    at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
    at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:205)
    at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:153)
    at java.lang.Thread.run(Thread.java:619)
    Apr 27, 2009 6:24:15 PM MessageProcessorImpl processMessage
    WARNING: Unexpected exception. Connection will be closed
    java.io.EOFException
    at com.siebel.analytics.web.sawconnect.sawprotocol.SAWProtocol.readInt(SAWProtocol.java:167)
    at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:133)
    at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
    at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:205)
    at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:153)
    at java.lang.Thread.run(Thread.java:619)
    waiting for javahost process to complete (pid:28305)
    ./shutdown.sh: line 51: wait: pid 28305 is not a child of this shell
    Apr 27, 2009 6:24:16 PM Startup shutdown
    INFO: Server shutdown request received.
    Apr 27, 2009 6:24:16 PM Acceptor listen
    SEVERE: Server socket was closed.
    java.nio.channels.AsynchronousCloseException
    at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:185)
    at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:152)
    at com.siebel.analytics.javahost.Acceptor.listen(Acceptor.java:92)
    at com.siebel.analytics.javahost.ApplicationImpl.listen(ApplicationImpl.java:41)
    at com.siebel.analytics.javahost.standalone.Main.listen(Main.java:33)
    at com.siebel.analytics.javahost.standalone.Main.main(Main.java:28)
    Apr 27, 2009 6:24:16 PM Application listen
    INFO: Stopped listening socket port
    Apr 27, 2009 6:24:16 PM Application listen
    INFO: Closed open sockets
    Apr 27, 2009 6:24:16 PM Main listen
    INFO: Canceled pending jobs. Exiting
    <br>
    <br>
    <br>
    <br>
    I have absolutely no idea what these error messages mean.
    I saw that there is an option to do a "-shutdown force" as opposed to just "-shutdown". Should I use that?
    Or should I revert back to using the Linux kill command?
    Thank you very much for any help or insight.
    -sb

    Hello All,
    The start and stop scripts that I posted earlier in this discussion thread are outdated. In fact, the stop script is wrong.
    The ones I am posting below are actually what I am using right now. These are still work in progress, though.
    Just wanted to post the correct stuff in case someone is interested.
    obistart.sh
    <br>
    <br>
    # Start the BI server.
    echo "$(basename "$0"): Now initiating the BI server startup..."
    $ORACLEBI_HOME/setup/run-sa.sh start
    success=
    while \[ ! $success \]
    do
    status=`tail -1 $ORACLEBI_HOME/server/Log/NQServer.log 2>/dev/null`
    \[\[ $status =~ "Oracle BI Server started" \]\] && success=yes
    done
    echo $status
    echo
    # Start the presentation server.
    echo "$(basename "$0"): Now initiating the presentation server startup..."
    $ORACLEBI_HOME/setup/run-saw.sh start
    sleep 3
    echo
    # Start the OC4J server.
    echo "$(basename "$0"): Now initiating the OC4J server startup..."
    nohup $ORACLEBI_HOME/setup/oc4j -start > $ORACLEBI_HOME/setup/nohup_oc4j_start.out &
    echo $! > $ORACLEBI_HOME/setup/nohup_oc4j_start.pid
    <br>
    <br>
    obistop.sh
    <br>
    <br>
    # Stop OBIEE BI server.
    echo "$(basename "$0"): Now initiating the BI server shutdown..."
    $ORACLEBI_HOME/setup/run-sa.sh stop
    sleep 3
    echo
    # Stop OBIEE Presentation server.
    echo "$(basename "$0"): Now initiating the presentation server shutdown..."
    $ORACLEBI_HOME/setup/run-saw.sh stop
    sleep 3
    echo
    # Stop OBIEE oc4j application server.
    echo "$(basename "$0"): Now initiating the OC4J server shutdown..."
    \[\[ -e $ORACLEBI_HOME/setup/nohup_oc4j_stop.out \]\] && rm -f $ORACLEBI_HOME/setup/nohup_oc4j_stop.out
    $ORACLEBI_HOME/setup/oc4j -shutdown -port 23791 -password `~/.ops/.ex oc4jadmin` 2>$ORACLEBI_HOME/setup/nohup_oc4j_stop.out
    if \[ `grep Error nohup_oc4j_stop.out` \]
    then
    echo "$(basename "$0"): OC4J shutdown error. The server might be already down. Look in $ORACLEBI_HOME/setup/nohup_oc4j_stop.out for info."
    exit 1
    fi
    oc4j_pid=`cat $ORACLEBI_HOME/setup/nohup_oc4j_start.pid`
    cpid=`ps no-headers ppid $oc4j_pid | head -n1 | awk '{print $1}'`
    \[\[ -n $cpid \]\] && kill $cpid
    \[\[ -n $oc4j_pid \]\] && kill $oc4j_pid
    <br>
    <br>
    Thank you.
    -sb

  • How to use Xcode Tools with a Command Line Project

    I'm using Xcode 3.2.6, C compiler.  I've had an application for years that is command-line on the terminal, compiling with a makefile.  Now I want to actually use the performance tools included with Xcode, such as threads, time profiler, etc.  How do I do this?
    I created a project for it (never did that before), added source files, etc -- it seems to work.  It created the application, which will run via the terminal like always.  But whenver I try to use Run (inside Xcode), a window opens up saying "Stop Executable".  I have to click OK and that's the end of it.  Nothing has happened.
    I found an old query on the web similar to this from 2008.  The suggestion was to open the console.  Still nothing.  "Sync with Debugger" does no good.  Please help!

    That I understood.  I did try Run > Console.  Nothing intelligible happened.  Then I synced with the debugger.  he program is called fer64.  I get this:
    No executable file specified.
    Use the "file" or "exec-file" command.
    No executable file specified.
    Use the "file" or "exec-file" command.
    The program being debugged is not being run.
    The program being debugged is not being run.
    Not executing.
    (gdb) r fer64
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Con tents/Resources/PBGDBIntrospectionSupport.A.dylib")
    Starting program:  fer64
    Not executing.

  • Screen video capture with VLC command lines

    Hi,
    I need to do a program in LabVIEW that saves a video of my screen. I want it to open VLC by sending a command line and then start/stop the acquisition when I press a button. How could I do that? I didn't find the command lines to tell VLC to start the screen video acquisition... Can anyone help me and tell me what should I write in the command lines? Thanks for help!!

    Look up the help on the command line program then use the system exec to run that.  I'd start by figuring out what you need to do with an empty command prompt to play with.
    Also I've seen others do this same thing using ActiveX which VLC installs.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Backing up your Linux systems with the command line

    While there are many GUI-based backup and storage tools for Linux users, there are also a few command line-based tools. "Rsync" is one of these tools and, according to Linux.com, it stands for remote sync. With afull tutorial on how to use rsync, Linux.com walks you through how "one of the most used'tools' in the UNIX world [works]."
    Even though it's a simple tool, rsync has quite a few capabilities. You can use rsync "to sync files on two directories on the same PC, on two different systems on the same network, [and] .... on machines thousands of miles apart, over the Internet." In its guide, Linux.com explains each of these processes in detail. While the guide focuses on server backup, each and every command has its place on your personal workstation as well.
    What other tools do you use to back up your Linux systems?
    This topic first appeared in the Spiceworks Community

    try checking relevant environment variables like the CLASSPATH.... a major source of failures in Windows is when in the classpath there is a path containing SPACES.... also enabling some "debug" or "verbose" flag (not sure how to do it) would provide more insight...

  • Compiling failed with "unrecognized command line option '-Wl'" error

    Helllo,
    I have here a fresh installation of Archlinux and I fall into troubles with compiling a few of applications from AUR.
    The problem is this:
    gcc: error: unrecognized command line option ‘-Wl’
    It happens for example with bubblefishymod package from AUR. I've never seen this error.
    Any suggestion, what is wrong, please?
    I have 64bit Archlinux installation, intel core i5, base-devel package group is installed.

    Seems like a straightforward error message. Read about -Wl in "man gcc" if you want to know more.
    In the meantime, removing "-Wl" from the LDFLAGS in the Makefile (I used a sed line in the PKGBUILD) should allow you to compile it successfully. Whether or not it works as expected though, is another matter entirely. Contact the author and get him to fix his Makefile.

  • Starting and stopping X + booting into command line rather than GUI

    After installing Arch and struggling a bit to get the gui environment (gnome) to work I am now in a situation where the distro works fine but boots directly into a gnome session.
    I would like to be able to stop X and I have tried various recommended commands. The only one that works seems to be "kill -15 X" (after doing Ctrl+Alt+F2), which ends X but sort of stops mid-process without ever going back to any command line prompt.
    I copied etc/skel/.xinitrc into my home folder and uncommented "exec xterm", while re-commented "exec gnome-session". This did not make any difference at all so perhaps I'm not even using that script?
    As I had some difficulties installing X (or rather get it to work) I may have installed a whole plethora of packages that I may not need. There are references to Wayland for instance, packages I installed. But am I actually using them? How can I find out?
    I would like Arch to boot into a command line environment and then I'd start X from there - if that is what I want!
    Any pointers in any direction regarding the above are welcome!
    Cheers!

    What guide did you follow to install? The beginner's guide and the Xorg page contain the relevant information. Following just them should have allowed you avoid the mess you're in. Just saying that you've installed a whole plethora of packages will not help...it makes it near impossible to help.
    You ought to read this. It sounds like you installed a display manager and set up auto-login?
    Last edited by nullified (2015-02-20 17:26:59)

  • Compile occi error LNK2019 on windows XP SP2 with VC7 command line

    I try to compile a cpp file from command line under Windows XP SP2 environment with:
    - Microsoft Visual Studio .NET 2003
    - Oracle 10g 10.1.0.2.0 client (admin) installed
    , but I encountered error on the code "env = Environment::createEnvironment (Environment::DEFAULT);" as follows:
    occiclient1.obj : error LNK2019: unresolved external symbol "public: static class oracle::occi::Environment * __cdecl
    oracle::occi::Environment::createEnvironment(enum oracle::occi::Environment::Mode,void *,void * (__cdecl*)(void *,unsigned int),
    void * (__cdecl*)(void *,void *,unsigned int),void (__cdecl*)(void *,void*))" (?createEnvironment@Environment@occi@oracle@@SAPAV123@W4Mode@123@PAXP6APAX1
    I@ZP6APAX11I@ZP6AX11@Z@Z) referenced in function "public: __thiscall occiclient1::occiclient1(void)" (??0occiclient1@@QAE@XZ)
    I have already included necessary e.g. oraocci10.dll, oraociei10.dll for the %PATH% and %LIB% environment variables, and have tried many times but still fail, are there something I done wrong or missing?
    The command line I used to compile the program is "cl -GX occiclient1.cpp"

    hi!
    My partition has c: 40GB ( i dumped sap software in this drive) and d: 120GB. And i hav e: drive for CD Drive.
    Actually, the drives set "AUTO Mount". i removed the mount. it will work. i was given all all input parameters of Central Instance......
    After start the Central instance,
    step 2, File system check/adapt (post processing) , i got same problem. Even i tried windows XP and Win 2003 also.
    i logged as administrator user only......... i installed jdk........ and i chek it's working fine........
    what was the solution...
    regards
    raghu

  • How do I start an app using transset-df with the command line?

    I'm using openbox and have found that I can make xfce4-panel transparent using transset. The only problem is that I have to run "transset" and then click on the panel every time. Is there a command I could just type in to the command line that would start xfce4-panel with .75 transparency? I could then add that to my autostart.sh file and all would be good and dandy.
    What I was thinking is maybe there's a command like
    transset-df .75 xfce4-panel
    that starts up the panel with 75% opacity. Obviously that doesn't work because I tried it. I also read something about using a script, but I don't know how to write those. Perhaps there is a way to set it so whenever xfce4-panel is started, transset-df sets it at 75% opacity? How would I go about doing this?
    Last edited by Redrazor39 (2009-06-11 15:15:19)

    Openbox seems to be doing a 'tidy up' of all windows after autostart.sh completes.
    This would be fine, except for the fact that the tidy up re-renders every window and while it does so it re-sets transparency as part of the same process.
    So, to get your xfce panel to stick at the transparency setting you apply with transset-df, you need to ensure the transset-df is done after autostart.sh finishes.
    The easiest way to achieve this is to create a small script, say in /usr/local/bin
    # /usr/local/bin/openbox-xfce-panel-transset
    # Set xfce4-panel transparency after safe delay
    sleep 1
    transset-df -n "xfce4-panel 4.6.1" 0.75
    Add a call to this as the last line of your autostart.sh
    # Set xfce4-panel transparency after autostart.sh has exited
    openbox-xfce-panel-transset &
    Regards,
    Mike
    Last edited by bluearcus (2010-01-08 19:25:56)

  • What to do with this command line??

    someone posted a link to some command line or something like that in response to my need to convert a Nero DVD Image file .nrg to .iso. or at least someway be able to read the files/export, whatever. Here is the link to the post, he/she linked to some code that I do not know what to do with, can anyone help me with this?? I know NOTHING about Terminal/
    http://discussions.apple.com/thread.jspa?threadID=2363709&tstart=0

    i'm incredibly thankful for you taking the time to look at this, however, i am not getting anywhere, i followed your directions and got nowhere, here is a copy and paste of my terminal log or whatever, i tried a couple different things
    cd DeskLast login: Mon Jan 4 20:46:58 on console
    toptrey-buechlers-imac:~ Kerose$ cd Desktop./nrg4iso file.nrg file.iso
    -bash: cd: Desktop./nrg4iso: No such file or directory
    trey-buechlers-imac:~ Kerose$
    trey-buechlers-imac:~ Kerose$
    trey-buechlers-imac:~ Kerose$ cd Desktop
    trey-buechlers-imac:Desktop Kerose$ ./nrg4iso file.nrg file.iso
    error: error reading source file (No such file or directory)
    trey-buechlers-imac:Desktop Kerose$ /.nrg4iso file.nrg file.iso
    -bash: /.nrg4iso: No such file or directory
    trey-buechlers-imac:Desktop Kerose$ /.nrg4iso file.nrg file.iso
    -bash: /.nrg4iso: No such file or directory
    trey-buechlers-imac:Desktop Kerose$ ./nrg4iso file.nrg file.iso
    error: error reading source file (No such file or directory)
    trey-buechlers-imac:Desktop Kerose$ "./nrg4iso file.nrg file.iso"
    -bash: ./nrg4iso file.nrg file.iso: No such file or directory
    trey-buechlers-imac:Desktop Kerose$

Maybe you are looking for

  • Manual Input of TAx Amount in Sales AR Invoice

    Hi Experts! Is there a way where we can do a manual recording of tax amount in Sales AR Invoice (just like in AP Invoice, we can manually input tax amount)?  Hope to hear from you soon, Thanks

  • Output stream

    Here is a function int send (OuputStream out); How do I send this OutputStream 'out' to a URL. I can get an OuputStream to the URL by doing connection.getOutputStream(); Iam unable to comprehend as to how the URL's OutputStream relates to the one in

  • Dateformat with JDBC..please help!!

    Hi, please..how to get a formated date from Oracle without using to_char() in the query?? I try to set the nls session variables such like NLS_DATE_FORMAT but it doesent work?? ResultSet rs = conn.createStatement(); st.executeQuery("ALTER SESSION SET

  • PER_ALL_ASSIGNMENTS_F identifier

    Hi All, PER_ALL_ASSIGNMENTS_F is returning 7 rows for a particular assignment_id. If it is not assignment_id, then could you please state what is the unique identifier of PER_ALL_ASSIGNMENTS_F table. Thanks.

  • BSOD when applying ramp effect in AE

    Hello everyone, I have faced a strage error. When I apply ramp effect in AE and make any changes to it, BSOD happens. I can use AE and apply other effects without any problem. It happens only when I apply ramp effect. What do you think can be the rea