Installer Fails to Redeploy EAR Files during an Upgrade Due to a Renamed Data Source (Doc ID 2286791.1)

Last updated on AUGUST 11, 2017

Applies to:

Oracle Communications ASAP - Version 7.2.0 and later
Information in this document applies to any platform.

Symptoms

When upgrading from ASAP 7.2.0.0.B284 to 7.2.0.6.1 B21 using the ASAP silent installer, the installer failed to progress the final two WebLogic steps.

1. This is what the error in the installation log displays:


(asap72ServerLinux.log)


java.lang.NullPointerException
  at
weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
  at
weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
  at
javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.getAttribute(Unknown
 Source)
  at
weblogic.management.remote.common.RMIConnectionWrapper$12.run(ClientProviderBa
se.java:768)
  at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.
java:363)
  at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
  at weblogic.security.Security.runAs(Security.java:61)
  at
weblogic.management.remote.common.RMIConnectionWrapper.getAttribute(ClientProv
iderBase.java:766)
  at
javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttrib
ute(RMIConnector.java:904)
  at
com.mslv.activation.config.JsrpRpcDsConfiguration.getTargets(JsrpRpcDsConfigur
ation.java:442)
  at
com.mslv.activation.config.JsrpRpcDsConfiguration.storeRPCDataSource(JsrpRpcDs
Configuration.java:160)
  at
com.mslv.activation.config.JsrpRpcDsConfiguration.main(JsrpRpcDsConfiguration.
java:712)
Caused by: java.lang.NullPointerException
  at
java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
  at
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:988)
  at
weblogic.management.mbeanservers.internal.JMXContextInterceptor.getMBeanContex
tLoader(JMXContextInterceptor.java:475)
  at
weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(J
MXContextInterceptor.java:146)
  at
weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMB
eanServerInterceptorBase.java:326)
  at java.security.AccessController.doPrivileged(Native Method)
  at
weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute
(WLSMBeanServerInterceptorBase.java:324)
  at
weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMB
eanServerInterceptorBase.java:326)
  at java.security.AccessController.doPrivileged(Native Method)
  at
weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute
(WLSMBeanServerInterceptorBase.java:324)
  at
weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMB
eanServerInterceptorBase.java:326)
  at java.security.AccessController.doPrivileged(Native Method)
  at
weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute
(WLSMBeanServerInterceptorBase.java:324)
  at
weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMB
eanServerInterceptorBase.java:326)
  at java.security.AccessController.doPrivileged(Native Method)
  at
weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute
(WLSMBeanServerInterceptorBase.java:324)
  at
weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(Sec
urityInterceptor.java:299)
  at
weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer
.java:279)
  at
weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$5$1.run
(JMXConnectorSubjectForwarder.java:326)
  at java.security.AccessController.doPrivileged(Native Method)
  at
weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$5.run(J
MXConnectorSubjectForwarder.java:324)
  at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.
java:363)
  at
weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.getAttr
ibute(JMXConnectorSubjectForwarder.java:319)
  at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.ja
va:1465)
  at
javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.jav
a:97)
  at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConne
ctionImpl.java:1329)
  at java.security.AccessController.doPrivileged(Native Method)
  at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnect
ionImpl.java:1428)
  at
javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.j
ava:659)
  at
javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
  at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
  at
weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
  at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.
java:363)
  at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
  at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
  at
weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)


2. Because of this failed step, subsequent deploy/redeploy of the asapAS72.ear to weblogic fails.

Upgrading the RPC Data Source...
java com.mslv.activation.config.JsrpRpcDsConfiguration -a install -c t3://<host>:7001 -u weblogic -p ******** -i AS72 -s SARMAS72 -m asapsdpra -l 40450

storeRPCConnectionPool : null

null
RPC datasource creation failed.
weblogic.Deployer invoked with options: -adminurl  t3://<host>:7001 -user weblogic -name asapAS72 -undeploy

configured targets.>
[Deployer:149164]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed. weblogic.Deployer invoked with options:

-adminurl t3://host:7001 -user weblogic -upload -source /xxxxx/apps/asap/lib/asapAS72.ear -name asapAS72 -targets AsapServer -deploy -plan /xxxxx/apps/asap/config/ASAPPlan.xml


===> End of asap720.j2ee.patch.ksh ... action [redeploy] at Tue Jan 10
02:06:34 CST 2017

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms