20.4 Troubleshooting
Error 1
The host where OIG is running is expected to have public IP enabled. If the host does not have public IP enabled, then you will see the below error while starting the OIM server.
You will see the below error for each cache category/region which are mentioned in cache.ccf file. The nodes in a cluster environment exchange the cache data over UDP protocol. To make this happen, the hosts should have public IP enabled so that the nodes can exchange the data.
2024-11-28T07:31:49.014+00:00] [oim_server1] [ERROR] [] [org.apache.commons.jcs3.engine.control.CompositeCacheConfigurator] [tid: [ACTIVE].ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0438c8f0-2a7c-408b-88da-0b2f5f2c142a-000000c4,0] [APP: oim] Could not instantiate auxiliary cache named "RuleDefinition"[[
java.lang.NullPointerException: Cannot invoke "java.net.NetworkInterface.getInetAddresses()" because "serviceInterface" is null
at org.apache.commons.jcs3.utils.discovery.UDPDiscoveryService.<init>(UDPDiscoveryService.java:144)
at org.apache.commons.jcs3.utils.discovery.UDPDiscoveryManager.lambda$getService$0(UDPDiscoveryManager.java:118)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at org.apache.commons.jcs3.utils.discovery.UDPDiscoveryManager.getService(UDPDiscoveryManager.java:108)
at org.apache.commons.jcs3.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory.createDiscoveryService(LateralTCPCacheFactory.java:435)
at org.apache.commons.jcs3.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory.createCache(LateralTCPCacheFactory.java:125)
at org.apache.commons.jcs3.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory.createCache(LateralTCPCacheFactory.java:56)
Solution: If your environment is a single node system, you can ignore the above error. Also, you can also suppress the above error by setting the log level to "OFF" as shown below. Please refer Manage JCS Logging for more details.
<logger name='org.apache.commons.jcs3' level='off' useParentHandlers='false'/>.
In case of cluster setup, this issue needs to be addressed by the network administrators. Contact your network administrators to have a public IP for the host system.