span8
span4
span8
span4
I am using a FeatureReader to read specific JPEG images,on desktop it works fine,brings in the JPEG.Once i publish this to FME server i get:
JPEG reader: file '"\pathname\filename.JPG"' cannot be located.Please ensure the file exists and is accessible
I know that the path\filename are correct,and i can go onto the server and access this location and image without any problems.
Any ideas why it can't access it when running the workspace on server though?
Just to also add each image has a .jpg,.jgw and a .xml part to it.
Can you add this network location in the resources section of FME Server and
1.Located the jpeg in the web ui ok
2.Swap out the hardcoded file path and replace it with path to resource location?
If you have the correct permissions to that folder the resources should let you add it as a location no problem.
So you'd copy the system path,in this case $(FME_SHAREDRESOURCE_DATA)/Jen/
The feature reader may not like it and go red whilst in desktop because desktop doesn't know how to resolve the parameter but on server it should be ok.
You could start with a simple workspace,jpeg to logger with that path as dataset path,just to check it reads ok on server.
Translation FAILED.
Workspace generation failed.Parameter file was /tmp/FME_15173253857_506.
What does the FME Server logs say?The job log?
Trying to find a DYNAMIC plugin for reader named `JPEG' |
FME API version of module 'JPEG' matches current internal version (3.8 20170315) |
Performing query against JPEG dataset `"\\******\******.JPG"' |
Creating reader for format: JPEG (Joint Photographic Experts Group) |
Trying to find a DYNAMIC plugin for reader named `JPEG' |
FME API version of module 'JPEG' matches current internal version (3.8 20170315) |
JPEG reader: file '"\******\******.JPG"' cannot be located.Please ensure the file exists and is accessible |
A fatal error has occurred.Check the logfile above for details |
If the file is on a network server you have to configure the FME Server Engine service to run as a domain user,as Dave says.
Here's some more info:https://docs.亚搏在线safe.com/fme/html/FME_Server_Documentation/Content/AdminGuide/Running_FME_Server_Engines_Under_Different_Account.htm
Hi Baz,Does the service account that the FME Server services running as,have permissions to read\write to the disk you're trying to access?That's quite often the issue with this kind of error.When installed FME Server is typically installed so that all services other than the database run as a specific service account whilst the database service runs as a local user.All the best,Dave
© 2019 亚搏在线Safe Software Inc |Legal