5 Replies Latest reply on Aug 29, 2012 8:35 AM by zabalet
      • 1. Re: Start jBPM Application
        zabalet

        Hello Laura, check this post https://community.jboss.org/thread/200179?tstart=30 there Kris says:

         

        "You can download the release here (if you're not sure what you're looking for, downloading the full installer and then following the installer chapter to set up your environment and run through the tooling with a simple example is probably a good idea), or browse the documentation and javadocs."

         

        cheers.

        • 2. Re: Start jBPM Application
          lauradp

          Thaks for you answer Marcelo,

          I successfully installed jbpm and I run the helloworld example included in Eclipse, running as a Java Application the class ProcessTest.

          Now I was wondering on how to make this example working in a "real" (non-test) environment.

          • 3. Re: Start jBPM Application
            zabalet

            The term "real" may vary from context to context, but my first guess is that you need to change the database to use a production one. The installation consists of six WARs that can be found in the installation directory of the application server. Here is an article that may help https://community.jboss.org/wiki/JBPM-530FinalManualDeploymentGuideForBeginner

            • 4. Re: Start jBPM Application
              lauradp

              Thanks, Marcelo!

              My question is about that I need to run the following main to have the application working. When I experienced HornetQ I added the project to the server and it was added to the deploy folder.

              I'd love (I don't know if it's a nonsense) to have the application starting (e.g. waiting for requests) on server startup.

               

              public static final void main(String[] args) throws Exception {

                       startUp();

                       // load up the knowledge base

                       KnowledgeBase kbase = readKnowledgeBase();

                       StatefulKnowledgeSession ksession = JBPMHelper.newStatefulKnowledgeSession(kbase);

                       // start a new process instance

                       ksession.startProcess("com.sample.bpmn.hello");

                       System.out.println("Process started ...");

                   }

              • 5. Re: Start jBPM Application
                zabalet

                What will be your main application? I mean, it's an app to be deployed in a web container / application server, a standalone propietary server, a desktop app, any other? In the mean time I suggest another post, this one may be is similar to your need.

                 

                https://community.jboss.org/message/753645#753645#753645