Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 23860 invoked by uid 500); 1 Oct 2002 13:26:27 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 23837 invoked from network); 1 Oct 2002 13:26:27 -0000 Message-ID: From: "Geddes, Mark (ANTS)" To: "'axis-user@xml.apache.org'" Subject: RE: Error deploying application axis: Could not load axis Date: Tue, 1 Oct 2002 14:21:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2694D.7CCAD0E0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2694D.7CCAD0E0 Content-Type: text/plain; charset="iso-8859-1" This is a Weblogic bug that has been fixed in 6.1sp3. If you cannot upgrade, then the best solution is replace the manifest files from the problem jars with default manifest files. Mark -----Original Message----- From: Naresh Bhatia [mailto:nbhati@sapient.com] Sent: 01 October 2002 04:28 To: 'axis-user@xml.apache.org' Subject: Error deploying application axis: Could not load axis Hi, I am trying to load the Axis webapp (1.0 RC2) in Weblogic 6.1, but I get the following error: Error deploying application axis: Could not load axis The Weblogic server log is shown below. The workaround for me was to delete the webapps\axis\WEB-INF\lib directory. Apparently the error occurs when the webapp tries to extract class files from the lib directory. Question: Why are these jars kept under the webapp directory? For me, the app works fine as long as the jars are somewhere in the server classpath. Thanks. Naresh #### Loading "axis" from directory: "c:\myproject\public_html\axis"> #### <[WebAppServletContext(3531117,axis,/axis)] extracting classfiles to c:\myproject\public_html\axis\WEB-INF\_tmp_war_myprojectServer_myprojectServ er_axis:> #### 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:2 34) at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServl etContext.java:3407) at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletConte xt.java:3376) at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.jav a:862) at weblogic.servlet.internal.WebAppServletContext.(WebAppServletContext.j ava: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(DeploymentT arget.java:329) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployment Target.java:279) at weblogic.management.mbeans.custom.DeploymentTarget.updateWebDeployments(Depl oymentTarget.java:269) at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploym entTarget.java:191) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl .java:636) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6 21) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java:359) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209) at $Proxy29.updateDeployments(Unknown Source) at weblogic.management.configuration.WebServerMBean_CachingStub.updateDeploymen ts(WebServerMBean_CachingStub.java:1165) at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Appl icationManager.java:376) at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage r.java:160) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl .java:636) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6 21) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java:359) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209) at $Proxy35.start(Unknown Source) at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start( ApplicationManagerMBean_CachingStub.java:480) at weblogic.management.Admin.startApplicationManager(Admin.java:1180) at weblogic.management.Admin.finish(Admin.java:590) at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203) at weblogic.Server.main(Server.java:35) #### Naresh Bhatia Sapient One Memorial Drive, Cambridge, MA 02142 Tel: 617-761-1771 Fax: 617-621-1300 Email: nbhatia@sapient.com *************************************************************************** This communication (including any attachments) contains confidential information. If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error. Internet communications are not necessarily secure and may be intercepted or changed after they are sent. Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes. If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication. This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding. Abbey National Treasury Services plc. Registered Office: Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN. Registered in England under Company Registration Number: 2338548. Regulated by the Financial Services Authority (FSA). *************************************************************************** ------_=_NextPart_001_01C2694D.7CCAD0E0 Content-Type: text/html; charset="iso-8859-1" Error deploying application axis: Could not load axis
This is a Weblogic bug that has been fixed in 6.1sp3. If you cannot upgrade, then the best solution is replace the manifest files from the problem jars with default manifest files.
 
Mark
-----Original Message-----
From: Naresh Bhatia [mailto:nbhati@sapient.com]
Sent: 01 October 2002 04:28
To: 'axis-user@xml.apache.org'
Subject: Error deploying application axis: Could not load axis

Hi,

I am trying to load the Axis webapp (1.0 RC2) in Weblogic 6.1, but I get the following error:

    Error deploying application axis: Could not load axis

The Weblogic server log is shown below. The workaround for me was to delete the webapps\axis\WEB-INF\lib directory. Apparently the error occurs when the webapp tries to extract class files from the lib directory. Question: Why are these jars kept under the webapp directory? For me, the app works fine as long as the jars are somewhere in the server classpath.

Thanks.
Naresh

#### Loading "axis" from directory: "c:\myproject\public_html\axis">
#### <[WebAppServletContext(3531117,axis,/axis)] extracting classfiles to c:\myproject\public_html\axis\WEB-INF\_tmp_war_myprojectServer_myprojectServer_axis:>

#### <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.addDeployments(DeploymentTarget.java:279)
        at weblogic.management.mbeans.custom.DeploymentTarget.updateWebDeployments(DeploymentTarget.java:269)
        at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:191)
        at java.lang.reflect.Method.invoke(Native Method)
        at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
        at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
        at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
        at $Proxy29.updateDeployments(Unknown Source)
        at weblogic.management.configuration.WebServerMBean_CachingStub.updateDeployments(WebServerMBean_CachingStub.java:1165)

        at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:376)
        at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
        at java.lang.reflect.Method.invoke(Native Method)
        at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
        at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
        at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
        at $Proxy35.start(Unknown Source)
        at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)

        at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
        at weblogic.management.Admin.finish(Admin.java:590)
        at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
        at weblogic.Server.main(Server.java:35)
#### <Error deploying application axis: Could not load axis>


Naresh Bhatia
Sapient
One Memorial Drive, Cambridge, MA 02142
Tel: 617-761-1771  Fax: 617-621-1300
Email: nbhatia@sapient.com




***************************************************************************
This communication (including any attachments) contains confidential information. If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error.

Internet communications are not necessarily secure and may be intercepted or changed after they are sent. Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes. If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication.

This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding.

Abbey National Treasury Services plc. Registered Office: Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN. Registered in England under Company Registration Number: 2338548. Regulated by the Financial Services Authority (FSA).
***************************************************************************
------_=_NextPart_001_01C2694D.7CCAD0E0--