Hi, I have had the same problem "Could
not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser",
I don't know why but this work correctly:

first kill the current jasperserver proces:

u...@machine:~# ps -ef | grep java
openerp  19633 15624  0 09:16 ?        00:00:03 java 
com.nantic.jasperreports.JasperServer
user     26543 24121  0 09:42 pts/2    00:00:00 grep java
u...@machine:~# kill -9 19633 

then run manually the jasper server:

u...@machine:~#cd 
/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_reports/java
u...@machine:/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_reports/java#./compile.sh

and try to print a report. 

I put a simple script in /etc/init.d/openerp-jasper to start this proces on 
system start.




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=54749#54749

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to