You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Erica Leung <el...@puremarkets.com> on 2003/03/27 00:00:00 UTC

Exception when deploying Struts--rc1 to WebLogic 6.1

I got the following exception when deploying a web app using Struts--rc1.

weblogic.management.UndeploymentException
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1520)
        at
weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelp
er.java:469)

I hacked into the struts jars and found it was caused by the
commons-logging.jar, which is missing the LICENSE file in its META-INF
directory. After re-jar it with the file, WebLogic works fine.
I think it is only a WebLogic problem, since no other web servers complain
about it. I brought this up because it is something can be easily fixed in
the distribution process without frustrating the user for hours or days.

Regards,
- Erica


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org