wood burning stoves 2.0*
The moose likes Servlets and the fly likes what should i do? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "what should i do?" Watch "what should i do?" New topic
Author

what should i do?

rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
While installing tomcat in a windows98 system,
These are the lines i entered in autoexec.bat.
set JAVA_HOME=c:\;
set path=c:\software\jakarta-tomcat-3.2.1\bin;
set TOMCAT_HOME=c:\software\jakarta-tomcat-3.2.1\lib\tools.jar;"%TOMCAT_HOME%";
set TOMCAT_HOME=c:\software\jakarta-tomcat-3.2.1\lib\servlet.jar;
if i give startup in c:\software\jakarta-tomcat-3.2.1\bin;
iam getting an error message saying that,
"bad command or file name"
hemanth kumar
Ranch Hand

Joined: Mar 15, 2001
Posts: 55
While installing tomcat in a windows98 system,
These are the lines i entered in autoexec.bat.
set JAVA_HOME=c:\;
set path=c:\software\jakarta-tomcat-3.2.1\bin;
set TOMCAT_HOME=c:\software\jakarta-tomcat-3.2.1\lib\tools.jar;"%TOMCAT_HOME%";
set TOMCAT_HOME=c:\software\jakarta-tomcat-3.2.1\lib\servlet.jar;
if i give startup in c:\software\jakarta-tomcat-3.2.1\bin;
iam getting an error message saying that,
"bad command or file name"

Here are some points to note
1)TOMCAT_HOME - In ur autoexec.bat file this variable should point to the path where ur Tomcat is installed.In ur case it
should be
set TOMCAT_HOME=c:\software\jakarta-tomcat-3.2.1
2)JAVA_HOME - In ur autoexec.bat file, this variable should point to where ur JDK is installed.In ur case u have given
set JAVA_HOME=c:\. I am not sure this is correct.If u have installed jdk in say c:\jdk1.2.2 then ur JAVA_HOME should be
set JAVA_HOME=c:\jdk1.2.2
3)u get "bad command or file name" because the exe that ur trying to execute is not found.Check ur PATH variable and see whether u have included the path for the exe.
Do open the startup.bat file in ur editor and see what is going on.U will have a much better picture
Do try this and see if ur tomcat runs.
Bye
Hemanth
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
One more thing,
whenever i made some changes to autoexec.bat, for command prompt to see those changes i need to restart my computer.
How do i correct this bug?
hemanth kumar
Ranch Hand

Joined: Mar 15, 2001
Posts: 55
Well one method that i follow is to run the autoexec.bat file from the DOS prompt itself after making the necessary changes in the a*.bat file
Regds
Hemanth
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
and also i made those changes.and if i do open startup.bat there is also the same "bad command or file name" displaying?
what can i do now?
hemanth kumar
Ranch Hand

Joined: Mar 15, 2001
Posts: 55
I am sorry if i am repeating this
1)Check whether u have correctly set TOMCat_Home and JAVA_HOME.
2)I u have set it has the change been effected by either running Autoexec.bat or restarting ur M/C.
3) Also the startup.bat file calls another batch file called tomcat.bat file.In this file a command called start is used.This DOS command is found in c:\windows\command directory.(Atleast in my M/C).So see if this path is included in ur PATH variable.
i.e ur PATH var should have PATH=c:\windows\command among other paths
Regds
Hemanth
Udayan Naik
Ranch Hand

Joined: Oct 18, 2000
Posts: 135
Hi Rehka.You do not need to set those 2 environment variables in autoexec.bat.You can also set those variables in the s.bat file in the bin directory of tomcat.
For example ,in my machine,the settings in s.bat are

Then run s.bat,and tomcat should listen on the port specified.
I hope that helps.


Udayan Naik<BR>Sun Certified Programmer for the Java 2 Platform
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
I did right click on startup.bat and do edit,the notepad is showing the folllowing.
what is this?
@echo off
rem $Id: startup.bat,v 1.7.4.1 2000/09/04 21:18:05 larryi Exp $
rem Startup batch file for tomcat servner.
rem This batch file written and tested under Windows NT
rem Improvements to this file are welcome
if not "%TOMCAT_HOME%" == "" goto start
SET TOMCAT_HOME=.
if exist "%TOMCAT_HOME%\bin\tomcat.bat" goto start
SET TOMCAT_HOME=..
if exist "%TOMCAT_HOME%\bin\tomcat.bat" goto start
SET TOMCAT_HOME=
echo Unable to determine the value of TOMCAT_HOME.
goto eof
:start
call "%TOMCAT_HOME%\bin\tomcat" start %1 %2 %3 %4 %5 %6 %7 %8 %9
:eof
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
Sorry hemanth,
But i changed everything.i set tomcat_home as c:\software\jakarta-tomcat-03.2.1;
and java_home as c:\jdk1.3;
and i run the autoexec also.
and the path = c:\windows\command ;is also there.
but still it's showing "bad command or file name".
rekha.
Kar Stephen David
Greenhorn

Joined: Mar 27, 2001
Posts: 4
Hi Rekha
Can you parse ur dir in cmd (DOS)prompt
c:>cd software
c:>software
c:\software> cd jakarta-tomcat-03.2.1
I hope , you may get error here. If yes or not , send me a reply I will give the solution

Kar Stephen David<BR>Senior Consultant <BR>Endimyon Systems Inc. <BR>Oakland, CA <BR>Tel: (510) 563-0000 <BR>Mobile 510-333-5733 <BR>Web: <A HREF="http://www.esicom.com" TARGET=_blank rel="nofollow">http://www.esicom.com</A> <BR>Email: kdavid@esicom.com <P>
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
yes, I DID PARSE MY DIR IN THE COMMAND PROMPT.
DO U THINK IT IS THE WRONG WAY OF DOING.
TELL ME.
REKHA.
Kar Stephen David
Greenhorn

Joined: Mar 27, 2001
Posts: 4
I expalining the step by step. These steps may help to setup ur tomcat server easily.
1)I hope you are having directory structure as like below
C:\software\jakarat....
Change this as like below c:\software\tomcat
By just rename the directory
2)then move to c:\software\tomcat\bin directory
3)Type this command
set JAVA_HOME = C:\jdk
jdk may be change regarding your java installed directory. If you installed java under <Software> directory C:\software\jdk(Verson). Under <jdk> directory you must have <bin> directory.
4)set TOMCAT_HOME = c:\software\tomcat
5)set path=%path%;JAVA_HOME\bin;
6)set class_path=%class_path%;JAVA_HOME\lib\tools.jar;.;
7)type startup and enter
your tomcat will upload by binding port number 8080
8) Then open your browser and give http://localhost:8080. You can see your tomcat inex.html file under <root> dir
If , every thing works fine create a .bat file as rekha.bat or anything.bat in <bin> directory having above commands and execute in the same bin directory like below
c:\software\tomcat\bin> rekha
then give
c:\software\tomcat\bin> startup
If , you will find any error.
Can you send ur autoexec.bat file to my below email id.
kar_stephen@yahoo.com.
One more info, I need the JDK installed directory up to bin.
regards
hemanth kumar
Ranch Hand

Joined: Mar 15, 2001
Posts: 55
Originally posted by rekha adapa:
I did right click on startup.bat and do edit,the notepad is showing the folllowing.
what is this?
@echo off
rem $Id: startup.bat,v 1.7.4.1 2000/09/04 21:18:05 larryi Exp $
rem Startup batch file for tomcat servner.
rem This batch file written and tested under Windows NT
rem Improvements to this file are welcome
if not "%TOMCAT_HOME%" == "" goto start
SET TOMCAT_HOME=.
if exist "%TOMCAT_HOME%\bin\tomcat.bat" goto start
SET TOMCAT_HOME=..
if exist "%TOMCAT_HOME%\bin\tomcat.bat" goto start
SET TOMCAT_HOME=
echo Unable to determine the value of TOMCAT_HOME.
goto eof
:start
call "%TOMCAT_HOME%\bin\tomcat" start %1 %2 %3 %4 %5 %6 %7 %8 %9
:eof

