glassfish
  1. glassfish
  2. GLASSFISH-20623

Error creationg "granted.policy" file on Windows with property "version-identifier" on "glassfish-application.xml" file

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 3.1.2.2
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None
    • Environment:

      GlassFish Server Open Source Edition 3.1.2.2
      Windows XP SP3

      Description

      In application with EJBs on web module, I've the property version-identifier with value 0.0.1 on glassfish-application.xml file. When I try to deploy to server I get the next error:


      {{Deployment Error for module: fundeweb2-ear: Error durante el despliegue:

      Exception while loading the app : Error in committing security policy for ejbs of fundeweb2-ear:0.0.1 –

      javax.security.jacc.PolicyContextException: java.io.FileNotFoundException:

      C:\FundeWeb\2.0\servidores\glassfish3\glassfish\domains\fundeweb\generated\policy*fundeweb2-ear:0.0.1*\web_fundeweb2_internal\granted.policy

      (El nombre de archivo, directorio o etiqueta del volumen no es válido). Consulte server.log para obtener más información.}}


      The problem is in the path of the file: fundeweb2-ear:0.0.1 isn't a valid path in windows. In Windows, you can't use : in paths.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Hong Zhang
              Reporter:
              juanmiguelbg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: