cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry Work Manager 6.2: FileData external data object property not being set during picture (documentlink) fetch

Marçal_Oliveras
Active Contributor
0 Kudos

Hi,

I'm experiencing a very weird issue while fetching a notification attachment. This problem only appears in our SMP 3.0 SP09 PL03 production installation. If I export the Agentry application from it and import it to our Q&A environment with -in theory- exactly the same setup and for sure the same version and the same SAP backend, this does not occur.

The problem is the following one: I'm fetching the document link data using a synchronous call, all the data is correctly retrieved from SAP and the Java object has all the attributes informed. But when the data is transferred from the Java object to the Agentry client object, for some strange reason the DocumentLink object FileData property is not set.

In ATE, I enabled the server debug and I could see exactly what I say in the generated log, have a look to the red text please:

2016/04/26 10:23:22.821:             Setting String property 'FileMimeType' to "image/png" from Java string 'FileMimeType' "image/png"

2016/04/26 10:23:22.821:             Setting String property 'FileType' to "" from Java string 'FileType' ""

2016/04/26 10:23:22.822:             Setting String property 'FileSize' to "000001267280" from Java string 'FileSize' "000001267280"

2016/04/26 10:23:22.822:             Setting String property 'FileProperty' to "" from Java string 'FileProperty' ""

2016/04/26 10:23:22.822:             Setting String property 'FileBinaryFlag' to "False" from Java string 'FileBinaryFlag' "False"

2016/04/26 10:23:23.028: + Thread=7976

2016/04/26 10:23:23.028:   + User=WorkMgr6.2-user1

2016/04/26 10:23:23.028:     User 'user1' is busy. Skipping keep alive message. Retry attempt in 1 second.

2016/04/26 10:23:24.064:   + User=WorkMgr6.2-user1

2016/04/26 10:23:24.064:     User 'user1' is busy. Skipping keep alive message. Retry attempt in 1 second.

2016/04/26 10:23:25.095:   + User=WorkMgr6.2-user1

2016/04/26 10:23:25.095:     User 'user1' is busy. Skipping keep alive message. Retry attempt in 1 second.

2016/04/26 10:23:26.036:   + User=WorkMgr6.2-user1

2016/04/26 10:23:26.036:     User 'user1' is busy. Skipping keep alive message. Retry attempt in 1 second.

2016/04/26 10:23:26.467: + Thread=6300

2016/04/26 10:23:26.467:   + Thread Pool=WorkMgr6.2

2016/04/26 10:23:26.467:     + WorkFunction=00000001E127F4B8

2016/04/26 10:23:26.467:       + User=WorkMgr6.2-user1

2016/04/26 10:23:26.467:         + Application=WorkMgr6.2

2016/04/26 10:23:26.467:           + BackEnd=Java-SAPJavaConnection

2016/04/26 10:23:26.467:             : 22233 lines, 22232 non-printing characters, 1734239 total characters

Not setting property 'FileData': file /9j/4AAQSkZJRgABAQAAAQABAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAMAAIdpAAQA

AAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAKIKADAAQAAAABAAAHkAAAAAD/2wBD

AAIBAQIBAQICAQICAgICAwUDAwMDAwYEBAMFBwYHBwcGBgYHCAsJBwgKCAYGCQ0JCgsLDAwMBwkN

If I do the same in my Q&A SMP 3.0, the message says "Setting property 'FileData', and everything works as expected. And since this fails in the ATE and in the iPad it is not look like a client problem as well, at least not platform specific.

What setting could be causing this problem?

Kind Regards,

Marçal

Accepted Solutions (1)

Accepted Solutions (1)

Marçal_Oliveras
Active Contributor
0 Kudos

Hi,

SAP support found the cause of this behaviour. The SMP Service user is generating temporary files in its windows user local data (C:\Users\smpServiceUser\AppData\Local\Temp) and a limit was reached.

Only deleting a few of these files solved the issue, at least for a while. I'm still trying to investigate how can this issue be avoided in the future. I think SAP should archive/delete this files automatically after a while but I'm not sure if it can yet.

Answers (0)