Forum Stats

  • 3,782,473 Users
  • 2,254,652 Discussions


Deployment failure post app migration to Oracle ADF 12c - NPE at WeldInitialListener.contextDestroye

3263206 Member Posts: 1
edited May 28, 2018 3:21AM in JDeveloper and ADF

Hi All,

We are facing a strange error post migration of our application from ADF to ADF While deploying it to integrated weblogic server the deployment failes and following error is thrown.

This application is in production with 11g version and there are no issues at all. However when it is migrated to 12c and ran in local we get the below error.

Kindly help with any inputs or pointers suggesting what could be wrong.

Logs :-

[10:22:41 AM] Deploying Application...

<May 27, 2018 4:53:19 AM GMT> <Warning> <org.jboss.weld.Event> <BEA-000000> <WELD-000411: Observer method [BackedAnnotatedMethod] private org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds.>

<May 27, 2018 4:53:24 AM GMT> <Warning> <HTTP> <BEA-101162> <User defined listener org.jboss.weld.servlet.WeldInitialListener failed: java.lang.NullPointerException.


at org.jboss.weld.servlet.WeldInitialListener.contextDestroyed(

at weblogic.servlet.internal.EventsManager$



at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(

Truncated. see log file for complete stacktrace


<May 27, 2018 4:53:24 AM GMT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "261400396476067" for task "0" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: An existing connection was forcibly closed by the remote host"

weblogic.application.ModuleException: An existing connection was forcibly closed by the remote host

at weblogic.application.internal.ExtensibleModuleWrapper.activate(

at weblogic.application.internal.flow.ModuleListenerInvoker.activate(

at weblogic.application.internal.flow.ModuleStateDriver$

at weblogic.application.internal.flow.ModuleStateDriver$

at weblogic.application.utils.StateMachineDriver.nextState(

Truncated. see log file for complete stacktrace

Caused By: An existing connection was forcibly closed by the remote host



  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 37,782 Red Diamond
    edited May 28, 2018 3:21AM

    Hae you checked the servers log file to see if you find any reference to your code or one of your packages?

    What kind of application is it?

    What libraries do you use?


This discussion has been closed.