13 Replies Latest reply on Aug 24, 2012 6:34 AM by swiderski.maciej

    Generate reports problem with jbpm-console

    spagop

      I installed to the jbpm5 through the installer and try to play arround the evaluation example to create process instances with human-tasks. after all I wanted to generate report. After a Click on the "Report Templates" from "Reporting" Tab, I got this error, may be some one already solve that and want to share :-)

       

       

      Messages

      TRACE    DEBUG    INFO    WARN    ERROR    FATAL    OFF    Clear

      2011-02-13 12:38:07,708 [DEBUG] New subscription: appContext.model.listener -> org.jboss.bpm.console.client.process.DefinitionListView$5@10e

      2011-02-13 12:38:08,260 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definitions

      2011-02-13 12:38:08,280 [INFO ] Loaded 1 process definitions in 5 ms

      2011-02-13 12:38:27,228 [DEBUG] ToolID: Report_Templates.5

      2011-02-13 12:38:27,838 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/report/config

      2011-02-13 12:38:27,856 [ERROR] <ul><li>URL: 'http://localhost:8080/gwt-console-server/rs/report/config'

      <li>Action: 'org.jboss.bpm.console.client.report.UpdateReportConfigAction'

      <li>Exception: 'class com.google.gwt.http.client.RequestException'</ul>

       

      HTTP 500: <html><head><title>JBoss Web/2.1.3.GA - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalStateException: Report server not initialized. Please check the server logs for further details.

      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)

      </pre></p><p><b>root cause</b> <pre>java.lang.IllegalStateException: Report server not initialized. Please check the server logs for further details.

      org.jboss.bpm.report.ReportFacade.assertBirtAvailability(ReportFacade.java:195)

      org.jboss.bpm.report.ReportFacade.getReportConfig(ReportFacade.java:328)

      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)

      </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the JBoss Web/2.1.3.GA logs.</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/2.1.3.GA</h3></body></html>

      com.google.gwt.http.client.RequestException:

      HTTP 500:

      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: Report server not initialized. Please check the server logs for further details.

          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: Report server not initialized. Please check the server logs for further details.

          org.jboss.bpm.report.ReportFacade.assertBirtAvailability(ReportFacade.java:195)

          org.jboss.bpm.report.ReportFacade.getReportConfig(ReportFacade.java:328)

          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)

       

      note The full stack trace of the root cause is available in the JBoss Web/2.1.3.GA logs.

      JBoss Web/2.1.3.GA

          at Unknown.zP(Unknown source:0)

          at Unknown.szc(Unknown source:0)

          at Unknown.KO(Unknown source:0)

          at Unknown.pP(Unknown source:0)

          at Unknown.anonymous(Unknown source:0)

          at Unknown.HA(Unknown source:0)

          at Unknown.anonymous(Unknown source:0)

          at Unknown.anonymous(Unknown source:0)

       

       

       

       

       

       

      Error

       

          * URL: '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:

      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: Report server not initialized. Please check the server logs for further details.

          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: Report server not initialized. Please check the server logs for further details.

          org.jboss.bpm.report.ReportFacade.assertBirtAvailability(ReportFacade.java:195)

          org.jboss.bpm.report.ReportFacade.getReportConfig(ReportFacade.java:328)

          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)

       

      note The full stack trace of the root cause is available in the JBoss Web/2.1.3.GA logs.

      JBoss Web/2.1.3.GA

      OK

        • 1. Re: Generate reports problem with jbpm-console
          echelon

          Hi!

          i suggest checking birt-runtime-2_3_2_2.zip downloaded sucessful? and checking there were dirctory 'ReportEngine' and files 'overall_activity.rptdesign' 'process_summary.rptdesign' in the dirctory "jboss-5.1.0.GA\server\default\data\birt" ?

           

          I got the same problem before ,cause of not download sucessful when ANT executed.

          • 2. Re: Generate reports problem with jbpm-console
            arunsprasath

            I am also facing the same problem while launching the jbpm-console.

            Please help me how to solve this issue.

             

            Thanks in adv,

            Arun

            • 3. Re: Generate reports problem with jbpm-console
              echelon

              Hi Arun!

               

              As I said before,check the size of your {install.home}/lib/birt-runtime-2_3_2_2.zip, and make sure it was downloaded successful (the size is 117,602KB).

              If this is no problem, the report will be normal!

              I had tested several times, and it worked well.

              Greetings

              • 4. Re: Generate reports problem with jbpm-console
                echelon

                Check the file “build.properties"!

                It means that you were not donwloaded birt-runtime-xxx.zip success when "jBPM.birt.download=false".

                If you download it in other way, change "jBPM.birt.download=false" to "jBPM.birt.download=true".

                • 5. Re: Generate reports problem with jbpm-console
                  spagop

                  sometimes, It's great to document the things. Yes I also already found out why the reporting does not work before. Yes build.properties file defines some important elements and one is the download of BIRT.

                   

                  ---- build.properties ----

                   

                  # the version of jBPM you want to use

                  # and the associated URL you want to get the dependencies from

                  # for example:

                  #   jBPM.version=5.0.0

                  #   jBPM.url=http://hudson.jboss.org/hudson/job/jBPM5/lastStableBuild/artifact/target

                  jBPM.version=5.0.0

                  jBPM.url=http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.0-Final

                   

                  # the version of Drools (Guvnor and Eclipse plugin) you want to use

                  # and the associated URL you want to get the dependencies from

                  # for example:

                  #   drools.version=5.2.0-SNAPSHOT

                  #   drools.url=http://hudson.jboss.org/hudson/job/drools/lastStableBuild/artifact/target

                  drools.version=5.2.0.M1

                  drools.url=http://download.jboss.org/drools/release/5.2.0.M1

                   

                  # the version of the Designer you want to use

                  # and the associated URL you want to get it from

                  # for example:

                  #   designer.version=1.0.0.047-SNAPSHOT-jboss

                  #   designer.url=http://people.redhat.com/~tsurdilo/oryx/1.0.0.047-SNAPSHOT/

                  designer.version=1.0.0.047-SNAPSHOT-jboss

                  designer.url=http://people.redhat.com/~tsurdilo/oryx/1.0.0.047-SNAPSHOT/

                   

                  # the home of your JBoss AS installation

                  # for example:

                  #   jboss.server.version=5.1.0.GA

                  #   jboss.home=./jboss-${jboss.server.version}

                  jboss.server.version=5.1.0.GA

                  jboss.home=./jboss-${jboss.server.version}

                   

                  # defines which server configuration should be used

                  # for example, if you specify 'default', the application

                  # will be deployed to ${jboss.home}/server/default/deploy

                  jboss.server.configuration=default

                   

                  # the home of your eclipse installation

                  # will be used to deploy the Eclipse plugin to

                  eclipse.home=./eclipse

                   

                  # defines whether you want the birt plugin (for reporting) to be downloaded or not

                  # by default this is turned off to avoid having to do a rather large download

                  # if you do not download the birt plugin, reporting in the jbpm-console will not work

                  # put this property to true if you want to download birt as well

                  jBPM.birt.download=true

                  • 6. Generate reports problem with jbpm-console
                    krisverlaenen

                    Sorry, we documented it in the install.html

                    https://github.com/krisv/jbpm/blob/master/jbpm-installer/install.html

                     

                    "To limit the amount of data that needs to be downloaded, we have disabled the download of the Eclipse

                    BIRT plugin for reporting by default.  If you want to try out reporting as well in the jBPM console,

                    make sure to put the jBPM.birt.download property in the build.properties file to true before running

                    the installer."

                     

                    Unfortunately, it seems it wasn't copied to the installer chapter in the documentation, so I'm adding that now.


                    Kris

                    • 7. Generate reports problem with jbpm-console
                      cindy.c

                      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 :

                       

                      HTTP 500:

                      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
                      • 8. Re: Generate reports problem with jbpm-console
                        alexis_lalas

                        Hi Cindy

                        First of all, you have to manually download the next file "birt-runtime-2_3_2_2.zip", save in {install.home}/lib/birt-runtime-2_3_2_2.zip, then change the value of property ({install.home}/build.property) "jBPM.birt.download=false" to "jBPM.birt.download=true ". At the end you must run the task "ant install.reporting.into.jboss"

                         

                         

                        Regards .-

                        • 9. Re: Generate reports problem with jbpm-console
                          mvnval

                          Hello,

                          I've met the same issue getting try http://localhost:8080/jbpm-console/, below is the output of the error. I did all recomendations mentioned above, I mean manually download birt-runtime-2_3_2_2.zip, change build property accordingly and run "ant install.reporting.into.jboss". The result is negative. What else can be done for making JBoss working properly?

                           

                           

                            HTTP 500: 

                          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: Report server not initialized. Please check the server logs for further details. 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: Report server not initialized. Please check the server logs for further details. org.jboss.bpm.report.ReportFacade.assertBirtAvailability(ReportFacade.java:195) org.jboss.bpm.report.ReportFacade.getReportConfig(ReportFacade.java:328) 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) 
                          • 10. Re: Generate reports problem with jbpm-console
                            melc

                            Hello,

                            Check if everything has been properly installed in jboss, i.e.

                            - Folders and files jboss-5.1.0.GA/server/default/data/birt/ReportEngine (with all subfolders contents of report engine),  jboss-5.1.0.GA/server/default/data/birt/overall_activity.rptdesign,  jboss-5.1.0.GA/server/default/data/birt/process_summary.rptdesign

                            - your jdbc drivers in jboss-5.1.0.GA/server/default/data/birt/ReportEngine/plugins/org.eclipse.birt.report.data.oda.jdbc_2.6.2.r262_v20110127/drivers

                             

                            If everything is there then please post the stacktrace from jboss log which is in jboss-5.1.0.GA/server/default/log

                             

                            p.s. the paths above contain birt 2.6.2 names because i've replaced birt 2.3.2 with 2.6.2, just imagine that you will see something similar containing 2_3_2. On the other hand if you want to try out switching to 2_6_2 follow the steps from here http://community.jboss.org/message/602977

                            • 11. Re: Generate reports problem with jbpm-console
                              mvnval

                              Hello, Chris.

                               

                              My environment is: Win7-64 Enterprise, CPU Core i5, RAM 8Gb.

                               

                              I downloaded all installation packages separately and did installation from the scratch. After that:

                               

                              1. I've checked folder d:\JBoss\jboss-5.1.0.GA\server\default\data\birt\; it contains subfolder "ReportEngine" and two files: overall_activity.rptdesign and process_summary.rptdesign.

                                  

                              2. I've checked folder d:\JBoss\jboss-5.1.0.GA\server\default\data\birt\ReportEngine\plugins\org.eclipse.birt.report.data.oda.jdbc_2.3.2.r232_v20090212\drivers. It contains a wrong h2.jar with size 27Kb, I've replaced it with right one h2.jar with size around 1Mb.

                                

                              3. I have to wait 20 mins more after start Jboss before using JBPM console (it is not available early) and then it works. As soon as I meet issue with "birt" again I'll send a log file.

                              • 12. Re: Generate reports problem with jbpm-console
                                mrychly

                                Hello,

                                 

                                I have exactly the same problem as Valery Maslau. I'm trying to deploy jbpm on jboss 7.1.1 with mssql database. When I'm trying to view report in console i'm getting following error:

                                ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http-localhost-127.0.0.1-8080-4) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalStateException: Report server not initialized. Please check the server logs for further details.

                                    at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                                    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]

                                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397) [jbossweb-7.0.13.Final.jar:]

                                    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                                    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                                    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_33]

                                Caused by: java.lang.IllegalStateException: Report server not initialized. Please check the server logs for further details.

                                    at org.jboss.bpm.report.ReportFacade.assertBirtAvailability(ReportFacade.java:124) [report-core-1.4.2.Final.jar:]

                                    at org.jboss.bpm.report.ReportFacade.getReportConfig(ReportFacade.java:258) [report-core-1.4.2.Final.jar:]

                                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_33]

                                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_33]

                                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_33]

                                    at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_33]

                                    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) [resteasy-jaxrs-2.3.2.Final.jar:]

                                    ... 24 more

                                I already tried to install console one more time, and make sure that files from birt-runtime are copied to jbpm-gwt-console-server.war. And for me everything with that looks okey:

                                1. All .jars except org.apache.commons.codec*.jar from /ReportEngine/lib in birt-runtime are copied to libs in jbpm-gwt-console-server.war.

                                2. There are two folders added to jbpm-gwt-console-server.war/WEB-INF: reports which contains file overall_activity.rptdesign, and empty folder 'output'.

                                What else should I do to make reports work fine? Maybe there is something to do on JBoss?

                                 

                                 

                                PS. Sorry for my english . I do my best..

                                • 13. Re: Generate reports problem with jbpm-console
                                  swiderski.maciej

                                  take a look here at this post and attached jira for more details and temp fix for try outs.

                                   

                                  HTH