5 Replies Latest reply on Jun 18, 2007 5:00 PM by timothyj

    Starters-Kit 3.1.2 Problems

    rbowman

      Hey guys,

      I'm trying to work through the "Getting Started" guide, but I'm having a few problems. I am trying to run this on OpenSuse 10.1, so I started the jboss server by running the following:

      ./run.sh -c jbpm

      I have made sure that proper permissions were set before doing this. As the output goes flying by, I have noticed that it gets to a certain point and the log output keeps printing the same thing every five seconds:
      10:40:57,405 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'
      10:40:57,406 DEBUG [JbpmContext] creating JbpmContext
      10:40:57,406 DEBUG [DbPersistenceServiceFactory] creating persistence service
      10:40:57,407 DEBUG [DbPersistenceService] creating hibernate session
      10:40:57,407 DEBUG [DbPersistenceService] beginning hibernate transaction
      10:40:57,408 DEBUG [SchedulerThread] checking for timers
      10:40:57,410 DEBUG [JbpmContext] closing JbpmContext
      10:40:57,410 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@a449e0
      10:40:57,410 DEBUG [DbPersistenceService] committing hibernate transaction
      10:40:57,411 DEBUG [DbPersistenceService] closing hibernate session
      10:40:57,457 DEBUG [StaticNotifier] woke up
      10:40:57,458 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'
      10:40:57,458 DEBUG [JbpmContext] creating JbpmContext
      10:40:57,459 DEBUG [DbPersistenceServiceFactory] creating persistence service
      10:40:57,459 DEBUG [DbPersistenceService] creating hibernate session
      10:40:57,460 DEBUG [DbPersistenceService] beginning hibernate transaction
      10:40:57,462 DEBUG [JbpmContext] closing JbpmContext
      10:40:57,462 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@481958
      10:40:57,463 DEBUG [DbPersistenceService] committing hibernate transaction
      10:40:57,463 DEBUG [DbPersistenceService] closing hibernate session
      10:40:57,463 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService@177e6b4
      10:40:57,464 DEBUG [CommandExecutorThread] waiting for more messages
      10:40:57,464 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object@146ac5a)

      I am not sure what this means. Can anyone help me out?

      Also, when I imported the jbpm project into eclipse (${starters-kit-home}/jbpm), I have noticed that org.jbpm.msg.command.AsyncExecutionDbTest.java has errors. Specifically, eclipse is complaining about the methods CommandExecutorThread.getStackTrace() and CommandExecutorThread.getState() not existing. Because of this, I cannot seem to build the mysql scripts by executing:
      cd ${starters-kit-home}/jbpm-db
      ant mysql.scripts

      I get the following output from ant:
      $ ant mysql.scripts
      Buildfile: build.xml
      
      mysql.scripts:
      
      prepare:
      
      compile.jbpm:
      
      compile.identity:
      
      compile.jbpm.test:
       [javac] Compiling 65 source files to /tmp/jbpm-starters-kit-3.1.2/jbpm/build/classes.jbpm.test
       [javac] /tmp/jbpm-starters-kit-3.1.2/jbpm/src/java.jbpm.test/org/jbpm/msg/command/AsyncExecutionDbTest.java:142: cannot resolve symbol
       [javac] symbol : method getStackTrace ()
       [javac] location: class org.jbpm.msg.command.CommandExecutorThread
       [javac] commandExecutor.getStackTrace();
       [javac] ^
       [javac] /tmp/jbpm-starters-kit-3.1.2/jbpm/src/java.jbpm.test/org/jbpm/msg/command/AsyncExecutionDbTest.java:143: cannot resolve symbol
       [javac] symbol : method getState ()
       [javac] location: class org.jbpm.msg.command.CommandExecutorThread
       [javac] log.debug("command executor state: "+commandExecutor.getState());
       [javac] ^
       [javac] /tmp/jbpm-starters-kit-3.1.2/jbpm/src/java.jbpm.test/org/jbpm/msg/command/AsyncExecutionDbTest.java:145: cannot resolve symbol
       [javac] symbol : method getStackTrace ()
       [javac] location: class org.jbpm.msg.command.CommandExecutorThread
       [javac] StackTraceElement[] commandExecutorStackTrace = commandExecutor.getStackTrace();
       [javac] ^
       [javac] 3 errors
      
      BUILD FAILED
      /tmp/jbpm-starters-kit-3.1.2/jbpm-db/build.xml:361: The following error occurred while executing this line:
      /tmp/jbpm-starters-kit-3.1.2/jbpm-db/build.xml:68: The following error occurred while executing this line:
      /tmp/jbpm-starters-kit-3.1.2/jbpm/build.xml:58: Compile failed; see the compiler error output for details.
      
      Total time: 5 seconds


      I just downloaded the starters-kit yesterday. Any help would be greatly appreciated. I am trying to figure out jbpm for use on a complex software request automation project.

      Thanks,
      -Roger Bowman