To exit the command window after  weblogic app server startup

Hi,
The startWeblogic.cmd starts the weblogic V 10.0 server without exiting the prompt. Since our requirement wanted the startWeblogic script to exit the window after server startup, we set the parameter SET doExitFlag=true in startweblogic.cmd file , but the result was same as earlier the server started without exiting the window. Also we tried Redirecting the server starup output to a file , but even this did not exit the window.
My query is
1. What parameter options one should use to start the server so that it exits the command window in which it was started?
2. Is there an alternate way to do the same,something like to start it as a background process in Windows?
Any help in this regard would be great.
Thanks in Advance.
Best Regards,
Preethi

Not sure about parameters to startWeblogic.cmd, but from Windows you could
try
start /b startWebLogic.cmd > start.log 2 >& 1
<Preethi Ghalke> wrote in message news:[email protected]..
Hi,
The startWeblogic.cmd starts the weblogic V 10.0 server without exiting the
prompt. Since our requirement wanted the startWeblogic script to exit the
window after server startup, we set the parameter SET doExitFlag=true in
startweblogic.cmd file , but the result was same as earlier the server
started without exiting the window. Also we tried Redirecting the server
starup output to a file , but even this did not exit the window.
My query is
1. What parameter options one should use to start the server so that it
exits the command window in which it was started?
2. Is there an alternate way to do the same,something like to start it as a
background process in Windows?
Any help in this regard would be great.
Thanks in Advance.
Best Regards,
Preethi

