I have been trying hard to get the karak-rest-example code to deploy and am really close. The problem is I consistently get
Error executing command: Connection refused: connect
when I try to hit the endpoint with booking:list.
I have used the acdebugger to connect to my DDF instance and it shows no permission problems, the bundles deploy without error. I did have to make additions to the pom for the karaf-rest-example-provider module (attached) in order to get it to deploy. Finally, I added
grant codeBase "file:/karaf-rest-example-provider" {
permission java.io.FilePermission "<<ALL FILES>>", "read, write, execute";
permission java.lang.RuntimePermission "createClassLoader";
}
but it didn't help. Is there a similar grant for AccessControlException ?
Any tips/hints/thoughts are much appreciated.