Tomcat dos shell window

hi
when starting tomcat on windows 98 the dos shell window has a static number of lines displayed (unlike windows 2000 that allows me to scroll back through the history).
is there a way of making the dos window in 98 extend the number of lines , or can i direct the output to a file (perhaps with a TOMCAT option).
thanks , paul

I'm looking for a solution to the same problem. I have never seen a Layout->Screen Buffer property, where are these options? By right clicking on the dos window you can find a property to display 50 lines, that's it.
This problem is really bugging me. I just tried using cygwin, but that just runs a bash shell in the dos shell window... doesn't increase my scrollback buffer! (which is 0 ) .. damn.. is there a way I can telnet to myself and use that program to execute commands?
please help!

Similar Messages

  • Tomcat dos window

    hi
    when starting tomcat on windows 98 the dos shell window has a static number of lines displayed (unlike windows 2000 that allows me to scroll back through the history).
    is there a way of making the dos window in 98 extend the number of lines , or can i direct the output to a file (perhaps with a TOMCAT option).
    thanks , paul

    On NT and 2K you can edit the properties of a dos shell window. Haven't used 98 in a while, but I'd assume you can do the same? Change the buffer and screen height if you can.
    -Derek

  • Crappy Dos Shell

    I'm using the jake tool to build a large scale program and the problem i'm having actually has nothing to do with java...I get so many errors (probably because i've forgot to add the appropriate .jar file somewhere to my classpath), that my DOS shell window truncates them and then when i try to scroll up and see what the first error is I can't. It only shows me like half my errors and the rest is lost. Does anybody know how to change this behavior in the DOS shell or have any suggestions for a work around.

    Make stderr go to a file instead of the console, this example sends it to c:\err.txt
    import java.io.*;
        //put this in somewhere at startup
        try {
           System.setErr(new PrintStream(new FileOutputStream(new File("c:\\err.txt"))));
        }catch(Exception ex){}

  • Joystick problem in DOS Shell under Windows XP

    (I had previously posted this in another forum on the Internet, copy 'n' pasted here to save me a bit of typing) I can't seem to to get my joysticks and/or gamepads functioning in a DOS shell under Windows XP. Initially I was trying to run Death Rally under 'DOSBox', and couldn't get the game to recognize my Gravis Gamepad. At first I thought the problem might be with DOSBox, but then realized that the gamepad wasn't recognized under a simple DOS shell as well. I have a P4 2.66ghz CPU, running Windows XP Pro w/SP2, with a Sound Blaster Li've Value CT4780 that has a standard gameport on it. I can calibrate the gamepad within Windows XP and it appears to be working fine (my MIDI keyboard works fine as well, it uses the gameport of the sound card too). In a DOS shell (as well as under DOSBox), the gamepad isn't recognized at all. I tried several DOS games (e.g. DOOM/Duke 3D/Death Rally/Stargunner/etc...), as well as a little QBasic joystick tester that I had whipped together years ago... no dice, the gamepad isn't recognized under DOS (or DOSBox); even though in Windows XP (in the 'Game Controllers' applet in the control panel) it works just fine. Windows games work fine with the gamepad, but nada in a DOS shell or DOSBox. Note that I had never previously checked if the gameport and/or joysticks were working on this PC under DOS, I just discovered it the other day. Any ideas? Any help would be much appreciated (edit) P.S. One thing that I just tried: I booted from a flash dri've to W98 DOS and loaded the SBLi've DOS drivers. The gameport/gamepad works fine like this (with my JoyTest utility, as well as the gameport being reported in MSD). So, I'm sure that the gameport and gamepad is woking under nati've DOS, it simply isn't recognized in a DOS shell under Windows XP. ('nuther edit) In Windows' device manager, the gameport is listed as 'Creative Game Port', with I/O address of DF08-DF0F. The 'Use automatic settings' checkbox and 'Change setting' button is grayed out, so's I can't piddle with those settings. In the old(er) DOS/W9x days (with standard non-PNP hardware) the standard gameport address was (what was it's) 200 (maybe 20?). Could this be the problem, that the Creative Game Port I/O address is set for an obscure address (that I can't seem to change)? Maybe there is a way to change it to a standard setting? 7

    thank you very much

  • How to get DOS shell's screen dimension ?

    Hi all!
    For GUI -->
    It is possible to get the dimensions of the screen you are using by creating an object of class Toolkit and calling its getScreenSize() method. This returns the width and height as fields in a dimension object. The pattern is
    Toolkit kit = Toolkit.getDefaultToolkit();
    Dimension screenSize = kit.getScreenSize();
    int screenHeight = screenSize.height;
    int screenWidth = screenSize.width;
    For DOS shell in Windows -->
    How can I do ???
    Help me!
    Long Nguyen

    Don't think you can. Anyway, in my Windows 2000 system I can stretch the DOS window vertically, and sometimes it gets a scroll bar -- what is the "height" of such a thing?

  • Runtime.exec opening dos shell

    I am using runtime.exec() to execute the net use command (to get connected two machines). It is working fine, but exec() opening a new dos command window till it finishes its job.
    Is there any way to avoid this opening a dos shell and get the job done.I don't mind even If I can minimize this window instead of closing it.

    This is one of those common questions that keeps occuring.
    Basically it's a Windows/DOS problem not Java.
    Have a look at the "start" command in Windows.
    runtime.exec ("start /MIN mycommand.bat")
    will minimise your command window on execution.
    There's also a more promising /b parameter
    runtime.exec ("start /B mycommand.bat")
    which claims to avoid creating a window.
    However, if you're kicking off a native Windows program that explicitly
    creates it's windows then you should probably also look at it's parameters to see if there's a quiet/silent/batch mode which avoids creating the Windows.

  • Does exists an API like AWT for developing GUIs under a DOS shell?

    Hi, I'm modifying a simple application which run in a DOS shell. It uses a native library (Graphics.dll) to show simple windows and menu in the shell. It works fine, but I'd like to use a Java library if possible. Does anybody can help me, please?
    (Sorry for my English ;-) )
    Angelo

    Thank you Igor, your article is very interesting indeed, and thanks for the other responses as well, it is really appreciated.
    I recently tried OSS on Linux, which offers partial support for the X-FI, but with no success. I fear that without any proper documentation provided to ALSA, the complexity of the X-Fi hardware won't allow the development of acceptable drivers for Linux anytime soon. As for Creative development for Linux, well, just go and check out their support page : http://opensource.creative.com/soundcard.html.
    It is beyond my comprehension as to why Creative simply refuses to document its hardware. I mean, I know about IP considerations and such, but the reality is that Creative has a very large part of the market for high-end audio products, and they do not have yet any serious competitors for the gaming/music enthusiast market who don't want to rely on onboard audio. (I know about M-Audio and a few others, but they mainly appeal to profesionals). So, to document their hardware for the open source community has more benefits than risks, since they don't have to pay for driver development, and since they almost sued daniel_K, I'm not afraid that their legal department would track anyone who would try to breach any IP rights by developing some hardware with the documentation they would release. So WHY ? WHY Creative, won't you release proper documentation? Why won't you help us help you ? Is it just by ideology ? That opening your code is bad ? Well, you're wrong. ?
    But it may not be too late, should you *AT LEAST* provide us communication about what's going on at Creative regarding open source. Is it that hard for a Multinational Firm to hire a few developers to develop a driver for Linux ? Why won't you put up a blog for your developer, who can talk about what they're doing, what are the limitations, the hurdles, but at least show a little transparency and stop pretending you really care. ?

  • How can i create a new shell window using some functions?

    1.In a shell window, how can i use a command to create another new shell window?
    2.In C code, which function will be called to create a new shell window?
    (not excute shell command -- being implemented by using system() )
    Thanks!

    #1 I don't know what a "shell window" is. There are shells (programs that accept terminal input and run scripts), and there are windows (usually drawn by an Xclient (like xterm), or a toolkit client (dtterm, gnome-terminal).
    The two are very different. You may just want to run xterm or something and assume that it will also launch a shell.
    #2 You'll need to explain that one better. system() is the normal way to launch external commands. If you don't want to use it, you'll need to explain why it's not useful here.
    Darren

  • Get rid of the DOS command window

    when I make a java application and run it I'll always have the DOS command window run in the backgound ..... how to get red of it?

    In windows execute it with javaw instead of java.
    abraham.

  • Host: suppress DOS command window

    hi,
    i have programmed the host command statement in a *.pll for running a batch file
    my.pll
    host('c:\test\my.bat');
    my.bat
    rwrun60.exe report=c:\test.rdf desname=c:\xyz\01.pdf ...
    rwrun60.exe report=c:\test.rdf desname=c:\xyz\02.pdf ...
    Windows opens a DOS command window box in which i can see the running commands. it is possible to suppress this window? my.bat should be run in background.
    regards,
    tom rakete

    Use the no_screen parameter in your host command.
    Note that you will have to rewrite this stuff differently if you upgrade to a current version of forms.

  • How to invoke dos shell from java program

    Hi,
    I'm not able to invoke dos shell from java.
    Can any one help me in this issue.
    I'm providing the source code below:
    try{
    Runtime.getRuntime().exec("cmd.exe")
    catch(IOException e) {
    System.out.println(e.getStackTrace());
    Thanks

    Does it throw a different exception?
    Or does it just do nothing at all?
    It does nothing at all[/b
    Is this a standalone Java app?
    Or a Java Applet running via a webbrowser? [b]It's a standalone application

  • How to install load tomcat automatically on windows startup.

    hi i want to load tomcat automatically on windows startup. right now if i want to start tomcat i have to run startup.bat. please help me.

    Hi, When you install tomcat, you can choose to do so "as a service". Then there wont be no startup.bat. then you can see your tomcat as a service under Services
    Good luck to you

  • Open pdf-file in dos-shell at specific page

    Hi
    do andybody know since which version of Adobr Reader the command  <path to Acrobat> /A "<open parameter>=OpenActions" "<path to PDF file>" for DOS-shell is available??
    Because i wanna use this command on a system with Adobe Acrobat 4.0 and 5.0 .
    If there is an other solution to open the file at a specific page from DOS shell please tell me .
    I am looking forward to your answers
    best regards
    Marco

    Thanks for the answer
    Is there anybody from the staff ?? I think they know it

  • Calling a dos shell with a servlet

    I am using the code below to call a dos shell using a servlet. will you please tell what is wrong with my code. thank you.
    public class ResponseServlet extends HttpServlet {
    public void doGet (HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException
    PrintWriter out = response.getWriter();
    // then write the data of the response
    String username = request.getParameter("username");
    if ( username != null && username.length() > 0 ) {
         Runtime rt = Runtime.getRuntime();
         rt.exec("C:\\WINNT\\system32\\CMD.EXE");
    public String getServletInfo() {
    return "The Response servlet says hello.";

    Response code 503. "Service unavailable". Sounds like a server configuration issue.

Maybe you are looking for