[jboss-jira] [JBoss JIRA] Created: (JBAS-8477) IndexOutOfBounds exception when app dir name is shorter than 5 characters

Jim Crossley (JIRA) jira-events at lists.jboss.org
Tue Sep 28 10:51:31 EDT 2010


IndexOutOfBounds exception when app dir name is shorter than 5 characters
-------------------------------------------------------------------------

                 Key: JBAS-8477
                 URL: https://jira.jboss.org/browse/JBAS-8477
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions:  6.0.0.M5
            Reporter: Jim Crossley


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?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list