File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Help!! Error in Tomcat  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Help!! Error in Tomcat  " Watch "Help!! Error in Tomcat  " New topic
Author

Help!! Error in Tomcat

Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129
Hi,

I am using Windows 2000. I want to install the tomcat 5.0. For that I used the below URL, where there ia zip file in which tomcat is already preconfigured. Since I can't install the tomcat newly, due to admin restriction, I downloaded the zip file and unziped it and placed the jakarta-tomcat-5.5.9 folder under E:\Mark

URL where I downloaded the tomcat preconfigured zip file:
URL

The unzipped file has everything, including the bat file for PATH, classpath and JAVA_HOME.

I had set all the things coorectly matching my system directories:

In the bat file, I am having the following:


But, while I had tried to start the tomcat thru startup.bat in the ms-dos, I encounter with the following error message:



And also the following error message in the alert message box:
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41180
    
  45
'Djavautil.logging.manager=org.apache.jutil.ClassLoaderLogManager'

You seem to be missing a "-" sign in front of the "D", and it probably needs to read "java.util", not "javautil".

As to JAVA_HOME, what is the semicolon doing at its end? That is bound to cause trouble. Or maybe not, looking at the Tomcat output.
[ September 09, 2005: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129
No, I tried both the option with semicolon and without at the end of the JAVA_HOME.

The same error is encountering.

Yes, It's typorgraphical error:
The correct one:'-Djava.util.logging.manager = org.apache.jutil.ClassLoaderLogManager'
[ September 09, 2005: Message edited by: Niyas Ahmed Sheikh ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Try setting JAVA_HOME as a permanent system environment variable rather than relying on the bat file. As I recall you use ControlPanel dialog -> System -> Advanced -> Environment variables.
Bill
Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129
Hi,


Try setting JAVA_HOME as a permanent system environment variable rather than relying on the bat file. As I recall you use ControlPanel dialog -> System -> Advanced -> Environment variables.


By doing this, It will have any impact on the system. In the environment variables >> New >> variable name = Path and variable path = E:\Mark\jdk1.5

That's it. Any other thing we have to add(even ; and ").
Why I am worrying so much is, I don't want to take risk in my workstation.
[ September 09, 2005: Message edited by: Niyas Ahmed Sheikh ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Wait:
set JAVA_HOME=E:\Mark\j2sdk1.5.0_04;

This doesn't look quite right.

Java 5.0 is usually in a folder called jdk1.5.0 (not j2sdk)
Try typing:
CD %JAVA_HOME% and see what directory you end up in.

Better, type:
%JAVA_HOME%\bin\javac
and see if the system can find the java compiler.

If not, you've misspelt the path.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Don't get me started about those stupid light bulbs.
 
subject: Help!! Error in Tomcat
 
Similar Threads
Tomcat as a server & a container, how?
problem with compiling servlets
Servlet Compilation Error
Problem running Tomcat 5.5.9 on OS X Tiger
Servlet Compilation Error