Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8477

IndexOutOfBounds exception when app dir name is shorter than 5 characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.0.0.M5
    • Fix Version/s: 6.1.0
    • Component/s: None
    • Labels:
      None

      Description

      When it's exactly 4 characters long, btw, I get "InvalidNameException: Cannot pass an empty name to createSubcontext"

      This occurs for our TorqueBox rails deployments where their "exploded" path name won't include any of the typical JEE extensions. Realizing this is not exactly spec compliant, it would be nice if there was some way we could provide the app name as metadata, or maybe just derive the app name from the basename without assuming the extension is there?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jcrossley Jim Crossley (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: