13 Replies Latest reply on Jul 18, 2006 6:33 AM by koen.aers

    A question about jBPM console

    polaris_fgh

      Dear friends,

      As you know in chapter1.Introduction in jBPM user guide docs the is a paragraph as follows:

      1.5. The JBoss jBPM console web application

      The jBPM console web application serves two purposes. First, it serves as a central user interface for interacting with runtime tasks generated by the process executions. And secondly, it is an administration and monitoring console that allows inspecting and manipulating runtime instances.

      Where is the web console?
      When I started JBoss under ?c jbpm mode and typed:

      http://localhost:8080/jbpm

      I saw the login.jsp page of the pre-deployed jbpm.war web application.
      Can we use this file for our own task management purposes?is it generic?
      Or is it a sample to show the users how we can use jBPM API?

      The explanation above makes some ambiguity for me and I'll be so appreciate if you answer me.
      Best Regards,

        • 1. Re: A question about jBPM console
          alg007

          Hi,
          I have the same problem, I don't see anything in the jbpm.war file that could be relevant for the administration and monitoring of current business processes ?
          /xf

          • 2. Re: A question about jBPM console
            kukeltje

            did you try to click on the monitor link in the webapp? There is some functionality, not extensive but it does work.

            • 3. Re: A question about jBPM console
              pgrebby

               

              "kukeltje" wrote:
              did you try to click on the monitor link in the webapp? There is some functionality, not extensive but it does work.


              It crashes with a stack trace in the latest version:

              java.lang.NullPointerException
              javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
              javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
              org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
              org.apache.jsp.monitor_jsp._jspx_meth_f_view_0(org.apache.jsp.monitor_jsp:84)
              org.apache.jsp.monitor_jsp._jspService(org.apache.jsp.monitor_jsp:58)
              org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
              javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
              org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
              org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
              javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:25)
              org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:28)
              org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
              org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
              org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

              • 4. Re: A question about jBPM console
                mennen

                 

                "pgrebby" wrote:
                "kukeltje" wrote:
                did you try to click on the monitor link in the webapp? There is some functionality, not extensive but it does work.


                It crashes with a stack trace in the latest version:

                java.lang.NullPointerException
                javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
                javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
                org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
                org.apache.jsp.monitor_jsp._jspx_meth_f_view_0(org.apache.jsp.monitor_jsp:84)
                org.apache.jsp.monitor_jsp._jspService(org.apache.jsp.monitor_jsp:58)
                org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
                org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:25)
                org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:28)
                org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
                org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
                org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


                I 'm having the same problem: it's crashing with the following error:


                08:32:04,221 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
                java.lang.NullPointerException
                at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.
                java:615)
                at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)

                at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
                at org.apache.jsp.monitor_jsp._jspx_meth_f_view_0(org.apache.jsp.monitor
                _jsp:84)
                at org.apache.jsp.monitor_jsp._jspService(org.apache.jsp.monitor_jsp:58)

                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
                .java:322)
                at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
                14)
                at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                icationFilterChain.java:252)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                ilterChain.java:173)
                at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFi
                lter.java:25)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                icationFilterChain.java:202)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                ilterChain.java:173)
                at org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.j
                ava:28)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                icationFilterChain.java:202)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                ilterChain.java:173)
                at org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                icationFilterChain.java:202)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                ilterChain.java:173)
                at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                icationFilterChain.java:202)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                ilterChain.java:173)
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
                lter.java:81)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                icationFilterChain.java:202)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                ilterChain.java:173)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
                alve.java:213)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
                alve.java:178)
                at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
                ipalValve.java:39)
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
                yAssociationValve.java:159)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
                e.java:59)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
                ava:126)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
                ava:105)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
                ve.java:107)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
                a:148)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
                :856)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
                ssConnection(Http11Protocol.java:744)
                at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
                int.java:527)
                at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
                kerThread.java:112)
                at java.lang.Thread.run(Thread.java:534)


                • 5. Re: A question about jBPM console
                  mennen

                  And can anyone help me with the graphical designer problem i'm facing?

                  I am using GPD 3.0.5, and whenever I deploy a process (other than websale) and i start a process instance, the picture appears on the right as planned, but the red box that should tell us at what stage of the pocess we are is not centered..it's sometimes too small, or misplaced.. I don't know what the real cause is..
                  Could it be the way I deploy it? (i do it in Eclipse by right-clicking on the .par and selecting "deploy PAR archive")


                  Thanks in advance,

                  Mennen

                  • 6. Re: A question about jBPM console
                    purvi.shah

                    Hi mennen
                    For your first question-start jbpm server from $jbpm-server /start.bat
                    Then through browser start http://localhost:8080/jbpm
                    you will able to find webconsole

                    • 7. Re: A question about jBPM console
                      mennen

                      Hi purvi.shah,
                      I tried http://localhost:8080/jbpm/, and on the left menu, i did not find any webconsole. All I found was Home, Administration, and Monitoring..
                      And all of them give me this error:


                      org.apache.jasper.JasperException
                      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
                      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                      org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:25)
                      org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:28)
                      org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
                      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
                      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


                      root cause

                      java.lang.NullPointerException
                      javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
                      javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
                      org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
                      org.apache.jsp.admin_jsp._jspx_meth_f_view_0(org.apache.jsp.admin_jsp:84)
                      org.apache.jsp.admin_jsp._jspService(org.apache.jsp.admin_jsp:58)
                      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
                      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                      org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:25)
                      org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:28)
                      org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
                      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
                      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)




                      • 8. Re: A question about jBPM console
                        kukeltje

                        this is the webconsole. Did you log in before selecting one of the menu items on the left?

                        • 9. Re: A question about jBPM console
                          mennen

                           

                          "kukeltje" wrote:
                          this is the webconsole. Did you log in before selecting one of the menu items on the left?


                          I logged in and it works.. so thanks kukeltje. But there's something weird that happens.. when i click on HOME on the left, the processes under "start new process" disappear.. and only the task list is still there
                          i.e. the process definition don't appear.. but when i click back to get the page of login, they appear back again..



                          • 10. Re: A question about jBPM console
                            mennen

                            And now i tried to refresh the page: and when i refresh it, everything goes back to normal.. but when i do it again, the same part disappears.. i don't know if it 's because of JSF or not..

                            Thanks

                            Mennen

                            • 11. Re: A question about jBPM console

                              This happens in mine as well, very regularly, every other time I click on home, the bottom section will dissappear, then when I click again, it will reappear.

                              I reproduced this on seperate systems in multiple browsers, to confirm that it is not just a browser snafu.

                              James Ratcliff

                              • 12. Re: A question about jBPM console
                                kukeltje

                                are there any errors in the logging when it fails?

                                • 13. Re: A question about jBPM console
                                  koen.aers

                                  Also a bug, this time in the console... AFAIK it is not hunted down yet and it will probably never be as the webapp will be revamped...

                                  Regards,
                                  Koen