Another way you can do this without rebooting is to open the
properties dialog for the shortcut you use to launch a DOS shell, go
to the "Program" tab, and in the text box labeled "Cmd line:", add the
"/E:4096" switch to the command which launches the shell (which is
probably "C:\WINDOWS\COMMAND.COM". Any shells which are subsequently
opened from that shortcut will have the increased environment space.
On Sun, 7 Jan 2001 23:53:27 -0500, Tim Endres <[EMAIL PROTECTED]>
wrote:
>Edit config.sys on your boot drive and add the following line:
>
> SHELL=C:\Windows\Command.com /P /E:4096
>
>Where the /E argument determines the space reserved for the environment.
>tim.
>
>> Thanks for the reply Sanjay but if you could help me further with this.How
>> do you set initial environment variable in config.sys bcoz changing the
>> memory settings using right click in windows doesn't help the .bat file to
>> run properly from DOS prompt.It only runs properly from windows by double
>> clicking it(but in my case only j2ee runs fine from windows and not
>> deploytool).
>> As i mentioned that i had to change memeory settings for j2ee.bat but for
>> that also i right clicked and changed the properties.The problem with this
>> is that the j2ee.bat file runs without error only if i double click it and
>> run it from windows.But when i run it from DOS prompt it(j2ee even after
>> changing memory prop in windows) gives the same -out of space error.The
>> server starts properly from windows and gives the message server start
>> complete but not from the DOS prompt.
>> I hope if you or anyone else could help.
>> I have 128 MB RAM on my system.
>>
>> Thanks
>> Nishchal
>> >From: [EMAIL PROTECTED]
>> >Reply-To: A mailing list for Enterprise JavaBeans development
>> ><[EMAIL PROTECTED]>
>> >To: [EMAIL PROTECTED]
>> >Subject: Re: Environmental
>> >Date: Mon, 8 Jan 2001 09:29:56 +0530
>> >
>> >set initial environment variable setting to 2048 bytes in config.sys file.
>> >It runs even with 32MB RAM,but it is really very slow.
>> >try and share your experience.
>> >~sanjay
>> >
>> > > ----------
>> > > From: NISHCHAL AHUJA[SMTP:[EMAIL PROTECTED]]
>> > > Reply To: A mailing list for Enterprise JavaBeans development
>> > > Sent: 08 January 2001 08:44
>> > > To: [EMAIL PROTECTED]
>> > >
>> > > Hi All,
>> > > I have been trying to built a small application using EJB's and trying
>> >to
>> > > setup the J2EE server(as a part of j2sdkee1.2.1) as the first step on a
>> > > Win98 machine.Since the examples from Sun site show that we need to type
>> > > the
>> > > following two commands to run the server:
>> > > 1. j2ee (initially this was giving out of space environment error but
>> >when
>> > > i
>> > > played with the memory settings of the j2ee.bat, it worked)
>> > > 2. deploytool (this also gives the same out of space environment error)
>> > > and
>> > > playing with deploytool.bat's memory settings doesn't help at all.
>> > >
>> > > Does this means that the J2EE server can't run on Win 98 machine or am i
>> > > missing something.But i have also read that J2EE server can be
>> >configured
>> > > for Win 98.
>> > >
>> > > ALl the help is welcome,
>> > >
>> > > Thanks
>> > > Nishchal
>> > >
>> > > PS: "setenv.bat",which is called by both j2ee.bat and deploytool.bat
>> >runs
>> > > without any errors if run individually but when called by
>> > > deploytool.bat,it
>> > > gives out of environment space error.
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff EJB-INTEREST". For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".