Taking rpk file as input in appserver

I am using rpk file to provide input to CityEngine Puma. It works correctly in grasshopper.
But when i run it in appserver i get error “Unable to compute absolute path to RPK: Value cannot be null”