Ofbiz newbie here.
What is the best way to deploy an existing spring-mvc based web application (runs under tomcat) under Ofbiz?
What I have tried so far (without luck) -
Create hotdeploy/myapp/ofbiz-component.xml
Expand the .war file into hotdeploy/myapp/webapp/myapp (such that web-inf is under hotdeploy/myapp/webapp/myapp)
ofbiz-component.xml contents -
<ofbiz-component name="cms"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
<resource-loader name="main" type="component" />
<webapp name="myapp"
title="myapp"
server="default-server"
location="webapp/myapp"
mount-point="/myapp"/>
</ofbiz-component>
I also tried create-component route as described here (based on some other SO answer) but that introduced Ofbiz controllers, etc (that i don't yet understand) and prevents the spring-mvc dispatcher servlet from working as expected.