 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
Linux install question |
|
My boss has me shopping around for a new job scheduler and I am trying to install the multi platform edition on our linux server. I am getting an error when tring to run the master.sh GUI interface. It says that it cant convert legacy formats and then cant start 24x7 scheduler: fatal error occurred. debug log below.
****
2007-10-29 12:12:40,068 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - main(...) : start
2007-10-29 12:12:40,069 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : start
2007-10-29 12:12:40,236 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating business objects
2007-10-29 12:12:40,504 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating UI controller
2007-10-29 12:12:40,624 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : initializing business objects
2007-10-29 12:12:40,644 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Creating backup for preferences file preferences.xml
2007-10-29 12:12:40,646 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Preferences file has been copied to preferences.bak
2007-10-29 12:12:40,687 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : null
2007-10-29 12:12:42,643 [main] FATAL com.softtreetech.jscheduler.JSchedulerStarter - startup() :
java.lang.IllegalStateException: pref db is not opened.
at com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase.Ò00000(Unknown Source)
at com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase.getIdsByType(Unknown Source)
at com.softtreetech.jscheduler.business.preferences.SettingsImpl.getOptions(Unknown Source)
at com.softtreetech.jscheduler.ui.OoOO.A.Ó00000(Unknown Source)
at com.softtreetech.jscheduler.ui.OoOO.A.super(Unknown Source)
at com.softtreetech.jscheduler.ui.OoOO.H.String(Unknown Source)
at com.softtreetech.jscheduler.JSchedulerStarter.o00000(Unknown Source)
at com.softtreetech.jscheduler.JSchedulerStarter.main(Unknown Source)
2007-10-29 12:12:43,480 [main] DEBUG com.softtreetech.jscheduler.business.OooO - shutdown() start
2007-10-29 12:12:43,481 [main] DEBUG com.softtreetech.jscheduler.business.runner.JobExecutorImpl - killAll() start
2007-10-29 12:12:43,481 [main] FATAL com.softtreetech.jscheduler.JSchedulerStarter - java.lang.IllegalStateException: pref db is not opened.
2007-10-29 12:15:58,265 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - main(...) : start
2007-10-29 12:15:58,266 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : start
2007-10-29 12:15:58,380 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating business objects
2007-10-29 12:15:58,648 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating UI controller
2007-10-29 12:15:58,768 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : initializing business objects
2007-10-29 12:15:58,787 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Creating backup for preferences file preferences.xml
2007-10-29 12:15:58,790 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Preferences file has been copied to preferences.bak
2007-10-29 12:15:58,830 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : null
2007-10-29 12:30:48,429 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - main(...) : start
2007-10-29 12:30:48,430 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : start
2007-10-29 12:30:48,541 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating business objects
2007-10-29 12:30:48,813 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating UI controller
2007-10-29 12:30:48,935 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : initializing business objects
2007-10-29 12:30:48,955 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Creating backup for preferences file preferences.xml
2007-10-29 12:30:48,957 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Preferences file has been copied to preferences.bak
2007-10-29 12:30:48,997 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : null
2007-10-29 12:31:07,683 [main] FATAL com.softtreetech.jscheduler.JSchedulerStarter - startup() :
java.lang.IllegalStateException: pref db is not opened.
at com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase.Ò00000(Unknown Source)
at com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase.getIdsByType(Unknown Source)
at com.softtreetech.jscheduler.business.preferences.SettingsImpl.getOptions(Unknown Source)
at com.softtreetech.jscheduler.ui.OoOO.A.Ó00000(Unknown Source)
at com.softtreetech.jscheduler.ui.OoOO.A.super(Unknown Source)
at com.softtreetech.jscheduler.ui.OoOO.H.String(Unknown Source)
at com.softtreetech.jscheduler.JSchedulerStarter.o00000(Unknown Source)
at com.softtreetech.jscheduler.JSchedulerStarter.main(Unknown Source)
2007-10-29 12:32:10,856 [main] DEBUG com.softtreetech.jscheduler.business.OooO - shutdown() start
2007-10-29 12:32:10,856 [main] DEBUG com.softtreetech.jscheduler.business.runner.JobExecutorImpl - killAll() start
2007-10-29 12:32:10,857 [main] FATAL com.softtreetech.jscheduler.JSchedulerStarter - java.lang.IllegalStateException: pref db is not opened.
|
|
Mon Oct 29, 2007 12:39 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
This looks like an issue with preferences.xml file.
First please check you are running standard JDK or JRE version 1.4. By standard I mean a version available from JavaSoft.com and not altered or repackaged versions provided with some Linux distributions. If not, set $JAVA_HOME variable in master.sh to point to standard v1.4 home.
Visually or using a tool, check structure of the referenced XML file and ensure it is not corrupt.
|
|
Mon Oct 29, 2007 12:57 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
looking at the log it looks like it starts up until it get to
java.lang.IllegalStateException: pref db is not opened.
I made sure $JAVA_HOME is pointing to the correct path
in both the bash and on the master.sh file. any ideas below is the xml prefs
<xml>
- <root>
- <object>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
</object>
- <object>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
</object>
- <object>
<property>
<property>
<property>
</object>
- <object>
<property>
<property>
<property>
<property>
</object>
- <object>
<property>
<property>
<property>
<property>
<property>
</object>
- <object>
<property>
<property>
</object>
- <object>
<property>
- <object>
<property>
<property>
</object>
</object>
- <object>
<property>
<property>
<property>
- <property>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
</property>
</object>
- <object>
<property>
<property>
<property>
- <property>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
</property>
</object>
- <object>
<property>
<property>
<property>
- <property>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
</property>
</object>
- <object>
<property>
<property>
<property>
- <property>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
</property>
</object>
- <object>
<property>
<property>
<property>
- <property>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
</property>
</object>
</root>
|
|
Mon Oct 29, 2007 3:43 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
object id="1" type="5">
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
</object>
- <object>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
<property>
</object>
- <object>
<property>
<property>
<property>
</object>
- <object>
<property>
<property>
<property>
<property>
</object>
- <object>
<property>
<property>
<property>
<property>
<property>
</object>
- <object>
<property>
<property>
</object>
- <object>
<property>
- <object>
<property>
<property>
</object>
</object>
- <object>
<property>
<property>
<property>
- <property>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
</property>
</object>
- <object>
<property>
<property>
<property>
- <property>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
</property>
</object>
- <object>
<property>
<property>
<property>
- <property>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
</property>
</object>
- <object>
<property>
<property>
<property>
- <property>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
</property>
</object>
- <object>
<property>
<property>
<property>
- <property>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item>
<item value="2007,5,30,Period 12 [fiscal month - June 2006]"
Maybe this will post if not i can look for something specific in the xml file.
|
|
Mon Oct 29, 2007 3:46 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
We just reinstalled the program and it works fine. Thanks for the quick responses.
|
|
Mon Oct 29, 2007 3:59 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
Thanks for the update.
|
|
Mon Oct 29, 2007 4:09 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
more install help |
|
We are trying to install on one more box to test agent and are getting this error when attempting to install. Unfortunitely I only have 13 days left to test and report to management on my suggestions if this software will work for what our environment will require.
Thanks so much
[root@www opt]# ./setup.bin nogui /home/jscheduler/
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at com.zerog.ia.installer.Main.d(DashoA8113)
at com.zerog.ia.installer.Main.a(DashoA8113)
|
|
Thu Nov 01, 2007 2:16 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7955
|
|
|
|
I have no idea from where from where you get
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
but it is not from the 24x7 installer. Neither I know where you got setup.bin program which is also not part of 24x7.
Yet, I know what is causing the following exceptions. You are not running standard JDK/JRE provided by JavaSoft, you are running some repackaged incompatible version created by one the Linux distros. To get the software installed you have 2 options:
1. Download and install the standard JDK/JRE 1.4 for your system and use it to run the 24x7 setup program.
2. Install the software on some other computer, perhaps on your Windows workstation, and then FTP the entire installation folder to the target system. After that, use chmod command to set execute permissions for all .SH and .PL files in the installation directory. Again ensure $JAVA_HOME points to JDK/JRE 1.4.
And finally, if you tell me what you need to schedule and/or automate I can save your time and tell you without any installations whether that can be done or not.
|
|
Thu Nov 01, 2007 3:20 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
|
|
|