You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Hoda, Nadeem [USA]" <ho...@bah.com> on 2007/11/21 06:18:45 UTC
Error in deploying samples
Folks,
I've tried to deploy the Axis2 samples out of the box, and I am getting
the following error:
Error: java.lang.NoSuchMethodError:
org.w3c.dom.Document.getXmlEncoding()Ljava/lang/String;
at
org.apache.ws.commons.schema.utils.DOMUtil.getXmlEncoding(DOMUtil.java:6
04)
at
org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollectio
n.java:388)
at
org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(WSDLT
oAxisServiceBuilder.java:140)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibleEl
ements(WSDL11ToAxisServiceBuilder.java:2202)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSD
L11ToAxisServiceBuilder.java:384)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSD
L11ToAxisServiceBuilder.java:373)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:321)
at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllS
ervices(WSDL11ToAllAxisServicesBuilder.java:109)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFil
e(ArchiveReader.java:249)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(A
rchiveReader.java:357)
at
org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:
65)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(De
ploymentFileData.java:137)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
ava:584)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList
.java:141)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener
.java:318)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryL
istener.java:220)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryL
istener.java:312)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sche
dulerTask.java:64)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.ja
va:71)
at
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(S
cheduler.java:83)
at java.util.TimerThread.mainLoop(Timer.java:432) at
java.util.TimerThread.run(Timer.java:382)
Anybody know what I am missing?
I am using Java 1.4. Do I need to configure something specific for using
Axis2 with Java 1.4?
I have included xerces 2.9.1 into the app server (oc4j 10.1.2) as a
global lib.
Thanks,
Nadeem
Re: Error in deploying samples
Posted by Rick Isaacs <re...@gmail.com>.
Hi,
I recently started working with Axis2 and worked thru most of the samples,
I am using Windows XP SP2
Tomcat 5.5,
Java 5.0,
Ant 1.7
I downloaded the axis2-1.3-war.zip and placed the war in
C:\apache-tomcat-5.5.25\webapps and started Tomcat.
The Axis2 samples are in
C:\apache-tomcat-5.5.25\webapps\axis2\WEB-INF\samples.
Using the Readmes, I could build and copy the services to \services.
Rick
On Nov 21, 2007 6:18 AM, Hoda, Nadeem [USA] <ho...@bah.com> wrote:
>
>
>
> Folks,
>
> I've tried to deploy the Axis2 samples out of the box, and I am getting the
> following error:
>
> Error: java.lang.NoSuchMethodError:
> org.w3c.dom.Document.getXmlEncoding()Ljava/lang/String;
> at
> org.apache.ws.commons.schema.utils.DOMUtil.getXmlEncoding(DOMUtil.java:604)
> at
> org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:388)
> at
> org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(WSDLToAxisServiceBuilder.java:140)
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibleElements(WSDL11ToAxisServiceBuilder.java:2202)
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSDL11ToAxisServiceBuilder.java:384)
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSDL11ToAxisServiceBuilder.java:373)
> at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:321)
> at
> org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:109)
> at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:249)
> at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:357)
> at
> org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:65)
> at
> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:137)
> at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:584)
> at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:141)
> at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:318)
> at
> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:220)
> at
> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:312)
> at
> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:64)
> at
> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:71)
> at
> org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:83)
> at java.util.TimerThread.mainLoop(Timer.java:432) at
> java.util.TimerThread.run(Timer.java:382)
>
> Anybody know what I am missing?
>
> I am using Java 1.4. Do I need to configure something specific for using
> Axis2 with Java 1.4?
>
> I have included xerces 2.9.1 into the app server (oc4j 10.1.2) as a global
> lib.
>
> Thanks,
>
> Nadeem
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org