1 2 3 4 5 Previous Next 61 Replies Latest reply on Oct 18, 2007 8:48 AM by diwa_pv Go to original post
      • 45. Re: JBPM3 with tomcat
        aleem

        Hi,

        I m trying to use tomcat instead of starters-kit jboss. I m getting following error. I went to all the previous threads but couldnt quite figure out whats going. heres the stack trace:


        org.apache.jasper.JasperException: Cannot get value for expression '#{userBean.userSelectItems}'
        org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
        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:802)
        org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:56)
        org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
        org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)


        And also what is the way of initing userBean, as was given in previous threads.

        • 46. Re: JBPM3 with tomcat
          ygiriyap

          Could somebody post an answer to this.
          I am also stuck with this.

          • 47. Re: JBPM3 with tomcat
            kukeltje

            This 'stacktrace' seems to come from the webpage. Please post the full stacktrace from the serverlog

            • 48. Re: JBPM3 with tomcat
              ygiriyap

              Download c3p0-0.9.1.jar and put it in <TOMCAT_HOME>\webapps\jbpm\WEB-INF\lib folder

              Issue will be resolved.

              • 49. Re: JBPM3 with tomcat
                kukeltje

                ????? where did you get the info that this is the solution??? Not that it can't be, but I've seen several other causes that you get this error from...

                • 50. Re: JBPM3 with tomcat
                  ygiriyap

                  I looked into the error logs in the console.A class file was missing and that is found to be in the "c3p0-0.9.1.jar" file.

                  Though the application home page is coming up properly,after logging in as 'Cookie monster',I am not able to see the "Create new web sale order" link under "Start New Process Execution" section.

                  Any pointers.

                  • 51. Re: JBPM3 with tomcat
                    kukeltje

                    - is a process deployed?
                    - is the engine pointing to the same database the process is deployed in
                    - does it work for other users?
                    - ....

                    • 52. Re: JBPM3 with tomcat
                      ygiriyap

                      Process is not deployed.DB tables(am using mysql) are not populated.
                      Thanks for pointing out this!!

                      • 53. Re: JBPM3 with tomcat
                        ygiriyap

                        Hey Ronald,

                        I have created a new workflow definition using the Eclipse with jbpm-jpdl-designer-3.0.13 plugin.

                        JbpmGettingStarted.html doc talks about deploying the WF definition onto JBOSS.

                        But,I need to deploy mine on tomcat.
                        How do I go about doing this.

                        Many thanks !!
                        --Yash

                        • 54. Re: JBPM3 with tomcat
                          kukeltje

                          no difference between jboss and tomcat

                          • 55. Re: JBPM3 with tomcat
                            ygiriyap

                            I am using JBPM 3.1.4,Tomcat and MYSQL db

                            JbpmGettingStarted.html doc says ...
                            1. Create a workflow.
                            2. clicke on the "Deployment" tab down in the bottom/middle of the screen.
                            3. In the wizard ... In the deployment server settings provide values for ...
                            - server name (this will be localhost)
                            - server port (this will be 8080)
                            4. hit "deploy process archive..."

                            The problem is ...
                            I am seeing a third field,'Server Deployer', in the "Deployment Server Settings". JbpmGettingStarted.html doc doesnt talk about the third field.

                            Default populated value is ... "/jbpm-console/upload".I presume this is for deploying onto JBOSS.

                            To deploy the WF into Tomcat .... I am not sure what to mention here????
                            Am I suppose to write any uploader??? Is there any support for this???

                            Kindly answer.Thanks.
                            --Yash

                            • 56. Re: JBPM3 with tomcat
                              kukeltje

                              Why should a deploy url differ between tomcat and jboss?

                              The getting started doc was written for JBoss IDE 1.5 which containes GPD 3.0.6 or 7, so if you use a newer ide.....

                              • 57. Re: JBPM3 with tomcat
                                ygiriyap

                                Hi Ronald,

                                In the new UI we have a modified url for uploading the WF.
                                As I have mentioned above ... the url for JBOSS is http://host:port/jbpm-console/upload

                                I expect it to be different for tomcat.

                                And i have a few more issues to resolve related to this.
                                If its okay with you ... it will be great if I can get to chat with you.

                                my msn id is: yash_dvg@indiatimes.com

                                Many thanks!!
                                --Yash

                                • 58. Re: JBPM3 with tomcat
                                  kukeltje

                                  Sorry, no chat. This forum and my free (as in beer) support is for the benefit of all.

                                  If you realy expect a url to be different on other application servers, I think you have to read your j2ee course again. (no offence)

                                  If you have more issues, please post them in separate threads

                                  • 59. Re: JBPM3 with tomcat
                                    ygiriyap

                                    Hey Ronald,

                                    No problem!! I figured it out.
                                    Yes ... My J2EE says ... url of the upload servlet will remain the same.

                                    But the default value being populated in the Server Deployer was /jbpm-console/upload
                                    So the effective url would become ... http://host:port/jbpm-console/upload
                                    This doesnt work for ****JBPM 3.1.4****

                                    It has to be http://host:port/jbpm/upload
                                    So value for Server Deployer is "/jbpm/upload"

                                    And by the way ... I got all my issues resolved.Able to develop a WF in Eclipse IDE,deploy it on JBoss or Tomcat which is using mysql db.

                                    I am getting into more advanced requirements.I would definitely post a detailed doc compiling all the issues later ... "FOR THE BENIFIT OF ALL".

                                    Thanks for your kind support.
                                    --Yash