Start Tomcat from within IntelliJ
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I have configured a Tomcat configuration for my project under the Run menu of the IntelliJ IDE. But I would like to know how to get that Tomcat instance up and running?
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
You create a Server Run configuration. You set your project to have the Web Facet, and have it use that run configuration.
In the documentation, go to the Help/Help Topics menu
The documentation will popup and go to section Procedures/Developing Java EE and Web Applications/Deploying and Running
It describes it in more detail.
Mark
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Jothi Shankar Kumar wrote:I already gave that a try, but was not satisfactory. Maybe I would try to ask this in the IntelliJ forums.
You must have given some name for your tomcat server in the run->Edit Configurations, I have given tomcat6.
In the toolbar you will see a green arrow button, just before that you have to select your tomcat server name from the drop down combo box just before that green button, then you can click on the run button, your tomcat will start and deploy the project.
SCJP 6
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Punit Singh wrote:
Jothi Shankar Kumar wrote:I already gave that a try, but was not satisfactory. Maybe I would try to ask this in the IntelliJ forums.
You must have given some name for your tomcat server in the run->Edit Configurations, I have given tomcat6.
In the toolbar you will see a green arrow button, just before that you have to select your tomcat server name from the drop down combo box just before that green button, then you can click on the run button, your tomcat will start and deploy the project.
Yes, I did all that. Did you see some console message in the Run dialogue of your IntelliJ once you clicked on the green button? I do not see anything to happen there. Can you let me know what did you set for your Tomcat home?? Do we have to specify the bin folder of our Tomcat installation?
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
1. Run -> Edit Configuration and got the Run/Debug configuration window
clicked on the + icon -> Add New Configuration window --> Tomcat Server -> selected local option
2. on Run/Debug configurations window
2.1 in server tab :
filled that name : tomcat 6
-Clicked on the configure button and got the application servers window
- on application servers window-> clicked the +icon -> selected tomcat root folder not bin -> apply ok
2.2 in deployment tab
- fill the ApplicationContext name : this is your project name, mine is SampleWebApp
- click on the configure option
- select the "Create web facet exploded directory" checkbox
- select the location for that or leave whatever default location
- click on ok
Now run the project
SCJP 6
| The fastest and most reliable components of any system are those that are not there. Tiny ad: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |








