axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Ranabahu" <ajith.ranab...@gmail.com>
Subject Re: org.apache.axis2.om.OMElement not in war distribution
Date Thu, 14 Sep 2006 20:35:18 GMT
Hmmm...
We have no class called org.apache.axis2.om.OMElement anymore. The
packaging has changed and it is called org.apache.axiom.om.OMElement
now. Are you having an older aar file ?

Ajith

On 9/14/06, CYW <cyw@dls.net> wrote:
> I am getting errors complaining about not finding
> org/apache/axis2/om/OMElement when deploying an aar.
>
> Deepal Jayasinghe suggested that I use 1.0, and that was what I used.
>
> Anyway, I re-downloaded a 1.0 axis2 war, and searched all jars in the
> axis2/WEB-INF/lib directory. The org.apache.axis2.om.OMElement class is no
> where to be found.
>
> I could find this class in axis2-om-M1.jar which is not in the war file, is
> it the jar that needs to be put in axis2/WEB-INF/lib?
>
> Thanks,
> cyw
>
>
>
> ------- Results of searching for OMElement in axis2/WEB-INF/lib ---
> /cygdrive/c/tmp/axis2/WEB-INF/lib$ /bin/findClassInJarDir OMElement
> ...search  XmlSchema-1.0.2.jar
> ...search  annogen-0.1.0.jar
> ...search  axiom-api-1.0.jar
>   2206 Tue May 02 00:17:56 CST 2006 org/apache/axiom/om/OMElement.class
> ...search  axiom-impl-1.0.jar
>  16474 Tue May 02 00:17:56 CST 2006
> org/apache/axiom/om/impl/llom/OMElementImpl.class
> ...search  axis2-adb-1.0.jar
>    345 Fri May 05 00:31:10 CST 2006
> org/apache/axis2/databinding/utils/reader/OMElementKey.class
> ...search  axis2-codegen-1.0.jar
> ...search  axis2-java2wsdl-1.0.jar
> ...search  axis2-jibx-1.0.jar
> ...search  axis2-kernel-1.0.jar
> ...search  axis2-soapmonitor-1.0.jar
> ...search  axis2-xmlbeans-1.0.jar
> ...search  backport-util-concurrent-2.1.jar
> ...search  commons-codec-1.3.jar
> ...search  commons-fileupload-1.0.jar
> ...search  commons-httpclient-3.0.jar
> ...search  commons-logging-1.0.4.jar
> ...search  geronimo-spec-activation-1.0.2-rc4.jar
> ...search  geronimo-spec-javamail-1.3.1-rc5.jar
> ...search  geronimo-spec-jms-1.1-rc4.jar
> ...search  jaxen-1.1-beta-8.jar
> ...search  jibx-run-1.1-beta3.jar
> ...search  log4j-1.2.13.jar
> ...search  neethi-1.0.1.jar
> ...search  stax-api-1.0.jar
> ...search  wsdl4j-1.5.2.jar
> ...search  wstx-asl-2.9.3.jar
> ...search  xbean-2.1.0.jar
> ...search  xercesImpl-2.7.1.jar
> ...search  xml-apis-1.3.02.jar
>
> Regards,
> Wei
>
> Below are errors I got when deploying an aar:
>
> This Web axisService has deployment faults
> Error: java.lang.NoClassDefFoundError: org/apache/axis2/om/OMElement at
> java.lang.Class.getDeclaredMethods0(Native Method) at
> java.lang.Class.privateGetDeclaredMethods(Unknown Source) at
> java.lang.Class.privateGetPublicMethods(Unknown Source) at
> java.lang.Class.getMethods(Unknown Source) at
> org.apache.ws.java2wsdl.bytecode.MethodTable.loadMethods(MethodTable.java:40
> ) at org.apache.ws.java2wsdl.bytecode.MethodTable.(MethodTable.java:30) at
> org.apache.ws.java2wsdl.SchemaGenerator.(SchemaGenerator.java:71) at
> org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:209) at
> org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.ja
> va:149) at
> org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(
> ArchiveReader.java:76) at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGrou
> p(ArchiveReader.java:118) at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:
> 620) at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.jav
> a:195) at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.jav
> a:207) at
> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListe
> ner.java:155) at
> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.j
> ava:91) at
> org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAx
> isConfigurator.java:142) at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationCont
> ext(ConfigurationContextFactory.java:42) at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.ja
> va:213) at
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182) at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11
> 05) at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
> 3917) at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4201) at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
> 59) at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809) at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698) at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122) at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> t.java:119) at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021) at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at
> org.apache.catalina.core.StandardService.start(StandardService.java:450) at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at
> org.apache.catalina.startup.Catalina.start(Catalina.java:551) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
> java.lang.reflect.Method.invoke(Unknown Source) at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message