My Oracle Support Banner

Cannot Deploy OIM On OC4J Cluster Due To NullPointerException (Doc ID 739239.1)

Last updated on OCTOBER 22, 2019

Applies to:

Identity Manager - Version 9.1.0.0.0 to 9.1.0.2.21
Information in this document applies to any platform.
**Checked for Relevance on 20-Sep-2013**

Symptoms

OIM fails to deploy on OC4J 10.1.3.3. The patch_oc4j.log says:

[java] 08/09/22 12:18:25 Notification ==>Started application : Xellerate
[java] Deploy error: Deploy error: Operation failed with error:
[java] java.lang.NullPointerException
[java] 08/09/22 12:18:25 Notification ==>Operation failed with error:
[java] java.lang.NullPointerException
[java] Java Result: 1


The following messages are seen in the OPMN log file:

INFO: sockets will use interface <IPAddr>
08/09/17 17:09:43 WARNING: EJBContainer.initReplicationService Error initialize replication serviceorg.jgroups.ChannelException: failed to start protocol stack
at org.jgroups.JChannel.connect(JChannel.java:394)
at com.oracle.jgroups.ChannelAdapter.start(ChannelAdapter.java:151)
at com.oracle.jgroups.AbstractGroup.start(AbstractGroup.java:131)
at com.evermind.server.ejb.JGroupEJBService.<init>(JGroupEJBService.java:64)
at com.evermind.server.ejb.EJBContainer.initReplicationService(EJBContainer.java:124)
at com.evermind.server.ejb.EJBContainer.preInit(EJBContainer.java:152)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:170)
at com.evermind.server.Application.setConfig(Application.java:438)
at com.evermind.server.Application.setConfig(Application.java:339)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:797)
Caused by: java.lang.Exception: exception caused by UDP.start()
at org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:600)
at org.jgroups.stack.DownHandler.run(Protocol.java:118)
Caused by: java.lang.Exception: problem creating sockets (bind_addr=/<IPAddr>,mcast_addr=<MulticastAddr>:<mPort>)
at org.jgroups.protocols.UDP.start(UDP.java:381)
at org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:589)
... 1 more
Caused by: java.net.SocketException: The socket name is not available on this system.
at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:347)
at java.net.MulticastSocket.setInterface(MulticastSocket.java:432)
at org.jgroups.protocols.UDP.createSockets(UDP.java:482)
at org.jgroups.protocols.UDP.start(UDP.java:376)
... 2 more

 

08/09/22 12:18:25 oracle.oc4j.admin.internal.DeployerException: java.lang.NullPointerException
08/09/22 12:18:25 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:515)
08/09/22 12:18:25 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
08/09/22 12:18:25 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
08/09/22 12:18:25 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
08/09/22 12:18:25 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
08/09/22 12:18:25 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
08/09/22 12:18:25 at java.lang.Thread.run(Thread.java:797)
08/09/22 12:18:25 Caused by: java.lang.NullPointerException
08/09/22 12:18:25 at com.evermind.server.OC4JMonitorHooksExtension$PostInitAppAction.execute(OC4JMonitorHooksExtension.java:53)
08/09/22 12:18:25 at oracle.hooks.POST_INIT_APPLICATION$OC4JMonitorHookPostInitApp$1.execute(Unknown Source)
08/09/22 12:18:25 at oracle.hooks.Interrupt$Editable2.fire(Interrupt.java:332)
08/09/22 12:18:25 at com.evermind.server.Application.setConfig(Application.java:508)
08/09/22 12:18:25 at com.evermind.server.Application.setConfig(Application.java:339)
08/09/22 12:18:25 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
08/09/22 12:18:25 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
08/09/22 12:18:25 ... 6 more


The network interface being used, <IPAddr>, lacks the MULTICAST flag according to ifconfig -a:

vi0: flags=84000041<UP,RUNNING,64BIT>
inet <IPAddr> netmask 0xffffffe0
iflist : ib0 ib1


Note that the above error message, "The socket name is not available on this system", is specific to AIX. However, the same problem can occur on other platforms also, albeit with a different error message.

Changes

 

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
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.