SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Unable to Install 24x7 On Linux
Goto page 1, 2  Next
 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Unable to Install 24x7 On Linux
Author Message
fkhalid



Joined: 16 Feb 2016
Posts: 16
Country: United States

Post Unable to Install 24x7 On Linux Reply with quote
Hi,
I am unable to install 24x7 scheduler on Red hat Linux server.
I have verified the JRE presence and also I have validated JAVA_HOME variable. Everything looks fine however I am getting below errors.

[oracle@nyaddbatest03:TESTDB] echo $JAVA_HOME
/u01/app/oracle/product/12.1.0/db_1/jdk
[oracle@nyaddbatest03:TESTDB] which java
/u01/app/oracle/product/12.1.0/db_1/jdk/bin/java
[oracle@nyaddbatest03:TESTDB] java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)
[oracle@nyaddbatest03:TESTDB] ./setup.sh
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/softtreetech/jscheduler/installer/CommandLineInstaller : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: com.softtreetech.jscheduler.installer.CommandLineInstaller. Program will exit.
Tue Feb 16, 2016 1:08 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6506

Post Reply with quote
You need JRE or JDK version 1.7.

The log messages in your post indicate it's 1.6.

Hope this helps.
Tue Feb 16, 2016 1:47 pm View user's profile Send private message
fkhalid



Joined: 16 Feb 2016
Posts: 16
Country: United States

Post Reply with quote
Thanks. Somehow I missed the path. My environment variable was using 1.6 jDK when I had already installed the correct 1.7 version JRE.
The setup was done successfully.

Now I am trying to open the application but it's not working.

I ran following command and then trying to access the console from a gui page.
./master.sh nogui

https://hostname:8088/

Am I doing wrong as this is what I did so far.
Tue Feb 16, 2016 3:37 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6506

Post Reply with quote
Please check messages in the debug.log file after running ./master.sh nogui

Do the show any errors or Sa that the system started successfully?
Tue Feb 16, 2016 4:21 pm View user's profile Send private message
fkhalid



Joined: 16 Feb 2016
Posts: 16
Country: United States

Post Reply with quote
The debug.log is showing following text when i start the master.sh script.

2016-02-16 16:25:23,319 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - JVM version: 1.7.0_95-mockbuild_2016_01_18_22_31-b00
2016-02-16 16:25:23,324 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - Current time with timezone: Tue Feb 16 16:25:23 EST 2016
2016-02-16 16:25:23,324 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - main(...) : start
2016-02-16 16:25:23,324 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : start
2016-02-16 16:25:23,324 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating business objects
2016-02-16 16:25:23,444 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating UI controller
2016-02-16 16:25:23,492 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : initializing business objects
2016-02-16 16:25:23,509 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Creating backup for preferences file preferences.xml
2016-02-16 16:25:23,510 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Preferences file has been copied to preferences.bak


It remain at this state forever.

Please note that I have installed the software using a local account (non root) and trying to run with same user.
Tue Feb 16, 2016 5:27 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6506

Post Reply with quote
That looks fine indeed.

I think you haven't deployed the web console server or not started it, that's why you cannot open the web console session.

There are several methods available to check the scheduler is running. My favorite is using the command line console. Run ./console.sh
Then type help and Enter key. Use the connect command. To connect, then something like list jobs
Tue Feb 16, 2016 5:46 pm View user's profile Send private message
fkhalid



Joined: 16 Feb 2016
Posts: 16
Country: United States

Post Reply with quote
Hi,
Can you please help me install the web console you mentioned earlier?
I read documentation and it only stats that after running the setup.sh you just need to run the master.sh.
I am able to open the single user console by running the master.sh however the browser based console is not opening.
Mon Feb 22, 2016 3:35 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6506

Post Reply with quote
Please contact supportATsofttreetech.com and ask for a download link for the web console. Please let them know your current scheduler version.
Mon Feb 22, 2016 5:49 pm View user's profile Send private message
fkhalid



Joined: 16 Feb 2016
Posts: 16
Country: United States

