search cancel

Access Denied when accessing User Portal

book

Article ID: 162896

calendar_today

Updated On:

Products

Workspace Streaming (formerly AppStream)

Issue/Introduction

Access Denied when accessing User Streaming Portal

In the logs there will be similiar messages.


016-02-01 15:19:22,016 DEBUG [Proessing Offline Report Data] | [DB_SERVICE] 
*** Revealed error code = -1
2016-02-01 15:19:22,016 ERROR [Proessing Offline Report Data] | [DB_SERVICE] 
BaseOps.handleError full stack trace
org.apache.torque.NoRowsException: Failed to select a row.
    at 
com.appstream.dbimpl.sql.om.AsLicenseDescriptorPeer.lookupByPackage(AsLicens
eDescriptorPeer.java:39)
    at 
com.appstream.dbimpl.sql.om.AsInventoryRecord.save(AsInventoryRecord.java:26
3)
    at 
com.appstream.dbimpl.sql.om.BaseAsInventoryRecord.save(BaseAsInventoryRecord
.java:681)
    at 
com.appstream.dbimpl.sql.om.BaseAsInventoryRecord.save(BaseAsInventoryRecord
.java:662)
    at com.appstream.dbimpl.sql.BaseOps.save(BaseOps.java:179)
    at 
com.appstream.dbimpl.aswe.StsHandlerImpl._processInventoryReport(StsHandlerI
mpl.java:686)
    at 
com.appstream.dbimpl.aswe.StsHandlerImpl.processClientReports(StsHandlerImpl
.java:561)
    at 
com.appstream.protocol.aswe.OfflineReportProcessThread.run(OfflineReportProc
essThread.java:45)
    at java.lang.Thread.run(Thread.java:744)
2016-02-01 15:19:22,016 INFO  [Proessing Offline Report Data] | [DB_SERVICE] 
Ignoring inventory report for 8fd5fe9d-b1a8-4278-9205-c6d1c7d7c1a8:1 since 
it doesn't exist on the server.

Cause

A layer that still resisdes in the agent streaming cache that has been removed from the Streaming console. In the logs there will be messages 

2016-02-01 15:19:22,016 INFO  [Proessing Offline Report Data] | [DB_SERVICE] 
Ignoring inventory report for 8fd5fe9d-b1a8-4278-9205-c6d1c7d7c1a8:1 since 
it doesn't exist on the server.

Resolution

Symantec is aware of this issue and is working on a solution.

The following workarounds are available:

  1. The layer has to be removed from the agents cache by running the following command as administrator righs: appmgrcmd.exe -r <layer guid>
  2. Re upload the layer with the guid from the logs to the Streaming Console.