Forum Stats

  • 3,782,473 Users
  • 2,254,652 Discussions
  • 7,880,085 Comments

Discussions

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

3263206
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 11.1.1.7 to ADF 12.2.1.2.0. 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.

java.lang.NullPointerException

at org.jboss.weld.servlet.WeldInitialListener.contextDestroyed(WeldInitialListener.java:134)

at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:726)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)

at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)

at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)

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: java.io.IOException: An existing connection was forcibly closed by the remote host"

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

at weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:123)

at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:114)

at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:216)

at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:211)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)

Truncated. see log file for complete stacktrace

Caused By: java.io.IOException: An existing connection was forcibly closed by the remote host

Tagged:

Answers

  • 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?

    Timo

This discussion has been closed.