Menu

'access denied' when launching a flow

Help
Cinderella
2007-09-05
2013-04-25
  • Cinderella

    Cinderella - 2007-09-05

    I'm new to OpenWFE.

    I created a new workflow called 'docflow'. When I'm trying to launch this workflow, there are something wrong with it. The error message is:

    Error : openwfe.org.worklist.WorkListException: failure 1 in openwfe.org.wlactions.LaunchAction
    java.security.AccessControlException: access denied [LaunchPermission name="mainEngine::http://localhost:7079/docflow__1.0.xml" /]

    Could you tell me how to solve the problem?

    -Cinderella

     
    • John Mettraux

      John Mettraux - 2007-09-05

      Hi,

      did you grant the right to launch that new flow to your user ?

      Best regards,

      John

       
    • Cinderella

      Cinderella - 2007-09-06

      I have put the following codes into "C:\openwfe\etc\worklist\passwd.xml"

          <principal
          name="admin"
          class="openwfe.org.auth.BasicPrincipal"
          password="+92+87-105-89+53-11-63+51-30-103-101+110+51+55+119+114"
          >
          <grant name="store.userA"/>
          <grant name="store.userB"/>
          <grant name="store.userC"/>
          <grant name="launch.docflow"/>
          </principal>

          </grant>
          <grant name="launch.docflow"
          codebase="file:./jars/restricted/*"
          >
          <permission
              name="mainEngine::http://localhost:7079/docflow__1.0.xml"
              class="openwfe.org.worklist.auth.LaunchPermission"
          />
          </grant>

      What else should I do?

      Thanks

       
    • John Mettraux

      John Mettraux - 2007-09-06

      Hi Cinderella,

      did you restart the system after the adding the grant ?

      Are you trying to launch with the user 'admin' or another user ?

      By the way, the development effort of OpenWFE has switched from Java to Ruby.

      http://openwferu.rubyforge.org
      http://difference.openwfe.org:3000/

      It's way better than OpenWFE java.

      Best regards,

      John

       
    • chrisco

      chrisco - 2007-09-17

      Why the change to Ruby? I was loving OpenWFE till I found out it had decided to focus on a Ruby version.

       
      • John Mettraux

        John Mettraux - 2007-09-17

        Because I'm alone, I can't ride two horses.
        The Ruby horse is way easier to manage and I am more productive in Ruby than in Java.
        OpenWFEru runs quite decently now on the latest (trunk) versions of JRuby.

        Best regards,

        John

         

Log in to post a comment.