glassfish
  1. glassfish
  2. GLASSFISH-18789

Cannot enable versioned application on Windows

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 4.1
    • Component/s: security
    • Labels:
      None
    • Environment:

      Windows XP, Windows 7, Windows 2008 R2

      Description

      Attempt to enable versioned application containing EJBs on windows platform fails with following exception:

      asadmin enable --target inst1 test:v1
      remote failure: An error occurred during replication
      Failure: Command enable failed on server instance inst1:
        remote failure: Exception while loading the app
      Error in committing security policy for ejbs of test:v1 
      -- javax.security.jacc.PolicyContextException: java.io.FileNotFoundException:
      ...\glassfish3\glassfish\nodes\localhost-domain1\inst1\generated\policy\test:v1\test_v1_internal\granted.policy 
      (The filename, directory name, or volume label syntax is incorrect)
      Command enable failed.
      

      Steps to reproduce:

      1. start domain1
      2. set PATH=<path to asadmin>;%PATH%
      3. run attached test.cmd. It will
        • create new instance
        • deploy the war file as test:v1
        • execute asadmin enable --target inst1 test:v1

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              JeffTancill
              Reporter:
              pdudits
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: