top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How to deploy war file in tomcat?

0 votes
49 views
How to deploy war file in tomcat?
posted Jan 25, 2018 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I have one .WAR to routinely deploy across various Tomcat Instances on different servers.

I believe FarmWarDeployer can only be used within a cluster. From what I understand, a cluster will require a HTTPD server with a mod_jk configured. Would anyone know of a way to achieve this without the need to configure a cluster? We have no desire to change traffic routing to go through an HTTPD as our load balancer handles traffic fine as it is. Ideally, i'd also like the context.xml to be distributable, so changing on one instance will update on all others...but I suspect this will require a cluster configured.

0 votes

I have built a rails application with jruby. Since I have no experience with deploying a rails application in a production environment, I have spent some time doing a manual deployment on a linux server with tomcat6 as application server.

In essence, I have made a war file of the rails application with help of the warbler gem and deployed that on the linux server. I managed to get it up and running, but not yet exactly as I need it to be.

I have still some configuration issues. I hope you can help me or point me to the right place, since it may be a tomcat question. But I assume there must be some rails/tomcat expertise among the members of this group...

The point is, the URL in the development server is localhost:3000/invoices (using rails server)
The URL in the tomcat production environment is localhost:8080/rails/invoices

I can't seem to figure out how I can change the port and the document root (/invoices instead of /rails/invoices) in tomcat.

Any suggestions?

0 votes

I'm trying to set up an existing Spring webapp that ran on a different container before (weblogic), to run on Tomcat. Working on it in Eclipse, I've gotten all of the compile errors out, and I was able to add the webapp to my Tomcat server instance in the "Servers" view. I started the server instance, and I didn't see any errors in the console log, but I also didn't see lines that looked like it was deploying my web module.

As expected, trying to access (and also trying various "index.html" variations) just gets a 404. It just seems like Tomcat is silently ignoring my webapp.

What information can I get to determine why this might be happening?

+2 votes

I downloaded a website say "test.org" using wget utility. Now I want to deploy in Apache Tomcat 8.0 RC. That I have done it.

But I want to do in this manner that I want to access "test.org" locally from my browser as if I am browsing on the internet because links in the test.org refers to itself. Because when I click any link it goes to
Internet and not to my locally saved website.

Please help

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...