• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help needed urgent

 
felix thomas
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
could anyone tell me how to install tomcat on windows 98.
i have installed one tomcat 3.2.3.
it starts fine but one of the jsp work even the examples given by them also gives error.
could anyone tell me the exact steps of installion.
 
Beksy Kurian
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this page http://w6.metronet.com/~wjm/tomcat/2001/Feb/msg00609.html
Beksy
 
felix thomas
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have tried all that in my windows 98 system .but none of the Jsp examples work it gives the following error.
Error: 500
Location: /examples/jsp/num/numguess.jsp
Internal Servlet Error:
java.lang.NoSuchMethodError
at org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:289)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1183)
at org.apache.tomcat.core.Handler.service(Handler.java:312)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)

 
ernest fakudze
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Felix,
I had the same problem too. Here is what I do now in order to get Tomcat to run on Windows 98:
I create a folder in c or d drive and call it Tomcat323 or whatever.
I then unzip the downloaded archive in that folder, remember that the files get put in a folder as well when you unzip them: Take all the files from the folder and put them in Tomcat323 and then delete the folder which is called sth like tomcat-3-2-2.
On you desktop create an MSDO shortcut as follows:
Right click - New - Shortcut..type command.com and press next.
Type Tomcat3 or whatever just to give the icon a name..
- Finish and it's now on your desktop
-Right-click on it and choose 'Properties' and then the 'Program' tab.
In the 'Working' field type the location (replace c:\windows) of Tomcat as follows
c:\Tomcat323\bin
- Under memory tab (this is crucial! Win98 is horrible because it does not allocate the memory automatically but other OS's do e.g. Win2K)..
- Select the highest under 'Auto' and the same too under 'Initial environment'.
Ok this screen to get out.
After you have edited the 'Tomcat.bat' file to tell Tomcat where JDK is now you can just double-clk on the Tomcat icon ond the desktop. I t should open an MSDOS window and point to
c:\Tomcat323\bin
Type startup
Now believe me it should startup.
Now point your browser to http://localhost:/8080
It should work. I have done it many times!!
Good luck. Oh by the way Tomcat can be really slow under Windows 98. It works super in Win2K
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic