Error Starting "p6ws (8.4.12.0)" Deployment

(Doc ID 2161387.1)

Last updated on JULY 21, 2016

Applies to:

Primavera Web Services - Version 8.4.12.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to deploy P6 web Services 8.4.12.0 and start the deployment, the deployment fails to start and the following error is logged to the Web Services managed server log files:

<Servlet: "cxf" failed to preload on startup in Web application: "/p6ws".
java.lang.RuntimeException: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [cxf.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.getLocalName(Lorg/w3c/dom/Node;)Ljava/lang/String;
  at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:96)
  at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
  at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
  at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
  at org.apache.cxf.transport.servlet.CXFServlet.updateContext(CXFServlet.java:117)
  Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [cxf.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.getLocalName(Lorg/w3c/dom/Node;)Ljava/lang/String;
  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
  at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.doLoadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:109)
  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
  at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:131)
  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
  Truncated. see log file for complete stacktrace
Caused By: java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.getLocalName(Lorg/w3c/dom/Node;)Ljava/lang/String;
  at org.springframework.scheduling.config.ScheduledTasksBeanDefinitionParser.isScheduledElement(ScheduledTasksBeanDefinitionParser.java:136)
  at org.springframework.scheduling.config.ScheduledTasksBeanDefinitionParser.doParse(ScheduledTasksBeanDefinitionParser.java:65)
  at org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:84)
  at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:56)
  at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
  Truncated. see log file for complete stacktrace
>
weblogic.application.ModuleException: java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.getLocalName(Lorg/w3c/dom/Node;)Ljava/lang/String;
  at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
  at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
  Truncated. see log file for complete stacktrace
Caused By: java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.getLocalName(Lorg/w3c/dom/Node;)Ljava/lang/String;
  at org.springframework.scheduling.config.ScheduledTasksBeanDefinitionParser.isScheduledElement(ScheduledTasksBeanDefinitionParser.java:136)
  at org.springframework.scheduling.config.ScheduledTasksBeanDefinitionParser.doParse(ScheduledTasksBeanDefinitionParser.java:65)
  at org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:84)
  at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:56)
  at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
  Truncated. see log file for complete stacktrace
>


The issue can be reproduced at will with the following steps:


1. Install web services 8.4.12.0 patch set.
2. run the shell script to add the wsdl war file into the ear.
3. deploy the web services ear file.
4. note the error which occurs.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms