Meera:
One thing that causes many problems in java is the classpath.  So lets work there 
first.

First type echo %classpath% at the dos prompt.
Write the returned results down for my reference.
Next: Lets just clear the classpath so we can start from scratch.  Do set classpath=
then press return
Do you already know where your tools.jar and j2ee.jar (j2ee.jar if using JAVA 2
Enterprise Edition, otherwise it should be jswdk.jar) is located.  If not do a FIND and
locate them.
Now do set classpath=path to tools.jar;path to j2ee.jar
For example: g:>set classpath=g:\jdk1.2.2\lib\tools.jar;g:\j2sdkee\lib\j2ee.jar
This sets your classpath properly and makes java happy.
Try running the server again.

If this does not work then I will need more information from you.  Below is my dos
output after starting the server.  Are you getting the Using classpath information?
Does it get to the Loading Configuration from file:G:\jswdk-1.0\webserver.xml

G:\jswdk-1.0>startserver
Using classpath: .\classes;.\webserver.jar;.\lib\jakarta.jar;.\lib\servlet.jar;.
\lib\jsp.jar;.\lib\jspengine.jar;.\examples\WEB-INF\jsp\beans;.\webpages\WEB-INF
\servlets;.\webpages\WEB-INF\jsp\beans;.\lib\xml.jar;.\lib\moo.jar;${sysJars};g:
\example-swing;g:\jdk1.22\lib\tools.jar;g:\j2sdkee\lib\j2ee.jar
JSDK WebServer Version 2.1
Loaded configuration from: file:G:\jswdk-1.0\webserver.xml
endpoint created: localhost/127.0.0.1:8080



"meera.g.nayak" wrote:

> Thanks John .I adjusted the memory like has been mentioned in the readme.txt
> But i have another problem.the server doen't startup as it not able to find
> com/sun/web/shell/startup and the same problem with shutdown
> what do i do?
>
> thanks in advance
> meera
>
> J wrote:
>
> > If you go to the readme.txt  under (i.e. C:\jswdk-1.0\readme.txt) it shows you how
> > to correct the problem
> >
> > TROUBLESHOOTING
> > ---------------
> >
> > On a Windows 95/98 machine you may see an "Out of Environment Space"
> > error message when starting the server. This is caused by Windows
> > providing too small a space for environment variables. To work around
> > this limitation:
> >
> >  Close the DOS window (the error can corrupt its CLASSPATH variable)
> >  Open a new MS-DOS window
> >  Click on the MS-DOS icon at the top-left of the Window
> >  Select teh Properties option
> >  Click on the "Memory" tab
> >  Adjust the "Initial Environment" drop-down box from "Auto" to "2816"
> >  Click on OK
> >  Start the server
> >
> > Don't worry about your RAM because I only have 24MB and am running Windows 95 and
> > have no problems.
> >
> > John
> >
> > "meera.g.nayak" wrote:
> >
> > > Hi,
> > >     I installed jswdk on my machine .but when i startserver the dis
> > > window gives out of environment space problem and probably because of
> > > that it is not a ble to find a
> > > particular file.i tried increasing the memory (i.e conventional,expanded
> > > and extended
> > > memory)but it didn't help.I have a 32MB  RAM,4.3Gb hard disk.
> > > can anyone help
> > >
> > > thanks in advance
> > > meera
> > >
> > > ===========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> > > FAQs on JSP can be found at:
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to