Post Reply with quote
Thanks I will contact them.
Actually we are doing proof of concept for this product and checking if this scheduler will work for our environment. Then we will go for commercial license.
We are going to contact sales and support team to have a session with my director to further proceed.

Thanks for the support.
Tue Feb 23, 2016 10:50 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6506

Post Reply with quote
Certainly. Just please be sure to indicate the scheduler version you have installed installed and the platform on which you are going to run the web console (it can but doesn't have to be the same system that is running the scheduler and jobs) so that the correct web console version can be installed.
Tue Feb 23, 2016 10:58 am View user's profile Send private message
fkhalid



Joined: 16 Feb 2016
Posts: 16
Country: United States

Post Reply with quote
Hi,
I have download the webconsole from below link and renamed and copied the 24x7.war file to apache tomcate webapps directory too however I am not able to access the web console.

24x7 Web-based Management Console (multiple-platforms, manual install):
http://www.softtreetech.com/download2/jwi24x7_389.war

Following steps followed for this task
-------------------------------------------
5. To install the web console, first download and install Apache Tomcat web server for your system type, see https://tomcat.apache.org/download-70.cgi
6. Copy jwi24x7_389.war as 24x7.war file to the web server's webapps folder.
To test the web console, open a web browser, navigate to https://server_name_here:8080/24x7/


Any words on this please?
Tue Mar 15, 2016 12:31 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6506

Post Reply with quote
What kind of message do you get from the web server?
Tue Mar 15, 2016 12:54 pm View user's profile Send private message
fkhalid



Joined: 16 Feb 2016
Posts: 16
Country: United States

Post Reply with quote
I am getting generic error below:


------------------------------------------
Secure Connection Failed

The connection to the server was reset while the page was loading.

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.

--------------------------------------------

I have checked apache tomcat status and it appears to be running.

[root@conf]# ps -ef|grep apache
apache 28417 28413 0 13:00 ? 00:00:00 /usr/sbin/httpd -k start
apache 28418 28413 0 13:00 ? 00:00:00 /usr/sbin/httpd -k start
apache 28419 28413 0 13:00 ? 00:00:00 /usr/sbin/httpd -k start
apache 28420 28413 0 13:00 ? 00:00:00 /usr/sbin/httpd -k start
apache 28421 28413 0 13:00 ? 00:00:00 /usr/sbin/httpd -k start
apache 28422 28413 0 13:00 ? 00:00:00 /usr/sbin/httpd -k start
apache 28423 28413 0 13:00 ? 00:00:00 /usr/sbin/httpd -k start
apache 28424 28413 0 13:00 ? 00:00:00 /usr/sbin/httpd -k start
Tue Mar 15, 2016 1:08 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6506

Post Reply with quote
Please choose to ignore that message and continue to the site. If there is no option to continue, you would need to install an SSL certificate for your web server. You can purchase a commercial certificate backed up by a respected certificate authority, or you can generate a self signed certificate, which is free. In the latest case, for specific how-to instructions please google for "tomcat self signed certificate" without quotes.

Another solution is to install 24x7 web console on a different server that already have a certificate. The web console and the scheduler don't have to be on the same computer. You only need one web console for all of them.

Hope this helps.
Tue Mar 15, 2016 1:21 pm View user's profile Send private message
fkhalid



Joined: 16 Feb 2016
Posts: 16
Country: United States

Post Reply with quote
I am working with unix team to look for certificate install.
On parallel side, i installed the webconsole on my desktop computer and when I am trying to connect using my ad account, it says "connection denied".

I am putting the scheduler server name against the server name.

On server I can see the services are running.

[oracle@:AGENT] 24x7_control.sh check
oracle 25778 25774 21 15:40 pts/0 00:00:01 /usr/bin/java -Xmx1024m -Xverify:none -jar jscheduler.jar nogui
Scheduler is running.
Tue Mar 15, 2016 3:50 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
Goto page 1, 2  Next
Page 1 of 2

 
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.