[jboss-user] [JBoss jBPM] - Re: Anyone running jBPM on Oralce AS 10.1.2 ?

sobedrinker do-not-reply at jboss.com
Wed Aug 23 12:46:09 EDT 2006


I don't think so... only the myfaces jars, which are in my WAR file.
This is the only thing that is deployed to the container. The global applib only has the database driver in it.

Here is some more info on the same error I'm getting...

I am using the oracle.create.sql from the Wiki page http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnOracle

I loaded the database with "/src/resources/hsqldb/identity.db.xml" data using the ant task "loadidentities".  This gives me the cookie monster, ernie,  bert, and grover Users.

I deployed the websale process using the jBPM IDE plugin. The websale process found in "src\process.examples\websale.par".

Now, I am running a webapp that has the jBPM.jar bundled with it.  It has all the other required libs and configs to get it running.

I am able to login, and it shows the home page with the two datatables showing the TaskList and Start New Process Exection.


After stepping through the code in debug mode...

I put a breakpoint in the TaskBean.java (around line 120) in the initialize() method.

When it tries to get the available transitions, the "if" condition is true (size = 1), and then sets availableTranstions and availableTransitionItems to NULL.


  |     // get the available transitions
  |     availableTransitions = null;
  | 
  |     availableTransitions = taskInstance.getAvailableTransitions();
  |     if ((availableTransitions != null) && (availableTransitions.size() <= 1)) {
  |       availableTransitions = null;
  |       availableTransitionItems = null;
  |     } else {
  |       availableTransitionItems = new ArrayList();
  |       Iterator iter = availableTransitions.iterator();
  |       while (iter.hasNext()) {
  |         Transition transition = (Transition) iter.next();
  |         SelectItem transitionItem = new SelectItem();
  |         transitionItem.setValue(transition.getName());
  |         transitionItem.setLabel(transition.getName());
  |         transitionItem.setDisabled(false);
  |         availableTransitionItems.add(transitionItem);
  |       }
  |     }
  | 

any ideas?

Did the websale.process get deployed correctly? It said it did from the tool.

Do I need to package the websale.process archive in my webapp, since I'm not running jBPM as a service in the Oracle AS container?

Thanks,
Chad

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967043#3967043

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967043



More information about the jboss-user mailing list