I'm using birt viewer 2.3.1 with java 1.6.0_06 in tomcat 6.0.16, on solaris.
I use the following command to autogenerate a report in pdf format:
exec /opt/csw/bin/wget
http://dwhouse:8080/birt-viewer/run?__report=index.rptdesign&__format=pdf -O $REPORTOUTPUTDIR/$REPORTSUBDIR/index.pdf
a .pdf file is generated but i cannot open it as a pdf. the error i get when trying to open it is:
unhandled mimi type: text/html
anyone know why the pdf is not generated correctly here?