Fedora Linux Support Community & Resources Center
  #1  
Old 3rd July 2004, 07:28 AM
tomjmalone Offline
Registered User
 
Join Date: Jul 2004
Location: Reading / United Kingdom
Age: 30
Posts: 30
How do i set up tomcat

I am testing some servlets i need to get tomcat to work.

I have installed j2sdk1.4.2_05, and set the java_home to the sdk dir.

I have started httpd and tomcat daemons from the serviceconf menu, how do i get tomcat to work as when i go to localhost:8080, nothing happens and it loads goolge.

Ideally i would like to set up tomcat as both a standalone server accessed by localhost:8080, but also through apache and localhost, is this even possible, i know i nedd to use mod_jk2.

Thanks in advance Tom
Reply With Quote
  #2  
Old 3rd July 2004, 08:11 AM
friez Offline
Registered User
 
Join Date: Apr 2004
Location: h@M&
Posts: 212
snip:
"All classes go in the ~/public_html/WEB-INF/classes/ directory, typically this is also where you put other types of files, such as ".properties" files. .jar files go in ~/public_html/WEB-INF/lib .

Note: if you add a jar file, before it can work your webapp context has to be reloaded. You'll have to get the webmaster to do this, try not to do it very often. "
hope this helps
Reply With Quote
  #3  
Old 3rd July 2004, 10:47 PM
tomjmalone Offline
Registered User
 
Join Date: Jul 2004
Location: Reading / United Kingdom
Age: 30
Posts: 30
Thanks

That was really helpful, but i still can't get tomcat to work, does it need mod_jk2 to connect to apache, and access it that way.

Tom
Reply With Quote
  #4  
Old 4th July 2004, 12:18 PM
friez Offline
Registered User
 
Join Date: Apr 2004
Location: h@M&
Posts: 212
Post

i believe so
snip:
"The ModJK2 tarball uses Ant to build both the Java connectors for Tomcat and the native modules for Apache2. "

try this site
HTML Code:
http://www.pixelfreak.net/howto/apache2_jk2_tomcat/socket.html
Reply With Quote
Reply

Tags
set, tomcat

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
tomcat weird tomcat automount error rotts Servers & Networking 7 18th June 2008 02:21 PM
tomcat, please help progek Servers & Networking 1 14th November 2006 09:00 AM
tomcat cuongvt Servers & Networking 4 27th August 2006 02:59 PM
Tomcat?? Ridgerunner Servers & Networking 0 22nd June 2005 05:08 AM
FC3 + Tomcat 5.5x monster Using Fedora 1 3rd February 2005 08:22 AM


Current GMT-time: 02:20 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat