on 11-24-2016 7:08 PM
Hi,
We are currently doing some HANA developments on the HANA database content coming from Hybris.
Most things are already working, however we can't get the XSjobs to run.
When creating the XSjob it appears in the xs job tools.
When activating it, the scheduling is working, when looking in the log the following message is found:
The the roles and privileges have been checked but don't seem to be missing anything.
The user that is set in the job is a user that has all privileges on the schema and the package (top package) in which the job was created.
The job itself calls a function from an xsjs file.
The job looks as follows:
The job and the function are in following path:
The following privileges have been checked and exist on the user used for the job:
Now that we are running out of options on things to check and also running out of ideas about things to try, we would like to ask the community for advice on this matter.
The post that were found on this topic pointed to:
Some guidance on the matter or ideas are more than welcome and we already want to thank you for looking at this post.
Regards,
Joery
Hello Joery,
you get a 404 (not found) error (although the message is saying "access denied" -> cause not found).
The reason is that you placed the ".xsapp" file in the jobs package. Therefore the "productVisibility.xsjs" file cannot be accessed, cause it is stored in the functions package.
Either you move the ".xsapp" file one level up (to the "hybrisvisibility" package - plus maybe alos the ".xsaccess" file) or you create an additional ".xsapp" file in the functions package if you really wanna separate it into two logical apps (what I assume you wanna not do here).
Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Florian,
Thanks for the fast answer, even though i only found some time to check on it a few minutes ago.
Took up on your input and placed the xsapp one package level higher since it is indeed one app.
Activated the job again and it ran successfully now.
I was unaware that the xsapp needed to be accessible since it is the first xs functionality I put into action.
Thought it was just needed for the services, and now if i look back and had started from an actual xs project instead of building it up inside the packages it might have become clear.
Thanks again.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.