Reg. the issue "java.lang.StringIndexOutOfBoundsException: String index out of range: -1".
You may be seeing the exception because of presence of file(s) or directory(s) under <app-server-install-location>/addons which start with DOT, for example ".ext". Please back them up to a different location say /tmp/.ext and see if the reported exception occurs.
B.T.W could you pl. let us know the list of all files/directories (before backing up) you see under <app-server-install-location>/addons which would help in isolating the issue. You can get the listing of all including dot files by doing 'ls -al'.
[Message sent by forum member 'msreddy' (msreddy)]
http://forums.java.net/jive/thread.jspa?messageID=270452