Hi
Well seeing this file, nothing seems to wrong with it.As u see in the :start label another file %TOMCAT_HOME%\bin\tomcat i.e tomcat.bat is being called with start as a parameter.
Now if u open ur tomcat.bat file in editor, here are some portions to look out for
***** part of tomcat.bat file ************8
rem ----- Execute The Requested Command -------------------------------------
rem ----- Execute The Requested Command -------------------------------------
set _STARTJAVA=start "Tomcat 3.2" "%JAVA_HOME%\bin\java"
if "%1" == "start" goto startServer
if "%1" == "stop" goto stopServer
if "%1" == "run" goto runServer
if "%1" == "ant" goto runAnt
if "%1" == "env" goto doEnv
if "%1" == "jspc" goto runJspc
:doUsage
echo Usage: tomcat ( ant ^| env ^| jspc ^| run ^| start ^| stop )
echo Commands:
echo ant - Run Ant in Tomcat's environment
echo env - Set up environment variables that Tomcat would use
echo jspc - Run JSPC in Tomcat's environment
echo run - Start Tomcat in the current window
echo start - Start Tomcat in a separate window
echo stop - Stop Tomcat
goto cleanup
:doEnv
goto finish
:startServer
echo Starting Tomcat in new window
if "%2" == "-security" goto startSecure
%_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup
As u can see since u are passing start as parameter to tomcat.bat file from startup.bat file, the line with
'if "%1" == "start" goto startServer' is executed.Now this comes to ' %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9' this line.
I think that this is where u are getting bad command.
As u can see %_STARTJAVA% is set to 'start "Tomcat 3.2" "%JAVA_HOME%\bin\java"'. My feeling is that 'start' is not found in the correct path.
U can do one thing.Search where start.exe is in ur system.then
change the variable %_STARTJAVA%.For ex if start.exe is found in c:\dos then change %_STARTJAVA% to
set _STARTJAVA=c:\dos\start "Tomcat 3.2" "%JAVA_HOME%\bin\java"
Also there is a echo statement just before start command i.e
echo Starting Tomcat in new window.Are u getting this on ur DOS prompt window
One friendly advice do keep a copy of ur tomcat.bat file just in case ur tomcat.bat file gets messed up
See if this works
Hemanth
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

oh God!
Never is Tomcat so complicated. I have a small request to all,
please hold your thoughts. I don't mean to discourage your
ideas, but I think a lot of ideas are being thrown in this
thread without knowing the complete problem. My 2 cents.
lets hear the latest from the original person who seems to have
the problem. Also, one thing I have observed is that, each
person seems to be a little different in how they get tomcat to
work, don't ask me why!
rekha:
could you step back a little and post exactly what you get
(currently) when you type startup in the Tomcat_Home\bin dir.
I will keep checking on this thread till you post the exact
thing you get, then I would respond.
hopefully, others agree.
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Mark Leong
Ranch Hand

