I am trying to setup a scheduled task to auto export everything from my Ebase installation, but keep hitting a permission error.
Has anyone else seen this type of issue and found a way around it, I have set the Export directory in the task to be the same as the value in my UFSSetup.properties file for the Ufs.export.location variable.
The program being called within the scheduled task is: com.ebasetech.ufs.migration.ExportTask
Log from when the scheduled task job is run:
14/03/2014 16:06:09 Execution started for scheduled task id 1001
14/03/2014 16:06:09 Export all forms on a Friday, program com.ebasetech.ufs.migration.ExportTask
14/03/2014 16:06:09 Export directory: D:\Ebase\dbc-ebase-live\UfsServer\transport_files
14/03/2014 16:06:09 Exclude security : false
14/03/2014 16:06:09 Ignore All errors : true
14/03/2014 16:06:09 Exporting into location that has previous export: D:\Ebase\dbc-ebase-live\UfsServer\transport_files
14/03/2014 16:06:09 Exporting 2 Elements..
14/03/2014 16:06:09 Export access to designer_sysadmin Designer Parameters denied
14/03/2014 16:06:09 Error occurred during scheduled task execution:
14/03/2014 16:06:09 Export access to designer_sysadmin Designer Parameters denied
14/03/2014 16:06:09 com.ebasetech.ufs.batch.ScheduledTaskAbortException
14/03/2014 16:06:09 com.ebasetech.ufs.migration.ExportTask.execute(ExportTask.java:95)
14/03/2014 16:06:09 com.ebasetech.ufs.batch.ExecutableTask.run(ExecutableTask.java:163)
14/03/2014 16:06:09 java.lang.Thread.run(Unknown Source)
14/03/2014 16:06:09 Execution completed with return code 8
Scheduled task to export all objects out of Ebase
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
Scheduled task to export all objects out of Ebase
We are running with version 4.5.1 Build 20131115
0 x
-
- Moderator
- Posts: 184
- Joined: Tue Sep 11, 2007 8:58 am
A scheduled task may be run in one of 2 ways:
1. At a pre-defined date/time, possibly recurring. In this mode, there is no user involved.
2. By the ebasetrigger command. In this mode, userid/password can be provided.
The scheduled task export only works when it is triggered and therefore has a userid.
The userid must have access to all elements, for example by having the SUPER_USER role assigned to it.
"Ebase Scheduler" part of the online documentation covers this in detail.
If your task is being executed as a date/time scheduled job. please start it using the trigger instead.
1. At a pre-defined date/time, possibly recurring. In this mode, there is no user involved.
2. By the ebasetrigger command. In this mode, userid/password can be provided.
The scheduled task export only works when it is triggered and therefore has a userid.
The userid must have access to all elements, for example by having the SUPER_USER role assigned to it.
"Ebase Scheduler" part of the online documentation covers this in detail.
If your task is being executed as a date/time scheduled job. please start it using the trigger instead.
0 x
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
Who is online
Users browsing this forum: No registered users and 24 guests