Questions tagged [webapp-runner]

Webapp runner is designed to allow you to launch an exploded or compressed war that is on your filesystem into a tomcat container with a simple java -jar command.

Webapp runner is designed to allow you to launch an exploded or compressed war that is on your filesystem into a tomcat container with a simple java -jar command.

See https://github.com/jsimone/webapp-runner for details and jars.

12 questions
3
votes
3 answers

Java Spring MVC on Heroku Error: Unable to access jarfile target/dependency/webapp-runner.jar

I use Heroku to deploy my Spring MVC java application with PostgreSQL database. Link to database works good, and PostgreSQL was successfuly initialize. The deployment succeeded with no errors or strange looking warning messages, but now the…
Slavisa Misic
  • 31
  • 1
  • 5
3
votes
1 answer

Is there any possibility to see logs of *.war file execution?

I started my web application using java $JAVA_OPTS -jar target/dependency/webapp-runner.jar --port 9000 *.war Is there any way to see logs now? My console output: sergei_rudenkov@EPAm18851:~/IdeaProjects/fsdf$ java $JAVA_OPTS -jar…
Rudziankoŭ
  • 10,681
  • 20
  • 92
  • 192
2
votes
2 answers

Heroku webapp-runner JNDI naming, resource not available

I have this resource declared in my src/main/webapp/META-INF/context.xml When I…
1
vote
0 answers

Camunda Rest API Basic Authenication on Heroku Deployment - Tomcat Webapp

I'm using the below Github repo to deploy Camunda to Heroku but it does not enable the Rest API. https://github.com/plexiti/camunda-webapp-tomcat-standalone-heroku From my research, I think this will be done by editing the pom.xml file which is…
GChester
  • 11
  • 1
1
vote
1 answer

How to use the heroku environment variable in a maven application to bind http server

do you know where do I need to put the heroku http port in my web app? The only documentation I can find is: https://devcenter.heroku.com/articles/setting-the-http-port-for-java-applications but I do not use eighter of those options which are in…
1
vote
1 answer

Need to provide addtional jars to for xsbt-web-plugin container

I am trying to run my war file using xsbt-web-plugin. My war itself does not contain tomcat-jdbc-pool jar and javax-servlet-api. I tried using container configuration. But sbt complains configuration does not exist. If I use provided configuration,…
Rashid Shaikh
  • 395
  • 4
  • 12
1
vote
1 answer

Modifying Tomcat Connector settings on Heroku

The Heroku's webapp-runner.jar runs on Tomcat and the default Tomcat maxPostSize is 2MB. I need to increase this value but have no idea how can I do that. I see no parameter for this setting in https://github.com/jsimone/webapp-runner#options (this…
omnomnom
  • 8,911
  • 4
  • 41
  • 50
1
vote
0 answers

When I run the .war file using tomcat 8.5.15 it got stuck

I tried to run .war file using command java -jar target/dependency/webapp-runner.jar target/*.war and I am using maven, webapp-runner , tomcat 8.5.15, oracle java 8 on ubuntu 14.04 , When it says Starting ProtocolHandler ["http-nio-8080"] it stuck…
1
vote
2 answers

Heroku webapp-runner --enable-naming

I've been facing with a combersome task: deploying a spring project ( using JNDI ). Right now the problem is related to the webapp-runner option "enable-naming". My datasources are declared by jndi - using tomcar context.xml. When i feed…
Gonçalo
  • 561
  • 5
  • 14
0
votes
1 answer

Spring Boot + Angular app deployed to Heroku as a WAR, throws 404 unless I include "index.html" in the URL

I'm trying to create a very basic Spring Boot + Angular application, which I would then be able to develop and have automatically deployed as a single application. To build the application, I configured Maven to compile the Angular project and add…
Alan
  • 1
  • 2
0
votes
2 answers

API calls to Heroku web-app running in webapp-runner eventually fail with NoSuchMethodError then NoClassDefFoundError in google.common

I am running a war on Heroku using webapp-runner. I deploy the application using the heroku-maven-plugin version 1.2 via the following command: mvn heroku:deploy-war. Initially, the app works and all endpoints return valid responses. However, if I…
pants
  • 192
  • 13
0
votes
1 answer

deploy tomcat servlet project on heroku

I have developed a tomcat-servlet based web application which I can run on my local machine nicely. I send it requests by posting a json to it: "curl ontent-type: application/json" --request POST --data '{"username":"Piran", "password":"123",…
HsnVahedi
  • 1,271
  • 3
  • 13
  • 34