Similar Messages

  • Run a jar on Windows without the command window

    I would like to run a jar and close the command window after starting up. Is this possible please.

    I would like to run a jar and close the command window after starting up. Is this possible please.why do you want to do that? jar files are executable files so when you double click it, it will execute without having to run it from the command prompt. So, you don't have to even open the cmd prompt to run .jar files.

  • Help !!  its urgent !!! HTTPS to HTTP switching in weblogic App server !!

    Hi,
    I am using servlets in Weblogic Server environemt. My client (browser based) switches
    from HTTPS to HTTP and vice versa while accessing different servlets.
    In IE application works fine but when using Netscape it fails in many parts .
    I have read that there is a fix for Netscape , it goes like this
    " Question : When a Netscape browser starts a session with WebLogic Server on an
    HTTP page and then moves to an HTTPS page, a new session is created. How can I preserve
    the session while switching to or from HTTPS?
    Answer : The cookie WebLogic Server sends includes the port number. When the Netscape
    browser sees a cookie with a different port number, it assumes the destination is
    a different server, so it does not return the cookie to WebLogic Server. The way
    to prevent this is to specify the domain name that WebLogic Server writes in the
    cookie with the weblogic.httpd.session.cookie.domain property. For example:
    weblogic.httpd.session.cookie.domain=.mydomain.com "
    I have tried this also by giving different versions of the above mentioned line in
    weblogic.properties file
    i) weblogic.httpd.session.cookie.domain=.myServerName
    where myServerName is name of the machine in which Weblogic App server is running

    Which ports are you using for HTTP and HTTPS?
    Robert Patrick wrote:
    Is the browser talking directly to WLS or going through another web server (and the
    weblogic plug-in)? In the URLs being used from the browser, do you always uss the full
    machine name (e.g., mymachine.mydomain.com) or are you trying to use just the hostname
    (e.g., mymachine) or the IP address?
    Robert
    Ajay Singh wrote:
    Hi,
    I am using servlets in Weblogic Server environemt. My client (browser based) switches
    from HTTPS to HTTP and vice versa while accessing different servlets.
    In IE application works fine but when using Netscape it fails in many parts .
    I have read that there is a fix for Netscape , it goes like this
    " Question : When a Netscape browser starts a session with WebLogic Server on an
    HTTP page and then moves to an HTTPS page, a new session is created. How can I preserve
    the session while switching to or from HTTPS?
    Answer : The cookie WebLogic Server sends includes the port number. When the Netscape
    browser sees a cookie with a different port number, it assumes the destination is
    a different server, so it does not return the cookie to WebLogic Server. The way
    to prevent this is to specify the domain name that WebLogic Server writes in the
    cookie with the weblogic.httpd.session.cookie.domain property. For example:
    weblogic.httpd.session.cookie.domain=.mydomain.com "
    I have tried this also by giving different versions of the above mentioned line in
    weblogic.properties file
    i) weblogic.httpd.session.cookie.domain=.myServerName
    where myServerName is name of the machine in which Weblogic App server is running

  • HTTPS to HTTP switching in weblogic App server

    Hi,
    I am using servlets in Weblogic Server environemt. My client (browser based) switches
    from HTTPS to HTTP and vice versa while accessing different servlets.
    In IE application works fine but when using Netscape it fails in many parts .
    I have read that there is a fix for Netscape , it goes like this
    " Question : When a Netscape browser starts a session with WebLogic Server on an
    HTTP page and then moves to an HTTPS page, a new session is created. How can I preserve
    the session while switching to or from HTTPS?
    Answer : The cookie WebLogic Server sends includes the port number. When the Netscape
    browser sees a cookie with a different port number, it assumes the destination is
    a different server, so it does not return the cookie to WebLogic Server. The way
    to prevent this is to specify the domain name that WebLogic Server writes in the
    cookie with the weblogic.httpd.session.cookie.domain property. For example:
    weblogic.httpd.session.cookie.domain=.mydomain.com "
    I have tried this also by giving different versions of the above mentioned line in
    weblogic.properties file
    i) weblogic.httpd.session.cookie.domain=.myServerName
    where myServerName is name of the machine in which Weblogic App server is running

    try
    weblogic.httpd.session.cookie.domain=.myDomainName
    where myDomainName is something like india.techspan.com, make sure you don't put
    in the name of your machine. WLS doesn't care about that in this property.
    "Ajay Singh" <[email protected]> wrote:
    >
    Hi,
    I am using servlets in Weblogic Server environemt. My client (browser
    based) switches
    from HTTPS to HTTP and vice versa while accessing different servlets.
    In IE application works fine but when using Netscape it fails in many parts
    I have read that there is a fix for Netscape , it goes like this
    " Question : When a Netscape browser starts a session with WebLogic Server
    on an
    HTTP page and then moves to an HTTPS page, a new session is created. How
    can I preserve
    the session while switching to or from HTTPS?
    Answer : The cookie WebLogic Server sends includes the port number. When
    the Netscape
    browser sees a cookie with a different port number, it assumes the destination
    is
    a different server, so it does not return the cookie to WebLogic Server.
    The way
    to prevent this is to specify the domain name that WebLogic Server writes
    in the
    cookie with the weblogic.httpd.session.cookie.domain property. For example:
    weblogic.httpd.session.cookie.domain=.mydomain.com "
    I have tried this also by giving different versions of the above mentioned
    line in
    weblogic.properties file
    i) weblogic.httpd.session.cookie.domain=.myServerName
    where myServerName is name of the machine in which Weblogic App server
    is running

  • Eliminating the Command window in Windows

    I had thought I had found a way to make the command window (the black command interpreter window in Windows that comes up when you run the JVM) go away. I used the following code:
    public class StartApp {
         public static void main( String[] args ) {
              String command = "java";
              for ( int n = 0; n < args.length; n++ )
                   command += " " + args[n];
              if ( args.length > 0 ) {
                   try {
                        Runtime.getRuntime( ).exec( command );
                        System.exit( 0 );
                   catch ( Exception e ) {
                        System.err.println( e );
                        System.exit( 1 );
              else
                   System.out.println( "Format: java StartApp [-options] <filename> [arguments]" );
              System.exit( 0 );
    When I run this Java app and put in another app for it to run, it runs that app just fine (it's a Swing app so I don't need the command window visible). Not only that, but it gives me the command line right after starting it (meaning the original app exited). So, theoretically, you would think I could just type "exit" to close the command window. Well, when I do type that, the command window waits until the program exits before actually closing. Manually closing the command window closes the whole program. The odd thing was, an older version (I think Java 1.1) of the JRE would allow the command window to close. But, with 1.3, it does not. Does anyone have any idea about how I could change this, or of another way to get rid of the command window?
    -Sam Fahmie

    Sorry, didn't put the code tag in right...
    public class StartApp {
         public static void main( String[] args ) {
              String command = "java";
              for ( int n = 0; n < args.length; n++ )
                   command += " " + args[n];
              if ( args.length > 0 ) {
                   try {
                        Runtime.getRuntime( ).exec( command );
                        System.exit( 0 );
                   catch ( Exception e ) {
                        System.err.println( e );
                        System.exit( 1 );
              else
                   System.out.println( "Format: java StartApp [-options] <filename> [arguments]" );
              System.exit( 0 );

  • How do I keep the command window open?

    I want to write a batch file that will leave the window open after running so I can see what the output is.
    I kind of remember having to use %k
    But I'm not sure exactly how to do it.
    UPDATE: I found what I was looking for, it's /k when you execute the command file.
    If anyone has any additional comments about scripting and keeping the command window open, please comment.

    Add "pause" to the end of the batch.
    ¯\_(ツ)_/¯

  • Labview code for closing the command window

    Hi,
    This is naveen.Actually we are using 3rd paty test software for our mobile hardware testing which creates an DOS or Command window after execution.We have automated to execute this software using labview.the problem we facing is that we couldn't run the test software unless we close or kill the dos window opened in the previous run.So i like to know whether you have any labview code for closing or killing the DOS window ,i request you help me in this regard.
    regards,
    Naveen 

    Use the System Exec VI Owning Palette: Libraries & Executables VIs and Functions.
    And take a look here http://www.tech-recipes.com/rx/446/xp_kill_windows_process_command_line_taskkill/
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Mountain Lion opens the programs/windows after restart - sometimes

    Hi
    On ML exists the feature, to re-open all windows after reboot (in the Shutdown-window after pressing the Power-Button.) This option is always disabled.
    But sometimes ML simply starts all the apps and show all the windows, which are opened before shutdown/restart. But: sometimes only - the most time it will work.
    Can someone confirm this?
    Thanks

    How do you disable this annoying "feature".  I don't to wait for all the programs from last use to re open and then have to close them all after I turn on my computer if I'm just there to use one program and get something done !!

  • How to get rid of the command window....

    How to get rid of the command window, automatically, once the .bat file which execute the .jar has been executed?
    Znx

    If you don't want the command window to show, use:
    javaw yourClass
    instead of...
    java yourClass

  • Stuck in a "loop" at the login window after upgrading to Leopard

    I bought a new iMac Oct 26. It contained Tiger, and included a disk for installing Leopard. I easily got the machine up and running using Tiger, but last night I attempted to install Leopard. When the installation was complete, I tried to get it running. A screen asking for my password came up. I keyed that in and hit logon. Back came the screen asking for the password. To make long story short, I tried everything I could last night, and then called Apple Support this morning. Took quite a while, but I was back in business this afternoon. The technician who helped me sent me the email copied below describing the solution. Perhaps it will help someone else? Romelle
    Hello from Apple!
    Charles at Apple Service & Support thought that you might find this article useful. We hope that it helps resolve your technical issue.
    Link: http://www.info.apple.com/kbnum/n306965
    Mac OS X 10.5, iMac (Late 2007): Stuck in a "loop" at the login window after upgrading to Leopard
    Issue or symptom
    After installing Mac OS X 10.5 Leopard on a 20-inch or 24-inch iMac (Late 2007) computer, you may not be able to log in at the login window. Your login name and password are apparently accepted, but after a blue screen appears for a few seconds, the login window reappears instead of your desktop.
    Products affected
    20-inch or 24-inch iMac (Late 2007) computer with 2.0, 2.4, or 2.8 GHz processors
    Mac OS X 10.5 Leopard
    Solution
    If Leopard is installed
    Start up from the Leopard Install DVD and perform an Archive and Install installation (and select Preserve Users and Network Settings).
    After the Archive and Install is complete, you should be able to successfully log in. Use Software Update to install any other updates.
    Important: Install the iMac Software Update 1.3 for Leopard after the Archive and Install is complete.
    If Leopard is not yet installed
    If you have not yet installed Leopard on your 20-inch or 24-inch aluminum iMac computer with a 2.0, 2.4, or 2.8 GHz processor running Mac OS X 10.4.x, but previously installed the iMac Software Update 1.2, you should install the iMac Software Update 1.2.1 (Tiger) or later, before installing Leopard.
    Thank you,
    Apple

    If Leopard came pre-installed and this is a new machne, then the disks that came in the box should let you archive install preserving users & network settings. The disks have a grey label, and if you get more than one use disk #1 for this procedure.
    Hold down the "option" (also known as "alt" on the new keyboards) key when starting up with disk #1 in the optical drive. Select the install disk icon on the grey screen and click the arrow. Then when you get to the "select destination pane, click the options button after selecting your hard drive as the destination. In options A& I preserving should be checked by default, if not, select them. Click "ok" to dismiss the options pane, then run the installation.
    If this does not work for you, call apple support. They want everything to work. Be patient, they are real busy these days.
    Slim

  • Closing command window after applic starts...help

    hi,
    i have a java application which i run from my command prompt by typing
    java -jar {JAR_NAME}.....
    i wanna know if there is any way I can close the command window once the application has started....
    Thanks
    Sudarshan

    java -jar {JAR_NAME}.....Use javaw instead.
    IF your file assotiations aren't screwed and IF there is a correct manifest.mf (with a main class attribute), you can simply double click the jar file.

  • How to set focus in the parent window after a JOptionPane pop up ?

    I am not able to set the focus back to a JTextField in the parent window after poping up a JOptionpane.showMessageDialog(). I tried requestfocus(),requestFocusInWindow etc......but not working. The code is given below.
    if ((encryptor.encrypt(password)).equals(configuredPasswd)) {
                        validPassword = true;
                   } else {
                        JOptionPane.showMessageDialog(saveUI,"The password entered is not correct.");
                        saveUI.getPasswdField().setText("");
    saveUI.getPasswdField().requestFocus();
    Sometimes the focus is coming to the JTextField.Sometimes it appears for a moment and then dissappears.Please give a solution

    see if this makes a difference
    if((encryptor.encrypt(password)).equals(configuredPasswd))
      validPassword = true;
    else
      JOptionPane.showMessageDialog(saveUI,"The password entered is not correct.");
      ActionListener al = new ActionListener(){
        public void actionPerformed(ActionEvent ae){
          saveUI.getPasswdField().setText("");
          saveUI.getPasswdField().requestFocusInWindow();}};
      javax.swing.Timer timer = new javax.swing.Timer(100,al);
      timer.setRepeats(false);
      timer.start();
    }

  • [uzbl] how do I clear the command bar after following a link? [SOLVED]

    It's ridiculous that I've done this again, but I've forgotten how to have uzbl automagically clear the command bar after I fl something. Yes, I know at some point it was on uzbl's wiki page; yes, I did compare my old and new configs; yes, I'm a dork and I'm just not finding the answer.

    The only part of diff that has anything to do with this is:
    < @on_event LOAD_START chain '@set_status <span foreground="khaki">wait</span>' 'event KEYCMD_STRIP_WORD'
    > @on_event LOAD_START @set_status <span foreground="khaki">wait</span>
    The rest is either stuff that I've commented out for now or key bindings, personal settings, etc.
    The follow link code is working now the way that it was before with the above changes. With the old way (as posted above) it wreaks all sorts of havoc with uzbl. By that I mean that the command bar would seem to clear but the data would reappear as soon as another command would start to be entered. As well, backspacing to the beginning of the command line would send uzbl to follow URLs that I didn't specify.
    By the way, no matter if the above is hackish or not, it's close to what I want. The only thing left would be for ESC to clear the numbers if I chose not to do go somewhere. Is there a way to set this up without breaking other functionality?

  • How to load the boot menu using the command line , after the configuration change ?

    how to load the boot menu using the command line , after the configuration change ?

    Hi @Bask-48 
    Welcome to the HP Forums!
    It is a terrific place to find answers.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp you are trying to change the boot order.  Here is a link to Configuring the Boot Order in the System BIOS
    that will assist you.
    Good Luck and Happy Holidays!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Changing the title of the Command Window

    How do i change the title of the command window form "C:\Programs\jdk1.2.1\bin..." etc to something more useful like "MyProgram"?
    Many thanks
    Cath

    What I amproposing is that if we all merge on the same chapter and examples then we can ask each other specific questions and all have the same benchmarrk and reference points!!
    I plan to advertize this on other lists and if we all use the same text then we are all the much further ahead instead of having questions from all sorts of text and nobody knowing what the other is doing and having completely different code and examples!!
    What do yu guys think?
    Personally, I am in chapter 8 just staring SWING. But I don't mind going back to the first part to help othere newbies (as long as we have the same text and the examples are from the text).
    For example, I have modified example 8-1, so that instead of just showing colors in the background, the buttons show a photo with text, shows text and changes the background, and will do something else ( don't know what yet)! But the whole thing is still based on the example code on page 323.
    I had some problems trying to figure how to do this... but if we all work on projects that are based on the code examples for the same text, we stand a better chance of all learning faster...
    So Yes, it is a study group using emails or chats...forum.
    The main difference is that if a person needs help we can all share code with them (NOT NECESSARILY DOING THE PROJECT...unless you wan to) but with the same book {Core Java2-Fundamentals or Core Java2- Advanced Programming} and with the help of at least one senior programmer that we have on the thread already ... with the otheres like you that want to join...all using the same book....Then no matter what project you are working on (from the book or work or school) we all have the same text to help each other and to reger each other to.
    Moreover, there never need to be another instance where the answer comes back: "read the tutorial" or check the docuemtation.... Those are good answers if you know what you are lloking for...but sometimes a person may need an example in working code.... and the tutorials don't answer specific questions where a person may not quite understand.
    So,
    why not stop by the New Study group that is going?...you can find us in forum New To Java Technology
    under the thread of "is anyone learning Java using the Sun Microsystems book...."
    In the meantime.... the person that was asking for hel here has not posted anything ... So I wonder if she realy wanted help?
    I will hang out here fopr another day or so and see if she answers my questions to her .. If nt then i will assume that this is a dead thread and I will no longer be here. You know where you can find me....
    phil

Maybe you are looking for

  • How to center or format embedded youtube video in Dreamweaver CS4?

    I'm pretty new at using Dreamweaver, but I created a website that I would like to embed a youtube video in. I've got the embedding part down-- copying code-- but it doesn't format. I have a couple of APDivs at the top of the page, and I'd like the vi

  • LightRoom 4 Trial: Develop not working

    Hi There. I just downloaded the Trial Version of Lightroom 4 for mac. I imported photos and they in a catalogue. When i select a photo then click the "Develop" tab I get a message that says "no image selected". I have watched a few different videos a

  • How to configure an jms adapter to use ActiveMQ?

    Does anyone have an example of how to configure an jms adapter of oracle esb for third party JMS provider to use ActiveMQ? I had done something as follow: 1.add activemq shared-library in $SOA_INSTANCE/config/service.xml 2.config a jms adapter fro th

  • How to use Oracle statement cache?

    hi, I'm using weblogic 7 with the included Oracle JDBC Thin driver (9.2.0). One new(?) feature in this driver statement caching, but it seems that weblogic does not support this feature. Mainly the classes in weblogic.jdbc.vendor.oracle.* that are so

  • AI previews in Bridge

    I have a team of 4 designers all contributing Illustrator files to a library of graphics.  When I few the library in Bridge, some of the files are generating previews, but some are not.  What setting(s) would keep a preview from being made? Some of u