SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
installing multi platform edition fails to run on windows

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
installing multi platform edition fails to run on windows
Author Message
mmittiga



Joined: 03 Aug 2010
Posts: 14
Country: United States

Post installing multi platform edition fails to run on windows Reply with quote
Still seems to complete ok, but when I try to launch the master.bat it fails to open anything or even report the error. I have java_home set to C:\>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.5.0_20

What am I missing? where can I see what is going wrong?

Thanks
Tue Aug 03, 2010 2:46 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Please run master.bat from the command line and let us know what it prints to the screen when you run it.
Tue Aug 03, 2010 7:22 pm View user's profile Send private message
mmittiga



Joined: 03 Aug 2010
Posts: 14
Country: United States

Post Reply with quote
Nothing happens, it simply causes the CMD box to close.
Tue Aug 03, 2010 7:55 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Please use
Code:
cmd /C master.bat

Tue Aug 03, 2010 10:52 pm View user's profile Send private message
mmittiga



Joined: 03 Aug 2010
Posts: 14
Country: United States

Post installing multi platform addition fails to run on windows Reply with quote
Still no joy. Even trying to install on a linux box. It looks like it goes through all the steps from the setup.sh but then nothing gets created.

[root@vader:/scheduler_install]# ./setup.sh nogui /home/24x7

INFO: Running console mode installer.
IMPORTANT: For license terms and conditions read LICENSE.TXT file.
INFO: Installing into: "/home/24x7"
INFO: Using TEMP directory: "/tmp"
[root@vader:/scheduler_install]# cd /home/24x7/
[root@vader:/home/24x7]# ls
license
[root@vader:/home/24x7]# ls -altr
total 16
drwxr-xr-x 10 root games 4096 Aug 3 15:15 ..
drwxr-xr-x 2 root root 4096 Aug 3 15:15 .
-rw-r--r-- 1 root root 35 Aug 3 15:18 license
Mon Aug 09, 2010 12:32 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Do you see debug.log in the scheduler directory? If yes, please post the content of this file.

Also please try running
master anyJVM
Mon Aug 09, 2010 1:49 pm View user's profile Send private message
mmittiga



Joined: 03 Aug 2010
Posts: 14
Country: United States

Post installing multi platform addition fails to run on windows Reply with quote
On the windows box:
2010-08-03 13:52:52,822 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - JVM version: 1.5.0_20-b02
2010-08-03 13:52:52,822 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - main(...) : start
2010-08-03 13:52:52,822 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : start
2010-08-03 13:52:53,135 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating business objects
2010-08-03 13:52:53,197 [main] DEBUG com.softtreetech.jscheduler.business.O - System started from C:\Program Files\24x7_Java\master.bat
2010-08-03 13:52:53,431 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating UI controller
2010-08-03 13:52:53,588 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : initializing business objects
2010-08-03 13:52:53,619 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Creating backup for preferences file preferences.xml
2010-08-03 13:52:53,619 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Preferences file has been copied to preferences.bak
However, I can not get this to start again on windows by any method. I started once but not since.

On Linux "centOS" it will not even install:

./setup.sh nogui /job_scheduler

if [ -f $JAVA_HOME/bin/java ] ; then
if [ -z "$1" ] ; then
$JAVA_HOME/bin/java -jar setup.jar
else
if [ -z "$2" ] ; then
$JAVA_HOME/bin/java -jar setup.jar "$1"
else
if [ -z "$5" ] ; then
$JAVA_HOME/bin/java -jar setup.jar "$1" "$2"
else
$JAVA_HOME/bin/java -jar setup.jar "$1" "$2" "$3" "$4" "$5"
fi
fi
fi
else
echo JAVA_HOME value must be set to JDK or JRE 1.5.x installation directory
exit 0
fi
+ '[' -f /usr/java/jdk1.6.0_21/bin/java ']'
+ '[' -z nogui ']'
+ '[' -z /job_scheduler ']'
+ '[' -z '' ']'
+ /usr/java/jdk1.6.0_21/bin/java -jar setup.jar nogui /job_scheduler

INFO: Running console mode installer.
IMPORTANT: For license terms and conditions read LICENSE.TXT file.
INFO: Installing into: "/job_scheduler"
INFO: Using TEMP directory: "/tmp"

cd /job_scheduler/
[root@vader:/job_scheduler]# ls -altr
total 12
drwxr-xr-x 29 root root 4096 Aug 9 16:54 ..
drwxr-xr-x 2 root root 4096 Aug 9 16:54 .

echo $JAVA_HOME
/usr/java/jdk1.6.0_21


thanks for all of your help!
Tue Aug 10, 2010 10:49 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Quote:
2010-08-03 13:52:53,619 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Preferences file has been copied to preferences.bak


Is that always the last line printed to debug.log when starting the scheduler on Windows?

On CentOS, please check you are using real Sun's JRE or JDK 1.4 or 1.5 and not a link to some other JDK version from some generic distribution. Whichever Java version you are using now to run the setup, that version seems to be in-compatible and that's why it fails to load the setup classes or its standard dependencies.

By the way, here is some except from the log you pasted in the previous post
echo JAVA_HOME value must be set to JDK or JRE 1.5.x installation directory

+ '[' -f /usr/java/jdk1.6.0_21/bin/java ']'
Tue Aug 10, 2010 12:46 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.