SAP Knowledge Base Article - Preview

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


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: '' 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 id: 6, selector: JobDefinition='AlertConsumerJob') to consumer with id: <XXXXXXXXXX> under session with id: <XXX>
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 Definition ID <XXXXXXXXXX>
Parent Job ID
Application Name
Scheduler Name SAP J2EE Scheduler
Scheduler Task ID <XXXXXXXXXX>
User HP
Submit Date 2017.12.05 09:10:00 GMT
Start Time
End Time
Retention Period 23 days
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.



SAP Netweaver for AS JAVA all versions


SAP NetWeaver Application Server for Java all versions


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, javax.jms.JMSSecurityException: User: Guest has not permission: vpName: default, type: administration , KBA , BC-NWA-XPI , Process Integration (PI) Monitoring , BC-JAS-JMS , Messaging , BC-JAS-BTC , NetWeaver Scheduler (Java) , Problem

About this page

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

Search for additional results

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