I would like to use this library in a GlassFish application for a remote imaging system in our Lab. To do this, I've done the following:
Configured Raspbian to work with the camera
Clone the repository
Add the Picam src files to my project
Build a .war file
Deploy .war file
When running the .war file, the code gets to Camera->createEncoder->createComponent and then Java throws an exception when PointerByReference is first called in createComponent in MmalUtils class.
The exception thrown is in the doAs method in Subject.java. It seems to be a permission issue or something, but I am running the .war file as sudo. Didn't know if you had seen this, still trying to solve and will update as things progress.
Howdy,
I would like to use this library in a GlassFish application for a remote imaging system in our Lab. To do this, I've done the following:
When running the .war file, the code gets to Camera->createEncoder->createComponent and then Java throws an exception when PointerByReference is first called in createComponent in MmalUtils class.
The exception thrown is in the doAs method in Subject.java. It seems to be a permission issue or something, but I am running the .war file as sudo. Didn't know if you had seen this, still trying to solve and will update as things progress.