Struggling installation

Hello everyone,

I am newbie in war deployment so i am struggling with the installation on a ubuntu 16.04.4. I followed the tutorial : - Download the war file - mkdir mamute - Unzip it in ~/mamute directory - ./run.sh

It doesn't work and I am not even sur about the URL : http://paperask.fr:8080/mamute ? http://paperask.fr/mamute ? http://paperask.fr/ ? http://paperask.fr:8080/ ?

I thought I needed tomcat to make it works but apparently no so I stop the service. I also thought I needed apache2 but apparently no so I stop the service too (otherwise http://paperask.fr/ sends me on the apache page).

I also changed the port following this answer (in ~/mamute/WEB-INF/classes/mamute.properties ) :

host=http://localhost:80

I also install mysql, create a user mamute and changed the parameters in

~/mamute/WEB-INF/classes/production/hibernate.cfg.xml.example

Finally, when I run the ./run.sh it finished :

14:28:43  INFO [AbstractPoolBackedDataSource] Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@eb7571d3 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@84f65b03 [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName ->[...]

Thank you !

  1. You will see these arrows in every question page. They allow you to upvote/downvote according to the relevancy of the question/answer.
  2. Edit your question/answer if you wish to change it or update it.
  3. If you dont understand something about the question, leave a comment asking. The answer field should be only used for answers.
  4. If the author of a question mark an answer as solution, this mark will be visible.
  5. Click here to see more details about the operation of the system!

0 answer

It is not the answer you were looking for? Search other questions with the tags installation ubuntu war or make your own question.