aspose file tools*
The moose likes Servlets and the fly likes Just not getting  it right with  tomcat.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Just not getting  it right with  tomcat.." Watch "Just not getting  it right with  tomcat.." New topic
Author

Just not getting it right with tomcat..

rejieve alexander
Greenhorn

Joined: Dec 10, 2000
Posts: 22
Hi Guys ! I have a problem while installing tomcat....

On win'98 i installed Apache1.3.2_win32 , set it to port 8040, and ran it succesfully,
Then installed jakarta-tomcat and set
CLASSPATH = c:\JDK1.2\LIB\TOOL.JAR;C;\jakarta-tomcat\lib\
servlet.jar;C;\jakarta-tomcat\lib\jasper.jar;
c:\ServletCode
JAVA_HOME =c:\jdk1.2
TOMCAT_HOME = c:\jakarta-tomcat\bin
1. but on adding the include directive in httpd.conf in Apache/conf as
include C:\jakarta-tomcat\conf\tomcat.conf
the Apache does not start and gives an error saying
httpd: module "mod_jserv.c" is not compatible with this version of Apache.But on commenting the include,apache works fine.
2. Even though i'm able to start tomcat on a different window
i'm not able to run tomcat thro'
http://localhost:8080/

i also added
set JAVA_HOME = c;\jdk1.2
set TOMCAT_HOME = c;\jakart-tomcat, after the line, if not "% TOMCAT_HOME%"== "" go to start....but no change.
3. And on double clicking on shut down it shows as
ERROR reading...\conf\server.xml
At Expected "</Server>" to terminete element starting
on line 3.
FATAL:configuration Error ,and throws java.lang.NullPionetrException

Should i add anything in the server.xml in jakarta-tomcat\conf??

4.And one more thing please tell me how to shutdown Apache, as i'm unable to find any function for it.
Please help me out with a solution
Thank you in advance.



[This message has been edited by rejieve alexander (edited December 14, 2000).]
[This message has been edited by rejieve alexander (edited December 14, 2000).]
Danny Mui
Ranch Hand

Joined: Dec 14, 2000
Posts: 42
I had problems installing tomcat too. It's also lacking in performance as well. I am currently using http://www.caucho.com 's Resin servlet runner. Pretty easy to use/administer and it's configuration file is also an XML format similar to Tomcat.
It's also very fast
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
I agree. I switched to Resin several months ago, and have never looked back.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
rejieve alexander
Greenhorn

Joined: Dec 10, 2000
Posts: 22
Hi guys,
Sorry for a late reply..Thanx a lot for u'r responses.
Guess Resin is the only way..I've downloaded Resin nand it's working
fine..But the confg with Apache doesn't seem to working..
But then,thanks a lot ..Bye for now
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Just not getting it right with tomcat..