Deployment of web module to tomcat/jboss/etc.

For some strange reason the modules available for deployment to any application server tomcat/jboss/etc. does not contain the web modules within my project. It intemittently appears and disappears from the list if I play around the with .iml and .ipr files.

Is this a known problem or am I doing something incorrectly?

4 comments

Hello Ahmed,

If a web module is included in an JavaEE Application module it won't be available
for deployment. You should either mark for deployment the containing JavaEE
App module or exclude the web module from the JavaEE App module (Settings
| ]]> | "Java EE Application Module Settings" tab).

For some strange reason the modules available for deployment to any
application server tomcat/jboss/etc. does not contain the web modules
within my project. It intemittently appears and disappears from the
list if I play around the with .iml and .ipr files.

Is this a known problem or am I doing something incorrectly?



0

This is a really bad feature. For debugging a web application I run a local Tomcat instance while my Integration environment is a remote Oracle OC4J container which is configured to only take EAR files (corporate standard). The result is that every time I need to debug the application I have to remove the web module from the EAR and every time I deploy into Integration I need to re-add the module (2-3 times an hour). Any chance of getting a change request to have this removed from newer versions? Is there a hidden option to turn this off? The software didn't use to do this.

0

Hello Corey,

Please create a feature request at http://www.jetbrains.net/jira/browse/idea.

This is a really bad feature. For debugging a web application I run a
local Tomcat instance while my Integration environment is a remote
Oracle OC4J container which is configured to only take EAR files
(corporate standard). The result is that every time I need to debug
the application I have to remove the web module from the EAR and every
time I deploy into Integration I need to re-add the module (2-3 times
an hour). Any chance of getting a change request to have this removed
from newer versions? Is there a hidden option to turn this off? The
software didn't use to do this.



0

Okay, thanks, I have opened a JIRA ticket for this.

0

Please sign in to leave a comment.