My Oracle Support Banner

Getting "jms.JMSSecurityException: Access denied to resource: type=, application=SystemModule-oma-nms" on the Managed Server (Doc ID 2750106.1)

Last updated on APRIL 14, 2021

Applies to:

Oracle Utilities Network Management System - Version 2.4.0.1.0 to 2.5.0.1.0 [Release 2.4 to 2.5]
Oracle Network Management for Utilities - DMS - Version 2.4.0.1.0 to 2.5.0.1.0 [Release 2.4 to 2.5]
Information in this document applies to any platform.

Symptoms

On : 2.4.0.1.0 version, Mobile Apps

OMA Errors - JMS Permissions

We are seeing errors in the managed server where the nms-ws.ear is deployed.

ERROR
-----------------------

2021-01-25 20:34:39,426 [pool-4-thread-1] ERROR com.splwg.oms.ws.KeepAliveBean: Problem connecting to NMS Server: EJB Exception: : java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy213.isServicesUp(Unknown Source)
at com.splwg.oms.ws.MobileBean.checkNMSStatus(MobileBean.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101)
at com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:101)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:94)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
at com.sun.proxy.$Proxy211.checkNMSStatus(Unknown Source)
at com.splwg.oms.ws.MobileBean_yol12c_MobileImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
at com.splwg.oms.ws.MobileBean_yol12c_MobileImpl.checkNMSStatus(Unknown Source)
at com.splwg.oms.ws.KeepAliveBean$1.run(KeepAliveBean.java:36)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.jms.JMSSecurityException: Access denied to resource: type=<jms>, application=SystemModule-oma-nmsdev, destinationType=queue, resource=oma-to-nms-nmsdev, action=send
at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:127)
at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncTran(DispatcherAdapter.java:60)
at weblogic.messaging.dispatcher.CrossPartitionDispatcher.dispatchSyncTran(CrossPartitionDispatcher.java:58)
at weblogic.jms.client.JMSProducer.toFEProducer(JMSProducer.java:1559)
at weblogic.jms.client.JMSProducer.deliveryInternalUnified(JMSProducer.java:953)
at weblogic.jms.client.JMSProducer.sendInternal(JMSProducer.java:618)
at weblogic.jms.client.JMSProducer.sendWithListenerUnified(JMSProducer.java:437)
at weblogic.jms.client.JMSProducer.sendWithListener(JMSProducer.java:425)
at weblogic.jms.client.JMSProducer.send(JMSProducer.java:418)
at weblogic.jms.client.WLProducerImpl.send(WLProducerImpl.java:974)
at com.splwg.oms.ws.MobileBeanProxy$1.invoke(MobileBeanProxy.java:61)
... 37 more
Caused by: javax.jms.JMSException: No destination to failover.
at weblogic.jms.frontend.FEProducer.updateInitCause(FEProducer.java:667)
at weblogic.jms.frontend.FEProducer.cannotFailoverException(FEProducer.java:690)
at weblogic.jms.frontend.FEProducer.pickNextDestination(FEProducer.java:831)
at weblogic.jms.frontend.FEProducer.sendRetryDestination(FEProducer.java:1228)
at weblogic.jms.frontend.FEProducer.send(FEProducer.java:1603)
at weblogic.jms.frontend.FEProducer.invoke(FEProducer.java:1677)
at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1015)
at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:256)
at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSyncTran(DispatcherImpl.java:309)
at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncTran(DispatcherAdapter.java:58)
... 46 more


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.