A Divendres, 23 d'abril de 2010, forum-u...@tinyerp.org va escriure: > 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_report > s/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.
Maybe SUN Java 6 is not the default in your system? Try "java -version" from the command line... > > > > > -------------------- m2f -------------------- > > -- > http://www.openobject.com/forum/viewtopic.php?p=54749#54749 > > -------------------- m2f -------------------- > > > _______________________________________________ > Tinyerp-users mailing list > http://tiny.be/mailman2/listinfo/tinyerp-users > -- Albert Cervera i Areny http://www.NaN-tic.com OpenERP Partner Mòbil: +34 669 40 40 18
_______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users