Exporting CEP definition file from the authoring tool to an (external) repository

纵然是瞬间 提交于 2019-12-11 23:10:05

问题


We are having problems with the exporting of the CEP definition file from the authoring tool to an (external) repository.

In the response preview from the developer tools of the browser we get the following error message:

"HTTP Status 500 - A javax.ws.rs.ext.MessageBodyReader implementation was not found for class org.apache.wink.json4j.JSONArray type and text/html;charset=utf-8 media type. Verify that all entity providers are correctly registered. Add a custom javax.ws.rs.ext.MessageBodyReader provider to handle the type and media type if a JAX-RS entity provider does not currently exist."

How can we make sure we are able to export to an external repository?


回答1:


Your problem is that the external repository is not available. Since you didn't mention this, my guess is that you are using the default external repository which is http://localhost:8080/ProtonOnWebServerAdmin/resources/definitions but don't have a running instance of ProtonOnWebServerAdmin. You have got to have ProtonOnWebServerAdmin running on a Tomcat server on your local machine for it to actually process the request.

If you're using anything else - make sure that repository knows how to handle the request.



来源:https://stackoverflow.com/questions/32839582/exporting-cep-definition-file-from-the-authoring-tool-to-an-external-repositor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!