Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Easily Deploy to Tomcat Webapps Folder?

$
0
0

I like the way you can just run an IDEA web project using the ">" button. Nice. Everything works great ... as long as IDEA is loaded.

 

However, I'd also like to be able to easily deploy the application to tomcat webapps folder so it will run there without having IDEA loaded. I don't want to have to write an Ant script (yuck) to deploy to the local app server either.

 

Attempt 1:

 

So far, I don't see a quick and easy way to do just .... deploy to Tomcat's webapps folder.

 

I tried to add an "External" path to the Run settings (so it was there in addition to the war-exploded default), but that didn't seem to do anything. The application was not found under webapps.

 

------


Attempt 2:


Trying deploy to Tomcat's webapps folder another way....

 

When I copy the seemingly complete web app from the artifacts folder IDEA creates in the Artifacts directory and put it directly into Tomcat's Webapps, I get  the following errorwhen tryng to run the application:

 

type Status report

 

messageThis application is not currently available

 

descriptionThe requested service (This application is not currently available) is not currently available.

 

The application also does not show up in the Tomcat Manager application as a loaded application. It has a web.xml, an index.jsp, and, well everything I would expect, but no dice. Doesn't work.

 

-----------------

 

Any ideas what is going on?

 

I'd like to be able to deploy the exploded archive directly to Tomcat  instead of (or in addition to) the application folder so it's easily  runnable when IDEA isn't loaded.

 

I've been needing to know how to do this for a while so I'd really like to know what the magic is. It's not obvious (to me, that is) how to do this.

 

If this easy deploy capability isn't currently in IDEA, which I doubt is the case, please let me know and I'll add an "urgent" request to have it added.

 

If the easy deploy capability is available, what are the set of steps required to set it up?

 

Thanks,

 

- m


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>