Monday, September 8, 2014

AsyncTransportProvider Exception

I was attempting to deploy an ADF Task Flow that referenced the BPM API and received the following exception.

Weblogic Server Exception: weblogic.application.ModuleException: [HTTP:101216]Servlet: "weblogic.wsee.jaxws.client.async.AsyncTransportProvider" failed to preload on startup in Web application: "testApp".

javax.xml.ws.WebServiceException: javax.xml.ws.WebServiceException: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider
...
Caused by: javax.xml.ws.WebServiceException: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider
at weblogic.wsee.jaxws.WLSServletInstanceResolver.create(WLSServletInstanceResolver.java:37)
at weblogic.wsee.jaxws.WLSInstanceResolver.getSingleton(WLSInstanceResolver.java:34)
... 50 more
Caused by: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider
at java.lang.Class.newInstance(Class.java:359)
at weblogic.wsee.jaxws.injection.WSEEComponentContributor.newInstance(WSEEComponentContributor.java:54)
at weblogic.wsee.jaxws.injection.WSEEComponentContributor.newInstance(WSEEComponentContributor.java:42)
at weblogic.wsee.jaxws.WLSServletInstanceResolver.create(WLSServletInstanceResolver.java:35)
... 51 more
[08:10:26 AM] Caused by: javax.xml.ws.WebServiceException: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider
[08:10:26 AM] See server logs or server console for more details.

I was able to resolve the issue by removing the following libraries from the WAR deployment profile.
  • weblogic.jar
  • wlfullclient.jar
Right-click on your project >> Project Properties >> Deployment >> WAR profile >> Edit >> Library Dependencies >> Uncheck the aforementioned libraries.
You should be able to deploy.

Edit 24 FEB 2015: I have experienced this issue several times since composing this post. If you are able, recreate your project from scratch.

3 comments:

  1. Millones de gracias, =D!
    Actualice el certificado de mi server WebLogic, y JDeveloper ya no me dejaba desplegar aun cuando ya habia actualizado el keystore de mi jdeveloper. probe haciendo nuevos servicios web y si se desplego en el server, y tuve que recrear mi proyecto de servicios y funciono, le quite librerías, no necesariamente las que mencionas pero si otras librerías que había agregado y no las necesitaba.

    ReplyDelete
  2. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    web design company in velachery

    ReplyDelete