I have been trying to get JSPs to run using Tomcat, but get the following error displayed after entering http://127.0.0.1:8080/examples/jsp/cats.jsp The page cannot be displayed web site experiencing technical difficulty or may need to adjust browser setting. The following indicates how I set things up on my pc. I installed Tomcat under the following dir TomCatDir\jakarta-tomcat. I copied jsp files into dir:- jakarta-tomcat\webapps\examples\jsp I copied class files into dir:- jakarta-tomcat\webapps\examples\web-inf\classes I copied gif and jpeg files into dir:- jakarta-tomcat\webapps\examples\jsp\images I then attempted to kick of tomcat in dir TomCatDir\jakarta-tomcat\bin using the command tomcat start. The following messages appeared:- out of environmental space Thanks for any help. starting tomcat in new window using classpath: .;C:\jdk1.3\lib\tools.jar
On Win 95 and Win 98, you have to change an environment variable. The problem is often caused by the long classpath variables commonly used in java programs. Add the following line to your CONFIG.SYS file and then reboot your machine: SHELL=c:\command.com c:\ /e:2048 /p BTW, the /e:2048 indicates the number of bytes to allocate for environment space. If 2048 isn't enough, try /e:4096 or even higher. This should fix your problem of Out of environmental space
u can also increase the environment space from the dos prompt. when u open the window (dos prompt), click on the ms-dos icon on the top-left corner of the window and select properties from the menu. select the memory tab and change the environment space in the 'Initial Environment' drop-down box. now go to ur tomcat bin folder and start tomcat.