1,105,556 Community Members

JSP on linux (terminal)

Member Avatar
rushikesh jadha
Junior Poster in Training
89 posts since Dec 2011
Reputation Points: -6 [?]
Q&As Helped to Solve: 11 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Member Avatar
peter_budo
Code tags enforcer
7,935 posts since Dec 2004
Reputation Points: 2,502 [?]
Q&As Helped to Solve: 1,028 [?]
Skill Endorsements: 66 [?]
Moderator
Featured
 
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

Member Avatar
jbennet
Moderator
17,127 posts since Apr 2005
Reputation Points: 1,618 [?]
Q&As Helped to Solve: 736 [?]
Skill Endorsements: 38 [?]
Team Colleague
Featured
 
0
 

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.

Member Avatar
peter_budo
Code tags enforcer
7,935 posts since Dec 2004
Reputation Points: 2,502 [?]
Q&As Helped to Solve: 1,028 [?]
Skill Endorsements: 66 [?]
Moderator
Featured
 
0
 

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)

Member Avatar
jbennet
Moderator
17,127 posts since Apr 2005
Reputation Points: 1,618 [?]
Q&As Helped to Solve: 736 [?]
Skill Endorsements: 38 [?]
Team Colleague
Featured
 
0
 

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

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article