• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help!! Error in Tomcat

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

'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 ]
 
Niyas Ahmed Sheikh
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic