Steve:
I apologize. I believe the jar for the servlet you should have is jsdk.jar By
mistake I put the w in there. I downloaded both the jsdk 2.0 and the jsdk 2.1
and only found the jsdk.jar file in the jsdk2.0. I believe the jsdk2.1,which is
a zip file, is only the server files and does not include the jsdk.jar file. So
if you are not using the Enterprise Beta Edition then I think you need to
download jsdk20-win32.exe because that has the jsdk.jar file.
Steve Piccolo wrote:
> HI!
>
> I have a similar situation on Win98. Thank you very much for your comments
> on the list. I tried your suggestion, but I don't have either j2ee.jar or
> jswdk.jar in my jsdwk folder (or its subfolders). I do have jspengine.jar,
> servlet.jar, and xml.jar. If you could, by any chance, help me out here, I
> would appreciate it. (One thing: I downloaded the jswdk from Sun's site and
> then unzipped it. Do I need to run some kind of setup.exe on it?)
>
> Thank you very much,
>
> --Steve
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of J
> Sent: Saturday, October 07, 2000 8:21 AM
> To: [EMAIL PROTECTED]
> Subject: Re: problem with running jswdk
>
> 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
===========================================================================
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