Error while deploying java app in weblogic
I am trying to deploy an application that I have to learn in weblogic 10.3.6.0. Nad I am getting the following error:
weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://localhost:7001/banking-integration-test/ws?wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
Wsdl exists on the exact path. What could be the problem? What's missing from the AddressingExtensionRegistry class? Thank you for your responses.
source to share
AddressingExtensionRegistry
lives in com.oracle.ws.orawsdl_x.x.x.jar
, if this is not in your shared modules it can be placed in your domain's lib folder.
If your web service requires authentication, you need to add com.oracle.ws.http_client_1.2.0.0.jar
to avoid java.lang.NoClassDefFoundError: HTTPClient/AuthorizationPrompter
.
In both cases, make sure you don't have duplicates in your shared modules and lib folders, as this can cause problems.
source to share