axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geddes, Mark (ANTS)" <mark.ged...@ants.co.uk>
Subject RE: Error deploying application axis: Could not load axis
Date Tue, 01 Oct 2002 13:21:44 GMT
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:> 

#### <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: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.<init>(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) 
#### <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).
***************************************************************************


Mime
View raw message