Magnolia not starting with maven built warfile

26 views
Skip to first unread message

Jonathan Mitchell

unread,
Jan 17, 2023, 2:20:32 PM1/17/23
to Magnolia User Mailing List
Hello fellow Magnolia devs,

Looking for a bit of help or insight as I try to get this application spun up.

I have 1 maven package that outputs a war file containing 3 separate application configurations. The war file is run on a Tomcat instance in a Docker image.

Now I can see that Tomcat starts and There's no error logs, and the war file is in fact expanded inside the Tomcat webapps/ folder, but when I visit any of my localhost url's Tomcat can't any of my application paths.

So depending on the war file name I should be able to visit 3 urls to see that my 3 applications do in fact start.

http://localhost:8080/devAuthor/.rest/status
http://localhost:8080/devPublic/.rest/status
http://localhost:8080/devContentSync/.rest/status

Except that it can never locate the application path.
I followed this tutorial from the docs site:
https://docs.magnolia-cms.com/product-docs/6.2/Developing/Bundles-and-webapps/Creating-a-custom-webapp-with-Maven/Creating-a-DX-Core-webapp-with-Maven.html

And was successful in getting a webapp built and published to my package system, but I am not sure whether or not I am missing something.
Reply all
Reply to author
Forward
0 new messages