SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
java api issues

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
java api issues
Author Message
Eric Davis



Joined: 31 Jan 2005
Posts: 54

Post java api issues Reply with quote

I am trying out the java includes to set up remote monitoring of 24x7.

I have had trouble with my simple script compiling properly, but not running in java.. so I tried to compile the example.java file located in the 24x7 directory.

After correcting lowercase errors, i still get the following :

openSession(java.lang.String,java.lang.Integer,java.lang.String,java.lang.String,java.lang.String)
in com.softtreetech.scheduler.j24x7 cannot be applied to (java.lang.String,java.lang.String,java.lang.String,java.lang.String)

I see that in the class file, opensession is using String,Int,String, String,String, but in the example uses all Strings.

Even after correcting this, it still throws this error

Has anyone compiled this example file ?

Wed Feb 08, 2006 1:11 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Re: java api issues Reply with quote

That example is very very old and I am nore it is still working. Please use examples from the docs http://www.softtreetech.com/24x7/24x7java.pdf

See pages 6-7 and other relevant pages.

: I am trying out the java includes to set up remote monitoring of 24x7.

: I have had trouble with my simple script compiling properly, but not running
: in java.. so I tried to compile the example.java file located in the 24x7
: directory.

: After correcting lowercase errors, i still get the following :
: openSession(java.lang.String,java.lang.Integer,java.lang.String,java.lang.String,java.lang.String)
: in com.softtreetech.scheduler.j24x7 cannot be applied to
: (java.lang.String,java.lang.String,java.lang.String,java.lang.String)

: I see that in the class file, opensession is using String,Int,String,
: String,String, but in the example uses all Strings.

: Even after correcting this, it still throws this error

: Has anyone compiled this example file ?

Thu Feb 09, 2006 1:00 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.