Announcement Announcement Module
No announcement yet.
Error running Airline web service sample in WAS6.0 app server Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error running Airline web service sample in WAS6.0 app server


    I am new to spring framework. I have been getting this error with "Airline" sample web service on Rational Application Developer's WAS6.0 test environment (tried on WAS 5.o too). I appreciate a lot if someone can help me out in making this work.

    [7/28/06 13:31:22:174 CDT] 00000018 ContextLoader E Context initialization failed
    [7/28/06 13:31:22:174 CDT] 00000018 ContextLoader E TRAS0014I: The following exception was logged java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory: method getSchema()Ljavax/xml/validation/Schema; not found
    at ilderImpl.<init>(Unknown Source)
    at ilderFactoryImpl.newDocumentBuilder(Unknown Source)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.createDocumentBuilder(XmlBeanDefinitio
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR
    at BeanDefinitionReader.loadBeanDefinitions(AbstractB
    at BeanDefinitionReader.loadBeanDefinitions(AbstractB
    at icationContext.loadBeanDefinitions(XmlWebApplicati
    at icationContext.loadBeanDefinitions(XmlWebApplicati
    at hableApplicationContext.refreshBeanFactory(Abstrac
    at ationContext.refresh(AbstractApplicationContext.ja va:279)
    at freshableWebApplicationContext.refresh(AbstractRef
    at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(
    at org.springframework.web.context.ContextLoader.init WebApplicationContext(
    at org.springframework.web.context.ContextLoaderListe ner.contextInitialized( 49)
    at tContextCreated(

  • #2
    I think you are startup WAS with the SUN jdk (see the reference to com.sun) in the classpath. That's not supported, you will have to use a IBM jdk to run it.

    I'm not saying that the airline sample will actually run on WAS, but it might if you upgrade all XML handling API's (as explain in another, older thread on this forum, related to BEA weblogic).