Author |
Message |
TJ
Joined: 21 Jun 2005 Posts: 35
|
|
Status Report |
|
When I try to generate a status report using getStatusReport();
It is throwing an error....also the tab is grayed out on the scheduler GUI. I have set the target directory where I wish the report to be stored.
Please tell me what's wrong??
|
|
Tue Jun 13, 2006 2:52 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7970
|
|
Re: Status Report |
|
Which error do you get? : When I try to generate a status report using getStatusReport(); : It is throwing an error....also the tab is grayed out on the scheduler GUI. I : have set the target directory where I wish the report to be stored. : Please tell me what's wrong??
|
|
Tue Jun 13, 2006 3:23 pm |
|
 |
TJ
Joined: 21 Jun 2005 Posts: 35
|
|
Re: Status Report |
|
: Which error do you get? "Uable to open C:\Temp\OpeninBrowser49929.url" I have redirected the output but then how to I alter the location to the source?
|
|
Fri Jun 16, 2006 9:51 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7970
|
|
Re: Status Report |
|
I am sorry, I don't understand your question. How do you get C:\Temp\OpeninBrowser49929.url? : "Uable to open C:\Temp\OpeninBrowser49929.url" : I have redirected the output but then how to I alter the location to the : source?
|
|
Fri Jun 16, 2006 10:18 am |
|
 |
TJ
Joined: 21 Jun 2005 Posts: 35
|
|
Re: Status Report |
|
: I am sorry, I don't understand your question. How do you get : C:\Temp\OpeninBrowser49929.url? My question is: while I try to view the status reports of the tasks, by clicking Reports--->Status Report on the GUI, I get the error message "C:\Temp\OpeninBrowser49929.url" The point is that while I try to use the API call getStatusReport, the status report is unaccessible and is not directed on to a HTML page. Please help.
|
|
Mon Jun 19, 2006 1:01 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7970
|
|
Re: Status Report |
|
Is the report generation option enabled in Tools/Options menu; Log page? If yes, can you see HTML files generated/updated after job runs in the chosen landing directory? : My question is: while I try to view the status reports of the tasks, by : clicking Reports--->Status Report on the GUI, I get the error message : "C:\Temp\OpeninBrowser49929.url" : The point is that while I try to use the API call getStatusReport, the status : report is unaccessible and is not directed on to a HTML page. : Please help.
|
|
Mon Jun 19, 2006 1:23 pm |
|
 |
TJ
Joined: 21 Jun 2005 Posts: 35
|
|
Re: Status Report |
|
: Is the report generation option enabled in Tools/Options menu; Log page? If : yes, can you see HTML files generated/updated after job runs in the chosen : landing directory? That is precisely the problem. I have enabled it and yet the HTML files are not landing...what am I doing wrong?
|
|
Mon Jun 19, 2006 7:04 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7970
|
|
Re: Status Report |
|
Take a look at what you get in the schedule.log file, if there are any indication of the problem. Also verify the account running 24x7 has permissions to write to the specified directory If still no help, enable trace options in the Tools/Options menu; log and run a job manually (any job), take a llok at the generated debug.log file, look for Exeptions related to Status report generation : That is precisely the problem. I have enabled it and yet the HTML files are : not landing...what am I doing wrong?
|
|
Mon Jun 19, 2006 8:57 pm |
|
 |
TJ
Joined: 21 Jun 2005 Posts: 35
|
|
Re: Status Report |
|
: Take a look at what you get in the schedule.log file, if there are any : indication of the problem. : Also verify the account running 24x7 has permissions to write to the : specified directory : If still no help, enable trace options in the Tools/Options menu; log and run : a job manually (any job), take a llok at the generated debug.log file, : look for Exeptions related to Status report generation Thanks a ton, I appreciate the help but it still says the following: "2006-06-20 09:15:09,621 [Thread-16] ERROR com.softtreetech.jscheduler.business.log.LoggerImpl - Error generating reports files java.util.zip.ZipException: The system cannot find the path specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile. (ZipFile.java:203) at java.util.jar.JarFile. (JarFile.java:132) at java.util.jar.JarFile. (JarFile.java:97)" Why is it unable to find something like D:/folder??
|
|
Tue Jun 20, 2006 10:24 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7970
|
|
Re: Status Report |
|
It should be D:\folder not D:/folder. Windows systems use backslahes as path separators. : Thanks a ton, I appreciate the help but it still says the following: : "2006-06-20 09:15:09,621 [Thread-16] ERROR : com.softtreetech.jscheduler.business.log.LoggerImpl - Error generating : reports files : java.util.zip.ZipException: The system cannot find the path specified : at java.util.zip.ZipFile.open(Native Method) : at java.util.zip.ZipFile. (ZipFile.java:203) : at java.util.jar.JarFile. (JarFile.java:132) : at java.util.jar.JarFile. (JarFile.java:97)" : Why is it unable to find something like D:/folder??
|
|
Tue Jun 20, 2006 10:33 am |
|
 |
TJ
Joined: 21 Jun 2005 Posts: 35
|
|
Re: Status Report |
|
: It should be D:\folder not D:/folder. Windows systems use backslahes as path : separators. Well I know, sorry typos but in the GUI I just browsed to that folder.. so whats wrong?
|
|
Tue Jun 20, 2006 10:36 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7970
|
|
Re: Status Report |
|
For some reason it cannot access that folder. Is that a mapped network share or a local folder? Did you type that path in the options box or used the Browse button? : Well I know, sorry typos but in the GUI I just browsed to that folder.. : so whats wrong?
|
|
Tue Jun 20, 2006 10:43 am |
|
 |
TJ
Joined: 21 Jun 2005 Posts: 35
|
|
Re: Status Report |
|
: For some reason it cannot access that folder. Is that a mapped network share : or a local folder? : Did you type that path in the options box or used the Browse button? It is a local folder and I used the browse button. That's why I am so dumbstruck.
|
|
Tue Jun 20, 2006 10:49 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7970
|
|
Re: Status Report |
|
Try picking a different folder and check if works there. For example, try creating a new empty folder on C drive. If that works, the problem is likely with permissions. If it doesn't, the problem is in something else. What I don't get in the trace output is why it references "java.util.zip" and what it has to do with the zip. If changing folder is no help please send to support list of all JAR files from the 24x7 directory and their dates and sizes. We will check if any of these files is corrupted. Don't forget to mention your version and build numbers. : It is a local folder and I used the browse button. That's why I am so : dumbstruck.
|
|
Tue Jun 20, 2006 11:08 am |
|
 |
TJ
Joined: 21 Jun 2005 Posts: 35
|
|
Re: Status Report |
|
: For some reason it cannot access that folder. Is that a mapped network share : or a local folder? : Did you type that path in the options box or used the Browse button? It is a local folder and I used the browse button. That's why I am so dumbstruck.
|
|
Tue Jun 20, 2006 11:17 am |
|
 |
|