Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Setting up Tomcat

Posted on 2010-11-30
9
Medium Priority
?
483 Views
Last Modified: 2012-05-10
http://localhost:8080/  (Should return tomcat test page)

I am hoping to receive assistance setting up and testing tomcat.  I have completed the the following (hopefully correctly):
Download  
j2sdk-1_4_2_19-windows-i586-p.exe
Java Web Start (I thought this was the tomcat)
apache-tomcat-5.5.31-admin.zip which when unzipped to desk top creates folder called apache-tomcat-5.5.31 (this folder seems similar to a folder found on my C:drive, which the path is as follows)
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\.metadata

please help me help myself.
0
Comment
Question by:gazdzid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
9 Comments
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 34241978
you can set your enviroment variable in where you extract the tomact
0
 
LVL 1

Expert Comment

by:ashesh17
ID: 34247688
Please do following and this should solve your problem:

1. Install Java
2. Set "JAVA_HOME" environment variable.
3. Unzip Tomcat release to desired location.
4. Set "CATALINA_HOME" to top level directory of your extracted Tomcat e.g. in your case "C:\Program Files\Apache Software Foundation\Tomcat 5.5".
5. Update "Path" environment variable with ";%JAVA_HOME%\bin;%CATALINA_HOME%\bin" (optional but recommended)
6. Start Tomcat and go to URL http://localhost:8080/ 
0
 
LVL 3

Author Comment

by:gazdzid
ID: 34262309
ashesh17:

You Wrote:  4. Set "CATALINA_HOME" to top level directory of your extracted Tomcat e.g. in your case "C:\Program Files\Apache Software Foundation\Tomcat 5.5".

My response
This path is already set as stated in you recommendation

You wrote
5. Update "Path" environment variable with ";%JAVA_HOME%\bin;%CATALINA_HOME%\bin" (optional but recommended)

Found below are two variable that have the settings as follows, which should I change?

My "CLASSPATH" Shows:
C:\Program Files\Apache Software Foundation\Tomcat 5.5\server\lib;

My "Path" Shows
c:\oracle\products\9.0.1\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Interactive Intelligence\ICUserApps\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 1

Expert Comment

by:ashesh17
ID: 34290726
gazdzid:

You should update "Path" variable in way as follows:

Windows Start>My Computer>Right Click>Properties>Advanced Tab>Environment Variables Button>Select "Path" variable>Click on Edit button > Append ;%JAVA_HOME%\bin;%CATALINA_HOME%\bin in existing value.
0
 
LVL 3

Author Comment

by:gazdzid
ID: 34291438
Due to my lack of success prior to your most recent post, I made the decision to uninstall everything and start from scratch:

1st) I tried to install tomcat.
Result
I was provided with a prompt that stated " Please select the path of the J2SE 5.0 or later JRE installed on your system.  Note that if you have 64 bit operating system, you must specify 64 bit jre:"

Question
Is the an installation of a software that needs to take place prior to installing Tomcat?
0
 
LVL 1

Accepted Solution

by:
ashesh17 earned 2000 total points
ID: 34308199
gazdzid:

Please Install Java 5.0 or later version and set "JAVA_HOME" environment variable with value as base directory of Java installation (e.g. C:\Program Files\Java\jdk1.6.0), also update Path environment variable with ";%JAVA_HOME%\bin". After doing this try to install Tomcat and you will be able to install it successfully.
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 34464260
The same think only i mention in my comment !!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question