Just wondering if someone can give me some pointer why i get this error on the birtviewer widget?
The connection to the mysql db is correct in this file:
/home/joyce888/www/konakartadmin/WEB-INF/classes/konakartadmin.properties
since i was able to access the http://www.site.com/konakartadmin site as well as the http://www.site.com/konakart site successfully.
I'm still trying to figure out what causes the error below to happen which cause the "My Store Status" Status Page Report URL graph to be broken ?
Any pointer on this ?
i'm using konakart.version = 3.2.0.0
konakart.build.date = 9:06PM 1-Feb-2009 GMT
and i did not install the konakart software automatically,
I use the manual process way where i copy the successful installation of the konakart software from my local host to the hosting company host manually by copy these directories below to the hosting company webapp dir path:
joyce888@site.com [~/www]# pwd
/home/joyce888/www
joyce888@site.com [~/www]# ls -lart
total 396
drwxr-xr-x 10 joyce888 joyce888 4096 Mar 12 20:55 birtviewer/
drwxr-xr-x 10 joyce888 joyce888 4096 Mar 12 21:04 konakart/
drwxr-xr-x 4 joyce888 joyce888 4096 Mar 12 21:10 konakartadmin/
I attach the error that i'm seeing here as well.
I'm not sure but it appears that in your new environment there are difficulties writing the konakart-birt.log file. You could comment out all of those lines in the report files or change the file target to somewhere that you can write to?
A BIRT exception occurred: There are errors evaluating script "__bm_beforeOpen()":
Wrapped java.io.IOException: Couldn't get lock for konakart-birt.log
There are many reasons why you might get this error:
http://www.google.co.uk/search?hl=en&q=Couldn%27t+get+lock+for+&meta=
--Kate
Woohoo! Kate thanks it works ..just needed a bit of initial guidance.
Basically by default it was trying to create the "konakart-birt.log file." in the hosting host that is not allow.
I literally change the code to point it to a place that is writable instead which i know off:
For references for folks who encounter this same issue, here is the fix for it:
in this file /home/joyce888/www/birtviewer/reports/lib/konakart.rptlibrary,
change this from:
var fileHandler = new FileHandler("konakart-birt.log", false); // do not append
to:
var fileHandler = new FileHandler("/home/joyce888/www/birtviewer/logs/konakart-birt.log", false); // do not append