Advertisement

11.07.2003 at 12:58PM PST, ID: 20791402
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.6

Help!  Tomcat Error message - environment variables

Asked by kataragon in Apache Web Server

Tags: , , , ,

Help!  I'm a microsoft girl and I'm not very familiar with this stuff!  I'm trying to get tomcat running on my IIS 5/Windows 2000 server.  The files for this were written by someone else and  have been moved from another server, where they were working, so I'm inclined to believe the code is just fine -- unless something changed in the folder structure or elsewhere between versions -- I notice servlet.jar seems to be missing and instead there is servlet-api.jar.

The version on the old server was 4.1.12 -- though I've tried reverting to the old version on the new server and still get the same error message.  I think it is something very basic -- env vars that I haven't set -- but I'm not sure what they should be.

I ran j2sdk-1_4_2_01-windows-i586-iftw.exe and then jakarta-tomcat-5.0.12.exe.

Unfortunately, something strange happened and I thought this worked the first time (maybe somehow it was still pointing at the old server, I don't know) so I thought it was working and let the old server get re-installed, so I don't have the old environment variables to compare.  =/

Can you clear this up for me?  What env vars do I have to set?  CATALINA_HOME?  JAVA_HOME?  Anything else?  What should I point classpath/path to?

Here's another question -- do I have to put the whole jar file and everything in the env vars, or can I just point them to the folder?  And, does tomcat care about a / on the end in the env vars?  (JAVA_HOME = c:\j2sdk1.4.2_01 or c:\j2sdk1.4.2_01\ ?)

Also -- the hello world examples ARE working.  The author of the code has a folder for mypackagename and it seems its the files in there having issues -- like the package thing might be causing problems??

Anyways, let me know if I can answer any more questions, I appreciate all your help since this is not my area of specialty.  Here is the error message I get.  (Jeez, I hope it's something simple...)


HTTP Status 404 - /mywebname/servlet/mypackagename.myfile
--------------------------------------------------------------------------------
type Status report
message /mywebname/servlet/mypackagename.myfile
description The requested resource (/mywebname/servlet/mypackagename.myfile) is not available.
Start Free Trial
[+][-]11.09.2003 at 09:24PM PST, ID: 9712418

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.11.2003 at 07:35AM PST, ID: 9722899

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.11.2003 at 08:04PM PST, ID: 9728228

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Apache Web Server
Tags: tomcat, environment, error, message, variables
Sign Up Now!
Solution Provided By: rootkiddy
Participating Experts: 1
Solution Grade: B
 
 
[+][-]11.12.2003 at 11:11AM PST, ID: 9733755

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.12.2003 at 11:25AM PST, ID: 9733874

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy