-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rest server skeleton overlay app is getting all 404 from the FHIR server #50
Comments
Full exception
|
I did another try and the initialize() method is being called (added a print) Then I tried to deploy the restful-server-example.war as the ROOT.war and it worked. It seems the overlay app (https://github.com/hapifhir/hapi-fhir/tree/master/hapi-fhir-testpage-overlay) might have some configuration that doesn't allow to deploy it in a different context than root. Does anybody knows where can I change that so it allows to reploy on any context/path? |
Aha! It seems the hepi-fhir-testpage-overlay has a hardcoded servlet mapping to the root in the web.xml:
|
I have built hapi-fhirstarters-rest-server-skeleton and deployed the war on Tomcat 11.
The overlay app is working on http://localhost:8080/fhir/
First I see there are no resources on the menu, while in the ExampleRestfulServet class there are two resource providers configured on the server.
Then if I go to Server Home Actions and click on Conformance, in the Tomcat logs I see:
On the web I see the 404 alert.
It seems the server is not being initialized correctly (ExampleRestulfServlet.initialize() not being invoked?)
I'm blocked here, not sure what to do.
The text was updated successfully, but these errors were encountered: