Hi Joseph,
 
I had the same problem and called BEA support and here is what happens. In SP2 the introduced validation for manifest files (I cannot think why). This breaks some third party jars. In my case the problem seemed to go away once I split the jars cleanly between the main classpath that I use to start weblogic and the axis\WEB-INF\lib directory. The classes in my axis\WEB-INF\lib are axis.jar, jaxrpc.jar, clutil.jar, saaj.jar, tt-bytecode.jar, wsdl4j.jar, and my own service classes in their jarfile. Everything else, commons-logging.jar, log4j.jar, etc... is now in the weblogic startup CLASSPATH. This seems to have magically fixed the manifest issue. The explanation is not very good IMHO but it works for now.
 
I hope this helps you.
 
-Alex
-----Original Message-----
From: Joseph Carew [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 4:54 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Axis on WebLogic Server 6.1 sp2

Sure, here it is.
      <Application Deployed="true" Name="axis" Path=".\config\mydomain\applications">
        <WebAppComponent Name="axis" Targets="myserver" URI="axis"/>
    </Application>
I have four other web apps deployed.  I'm using Apache SOAP 2.3 in one of them and am trying to convert services over to Axis.
-----Original Message-----
From: Hurst, Cyrus [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 15:12
To: '[EMAIL PROTECTED]'
Subject: RE: Axis on WebLogic Server 6.1 sp2

 Hi Joseph,
    I am running Axis on Weblogic 6.1 sp1 and have no problems but I do remember someone having
 the same issue as you ...Can you send the  webapp entry for Axis in config.xml ? 
 
-Cyrus  
-----Original Message-----
From: Joseph Carew [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 3:06 PM
To: '[EMAIL PROTECTED]'
Subject: Axis on WebLogic Server 6.1 sp2

I am attempting to run the web app created by the dist ant target on WebLogic 6.1 sp2.  When the server tries to deploy Axis it fails with the following error (snipped stack trace):
####<Jun 21, 2002 2:23:48 PM EDT> <Info> <HTTP> <JCAREW1> <myserver> <main> <system> <> <101060> <[myserver] Loading "axis" from directory: ".\config\mydomain\applications\axis">
####<Jun 21, 2002 2:23:49 PM EDT> <Info> <HTTP> <JCAREW1> <myserver> <main> <system> <> <101031> <[WebAppServletContext(713078,axis,/axis)] extracting classfiles to C:\beasp2\wlserver6.1\.\config\mydomain\applications\axis\WEB-INF\_tmp_war_myserver_myserver_axis:>
####<Jun 21, 2002 2:23:49 PM EDT> <Debug> <HTTP> <JCAREW1> <myserver> <main> <system> <> <101158> <Exception thrown while loading axis: java.lang.StringIndexOutOfBoundsException: String index out of range: -1>
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
 at java.lang.String.substring(String.java:1525)
 at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:469)
 at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:234)
 at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3407)
 at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
 at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
 at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
 at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
 at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
 at weblogic.j2ee.Application.addComponent(Application.java:163)
 at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
 at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
 at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
 at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
 at java.lang.reflect.Method.invoke(Native Method)
 
Has anyone else seen this issue?  BEA gave me a patch that didn't seem to do any good.

Reply via email to