WebCenter Portlet Application Deployment Errors with "java.lang.NullPointerException" or " java.lang.ClassNotFoundException: oracle.adf.desktopintegration.servlet.DIRemoteServlet"
(Doc ID 2880767.1)
Last updated on JULY 15, 2024
Applies to:
Oracle WebCenter Portal - Version 12.2.1.4.0 and laterOracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 and later
Information in this document applies to any platform.
Symptoms
Receiving error during deployment of an WebCenter Portlet application developed in JDeveloper 12c and deployed to a managed server in Fusion Middleware 12c.
Environment:
Oracle Webcenter Portal: 12.2.1.4
Jdeveloper: 12.2.1.4
Weblogic Server: 12.2.1.4
Latest Oracle WebCenter Extensions have been installed from JDeveloper 12c -> Help -> Check for updates
JDeveloper Log:
[TIMESTAMP] [Deployer:149191]Operation "deploy" on application "<APPLICATION_NAME>" is initializing on "WC_Portlet".
[TIMESTAMP] [Deployer:149193]Operation "deploy" on application "<APPLICATION_NAME>" has failed on "WC_Portlet".
[TIMESTAMP] [Deployer:149034]An exception occurred for task [Deployer:149026] deploy application <APPLICATION_NAME> on WC_Portlet.: java.lang.ClassNotFoundException: oracle.adf.desktopintegration.servlet.DIRemoteServlet.
[TIMESTAMP] weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.adf.desktopintegration.servlet.DIRemoteServlet
[TIMESTAMP] Deployment cancelled.
[TIMESTAMP] ---- Deployment incomplete ----.
[TIMESTAMP] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
WLS Console Log:
Message icon - Error Unable to access the selected application.
Message icon - Error oracle.adf.desktopintegration.servlet.DIRemoteServlet
Message icon - Error oracle.adf.desktopintegration.servlet.DIRemoteServlet
Message icon - Error oracle.adf.desktopintegration.servlet.DIRemoteServlet
or
JDeveloper Log:
[TIMESTAMP] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application <APPLICATION_NAME> on WC_Portlet.: java.lang.NullPointerException.
[TIMESTAMP] weblogic.application.ModuleException: java.lang.NullPointerException
[TIMESTAMP] Deployment cancelled.
[TIMESTAMP] ---- Deployment incomplete ----.
[TIMESTAMP] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
WC_Portlet_log:
Error is: "weblogic.application.ModuleException: java.lang.NullPointerException"
weblogic.application.ModuleException: java.lang.NullPointerException
at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:11)
...............
Caused By: java.lang.NullPointerException
at weblogic.servlet.internal.WebAnnotationProcessor.processWebServletAnnotation(WebAnnotationProcessor.java:141)
at weblogic.servlet.internal.AnnotationProcessingManager.processAnnotationForClasses(AnnotationProcessingManager.java:192)
at weblogic.servlet.internal.AnnotationProcessingManager.processAnnotations(AnnotationProcessingManager.java:145)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |