Project
IntelliJ IDEA
Priority
Normal
Type
Feature
Fix versions
10.0 (99.18)
State
Fixed
Assignee
Nikolay Chashnikov
Subsystem
J2EE.Tomcat
Affected versions
No Affected versions
Fixed in build
96.1068  
  • Created by   Alex Roytman
    2 years ago (21 Feb 2009 06:33)
  • Updated by   Nikolay Chashnikov
    17 months ago (30 Aug 2010 18:48)
  • Jira: IDEADEV-35668
    (history, comments)
 
IDEA-47963 Allow running additional web application with local tomcat integration
11
Issue is visible to: All Users
  The issue is visible to the selected user group only
Specify one or more web contexts files to run under local tomcat integration in addition to defined web facet(s)
Reason: web application often dependent on web services or some other web app running and
currently there is no way to start it under tomcat local integration together with project web facet(s)

---
I wonder if it is possible to run one or more additional web applications
when using local tomcat integration. Currently the only option is to run
tomcat manager in addition to application defined by web facet. It would be
very helpful to allow list of additional contexts to be copied (and
therefore executed) to tomcat working directory from specified
catalina.home. They need to be copied as is with no change of docBase or any
other settings.

For us it is a deal breaker for using tomcat integration because we have
several application sharing some services on the same tomcat instance and
we've got to start these services when working with our web facet
Comments (4)
 
History
 
Linked Issues (?)
 
Yegor Yarko
  Yegor Yarko
17 Sep 2009 19:42
2 years ago
Somewhat alike use case with TeamCity plugins development:
A plugin can have no web facets, it needs to be packaged appropriately and then already deployed application (TeamCity server) will use it.
It would be convenient to have a build configuration to perform packaging stage (can be done in Ant) and run Tomcat with the application already deployed into it (default webapps).
So in this case, no webapp deployment/undeployment is necessary, only starting/stopping/restarting external web server.
Nikolay Chashnikov
  Nikolay Chashnikov
30 Aug 2010 14:23
17 months ago
In IDEA 10 'Deploy Tomcat Manager' option is changed to 'Deploy applications configured in Tomcat instance' so you can keep your apps from webapps directory when Tomcat is started from IDEA. Also starting from the next EAP build you can deploy any war-file/directory from the disk to Tomcat (see IDEA-23875).
Related Changes
Resolved Date
17 months ago (30 Aug 2010 14:23)
Type
ExceptionFeature
Fixed In version
<lost change>10.0 (99.18)
State
OpenFixed
Assignee
Nikolay Chashnikov (nik)Nikolay Chashnikov
Subsystem
<lost change>J2EE.Tomcat
Fixed in build
No Fixed in build96.1068
Taras Tielkes
  Taras Tielkes
30 Aug 2010 16:44
17 months ago
Will this option be provided for the "tc Server Support" plugin as well?
Nikolay Chashnikov
  Nikolay Chashnikov
30 Aug 2010 18:48
17 months ago
Taras, which option do you mean? An option to deploy an arbitrary file/directory from the disk will work for all application servers.