 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
Jensemann
Joined: 29 Sep 2009 Posts: 5 Country: Germany |
|
Connecting to Example Jobs.dat in Trial Version |
|
Actually we are testing the trial version of the 24x7 Scheduler (Version 3.6.2). We are very interested in this product because of the possibilities we do expect from the Java-Programming-Interface.
For us the possibility of accessing and manipulating a Job-Scheduler-Database is is the most important feature. To check wheter this Java-API matches our basic orientations we just tried to access the Scheduler-DB via the "openSession"-Method of the j24x7-Class. Unfortunately we are not sure about what to tell the Parameter "Serial" (String) because this is a trial version!?
We donīt want you to tell us a serial number before buying this product, but for us it would be necessary to know how to establish a connection to the 'Example Jobs.dat' in our trial version for further testing. Is there a possibility to access the "Example Jobs.dat"?
Kind regards from germany
Jens
|
|
Tue Sep 29, 2009 10:09 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Please specify an empty string for the serial key value.
|
|
Tue Sep 29, 2009 4:02 pm |
|
 |
Jensemann
Joined: 29 Sep 2009 Posts: 5 Country: Germany |
|
|
|
Thanx for your reply! Unfortunately we are still getting the following error while testing with the trialversion:
Exception: Connection refused: connect
Regarding to your proposal we left the serialnumber blank:
j24x7 remote24x7 = new j24x7();
Integer portNo = new Integer(1096);
String hostName = new String("LocalHost");
String userID = new String("");
String userPass = new String("");
String serial = new String("");
remote24x7.openSession(hostName, portNo, userID, userPass, serial );
All other features (and the installation) are working fine. But thus we are not able to test the - for us - most important feature - the java-api. Is it possible to get access to the schedulers DB (.dat) by another approach?
Kind regards from germany
Jens
|
|
Mon Oct 05, 2009 1:59 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Why do you think the problem is in the serial number? The error message doesn't say that.
By the why the API is not a file access interface. It is a remote client-server interface connecting your client application to the scheduler, which acts as a server application.
Let's check a few things to find out what is going on there.
Is the scheduler running in server mode and listening for network connections?
If no, please turn on the server mode (Tools/Options/Network)
If yes, when you make an attempt to connect, do you see in the scheduler.log file messages saying that "User XXX is attempting to open a new conenction from YYYY. Connection rejected" or something similar? If yes, check the scheduler security settings. If the security is enabled, turn if off, until you get a working connection. If no, there are no such messages in the log, check your firewall and verify it is allowing connections on the default port 1096, or whatever you have chosen in the scheduler settings.
|
|
Mon Oct 05, 2009 2:14 am |
|
 |
Jensemann
Joined: 29 Sep 2009 Posts: 5 Country: Germany |
|
|
|
Dear SysOp,
thanx for your immediate reply. After turning off the schedulers security settings we fixed the problem. Now connecting via JavaApp works fine, we just started testing!
Thanx a lot..
Jens
|
|
Mon Oct 05, 2009 8:38 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Thank you for the status update. I'm glad to know you I could now move forward.
By the way, the updated versions of the scheduler and the APIs have been released today. If interested, please visit the product home page to download latest updates. http://www.softtreetech.com/24x7/
|
|
Mon Oct 05, 2009 11:29 am |
|
 |
|
|
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
|
|
|