SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
24x7 Console won't launch

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
24x7 Console won't launch
Author Message
jstuart



Joined: 28 Aug 2014
Posts: 4
Country: Australia

Post 24x7 Console won't launch Reply with quote
Logged into the 24x7 server to find 24x7 unresponsive. Killed via task manager and then the console wouldn't launch when running the master.bat. Following a server restart, the console still won't launch. The javaw.exe appears in the task manager and starts utilizing CPU however no Console appears and there is no icon in the tray. This has been working fine for 4 months since a new server was deployed and we upgraded to 24x7 5.1.402. JAVA_HOME is jre 1.5.0_14

There have been no changes to the server that 24x7 is running on. Please help.

Master.bat is:

@echo off

if exist "%CD%\jre\bin\java.exe" (
SET JAVA_HOME=%CD%\jre
) else (
if not exist "%JAVA_HOME%\bin\java.exe" goto no_javahome
)

if "%1"=="nogui" goto start_console
if "%2"=="nogui" goto start_console
if "%1"=="/JOBFILE" goto start_console

start "24x7 Scheduler Console" "%JAVA_HOME%\bin\javaw.exe" -Xmx1024m -Xverify:none -jar jscheduler.jar %1 %2
exit %ERRORLEVEL%

:start_console
"%JAVA_HOME%\bin\java.exe" -Xmx1024m -Xverify:none -jar jscheduler.jar %1 %2
exit %ERRORLEVEL%

:no_javahome
echo.
echo JAVA_HOME value must be set to JDK or JRE 1.6.x installation directory
echo.
pause
exit 1
Sun Oct 05, 2014 8:07 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6485

Post Reply with quote
What do you see in debug.log file?
Sun Oct 05, 2014 2:03 pm View user's profile Send private message
jstuart



Joined: 28 Aug 2014
Posts: 4
Country: Australia

Post Reply with quote
This is what happens each time I run master.bat

2014-10-06 00:18:11,346 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - JVM version: 1.6.0_17-b04
2014-10-06 00:18:11,346 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - Current time with timezone: Mon Oct 06 00:18:11 EST 2014
2014-10-06 00:18:11,346 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - main(...) : start
2014-10-06 00:18:11,346 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : start
2014-10-06 00:18:11,486 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating business objects
2014-10-06 00:18:11,595 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating UI controller
2014-10-06 00:18:11,689 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : initializing business objects
2014-10-06 00:18:11,705 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Creating backup for preferences file preferences.xml
2014-10-06 00:18:11,720 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Preferences file has been copied to preferences.bak
2014-10-06 00:18:11,814 [main] DEBUG com.softtreetech.jscheduler.business.dde.DDEServer - Starting DDE service...
2014-10-06 00:18:11,829 [main] DEBUG com.softtreetech.jscheduler.business.dde.DDEServer - DDE service started
2014-10-06 00:18:11,829 [main] DEBUG com.softtreetech.jscheduler.business.Master - Loading calendars...
2014-10-06 00:18:11,939 [main] DEBUG com.softtreetech.jscheduler.business.Master - Loading agent profiles...
2014-10-06 00:18:11,939 [main] DEBUG com.softtreetech.jscheduler.business.Master - Loading queue managers...
2014-10-06 00:18:11,985 [main] DEBUG com.softtreetech.jscheduler.business.Master - Initializing scheduling engine...
2014-10-06 00:18:11,985 [main] DEBUG com.softtreetech.jscheduler.business.Master - Loading job templates...
2014-10-06 00:18:12,360 [main] DEBUG com.softtreetech.jscheduler.business.Master - Starting remote control interface...
2014-10-06 00:18:12,360 [main] DEBUG com.softtreetech.jscheduler.business.Master - Starting timer...
2014-10-06 00:18:12,360 [main] DEBUG com.softtreetech.jscheduler.business.Master - initialization completed...
2014-10-06 00:18:12,360 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : loading preferences
2014-10-06 00:18:12,360 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : Setting shutdown event hook
2014-10-06 00:18:12,360 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating user interface...
2014-10-06 00:18:13,358 [main] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - buildIndex(): totalRecordsNumber: 165
2014-10-06 00:18:13,358 [main] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - buildIndex(): deletedRecordsNumber: 7
Sun Oct 05, 2014 6:00 pm View user's profile Send private message
jstuart



Joined: 28 Aug 2014
Posts: 4
Country: Australia

Post Reply with quote
We have confirmed that it is a daylight savings change issue (AEST to AEDT on Sunday Oct 5th) as we changed the server date back to last week and the console launched as expected when running master.bat.

We have now used the tzupdater 1.4.7 tool to apply the most recent data file 2014g and restarted the server however we still experience the same behaviour with the console not launching. Is there a setting somewhere that needs to be updated?
Sun Oct 05, 2014 11:39 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6485

Post Reply with quote
Did you run DST updater from c:\24x7\jre\bin folder or from some other place?
Mon Oct 06, 2014 1:52 pm View user's profile Send private message
jstuart



Joined: 28 Aug 2014
Posts: 4
Country: Australia

Post Reply with quote
The DST updater was correct. We were advised by your support team to start master.bat with NOTIMER because they thought there may have been a conflict with multiple jobs trying to run when starting up. This allowed us to finally launch the console.

Then when trying to re-enable some of the jobs the console would become frozen / unresponsive again. After some troubleshooting we determined that the problem jobs were the ones that are set to run monthly on specific days of the month (eg. 1,2,3,4,5). I understand that there are some know monthly job issues in v5.1 (our version) that are supposed to be resolved in v5.2. Are you able to confirm this? We will be looking to upgrade asap.
Mon Oct 06, 2014 5:31 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6485

Post Reply with quote
I can confirm that there are under couple of fixes in v5.2 dealing with monthly jobs. Yet, your description of the issue sounds very unusual. I'm not really sure it's because of monthly jobs processing. You can easily check that theory by setting system clock one day off, or just wait one day. If it makes no difference, it has nothing to do with monthly jobs.

I would recommend trying NOGUI mode first to see if jobs run as expected. Check which jobs run continuously non stop and disable them. I think after that you can try starting it in GUI mode.
Mon Oct 06, 2014 6:28 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6485

Post Reply with quote
An additional note, in GUI mode such as when starting master.bat without parameters, the GUI may appear frozen and causing high CPU usage if a lot of jobs are running without pauses and the GUI needs to continuously refresh to reflect latest job statuses, estimate their next run time, show latest logs, etc... which is consistent with what you are describing. This may happen in case or wrong or corrupted job setup, jobs with high frequency timers or semaphore checks, or an erroneous job that's somehow triggering other jobs in a end-less loop, or something else similar causing continuous GUI refreshing.

Just in case, the GUI mode is supposed to be used for new job development and job debugging, not for running jobs on a production server. For production systems please use service or NOGUI console modes with web console used for job management.
Mon Oct 06, 2014 11:26 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.