Deploy MVC Spittr war from Spring in Action 4th edition in external Tomcat Server on Linux Mint using IntelliJ IDEA 14

Install Tomcat 7

sudo apt-get install tomcat7

Disable Tomcat running on start-up

sudo update-rc.d tomcat7 disable

Shutdown Tomcat

sudo /etc/init.d/tomcat7 stop

Import the chapter05 Spittr project in the same way as I explained here

Add the local Tomcat Server in the run configuration

Use the new Server
Add the Spittr war (exploded) as an artifact
Start Tomcat in the Application Server Tool Window

Go to http://localhost:8080

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s