The Dos window disappeared quickly after Tomcat 3.1 started

Hello,
I need to see the debug statements of my web app.But the start window of Tomcat 4.1 disappeared quickly after it's launch.The Tomcat just work ok.I don't
have a Java Web Services Developers Pack in my computer.The Tomcat is stand alone.
Even Tomcat 4.0 in JBuilder7.0 of my machine got the same problem.
Thx a lot,in advance

I'm not entirely sure how Tomcat 4 standalone handles this but there are several other options you could try.
You could attempt to run tomcat from the command line rather than from a BAT file, ie. startup a DOS window and type 'startup' and press enter (you will be able to do this from anywhere if you have the 'bin' directory of your Tomcat installation in your PATH environment variable, otherwise you will have to navigate to this directory to run it).
If this doesn't work, search for a file in your Tomcat installation directory called 'catalina.out'. It may be under a 'logs' directory. If you can find this then you may find that this is where your std output is. If you are using an editor such as Textpad, it will prompt you to reload itself whenever the file has changed and you are trying to view it so it's not too much trouble.
I hope this helps.
KRgds
Marc

Similar Messages

  • Jbuilder dos window disappears

    i'm using jbuilder and when i run a program, the dos prompt goes up on screen for a split second then vanishes. is there a simple getch() function like in C++ that can halt the dos prompt? if not what's the easiest way to halt it?
    thanks, mike

    Hi-
    I'm having a similar problem of the DOS window disappearing.I already tried unchecking that option of "Close console window on exit" but the window still vanishes in 2 secs.
    Any help is appreciated
    Thanx.

  • DOS Window automaticly close after execute the batch file and start the App

    Hi, all. I have made a batch file. When I start the batch file, thet is getting open the DOS Window. But I want close the DOS Window after Start the Application, or make it hidden?
    It is possible?
    Thanks all:-)
    Nikolay

    Hi,my batch file is:
    java -cp File.jar Desktop
    I have tryaed with:
    javaw -cp File.jar Desktop , but it dosn�t close the DOS Window.
    Have I make anythink false?
    Thanks.
    Nikolay

  • Any way to close the DOS window ?

    Is there anyway to close the DOS window, after executing a DOS command in a GUI Java program ?
    I keep getting "Please press any key to continue..."..I don't think I can use the System.exit in a GUI Java program?

    Yes.
    Process p = Runtime.getRuntime().exec(...);
    PrintStream out = new PrintStream(p.getOutputStream(), true);
    out.print("a");You get the output stream of that process and print an a (which I guess will work just like you pressed a key). I don't know if there has to be a delay before you write this character. If you send it before it has written "Press a key ..", then it might not work. In this case you can add a line with Thread.sleep(1000); to sleep for 1 sec in this example, just before you execute the print statement. Or you can get the InputStream from the process, and read everything it sends and check if/when you get the "Press a key .." text:
    PrintStream out = new PrintStream(p.getOutputStream(), true);
    BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String s;
    while ((s = br.readLine()) != null) {
      if (s.startsWith("Press a key")) {
        break;
    out.print("a");something like that..
    There might be cases where you don't get a "Press a key" back if the DOS window is big enough to hold all the information (it is possible to change the buffer for DOS windows so they can hold more than 25 lines).

  • Urg:Dos windows settings (Quick Edit Mode)

    Hi All
    I want to disable the DOS Windows Quick Edit Mode settings while launching my Java application.Is there anyway so that I can disable the DOS windows Quick Edit Mode settings from command while running my Java Program.This is reqd as my java application hangs and keeps waiting if someone presses mouse click for copying in the dos window.
    Any help apprecaiated
    thx
    Raj

    Hi
    With javaw the dos console still comes up for the first time and if i close it the javaw.exe keeps running in the background.
    So I would expect that dos console not come up for the first time also.Also when I use javaw -help it gives me an error pop up message.
    By the way I modified the sortcut batch file for my java appln and then in the dos window the qick edit mode is disabled.
    If u have any other idea its apprecaited
    Thx
    Raj

  • Errors Scrolling off the dos window!!

    I am using win98 and jswdk1.0.1 the error or exception are scrolling off the screen in the dos window....(where the server is running) :(
    Is there anywhere I can specify to show the errors on webpage it self??? becoz I am able to see only a part of it and I can't understand what is going wrong. Also where to look for log files?
    Hope somebody can answer this question..
    Thank You.

    Hi
    I suppose that you don't have scrollbars in your dos window(buffer size is small) and in that case you will see only a certains number of error messages which fit onto the window.(only few last messages).You can increase the dos window size and then you can scroll to the begining of the error messages. Right click on the dos window's header, then click on properties, then change the screen buffer size's height = 2000 ( approx) and that's it.when u click ok, then it will prompt you to save these settings for current window only or save properties for future windows with same title. select the latter one. I hope this will help.

  • Hi Experts, can the secondary windows be processed after the main window?

    Hi Experts,
    at the end of the main window there is a command node and can the secondary windows be processed after the main window? thanks for your reply.
    Kind regards
    Dawson

    Hello Dawson
    No it can't Process the secondary window if you are calling a new Page in that command line.
    Even if it gets called I don't think it will give the desired output.
    Give it a try, But I am sure its not going to give you the desired output instead attach the command line to the end of your secondary window and in condition tab of secondary window check the check box "Only after Main window".
    Hope this discussion was helpful.
    Cheers,
    Suvendu

  • Why is it no longer possible to make the download window close automatically after downloading is finished ?

    Only two days ago the download window closed after downloading.
    What happened ?
    And why is there a new and less efficient download window ?

    Firefox now manages the downloads in the Downloads folder in the Library (History > Show All History > Downloads) and download are treated as history items.
    *https://support.mozilla.org/kb/Downloads+window
    So you open the Library if you inspect all downloads and this Library window doesn't close automatically.
    When a download is in progress then you see a download progress (timer) bar on the Navigation Toolbar instead of the Download Manager button and that button is highlighted once the download has finished to make you aware the their are new downloads.
    You can view the new Download Manager in a tab by opening the about:downloads page and consider to open this page in a separate window.
    You can set the Boolean pref browser.download.useToolkitUI to <i>true</i> on the <b>about:config</b> page to restore the classic Download Manager window and make all download settings appear in "Tools > Options > General".
    *http://kb.mozillazine.org/about:config

  • Clearing the DOS Window in Java

    hi
    I want to clear the dos screen using java.
    I saw 2 solutions on the net(given below) , but both did not work. Can someone advise how I can go about doing this ? I'm
    working on Windows2000.
    Thanks in advance.
    Seema
    1. char esc = 27; // ESC code
    String clear = esc + "[2J" // note case
    System.out.print(clear); // Dos screen should be cleared
    2. Runtime.getRuntime().exec( "cmd.exe /c cls" ) ;

    The escape code approach would only work on DOS windows that are processing ANSI escape sequences. This is something people used to enable all the time back in the pre-Windows days, since it was the only way to do things like clearing screens, setting colours, drawing menus out of text characters, etc. Ansi.sys still exists, at least on Win98 (not sure about NT, 2000, etc.). If you troll through the Microsoft web site or hunt down old books on DOS, you'll be able to find out how to set it up and use it.

  • Closing the DOS window...

    If i am asking the user to enter data into a dos window, what is the line of code i need to close the window if something like exit was typed in by the user?
    Thanks

    System.exit(0);

  • I click run, firefox downloads, and then the download window disappears and nothing happens?

    I follow the directions on the site, wich say to click run. So I do, and it is supposed to run after its downloaded, but then when it downloads the download window closes and nothing happens.
    == I tried to download Firefox. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

    Download a fresh Firefox copy and save the file to the <u>Desktop</u>.
    * Firefox 6.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/Profile_backup

  • Multiple problems: can't open two windows, browser doesn't close although window disappears, and after working for a while I loose my ability to cut and paste or use drop down arrows

    Maybe two weeks ago I discovered that I could no longer open two windows at a time (I can still open multiple tabs). I am also having problems with cutting and pasting, which is crucial to my on-line job. Plus, when I exit Firefox, it doesn't always shut down, so then when you go to re-open, of course, it won't (unless you go into process and turn it off). I have re-installed multiple times and I have also used restore. Nothing seems to be fixing this and I really, really don't want to use IE, especially for work.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    See also "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]
    Maybe also do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • InContext editing bar disappears quickly after page loads

    Hello! I am working on a client site and was able to successfully edit pages yesterday. But, today as I was trying to work on it, I noticed that I cannot go into edit mode from the website (using command + E).
    When I go to the site and try to enter edit mode, I can see the edit mode bar at the top for a second, but it quickly disappears.
    Please help! I am so frustrated. I have spent hours trying new things.
    Thank you!

    Hello Jackie,
    I took a look at your page and I can see the problem. You've created a repeating region, but you don't have any editable regions within the repeating region. You'll simply want to apply editable regions to your table cells (<td> tags).
    Since you're starting out with some content that will likely become outdated. You probably want to apply the repeating region around each table instead of one repeating region around all tables. This way your client will be able to remove each listing image/information region individually, or repeat/edit each one individually.
    Please let me know if you need more information.
    Best regards,
    Corey

  • Why the plant will disappear automatically after I input for a P/O?

    I input all the information for a purchase order.
    But after I input plant and then click 'enter', the plant disappears automatically.
    I checked the assignment of company code with plant and plant with material and so on. They all seems correct.
    Do you know what may be the root casue? I do not have any clue

    Yes, after I maintained the address of the plant, I can input it into the PO now.
    Thanks!

  • When I try to upload a file to my online student account or to my Facebook account the upload window disappears before I can add anything.

    I use Firefox browser. I have also emptied my Firefox's cache a few times; however, I still have the same problem. My Firefox has also crashed on me two or three times, as well.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

Maybe you are looking for