Tomcat conf in the SDK

Hey guys,

I need some help locating tomcat configurations within Openmrs-SDK. Need this so I could be able to add a context section <Context path="/" docBase="${catalina.home}/webapps/openmrs"/> which will enable adding an automatic redirect from the root context to Openmrs i.e when calling http://localhost:port to redirect to http://localhost:port/openmrs

Any help with this? @dkayiwa @ibacher @ssmusoke

So the SDK doesn’t make use of a Tomcat configuration file. It’s all done in code. Also, I don’t think the snippet you shared redirects the request so much as it serves OpenMRS from the / context, which I’m not sure how it will work out.

1 Like

@ibacher Ok, so what do you recommend is a better approach with moving This forward