2588901 - AlertConsumerJobV2 job hangs in STARTING status - JMSSecurityException: User has not permission | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2588901 - AlertConsumerJobV2 job hangs in STARTING status - JMSSecurityException: User has not permission

Symptom

There are lots of attemps to start the "AlertConsumerJobV2" (based on frequency of the job = every 5mins) in Log viewer. This job belongs to java application: 'com.sap.aii.af.service.alert.app' handled by Java Scheduler. However, attempts are not successful, because the first one could not be started - stucked in 'STARTING' status.

In default trace files you can find the following exception:

************************************
Unable to create com.sap.jms.client.session.JMSQueueReceiver@78fcad86(destination id: 6, selector: JobDefinition='AlertConsumerJob') to consumer with id: <XXXXXXXXXX> under session with id: <XXX>
[EXCEPTION]
javax.jms.JMSSecurityException: User: Guest has not permission: vpName: default, type: queue, action: consumer, destination: JobQueue
************************************

You may find other logs like below:

************************************
Job details:
Name AlertConsumerJobV2
Description AlertConsumerJobV2
Job ID <XXXXXXXXXX>
Job Definition ID <XXXXXXXXXX>
Parent Job ID
Application Name sap.com/com.sap.aii.af.service.alert.app
Scheduler Name SAP J2EE Scheduler
Scheduler Task ID <XXXXXXXXXX>
User HP
Node
Submit Date 2017.12.05 09:10:00 GMT
Start Time
End Time
Retention Period 23 days
Status STARTING
Return Code 0
************************************
************************************
An execution of Task 'AlertConsumerJobV2' with TaskID '<XXXXXXXXXX>' added to waiting jobs list.
The job will not be executed until the currently executing job for this task finish.
Count of waiting jobs=602.
***********************************


Read more...

Environment

SAP Netweaver for AS JAVA all versions

Product

SAP NetWeaver Application Server for Java all versions

Keywords

JMS, resources, destinations, permissions, JMSSecurityException, Message Driven Bean, MDB, ExceptionListener, failover, JMSSecurityException, Guest, permission, destination, AlertConsumerJobV2, AlertConsumerJob, Java Scheduler, Log viewer, starting status, JMS message , KBA , BC-JAS-JMS , Messaging , BC-JAS-BTC , NetWeaver Scheduler (Java) , BC-NWA-XPI , Process Integration Monitoring , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.