You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a novice, hoping to get answers from the big guys. I installed and started the webconsole bundle, how do I make the http service bundle publish a servlet to use the webconsole interface normally and use the http interface to implement http services?
The text was updated successfully, but these errors were encountered:
disclaimer: The webconsole and httpservice sub-projects are experimental and not production ready so your mileage will vary.
It would be helpful if you can provide reproduction steps to help us help you debug the issue.
The string; "missing the context root property" comes from ServletContainer.cpp:
std::shared_ptr<ServletHandler>
ServletContainerPrivate::AddingService(ServiceReference<HttpServlet> const& reference)
{
Any contextRoot = reference.GetProperty(HttpServlet::PROP_CONTEXT_ROOT);
if (contextRoot.Empty())
{
std::cout << "HttpServlet from " << reference.GetBundle().GetSymbolicName()
<< " is missing the context root property." << std::endl;
return nullptr;
}
...
It seems like a HttpServlet service wasn't registered with an appropriate service property called org.cppmicroservices.HttpServlet.contextRoot. I suggest debugging the process and checking the registration of HttpServlet services.
I am a novice, hoping to get answers from the big guys. I installed and started the webconsole bundle, how do I make the http service bundle publish a servlet to use the webconsole interface normally and use the http interface to implement http services?
The text was updated successfully, but these errors were encountered: