SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Windows service not working in 4.2

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Windows service not working in 4.2
Author Message
barefootguru



Joined: 10 Aug 2007
Posts: 195

Post Windows service not working in 4.2 Reply with quote
Hi,

I've just upgraded from 24x7 Multi-Platform Edition 4.1.273 to 4.2 278 (Windows XP Pro).

The GUI interface is running fine but not the service. I normally leave the service running (so it can continue when I log off), then stop it and start the GUI when editing the job database.

The service seems to start OK through the Windows Services control, though when entering 24x7srv at the command line I receive:

Unable to start the 24x7 Scheduler service. StartServiceCtrlDispatcher failed - The service process could not connect to the service controller.

I've tried removing (/remove) and re-installing (/install) the service but same problem.

Help appreciated.
Fri Feb 27, 2009 5:03 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7953

Post Reply with quote
Did you install it into the same folder? That's where the service is looking for it.

Does the JAVA_HOME system environment variable point to JRE 1.5 home directory? Note that 1.4 was required for 4.1, 1.5 is required for 4.2
Fri Feb 27, 2009 7:08 pm View user's profile Send private message
barefootguru



Joined: 10 Aug 2007
Posts: 195

Post Reply with quote
I ran the install/uninstall from the 24x7_Scheduler directory. The entry in Services is pointing to C:\Program Files\24x7_Scheduler\24x7srv.exe

JAVA_HOME=C:\Program Files\Java\jre1.5.0_06
Fri Feb 27, 2009 8:00 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7953

Post Reply with quote
Please edit preferences.xml file and locate property with traceEnabled name. Set the value in this line to "true". Start the service. Check what you get in debug.log file. All referenced files can be found in the 24x7 home directory.


The modified line in preferences.xml should look like the following
<property>
Fri Feb 27, 2009 8:12 pm View user's profile Send private message
barefootguru



Joined: 10 Aug 2007
Posts: 195

Post Reply with quote
This is weird—it's working now (debug output seemed OK so I took another look and the service was OK). Oh well, thanks for the quick response.
Sat Feb 28, 2009 12:08 am 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.