Java Security Error

0
Hi,   I'm receiving this error in the console on the Mendix Modeller when clicking on the URL I generate from the forgot password email. Can anyone advise what may be the cause of it? The anonymous user role has full access to all forgot password functionaility. java.security.AccessControlException: access denied ("java.util.PropertyPermission" "org.eclipse.jetty.util.UrlEncoding.charset" "read")     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)     at java.security.AccessController.checkPermission(AccessController.java:884)     at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)     at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1294)     at java.lang.System.getProperty(System.java:717)     at org.eclipse.jetty.util.UrlEncoded.<clinit>(UrlEncoded.java:69)     at org.eclipse.jetty.http.HttpURI.decodeQueryTo(HttpURI.java:615)     at org.eclipse.jetty.server.Request.extractQueryParameters(Request.java:423)     at org.eclipse.jetty.server.Request.getParameters(Request.java:387)     at org.eclipse.jetty.server.Request.getParameter(Request.java:1019)     at com.mendix.m2ee.appcontainer.server.request.HttpMxRuntimeRequest.getParameter(HttpMxRuntimeRequest.java:62)     at deeplink.actions.StartDeeplinkJava$DeepLinkHandler.processRequest(StartDeeplinkJava.java:136)     at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:72)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:75)     at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:862)     at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)     at org.eclipse.jetty.server.Server.handle(Server.java:561)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104)     at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)     at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)     at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)     at java.lang.Thread.run(Thread.java:745)
asked
1 answers
1

Hello Christina,

I believe that's a Java access restriction from the Mendix cloud settings - If I remember this right, you need to raise it with Mendix if you need that to run on the cloud, as far as running locally you can either disable Cloud security emulation or add the permission in the relevant config. 

I'll have a look for the config file - could you let me know if it works for you with cloud security emulation disabled? 

(To disable it you need to open the project setting, open your active setting, and under the "Server" tab click "No" on "Emulate cloud security") 

I'll add a comment below if I can find the file with the permission.

answered