has anyone configured textpad to run servlets and jsp's with JRun 3.0? How about Tomcat 3.2? I have both running from DOS, but I would like to compile/run from textpad. Thaks,
Tia
Running servlet/jsp with Jrun
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Running servlet/jsp with Jrun
I don't use JRun.
I use TOMCAT.
First, does java execute in DOS?
Second, Can you get TOMCAT up and running then in a browser:
http://localhost:8080/index.html
This works.
It brings up a TOMCAT screen with example execution and code.
First.
Install JDK1.3 into "C:\JDK13" without a period. It helps.
In ANY DOS subdirectory can you type "java -version" without getting an error?
If YES the PATH is set up correctly.
If NO then you must go into AUTOEXEC.BAT and configure PATH.
Second
To setup TOMCAT, open this file:
C:\tomcat\bin\start.bat
Add this line after the 4 REM statements:
set JAVA_HOME=C:\jdk13
This tells tomcat WHERE java is.
Also if you are running WIN95 or WIN98 you will have to increase you environmental variable space. You do this by not openings the "start.bat" file above, instead RIGHT click and choose properties. Choose the memory tag and on the right of the first box it says "initial environment". Change it from AUTO to some number. I choose the largest number: 4096. you can play with it.
If you are running NT then you will not have an environment size problem. I don't know about the other, later, Windoze systems.
Third
If you are writing and compiling your own servlets,
you will need to install servlet.jar into
C:\jdk13\jre\lib\ext\
you will probably have to create the "ext" directory.
search the tomcat installation for its internal copy of "servlet.jar" any copy that into the directory above.
Robert Jennings
I use TOMCAT.
First, does java execute in DOS?
Second, Can you get TOMCAT up and running then in a browser:
http://localhost:8080/index.html
This works.
It brings up a TOMCAT screen with example execution and code.
First.
Install JDK1.3 into "C:\JDK13" without a period. It helps.
In ANY DOS subdirectory can you type "java -version" without getting an error?
If YES the PATH is set up correctly.
If NO then you must go into AUTOEXEC.BAT and configure PATH.
Second
To setup TOMCAT, open this file:
C:\tomcat\bin\start.bat
Add this line after the 4 REM statements:
set JAVA_HOME=C:\jdk13
This tells tomcat WHERE java is.
Also if you are running WIN95 or WIN98 you will have to increase you environmental variable space. You do this by not openings the "start.bat" file above, instead RIGHT click and choose properties. Choose the memory tag and on the right of the first box it says "initial environment". Change it from AUTO to some number. I choose the largest number: 4096. you can play with it.
If you are running NT then you will not have an environment size problem. I don't know about the other, later, Windoze systems.
Third
If you are writing and compiling your own servlets,
you will need to install servlet.jar into
C:\jdk13\jre\lib\ext\
you will probably have to create the "ext" directory.
search the tomcat installation for its internal copy of "servlet.jar" any copy that into the directory above.
Robert Jennings