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
      • 15. Re: JBPM3 with tomcat
        dsrkreddy

        Hi diwa

        iam very new to this jbpm ,and even iam working on the same thing , and i follwed the sugestions umentioned .. but on which directory i need to run the ant task to create database tables and data ....and as u mentioned "Add few jars to lib folder of your application", mean should i add the jars into
        <JBPM-HOME>/WEB_INF/lib ..? please help me .... i want to learn this isuues....


        • 16. Re: JBPM3 with tomcat
          dsrkreddy

           

          "dsrkreddy" wrote:
          Hi diwa

          iam very new to this jbpm ,and even iam working on the same thing , and i follwed the sugestions umentioned .. but on which directory i need to run the ant task to create database tables and data ....and as u mentioned "Add few jars to lib folder of your application", mean should i add the jars into
          <JBPM-HOME>/WEB_INF/lib ..? please help me .....


          thanks
          Sam



          • 17. Re: JBPM3 with tomcat
            diwa_pv

            hi there,

            you need to copy the jars to the lib folder of ur jbpm folder in webapps of tomcat.

            regards and thanks
            diwa

            • 18. Re: JBPM3 with tomcat
              dsrkreddy

              thanks Diwa ,


              really thanks a lot for imediate replay. and i want to know on which directory i need to run ant task .. to create database table is it in
              ../jbpm-starters-kit-3.1.2/jbpm ?


              Thanks & Regards
              sam

              • 19. Re: JBPM3 with tomcat
                diwa_pv

                hi sam,

                yeah, you need to run the ant task on ...\jbpm-starters-kit-3.1.2\jbpm folder.

                regards and thanks
                diwa

                • 20. Re: JBPM3 with tomcat
                  dsrkreddy

                  Hi diwa ,

                  i had done the same (ant cretate.db ?buildfile build.deploy.xml) but it is giving me an exception like
                  D:\jbpm\jbpm-starters-kit-3.1.2\jbpm>ant create.db ?buildfile build.deploy.xml
                  Buildfile: build.xml

                  BUILD FAILED
                  Target `create.db' does not exist in this project.

                  should i need to change any properties in the build.properties file .. and iam using jbpm3.1.2..
                  most awaiting for u r replay..

                  regards
                  sam

                  • 21. Re: JBPM3 with tomcat
                    dsrkreddy

                    HI Diwa,

                    I run the ant task as u said now it is taking the buidfile from build.deploy.xml only but it is giving me the same error " amoeba" had got
                    i mean it is showing me an error messege as 'org.hibernate.exception.JDBCConnectionException: Cannot open connection'

                    so please help me , and please don't feel irritate with my silly doubt's as iam very new to jbpm and java.. iam facing a lot of issues ..

                    thanks in advance..

                    regards
                    sam

                    • 22. Re: JBPM3 with tomcat
                      diwa_pv

                      hi sam,

                      i was not online for the past couple of days. so couldnt reply.

                      coming to the problem you are facing, i guess u didnt configure ur hibernate.cf.xml

                      anyways, i will try to produce that error at my side and will try to find a solution.

                      regards and thanks
                      diwa

                      • 23. Re: JBPM3 with tomcat
                        dsrkreddy

                        Hi Diwa

                        Thanks for looking into my problem, yes Diwa i had not configured the hibernate.cfg.xml file what all the things i need to edit , in that some of the jdbc properties are set to run jbpm on HSQLDB so by editing can i configure it to oracle 9i data base .. so for that how can i configure my oracle data base

                        please help me .. :)


                        Thanks
                        Sam

                        • 24. Re: JBPM3 with tomcat
                          dsrkreddy

                          Hi ,

                          me too had a simpilar type of problem and i didn't find the solution if you had fix that please help me , are any one who is familiar with this kind of issues please help me ...

                          Thanks
                          chutki

                          • 25. Re: JBPM3 with tomcat
                            diwa_pv

                            hi there,

                            just follow the instrutions in the below forum and once the scripts are created, you can run them and the tables will be created.

                            http://www.jboss.com/index.html?module=bb&op=viewtopic&t=80256

                            thanks and regards
                            diwa

                            • 26. Re: JBPM3 with tomcat
                              dsrkreddy

                              Hi Diwa ,

                              I had follwed the instruction's in the link u had send and the scripts are created but even iam getting the same error again while running ant to crate database.. Diwa in build.deploy.xml file for creating database it taking properties from
                              ${basedir}/src/resources/hsqldb/create.db.hibernate.properties
                              and it look's like below


                              <target name="create.db" depends="declare.jbpm.tasks, db.clean, db.start" description="creates a
                              hypersonic database with the jbpm tables and loads the processes in there">
                               <jbpmschema actions="create"
                               cfg="${basedir}/src/config.files/hibernate.cfg.xml"
                               properties="${basedir}/src/resources/hsqldb/create.db.hibernate.properties"/>
                               <loadidentities file="${basedir}/src/resources/hsqldb/identity.db.xml"
                               cfg="${basedir}/src/config.files/hibernate.cfg.xml"
                               properties="${basedir}/src/resources/hsqldb/create.db.hibernate.properties"/>
                               <ant antfile="build.xml" target="build.processes" inheritall="false" />
                               <deployprocess cfg="${basedir}/src/config.files/hibernate.cfg.xml"
                               properties="${basedir}/src/resources/hsqldb/create.db.hibernate.properties">
                               <fileset dir="build" includes="*.process" />
                               </deployprocess>
                               <antcall target="db.stop" />
                               </target>

                              so is it the reason that build is failing ... please help me ... is only me getting me these many issues...


                              • 27. Re: JBPM3 with tomcat
                                diwa_pv

                                hi sam,

                                do one thing, forger abt running the ant task. just run the scripts which u have generated. that will create the tables in the data base. and then run the application. it will work fine.

                                thanks and regards
                                diwa

                                • 28. Re: JBPM3 with tomcat
                                  dsrkreddy

                                  HI Diwa ,

                                  now i created the tables and when i tryed to run it by tomcat it is giving me an 500 type of error ... so please can u tell me how can i go from here..


                                  Thanks
                                  sam

                                  • 29. Re: JBPM3 with tomcat
                                    kukeltje

                                    come on..... 'an 500 type error'... .and you expect us to say what the cause is... at least post a stacktrace and NOT the one from the browserwindow.