This Question is Answered

2 "helpful" answers available (2 pts)
4 Replies Last post: Jan 24, 2012 1:16 PM by Ben Zaidi  
Ben Zaidi Newbie 5 posts since
Jan 23, 2012
Currently Being Moderated

Jan 23, 2012 9:27 AM

Tomcat Configuration With Intellij 11

Dear All,

 

I am a lisenced user of Intellij. Currently our company has switched from MyEclipse to Intellij. I recently configured tomcat 7

with intellij 11. When i have run the application and try to find the deployment inside my local tomcat installation. I am unable

to find it. After googling, i found out may be, intellij is using its on CATALINA_BASE. I tried putting an environment variable CATALINA_BASE

and pointed it towards my own local tomcat directory but still no use. My deployed application remains un-disconverable. Please help and

suggest the work-around.

 

BR,

Ben

Guest
Currently Being Moderated
Jan 23, 2012 11:05 AM in response to: Ben Zaidi
Re: Tomcat Configuration With Intellij 11

IDEA changes CATALINA_BASE environment variable to deploy artifacts to Tomcat without copying to /webapps folder. If your artifact is specified on

'Deployment' tab of the Tomcat run configuration it should be deployed when the run configuration is started.

 

--

Nikolay Chashnikov

Software Developer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

 

Guest
Currently Being Moderated
Jan 24, 2012 11:20 AM in response to: Ben Zaidi
Re: Tomcat Configuration With Intellij 11

You can change 'Output directory' path in the artifact editor in 'Project Structure' dialog to point to webapps folder. But why do you need this? It

is recommended to use the default settings when you start Tomcat from IDEA, in that case /webapps directory won't be polluted and Tomcat will start

faster because it will deploy only your application. In order to start your application on Tomcat without IDEA you can create a separate war artifact,

change its output directory to webapps folder and build that artifact (using Build | 'Build Artifacts' action) only when necessary.

 

--

Nikolay Chashnikov

Software Developer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

 

More Like This

  • Retrieving data ...