Joined: Dec 11, 2000
Posts: 60
I have managed to setup Tomcat in Redhat, Win 98 and 95. So maybe I can contribute a little.
The basic thing that needs to be done is to get the latest version of Tomcat and JDK (version 1.3). JDK1.2 will produce some error when starting Tomcat.
If installing under Windows,
- set PATH to point to the JDK bin directory
- set JAVA_HOME to point to one directory above the JDK bin directory
- you may not need to set TOMCAT_HOME but if you like, point this to one directory above the TOMCAT bin directory
- set CLASSPATH to point to the jar files you want to use (eg. those for JavaMail, database access, etc). Suggest that you include %CLASSPATH%
- after the above is done, go to the directory before Tomcat bin and type bin\startup. Tomcat should start without a hitch.
There is no need to tweak with other bat files.
To test Tomcat, start your browser and enter http://127.0.0.1:8080 at the address.
That's it for Windows 9x. Sorry, have not installed for ME or NT or 2000. Switching to Linux .
Installing under RedHat is even easier.
- set up PATH to point to the JDK bin directory.
- set up CLASSPATH if you want to include other jars (include $CLASSPATH)
- Goto one directory above the Tomcat bin directory. Type /bin/startup.sh and Tomcat should start
Hope the above helps.
Remember, Tomcat is very easy to setup. If there is anything wrong, get the latest JDK.
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
Hello everybody,
This is my autoexec.bat file:
C:\PROGRA~1\NETWOR~1\MCAFEE~1\SCAN.EXE C:\
@IF ERRORLEVEL 1 PAUSE
set JAVA_HOME=c:\jdk1.3;
set path=c:\jdk1.3\bin;
set TOMCAT_HOME=c:\software\tomcat;
set class_path=c:\jdk1.3\lib\tools.jar;
And i installed tomcat in c:\software;
and in the command prompt iam moving to c:\software\tomcat\bin;
and typing startup
iam getting an error message saying that :
"bad command or file name"....
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
rupa:
thxs for the brief summary:
Could you test one other thing for me please.....
what happens when you type in
tomcat start
on the dos prompt.
Also, do a dir and see if you have the executables or not.
pl. let us know. i prefer taking small steps.
regds.
- satya
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
If i do tomcat start in dos prompt ,
iam getting,
unable to locate servlet.jar,chech the value of tomcat_home.and if i do dir,
Volume in drive C has no label
Volume Serial Number is 4028-14F3
Directory of C:\software\tomcat\bin
. <DIR> 03-18-01 7:16p .
.. <DIR> 03-18-01 7:16p ..
JSPC BAT 573 12-12-00 1:36p jspc.bat
CPAPPEND BAT 28 12-12-00 1:36p cpappend.bat
ANTRUN 77 12-12-00 1:36p antRun
ANTRUN BAT 223 12-12-00 1:36p antRun.bat
ANT BAT 2,247 12-12-00 1:36p ant.bat
STARTUP SH 544 12-12-00 1:36p startup.sh
SHUTDOWN SH 548 12-12-00 1:36p shutdown.sh
STARTUP BAT 578 12-12-00 1:36p startup.bat
TOMCAT BAT 6,687 12-12-00 1:36p tomcat.bat
SHUTDOWN BAT 475 12-12-00 1:36p shutdown.bat
TOMCAT SH 5,125 12-12-00 1:36p tomcat.sh
TOMCAT~1 BAT 585 12-12-00 1:36p tomcatEnv.bat
ANT 2,785 12-12-00 1:36p ant
JSPC SH 2,306 12-12-00 1:36p jspc.sh
14 file(s) 22,781 bytes
2 dir(s) 9,920.97 MB free

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
unable to locate servlet.jar,chech the value of tomcat_home.and if i do dir,
so now we get cranking..........
in the dos window where you typed "tomcat start" type:
set TOMCAT_HOME
let us know what you get.
At the same time see if you have a dir called
lib and a file called servlet.jar
in this lib directory.
ps: these should be in your c:\software\tomcat dir
not under the bin dir.
- satya
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

Also, remove the semi-colon in your autoexec.bat
on the foll. lines: the ending semi-colon.
Thats' probably your problem.

set JAVA_HOME=c:\jdk1.3;
set path=c:\jdk1.3\bin;
set TOMCAT_HOME=c:\software\tomcat;
set class_path=c:\jdk1.3\lib\tools.jar;

regds.
- satya
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
C:\software\tomcat>set TOMCAT_HOME
Syntax error
and there is no servlet.jar in the lib directory.
and also i removed the semicolon in the autoexec.bat as u said.
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
I gave tomcat start after removiing the semicolon in the autoexec.bat
and iam getting the following result:
C:\software\tomcat\bin>tomcat start
Including all jars in c:\software\tomcat\lib in your CLASSPATH.
Using CLASSPATH: c:\software\tomcat\classes;c:\software\tomcat\lib\ANT.JAR;c:\so
ftware\tomcat\lib\JAXP.JAR;c:\software\tomcat\lib\SERVLET.JAR;c:\software\tomcat
\lib\PARSER.JAR;c:\software\tomcat\lib\WEBSER~1.JAR;c:\software\tomcat\lib\JASPE
R.JAR;c:\jdk1.3\lib\tools.jar
Starting Tomcat in new window
Bad command or file name
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
well, no servlet.jar is kind of goofy.........
sorry no luck .
I should also apologise that
I don't have the patience to read the entire
thread, well its not time - I don't want to.
I know it is mean of me to say so, but I just
can't take yada yada yada.........
I felt like an idiot abt the semi-colon stuff
and I failed to observe it in your first post.
It was there all thru and I couldn't spot it.
The only thing I would do, again its me, is to reload
tomcat. If there is no servlet.jar in the lib, then we
have serious problems. Leave your autoexec.bat file
as it is. delete the entire tomcat dir and unzip the
file again.
I personally am not a big fan of even thinking of changing
the conf files. THEY WORK.
Its just that we have to get the env right. I am sure there
are lots of people to help. Good luck.
Let us know what you prefer.
- satya
Mark Leong
Ranch Hand

Joined: Dec 11, 2000
Posts: 60
Hi Rekha,
If you have made changes to the tomcat's bat file restore the original. You may have to reinstall.
According to my installation on Win 98, if I unpack tomcat at c:\software\tomcat, the TOMCAT_HOME should point to:-
set TOMCAT_HOME=c:\smallcon\tomcat\jakarta-tomcat
cd to c:\smallcon\tomcat\jakarta-tomcat
type bin\startup.bat
Any error?
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
Hello everybody,
Iam getting the following now
C:\software\tomcat\bin>startup
Including all jars in c:\software\tomcat\lib in your CLASSPATH.
Using CLASSPATH: c:\software\tomcat\classes;c:\software\tomcat\lib\ANT.JAR;c:\so
ftware\tomcat\lib\JAXP.JAR;c:\software\tomcat\lib\SERVLET.JAR;c:\software\tomcat
\lib\PARSER.JAR;c:\software\tomcat\lib\WEBSER~1.JAR;c:\software\tomcat\lib\JASPE
R.JAR;c:\jdk1.3\lib\tools.jar
Starting Tomcat in new window
C:\software\tomcat\bin>
and another window also opened .
2001-03-28 10:06:23 - ContextManager: Adding context Ctx( /examples )
Starting tomcat. Check logs/tomcat.log for error messages
2001-03-28 10:06:23 - ContextManager: Adding context Ctx( /admin )
2001-03-28 10:06:24 - ContextManager: Adding context Ctx( )
2001-03-28 10:06:24 - ContextManager: Adding context Ctx( /test )
2001-03-28 10:06:26 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2001-03-28 10:06:26 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
am i getting the actual result or still there is something wrong.
let me know.
Thanku very much everybody.
bye
rekha.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
you are all set......
type in http://localhost:8080
you will goto the examples page.
run the examples for servlets and jsps
and you are ready to rock and roll....
So how did it work...did you reinstall, just curious.
and BTW, I know you are in the central time zone (CST)
Chicago, Indiana, St Louis maybe.....
or in India (IST)
Good Luck.
- satya

