Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Server Logs Tab error

    Hello there,

    I am running the sample application and when i open the admin console and click on the Server Log in there. i get the following error. can somebody please help me with this issue.

    === 2012-09-02 13:28:39,499 [l0-0] WARN RequestContext - rpcRequest.execute() failed:
    java.lang.Exception: Attempt to execute RPC DMI Builtin 'getAvailableScriptEngines' DENIED by server.properties configuration. To enable this method, add it to the list of methods under RPCManager.enabledBuiltinMethods in server.properties
    at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:180)
    at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:66)
    at com.isomorphic.rpc.RPCRequest.execute(RPCRequest.java:231)
    at com.isomorphic.servlet.IDACall.handleRPCRequest(IDACall.java:245)
    at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:152)
    at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
    at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
    at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:324)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

    #2
    Just add the method name to the list of method names against RPCManager.enabledBuiltInMethods at the bottom of your server.properties - or, if it's not a production environment, you can alter that line to just read:

    RPCManager.enabledBuiltInMethods: *

    Comment


      #3
      Originally posted by Isomorphic View Post
      Just add the method name to the list of method names against RPCManager.enabledBuiltInMethods at the bottom of your server.properties - or, if it's not a production environment, you can alter that line to just read:

      RPCManager.enabledBuiltInMethods: *
      thanks for your feedback. by the way what is this method used for.

      Comment


        #4
        Take a look at the Server Scripting group in the docs

        Comment


          #5
          Originally posted by Isomorphic View Post
          Just add the method name to the list of method names against RPCManager.enabledBuiltInMethods at the bottom of your server.properties - or, if it's not a production environment, you can alter that line to just read:

          RPCManager.enabledBuiltInMethods: *
          i added that line to my server.properties but still i get that exception.


          webRoot: __AUTODETECT__

          isomorphicPathRootRelative: mySGWT/sc

          sql.defaultDatabase: SQLServer


          sql.SQLServer.database.type: sqlserver
          sql.SQLServer.interface.type: driverManager
          sql.SQLServer.driver: net.sourceforge.jtds.jdbc.Driver
          sql.SQLServer.driver.url: jdbc:jtds:sqlserver://localhost:1433;DatabaseName=Ptest;User=test;Password=set

          project.datasources: $webRoot/ds
          project.ui: $webRoot/shared/ui
          project.apps: $webRoot/shared/app


          RPCManager.enabledBuiltInMethods: *

          Comment

          Working...
          X