cindy.c [http://community.jboss.org/people/cindy.c] created the discussion
"Re: Generate reports problem with jbpm-console" To view the discussion, visit: http://community.jboss.org/message/594036#594036 -------------------------------------------------------------- Hello, I installed jBPM 5 and Birt: birt-runtime-2_6_2.zip (downloaded it myself, not with the demo). I have modified build.xml: <target name="check.birt"> <condition property="birt.download"> <equals arg1="${jBPM.birt.download}" arg2="true" /> </condition> </target> <target name="download.birt.check" depends="check.birt" if="birt.download"> <echo message="Checking birt reporting engine download ..." /> <condition property="birt.not.available"> <not> <available file="${install.home}/lib/birt-runtime-2_6_2.zip" /> </not> </condition> </target> ... <target name="install.reporting.into.jboss" depends="check.birt" if="birt.download" > <mkdir dir="${install.home}/target"/> <unzip src="${install.home}/lib/birt-runtime-2_6_2.zip" dest="${install.home}/target"/> <mkdir dir="${jboss.server.birt.dir}"/> <mkdir dir="${jboss.server.birt.dir}/ReportEngine"/> <copy todir="${jboss.server.birt.dir}/ReportEngine" overwrite="true"> <fileset dir="${install.home}/target/birt-runtime-2_6_2/ReportEngine"/> </copy> <delete dir="${install.home}/target"/> <copy file="${install.home}/report/overall_activity.rptdesign" tofile="${jboss.server.birt.dir}/overall_activity.rptdesign" overwrite="true"/> <copy file="${install.home}/report/process_summary.rptdesign" tofile="${jboss.server.birt.dir}/process_summary.rptdesign" overwrite="true"/> <copy todir="${jboss.server.birt.dir}/ReportEngine/plugins/org.eclipse.birt.report.data.oda.jdbc_2.6.2.r262_v20110127/drivers" overwrite="true"> <fileset dir="${install.home}/db/driver"/> </copy> </target> Then when I go to the jbpm console and click on the "Report Templates" from "Reporting" Tab, I got this error : * URL: ' http://localhost:8080/gwt-console-server/rs/report/config http://localhost:8080/gwt-console-server/rs/report/config' * Action: 'org.jboss.bpm.console.client.report.UpdateReportConfigAction' * Exception: 'class com.google.gwt.http.client.RequestException' HTTP 500: h1. HTTP Status 500 - ---- *type* Exception report *message* *description* The server encountered an internal error () that prevented it from fulfilling this request. *exception* org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalStateException: Cannot acccess report references in state NONE org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319) org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230) org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) *root cause* java.lang.IllegalStateException: Cannot acccess report references in state NONE org.jboss.bpm.report.BirtService.getReportReferences(BirtService.java:459) org.jboss.bpm.report.ReportFacade.getReportConfig(ReportFacade.java:330) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117) org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166) org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) Someone has already saw this error ? Thanks Cindy -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/594036#594036] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
