We are moving from JBOSS AS 5.1 to JBOSS EAP 6.4. Have been able to deploy first application on 6.4 after making the required code changes like JNDI lookup.
This application needs to invoke another application that is still on AS 5.1 via proxy service deployed on JBOSS ESB [soa 5.1]
Getting below error:
java.lang.Exception: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
Caused by: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
at __redirected.__DocumentBuilderFactory.setFeature(__DocumentBuilderFactory.java:182) ~[jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.getDocument(WSDLDefinitionsFactory.java:175) ~[jbossws-native-core.jar:3.1.2.SP7]
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:109) ~[jbossws-native-core.jar:3.1.2.SP7]
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:293) ~[jbossws-native-core.jar:3.1.2.SP7]
at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:84) ~[jbossws-native-core.jar:3.1.2.SP7]
at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:140) ~[jbossws-native-core.jar:3.1.2.SP7]
at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:65) ~[jbossws-native-core.jar:3.1.2.SP7]
at javax.xml.ws.Service.<init>(Service.java:57) ~[jboss-jaxws-api_2.2_spec-2.0.2.Final-redhat-1.jar!/:2.0.2.Final-redhat-1]
Any clues please?
you have old jars on classpath.
remove them.