java.io.FileNotFoundException: repositories\kie (Access is denied) java.io.RandomAccessFile.open0(Native Method) java.io.RandomAccessFile.open(Unknown Source) java.io.RandomAccessFile.<init>(Unknown Source) org.guvnor.m2repo.backend.server.helpers.HttpGetHelper.handle(HttpGetHelper.java:157) org.guvnor.m2repo.backend.server.M2Servlet.doGet(M2Servlet.java:48) javax.servlet.http.HttpServlet.service(HttpServlet.java:622) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:53) org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:45)
I have seen this error on the web as well, and the suggestion was to remove security from /maven2/* which I did in the web.xml. Restart the service for good measure. No dice. Added permissions to the repositories\kie folder, repeat, no dice.
Has anyone had any luck with this? And how have you resolved it?The Workbench doesn't support directory browsing of its internal Maven Repository. Removal of the security merely removes the need for requests for specific artifacts to be authenticated.
You could modify the HttpGetHelper class to return HTML when folders' paths are accessed (such HTML being the folder listing). Submit your changes as a Pull Request for everyone else to enjoy your efforts :-)
--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/f217d943-4f66-4ca2-bc15-7037b71a5ef0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.