Re: Axis 2 install

2012-01-12 Thread MH
RE: Axis 2 installHi Sven I am working on it. I have probably done something wrong so I am re-installing (deploying). One thing is i have a lot of warnings and errors on the script when Tomcat starts. I checked the link and all seems well with the install in spite of that. Logs is still empty

FW: org.apache.axiom.om.impl.llom.factory.OMLinkedListMetaFactory cannot be cast to org.apache.axiom.om.OMMetaFactory

2012-01-12 Thread John Watt
Hi, I have an Axis2 web service which allows values to be set then retrieved using separate methods. This service works fine in the browser. This service is using axis2 1.5.3 and axiom 1.2.10. I then tried to run up a Java client (webClientBean, which is called from a JSP page) using the same Axi

RE: org.apache.axiom.om.impl.llom.factory.OMLinkedListMetaFactory cannot be cast to org.apache.axiom.om.OMMetaFactory

2012-01-12 Thread Okken,Brett
What versions of the following projects are in your assembly: axiom-api axiom-dom axiom-impl Brett Okken -Original Message- From: John Watt [mailto:john.w...@glasgow.ac.uk] Sent: Thursday, January 12, 2012 8:51 AM To: java-user@axis.apache.org Subject: FW: org.apache.axiom.om.impl.llom.f

RE: org.apache.axiom.om.impl.llom.factory.OMLinkedListMetaFactory cannot be cast to org.apache.axiom.om.OMMetaFactory

2012-01-12 Thread John Watt
Hi Brett, Its using axiom-api-1.2.10.jar axiom-dom-1.2.10.jar axiom-impl-1.2.10.jar Thanks, John -Original Message- From: Okken,Brett [mailto:bok...@cerner.com] Sent: 12 January 2012 15:00 To: java-user@axis.apache.org Subject: RE: org.apache.axiom.om.impl.llom.factory.OMLinkedListMet

RE: org.apache.axiom.om.impl.llom.factory.OMLinkedListMetaFactory cannot be cast to org.apache.axiom.om.OMMetaFactory

2012-01-12 Thread Okken,Brett
I am guessing that you have some other version of one or more of those jars in your classpath somewhere. In 1.2.10, OMLinkedListMetaFactory (in axiom-api) directly implements OMMetaFactory (from axiom-api): public class OMLinkedListMetaFactory implements OMMetaFactory This changes in 1.2.

RE: org.apache.axiom.om.impl.llom.factory.OMLinkedListMetaFactory cannot be cast to org.apache.axiom.om.OMMetaFactory

2012-01-12 Thread John Watt
We definitely don't have different versions of the .jars, and a search of the whole filesystem shows only the one version of the axiom jars. However, our Java client is running in the same Tomcat container as the Axis2 service, so I copied some of the libs in the Axis2 lib directory to $CATALINA_H

RE: org.apache.axiom.om.impl.llom.factory.OMLinkedListMetaFactory cannot be cast to org.apache.axiom.om.OMMetaFactory

2012-01-12 Thread Okken,Brett
Potentially. Having the same class loaded in differing class loaders can cause issues if anything ever gets shared. Take a look at the "Classloader Magic" section of this[1] article. [1] - http://www.objectsource.com/j2eechapters/Ch21-ClassLoaders_and_J2EE.htm Brett -Original Message-