[This message has been edited by Madhav Lakkapragada (edited March 28, 2001).]
[This message has been edited by Madhav Lakkapragada (edited March 28, 2001).]
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
Oh, god atlast i got it.
Once again thank u very much madhav.
I reinstalled it.And it is running .that's it.Yes,i live in chicago.
Bye
rekha.
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
Sorry for coming back again,
If i type in http://localhost:8080
iam getting
the page cannot be displayed.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
so why do you say its working..........
and i knew it was central time.........
what browser are you on?
also, in the new window it will tell you something?
any pointers....
- satya
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
the browser is internet explorer.
in th enew window it's showing that,
2001-03-29 08:44:51 - ContextManager: Adding context Ctx( /examples )
Starting tomcat. Check logs/tomcat.log for error messages
2001-03-29 08:44:51 - ContextManager: Adding context Ctx( /admin )
2001-03-29 08:44:51 - ContextManager: Adding context Ctx( )
2001-03-29 08:44:51 - ContextManager: Adding context Ctx( /test )
2001-03-29 08:44:52 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2001-03-29 08:44:52 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
also in the windows explorer if i go to c:\software\tomcat\bin;
and run tomcat.bat file
iam getting
Including all jars in c:\software\tomcat\lib in your CLASSPATH.
Using CLASSPATH: c:\software\tomcat\classes;c:\software\tomcat\lib\ANT.JAR;c:\so
ftware\tomcat\lib\JAXP.JAR;c:\software\tomcat\lib\SERVLET.JAR;c:\software\tomcat
\lib\PARSER.JAR;c:\software\tomcat\lib\WEBSER~1.JAR;c:\software\tomcat\lib\JASPE
R.JAR;c:\jdk1.3\lib\tools.jar
Bad command or file name
Including all jars in c:\software\tomcat\lib in your CLASSPATH.
Using CLASSPATH: c:\software\tomcat\classes;c:\software\tomcat\lib\ANT.JAR;c:\so
ftware\tomcat\lib\JAXP.JAR;c:\software\tomcat\lib\SERVLET.JAR;c:\software\tomcat
\lib\PARSER.JAR;c:\software\tomcat\lib\WEBSER~1.JAR;c:\software\tomcat\lib\JASPE
R.JAR;c:\software\tomcat\classes;c:\software\tomcat\lib\ANT.JAR;c:\software\tomc
at\lib\JAXP.JAR;c:\software\tomcat\lib\SERVLET.JAR;c:\software\tomcat\lib\PARSER
.JAR;c:\software\tomcat\lib\WEBSER~1.JAR;c:\software\tomcat\lib\JASPER.JAR;c:\jd
k1.3\lib\tools.jar;c:\jdk1.3\lib\tools.jar
2001-03-29 08:47:25 - The file argument '^' does not exist
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
first, i would be tempted to try with Netscape.
I was expecting your ans would be IE.
i am looking into your other post.
- satya
rekha adapa
Greenhorn

Joined: Mar 14, 2001
Posts: 27
Sorry madhav,
the url http://localhost:8080/index.html
is taking me to the examples page.previously i did not start the Tomcat actually.
I don't understand , everytime to get my servlet working i need to start my tomcat or what?
sorry if i am wrong.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
also in the windows explorer if i go to c:\software\tomcat\bin;
and run tomcat.bat file

you shouldn't run tomcat.bat from windows explorer.
It needs an argument Start/Stop.
Actually, you should also be having a bat file called
startup.bat This file contains (among other thing maybe)
the line to start tomcat like tomcat start.
And a corresponding shutdown.bat file with the lines
tomcat stop. Also from your new window in which
tomcat is running the line:
2001-03-29 08:44:52 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
says that your tomcat server is running on the default
port of 8080.
let us know what happens with Netscape, I don't prefer to
use IE except for XML.
- satya
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
I don't understand , everytime to get my servlet working i need to start my tomcat or what?
ofcourse the server has to be running for a client to access
a service right!
And further documentation is avail at:
TOMCAT_HOME\docs\index.html. chk it out.
Good luck.
- satya
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: what should i do?