 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
mbenton
Joined: 08 Feb 2010 Posts: 38 Country: United Kingdom |
|
Error updating job |
|
24x7 MP 4.4b314
24x7 Web Console 4.3b285
When editing a Job using the Web Console interface, after pressing the "Finish" key, nothing happens for quite a while... then i receive a message box;
"Message from webpage" with the contents "Error updating job: ÿ"
The jobs contents are not changed.
This happens with when trying to update/edit any existing job.
|
|
Tue Oct 05, 2010 10:55 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Do you mean that you can create a new job but cannot modify an existing job?
Are you the job owner?
do you see any related errors reported in schedule.log or debug.log files in the scheduler installation directory?
|
|
Wed Oct 06, 2010 1:29 am |
|
 |
mbenton
Joined: 08 Feb 2010 Posts: 38 Country: United Kingdom |
|
|
|
I have this morning upgraded from 24x7 MP 4.4b314 to 4.4b317, and have the same problem.
I am the Job owner (root).
I am editing an existing Job.
I have turned on the trace option, and have seen the following in the debug.log file (I will attach the full file to this post);
2010-10-06 09:57:41,916 [Thread-3] DEBUG com.softtreetech.jscheduler.business.remotecontrol.RemoteControlUtil - setPredefinedPropertyValue(): job type = S
2010-10-06 09:57:41,919 [Thread-3] ERROR com.softtreetech.jscheduler.business.remotecontrol.Request - Method invocation error updatejob params [483, ID=483
JOB_TYPE=S
tDateFormatStr=dd/MM/yy
MSG_JOB_ID=
MSG_PROFILE=
MSG_PAGER=
MSG_PASSWORD=
MSG_NET_RECIPIENT=
MSG_PROGRAM_NAME=
MSG_PROGRAM_TIMEOUT=
MSG_RECIPIENT=
MSG_NET=
MSG_ACCOUNT=
MSG_FILE_NAME=
MSG_EMAIL=N
MSG_PAGE=
MSG_DATABASE=N
MSG_FILE=N
MSG_SCRIPT=N
MSG_TRAP=N
MSG_PROGRAM=N
MSG_JOB=N
MSG_START=N
MSG_FINISH=N
MSG_ERROR=N
MSG_LATE=N
MSG_NOTFOUND=N
MSG_ACTIONS=
FOLDER_ID=6
IGNORE_ERRORS=N
SKIP=N
DELAY=10
LOG=Y
MOVE_DIR=/usr/local/24x7_Scheduler
RENAME_SUFFIX=_@T"mmddyyyy_hhmmss"
NUMBER_OF_RETRIES=1
RETRY_ON_ERROR=N
RETRY_INTERVAL=60
DISABLE_ON_ERROR=N
SIZE_CHECK_INTERVAL=0
SAVE_ATTACHMENT=N
ACCOUNT=
MESSAGE=
SUBJECT=
PASSWORD=
FILE=
POLLING_INTERVAL=
DELETE_RULE=
DAY_NUMBER=
DAY_NAME=
MONTHLY_TYPE=
SLIDE_HOLIDAY=N
DAY_LIST=
SUNDAY=
MONDAY=
TUESDAY=
WEDNESDAY=
THURSDAY=
FRIDAY=
SATURDAY=
SKIP_HOLIDAY=N
TIME_LIST=
INTERVAL=01:00
START_DATE=09/10/2011
START_TIME=16:46
END_DATE=09/10/2011
END_TIME=16:46
ALL_DAY_TYPE=R
DAY_END_TIME=
DAY_START_TIME=
REBOOT=N
RUNAS_USER=
RUNAS_PASSWORD=
RUNAS_DOMAIN=
KEYSTROKE=
INIT_TIMEOUT=
SEND_KEYSTROKE=N
EXIT_CODE=[any]
TIMEOUT=0
WINDOW=
START_IN=
COMMAND=
SCHEDULE_TYPE=O
QUEUE=[default]
CALENDAR=[default]
PRIORITY=0
DETACHED=N
ASYNC=N
PROFILE=
SCRIPT_TYPE=JS
HOST=Local
BACKUP_HOST=
MSG_SCRIPT_TYPE=
NAME=TEST1
]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.softtreetech.jscheduler.business.remotecontrol.Request.run(Unknown Source)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.softtreetech.jscheduler.business.remotecontrol.RemoteControlUtil.setPredefinedPropertyValue(Unknown Source)
at com.softtreetech.jscheduler.business.remotecontrol.RemoteControlUtil.setPropertyValue(Unknown Source)
at com.softtreetech.jscheduler.business.remotecontrol.RemoteOperationsImpl.updateJob(Unknown Source)
... 7 more
|
|
Wed Oct 06, 2010 5:17 am |
|
 |
mbenton
Joined: 08 Feb 2010 Posts: 38 Country: United Kingdom |
|
|
|
I have been doing some more testing....
I am unable, using the web console, to add a new job. Job Error ÿ.
I select "blank job", and then copied properties from existing job, renamed job so as not to clash, and then selected "finish". result "error ÿ".
|
|
Wed Oct 06, 2010 5:28 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
It looks like the scheduler cannot find something in the job data, resulting in NullPointerException.
Which version of the web console is that?
|
|
Wed Oct 06, 2010 9:35 am |
|
 |
mbenton
Joined: 08 Feb 2010 Posts: 38 Country: United Kingdom |
|
|
|
24x7 Web Console 4.3 build 285
|
|
Wed Oct 06, 2010 9:38 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
That version should be fine. I'm unable to say what's wrong with that. Please email the complete debug.log to supportATsofttreetech.com
|
|
Wed Oct 06, 2010 9:55 am |
|
 |
mbenton
Joined: 08 Feb 2010 Posts: 38 Country: United Kingdom |
|
|
|
debug.log emailed. :-)
|
|
Wed Oct 06, 2010 10:08 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Thank you for the log. The provided log file indicates some kind of anomaly, as if the scheduler was unable to locate some job properties.
I think you are running 24x7 on a *nix type system. Are you using master.sh to start it? If you are using the default file, please try updating this file to allow 24x7 to allocate more memory if required for the operations. In that file search for -Xmx256m value and replace it with -Xmx1024m Restart the scheduler after this change and check if that helps.
|
|
Wed Oct 06, 2010 9:49 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|