Big Moose Saloon
 Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies Register / Login

# 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

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: 42596

65

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:
[ September 09, 2005: Message edited by: Niyas Ahmed Sheikh ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821

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.

I agree. Here's the link: http://aspose.com/file-tools

subject: Help!! Error in Tomcat
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8710126280784607, "perplexity": 12053.335300101879}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2014-49/segments/1416400379414.61/warc/CC-MAIN-20141119123259-00099-ip-10-235-23-156.ec2.internal.warc.gz"}