struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Alexander (KADA 11)" <>
Subject RE: Error installing struts app in WebLogic sp2
Date Wed, 07 Aug 2002 06:55:06 GMT

in the latest nightly builds, the Struts-jar-file has a manifest file 
containing a class-path-entry. Now the format used by the struts-jar
is not wls-compatible. Search the mailing list archive for the 
exception-type (StringIndexOutOfBoundsException)... to find more 
informations about the issue.


-----Original Message-----
From: []
Sent: Donnerstag, 1. August 2002 17:33
Subject: Error installing struts app in WebLogic sp2


I am able to successfully install and run my web application (mrwebapp.war)
that uses the 4-15-02 nightly build version of struts to WebLogic sp2.  I
built this .war file using JBuilder 6.  I recently noticed that there is a
bug in the OptionsCollectionTag that has been corrected, so I downloaded
the 7-17-02 version of struts and rebuilt my app.  I tested it using
JBuilder6 and the included Tomcat 4.0 webserver and it works fine.  I then
built my .war file and copied it to the WebLogic applications directory (D:
\bea\wlserver6.1\config\mydomain\applications) to try and test it under
WebLogic.  When WebLogic starts, it cannot load my web application.  Here
is a portion of the error that WebLogic displays (there is much more in the
stack trace):

<Aug 1, 2002 10:59:02 AM EDT> <Error> <J2EE> <Error deploying application
mrwebapp: Could not load mrwebapp>
<Aug 1, 2002 10:59:02 AM EDT> <Error> <Management> <ApplicationManager
starting Config caught throwable
java.lang.reflect.UndeclaredThrowableException: java.lang.StringIndexOutOfBoundsException:
String index out of range: -1
        at java.lang.String.substring(
        at weblogic.servlet.internal.WebAppHelper.resolveManifestName(
        at weblogic.servlet.internal.WebAppHelper.extractClassFiles(
        at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(
        at weblogic.servlet.internal.WebAppServletContext.setDocroot(
        at weblogic.servlet.internal.WebAppServletContext.init(
        at weblogic.servlet.internal.WebAppServletContext.<init>(
        at weblogic.servlet.internal.HttpServer.loadWebApp(
        at weblogic.j2ee.WebAppComponent.deploy(

Does anybody know what the problem could be?  I also tried it with the 7-31-02 nightly build
of struts and received the same results.

Thanks a lot, Jeff.

This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message