We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

JSP on linux (terminal)

i don't know what setting have to make on linux to run jsp programm using tomcat, please tell me what setting and how to do.

3
Contributors
4
Replies
3 Weeks
Discussion Span
1 Year Ago
Last Updated
5
Views
rushikesh jadha
Junior Poster in Training
89 posts since Dec 2011
Reputation Points: 4
Solved Threads: 11
Skill Endorsements: 0

Top of JSP forum Java Web Development - Starting [tutorials / resources / faq] explains how to setup Java, Tomcat on other tools under number of operating systems

peter_budo
Code tags enforcer
Moderator
15,791 posts since Dec 2004
Reputation Points: 2,867
Solved Threads: 944
Skill Endorsements: 50

Install tomcat.
Configure tomcat_users.xml (in /etc or /lib something, depends on distro) to have a manager user (see comments)
Start tomcat
Go to http://hostname:8080 (i think thats the port)
login as that user
deploy your compiled .war using the web interface.

jbennet
Moderator
Team Colleague
18,528 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 609
Skill Endorsements: 29

Install tomcat.
Configure tomcat_users.xml (in /etc or /lib something, depends on distro) to have a manager user (see comments)
Start tomcat
Go to http://hostname:8080 (i think thats the port)
login as that user
deploy your compiled .war using the web interface.

Small correction, users configuration is not necessary for running tomcat in bare minimum. Not really need it for one user with local deployment. You would used user configuration when you are trying to administer restriction with larger user team or having it in production.

PS: tomcat_users.xml would be also located in TOMCAT_DIRECTORY/conf if you went for zip/tar package instead of apt-get (debian), yum (fedora)

peter_budo
Code tags enforcer
Moderator
15,791 posts since Dec 2004
Reputation Points: 2,867
Solved Threads: 944
Skill Endorsements: 50

If you are on ubuntu, this guide is good:
https://help.ubuntu.com/11.10/serverguide/C/tomcat.html

jbennet
Moderator
Team Colleague
18,528 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 609
Skill Endorsements: 29

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0689 seconds using 2.69MB