[jboss-user] [jBPM Users] - Re: How to use timers?
geez, guys, calm down again ;-) mauromol wrote : | I'm writing a test case, I am not running in a web application for now. | In that case, you still need persistence. With the DbSchedulerServiceFactory, timers are stored in the jBPM database and executed by the JobExecutor (which needs to be started, btw). The easiest way to test timers is by extending the AbstractDbTestCase class. Have a look at the processJobs(long maxWait) method, which starts a JobExecutor and waits until jobs are processed: http://anonsvn.jboss.org/repos/jbpm/jbpm3/trunk/modules/core/src/main/java/org/jbpm/db/AbstractDbTestCase.java There are a couple of test cases for timer execution related scenarios, such as this one, for example: http://anonsvn.jboss.org/repos/jbpm/jbpm3/trunk/modules/core/src/test/java/org/jbpm/jbpm2036/JBPM2036Test.java View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267247#4267247 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons
by 'both ways', are you referring to this: anonymous wrote : Deploy PD2 and then PD1 - delete both works fine | Deploy PD2 and then PD1 - execute PD1 and PD2 from PD1 - getting this error.. where the difference in the second way is that there are actually (ended) process instances? Other than that, you are calling GraphSession.deleteProcessDefinition(..) - or use the link in the jbpm-console - just as in the first case? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247620#4247620 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons
TejJBPM, this is jBPM 3, right? If you've got a process-state node in the process definition that you are trying to delete, you might want to try to delete the child process before. Although I have to say I don't see this FK violation in my environment (jBPM 3.2.5.SP5, MySQL 5.1.35, mysql-connector-java-5.0.7) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247189#4247189 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons
I'd give a newer jBPM 3.2.x version a try View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247243#4247243 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Group Task Assignment proble- Unable to see task avalaib
@Swati, I think the heading 'Personal/Group Tasks' is just misleading in the JSF console implementation, as the list only contains those tasks that are actually assigned to the current user. But the list does *not* contain those tasks where no user is yet assigned, but where the current user is contained in the list of pooled-actors, where he is therefore a candidate for performing the task. @Peter I don't think your patch aligns with the notion of 'groups' as it is used within the current jBPM console implementation. In your patched ListTaskForActorActionListener version the groups of a user are fetched using the jBPM identity module, which are then used as parameter in the TaskMgmtSession.findPooledTaskInstances(actorIds) function. In my opinion, the term 'group' just has the meaning of a list of comma-separated actorIds as used in the pooled-actors attribute, and this is what should rather be passed in into the function above, in case the list should display tasks where a user is a candidate for. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=422#422 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Drools
The Drools project uses mailing lists: http://jboss.org/drools/lists.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220499#4220499 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm 3.3.1 Timer Exception on executionContext.leaveNode
dleerob wrote : Should I be checking out http://anonsvn.jboss.org/repos/jbpm/jbpm3/trunk? If that going to have the latest source for 3.3.x? | Yes, this is the correct URL for the latest jBPM 3 sources. For more information regarding version 3.2.x and 3.3.x, please have a look at this thread: http://www.jboss.org/index.html?module=bbop=viewtopicp=4208999#4208999 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4210275#4210275 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4210275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm 3.3.x vs Jbpm 3.2.x
For more information regarding version 3.2.x and 3.3.x, please have a look at this thread: http://www.jboss.org/index.html?module=bbop=viewtopicp=4208999#4208999 The main difference between 3.3.x and 3.2.4 and higher versions is the introduction of the gwt console in 3.3. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4210276#4210276 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4210276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm 3.3.1 Timer Exception on executionContext.leaveNode
I have created https://jira.jboss.org/jira/browse/JBPM-2036 for this bug. Thanks for reporting! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4208763#4208763 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4208763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Logging Filter Not Working As Described
I don't think this is possible with jBPM 3 as there are direct references to the various log classes in lots of places. Therefore, one can only chose between all or nothing. AFAIK, jBPM 4 will bring improvements in that area, too: https://jira.jboss.org/jira/browse/JBPM-1213 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4204683#4204683 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4204683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Hibernate and log4j
glnd wrote : on the other hand it misses the binding parameters information. | Can some help me to configure log4j? Thanks. The log4j settings are correct. The binding parameters aren't shown because of this bug: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2835 The workaround is to replace server/jbpm/lib/commons-logging.jar (which is version 1.1.0) with an older commons-logging 1.0.x version. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4200900#4200900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4200900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio
Petr, please try to explicitly set the lock mode on the join: join name=join1 lock=UPGRADE and let us know how it works for you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4197120#4197120 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4197120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.
Ronald, thanks for the unit test. I executed it against mysql, postgres and oracle (the real ones and not just h2 in the different modes to be sure), and here is what I've found: + join name='join' /* the default: leads to StaleObjectStateException with Oracle and Postgres */ | //+ join name='join' lock='+ LockMode.UPGRADE.toString() + ' /* works */ | //+ join name='join' lock='+ LockMode.UPGRADE_NOWAIT.toString() + ' /* works */ | //+ join name='join' lock='+ LockMode.NONE.toString() + ' /* works */ | //+ join name='join' lock='+ LockMode.READ.toString() + ' /* works */ | //+ join name='join' lock='+ LockMode.WRITE.toString() + ' /* invalid lock mode */ | //+ join name='join' lock='+ LockMode.FORCE.toString() + ' /* StaleObjectStateException */ | So, setting the LockMode seems to be a valid workaround to fix this on Oracle and Postgres. Btw, I have also tried to change the generator type, but that didn't help (besides that this is not compatible to the various dbs). Are you going to check in your unit test? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4197119#4197119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4197119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.
To finish up on my tests from yesterday, removing the flush() in the Join re-introduced the failure on the direct link from fork to join: | HSQLDB: 3.2.2: OK, 3.2.3: OK, 3.3.0: OK | Oracle: 3.2.2: FAILED, 3.2.3: OK, 3.3.0: FAILED | Postgres: 3.2.2: FAILED, 3.2.3: OK, 3.3.0: FAILED | Looks like our test suite is not covering this scenario correctly and needs to be enhanced. @Jan, regarding the Oracle sequences, let's follow up on the other thread you've already opened. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196849#4196849 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No auto-id for jbpm when running on Oracle
If you have created the jBPM tables using the provided jbpm.jpdl.oracle.sql script, a sequence should have been created, too: create sequence hibernate_sequence; The mapping files are held pretty generic when it comes to id generation: id name=id column=ID_generator class=native //id This allows Hibernate to select the appropriate strategy depending on the configured db dialect, for Oracle it will be 'sequence'. Hibernate then calls the sequence (by default, if not further specified, the one named 'hibernate_sequence') when new rows are inserted. Have you set the dialect in hibernate.cfg.xml? property name=hibernate.dialectorg.hibernate.dialect.Oracle9Dialect/property View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196855#4196855 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Process deployment from eclips plugin fails when running
Have you set the correct hibernate dialect in hibernate.cfg.xml? property name=hibernate.dialectorg.hibernate.dialect.Oracle9Dialect/property View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196857#4196857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.
if I only had a unit test... sigh... the lack of a proper test is probably the reason why the failure was reintroduced in 3.3.0. I'm pretty convinced this issue only shows on certain dbs, such as Oracle and Postgres. I can give it another try on MySQL, too (and then write a proper test ;-) ) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196980#4196980 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No auto-id for jbpm when running on Oracle
go, Ronald, go...! and Jan, I'm glad to hear your issue is resolved! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196983#4196983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to configure org.jbpm.web.JobExecutorLauncher?
anonymous wrote : can't the job executor work with seam transactions? Just recently, I made a similar test and added the JobExecutorServlet to the dvdstore demo and experienced no issues when a timer fired. This was with Seam 2.0.2, and no other changes to the jBPM configs were necessary. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196536#4196536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.
anonymous wrote : Your memory works better than mine ;-) I don't know about that, but strangely enough I see roughly the same questions being asked at different channels by different users. Don't know yet why this coincidentally happens, but it does make me look as if I remembered things well ;-) anonymous wrote : So it was no deja-vu, but a real memory If you can (still) differentiate, that's a good sign :-) Still trying to get https://jira.jboss.org/jira/browse/JBPM-1772... Tom first said he would reintroduce the flush, but apparently in the end the failing test was fixed/changed, and not the Join?! @Jan, curious to hear about your test results! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196555#4196555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.
I've made another test with a stripped version of your process. I've removed the decision handlers, and made a direct transition from fork to join in one of the branches. This is the result: | HSQLDB: 3.2.2: OK, 3.2.3: OK | Oracle: 3.2.2: FAILED, 3.2.3: OK | Postgres: 3.2.2: FAILED, 3.2.3: OK | The session.flush() in org.jbpm.graph.node.Join was introduced in 3.2.3. I'll test this with 3.3.0 later or tomorrow. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196640#4196640 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with a decision node in a fork, join construct.
anonymous wrote : Deja-vu. Isn't https://jira.jboss.org/jira/browse/JBPM-1886 the cause for your deja-vu? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196522#4196522 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Does AssignmentHandler work within the start node??
anonymous wrote : Why does taskInstance.getActorId() in method testSubmissionTask() equal null Your assignment handler will never be called when the TaskMgmtInstance.createStartTaskInstance() is used, have a look at the javadocs: | /** |* creates a task instance on the rootToken, and assigns it |* to the currently authenticated user. |*/ | public TaskInstance createStartTaskInstance() { | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192365#4192365 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: End Node - End All Tasks
I think things got mixed up here. The 'end-complete-process' attribute on end-state only makes sense in an end-state that appears in a leg of a fork, and which should end the complete process, see https://jira.jboss.org/jira/browse/JBPM-1181. Ending a process does not end the taskInstances, that's the default behavior IMO. There is at least one JIRA issue for this, too https://jira.jboss.org/jira/browse/JBPM-392. A workaround would be to end the taskinstances in an ActionHandler on the process-end event. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192017#4192017 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: End Node - End All Tasks
Using an ActionHandler with taskMgmtInstance.endAll() in the process-end event should work. If you experience any issues, please create a unit test, let us know which version you are working with and show us the exception. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192106#4192106 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: variable scope from a script
There is a test case that covers this scenario: http://fisheye.jboss.org/browse/JBPM/jbpm.3/jpdl/jar/src/test/java/org/jbpm/context/exe/VariableScopingTest.java?r=1.1 Looking at testScopeOverriding(), this works properly if the createVariable(String name, Object value, Token token) is used. The results are different if setVariable(String name, Object value, Token token) is used, which is also documented in the javadocs: /** |* sets a variable. If a variable exists in the scope given by the token, that |* variable is updated. Otherwise, the variable is created on the root token |* (=process instance scope). |*/ | public void setVariable(String name, Object value, Token token) { In order to use setVariable on different tokens, the variables have to be created first with createVariable, otherwise they will all end up being referenced by the root token. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192116#4192116 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Need URL to get source code of jPdl web console
anonymous wrote : Are those the correct locations for all the source for the jbpm-console web-app? Almost, but the URL you have mentioned points to a specific patch branch. I would rather suggest to use the sources from the jbpm-3.2.3.GA tag: | http://anonsvn.jboss.org/repos/jbpm/jbpm3/tags/jpdl-3.2.3.GA/ and yes, the /console sub-directory holds the UI pages for the jbpm-console web-app, whereas /jbpm4jsf is the place for the JSF library sources. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186587#4186587 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: NPE in GPD
java.lang.NullPointerException | at org.jbpm.gd.jpdl.notation.JpdlNode.getDestinationNode(Unknown Source) | looks like there is an incorrect transition somewhere in the process, pointing to a node that cannot be resolved. I would suspect the following: decision name=do manual? | transition to=end name=No/transition | transition to=super-state1/select users name=Yes/transition | /decision and change it to: decision name=do manual? | transition to=end name=No/transition | transition to=manual annotation configuration/select users name=Yes/transition | /decision How did you end up with this corrupted process in the first place? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4184860#4184860 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184860 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm 3.1 to 3.2
Why not just wait for JBoss Portal 2.7 - or use the current CR1 release if you are in development - as the integration issues of getting jPBM 3.2.x to work with JBoss Portal have already been sorted out there? It integrates jBPM 3.2.2 and the GA date is not too far away. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4181771#4181771 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm 3.1 to 3.2
Ronald, hmm, not sure about what you are looking at, but judging from the contents of the JBoss Portal binary releases, 2.7 is the first one that bundles jBPM 3.2 libraries. This matches the indicated fix version in https://jira.jboss.org/jira/browse/JBPORTAL-1957 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4181819#4181819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM running on WebSphere 6
Have you seen this https://jira.jboss.org/jira/browse/JBPM-1179 ? I remember having struggled with this on Websphere, too, but as I'm a Websphere n00b, I quickly forgot how that endeavor ended. But maybe upgrading to jBPM 3.2.3 helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4181258#4181258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: install jbpm 3.2.3 in jboss-4.2.2.GA
With the jBPM 3.2.3 suite, you've got all pieces ready to go. If you want to use the jbpm-enterprise.ear instead of the jbpm-console.war, which is deployed by default, just use the one from the jbpm-jpdl-3.2.3/deploy directory. Suppose you have extracted the jBPM 3.2.3 archive to a folder jbpm-jpdl-3.2.3, all you need to do is | jbpm-jpdl-3.2.3 $ rm server/server/jbpm/deploy/jbpm-console.war | jbpm-jpdl-3.2.3 $ cp deploy/jbpm-enterprise.ear server/server/jbpm/deploy/ | jbpm-jpdl-3.2.3 $ ./server/bin/run.sh -c jbpm | The wiki was written for jBPM 3.2.2, where the deployment on JBoss 4.2 didn't work without the modifications IIRC. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178710#4178710 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: 'Global' transitions
Have you looked into Superstates, I think this could meet your requirements pretty well. They are visible in the process diagram, and you can signal the outgoing transition from any node inside the super-state. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178714#4178714 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: error start JBOSS Application Server
Looks like there is an old version of log4j.jar around somewhere - TRACE level had been included since log4j version 1.2.12. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173565#4173565 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173565 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: add new user
Petia, the SQL 42601 error comes up because the SQL statements are missing the trailing semicolons (;). | $ sed 's/$/;/g' jbpm.jpdl.postgresql.sql jbpm.jpdl.postgresql.delimiter.sql | $ psql -d database -U dbuser -W -f jbpm.jpdl.postgresql.delimiter.sql | Also, you'd need not only JBPM_ID_USER entries as outlined in the SQL snippet of Chapter 8.5.1 of the docs, but also entries in the JBPM_ID_GROUP and JBPM_ID_MEMBERSHIP table: INSERT INTO JBPM_ID_GROUP VALUES(1,'G','sales','organisation',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(2,'G','admin','security-role',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(3,'G','hr','organisation',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(4,'G','user','security-role',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(5,'G','manager','security-role',NULL); | INSERT INTO JBPM_ID_USER VALUES(1,'U','user','[EMAIL PROTECTED]','user'); | INSERT INTO JBPM_ID_USER VALUES(2,'U','manager','[EMAIL PROTECTED]','manager'); | INSERT INTO JBPM_ID_USER VALUES(3,'U','admin','[EMAIL PROTECTED]','admin'); | INSERT INTO JBPM_ID_USER VALUES(4,'U','shipper','[EMAIL PROTECTED]','shipper'); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(1,'M',NULL,NULL,2,4); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(2,'M',NULL,NULL,3,4); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(3,'M',NULL,NULL,1,4); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(4,'M',NULL,NULL,4,4); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(5,'M',NULL,NULL,4,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(6,'M',NULL,NULL,2,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(7,'M',NULL,NULL,3,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(8,'M',NULL,NULL,3,2); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(9,'M',NULL,NULL,2,2); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(10,'M',NULL,NULL,2,5); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(11,'M',NULL,'boss',2,1); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(12,'M',NULL,NULL,1,1); | Finally, if you add a new user using the jbpm-console, you will also need to associate the new user entry with a group, eg. by default at least the 'user' group to be able to login. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171057#4171057 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4171057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Terminated or deleted process instance?
anonymous wrote : The case i have is that Comment objects are attached to tokens in the process instance. I just tested GraphSession.deleteProcessInstance on a process with related comments, and they were deleted just fine. This was with jBPM 3.2.3. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171063#4171063 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4171063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Terminated or deleted process instance?
anonymous wrote : The actual delete is kinda tricky... Why not simply use org.jbpm.db.GraphSession#deleteProcessInstance(long processInstanceId) ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170714#4170714 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Terminated or deleted process instance?
Leo, the GraphSession.deleteProcessInstance method *should* handle all references correctly, and should thus get rid of all data related to a process instance. If it does not, it would be great if you could provide more info about what is missed out, so that this can be fixed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170735#4170735 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Checking out source codes is forbidden now?
Wong, the sources have moved to SVN, check this out for a complete list of the jBPM links: http://www.jboss.org/jbossjbpm/jbpm_community/ to checkout the jBPM 3 sources: | svn co http://anonsvn.jboss.org/repos/jbpm/jbpm3/trunk . | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170572#4170572 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: not binding factory to jndi, no JNDI name configured
I don't see any errors in the log snippet you provided. Moreover, everything looks alright. The 'no JNDI name configured' message is just an INFO message from Hibernate, nothing to worry about. What happens if you access http://localhost:8080/jbpm-console? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167253#4167253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to integrate commandservicebean
Check your datasource configuration file, it must have a section for the type-mapping: metadatatype-mappingHypersonic SQL/type-mapping/metadata | where the value matches one of the entries in server/jbpm/conf/standardjbosscmp-jdbc.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167265#4167265 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm with tomcat login
Ashish, have you configured a security realm? Have a look at '3. Setup a JDBC Realm in Tomcat' of this wiki: http://wiki.jboss.org/wiki/JbpmOnTomcat View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163761#4163761 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in Process Definition Deployment.
anonymous wrote : The problem is if I try to instance a process from the eclipse, like I described. now, *that* is some information I was missing before! hsqldb is run in In-Process mode, which means as part of the running process (the app server) in the same JVM. But this also means the db is not accessible from outside the JVM. As you said, it's probably the best decision to switch the database to something you are accustomed to work with. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4154628#4154628 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4154628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in Process Definition Deployment.
@Ronald anonymous wrote : This is the second time that people do not know that in memory hsql databases are not shared well, maybe that's because it's not that obvious. it's in the connection.url (jdbc:hsqldb:mem:jbpm), but can be easily overlooked (just as I have ;-) ) @Fornachari What's strange though is why the datasource is not found in your environment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4154338#4154338 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4154338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in Process Definition Deployment.
anonymous wrote : My java application code, the complete error message, and config files are above, in my other comments. what is still missing is the structure of your application. For your convenience, here's a bare minimal application that could run the application code you posted: /home/mputz/jboss/work/jbpm-jpdl-suite-3.2.2/server/server/jbpm/deploy/jbpm-test.war/ | |-- WEB-INF | | |-- classes | | | `-- hibernate.cfg.xml | | |-- lib | | | |-- jbpm-identity.jar | | | `-- jbpm-jpdl.jar | | `-- web.xml | `-- index.jsp | where * 'hibernate.cfg.xml' is just the same as the one deployed in /jbpm-jpdl-suite-3.2.2/server/server/jbpm/deploy/jbpm-console.war/WEB-INF/classes/hibernate.cfg.xml, * web.xml has only empty web-app tags and * index.jsp contains your code. Hope this helps a bit finding the culprit in your environment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4153982#4153982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4153982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal LDAP integration problems
created http://jira.jboss.com/jira/browse/JBPORTAL-1996 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4145169#4145169 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4145169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times
Is this happening with the default theme/layout, or with a customized one? I've seen multiple renderings with a modified jboss-portal.sar/portal-core.war/layouts/generic/index.jsp, which included the following: - a *.js file with 'document.write(...);' calls - references to images where the URL starts with '/portal/content/' (which is intercepted by the CMS stack) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4143801#4143801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4143801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Connections never close. Two many connections exception
if an app server is out of the picture, have a look at the following URLs, which contain helpful information on the c3p0 configuration options, especially in the combination with Hibernate: http://www.hibernate.org/214.html http://www.mchange.com/projects/c3p0/index.html#hibernate-specific I'm wondering why you have set idle_test_period to zero: | property name=hibernate.c3p0.idle_test_period0/property | From the first link above: anonymous wrote : | If this is a number greater than 0, c3p0 will test all idle, pooled but unchecked-out connections, every this number of seconds. | I would start off with the values as shown in the sample config on the first link above and thus set it to 100 (seconds). Let us know if you start to see a difference. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137703#4137703 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with changing backend database to mysql
David, thanks for the feedback! Glad to hear that my comments helped. All the best for your further jBPM adventures! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137337#4137337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with changing backend database to mysql
True, the docs are not completely matching the 3.2 version, as the paths mentioned in this chapter still refer to the 3.1.x starters kit. But in general, the process of switching the DB backend is still roughly the same. Now, back to your initial issue. I'm wondering if your config changes are really getting picked up. In the server.log you should see similar messages: 5785:2008-03-11 13:09:36,054 INFO [org.hibernate.cfg.Configuration] configuring from resource: hibernate.cfg.xml | 5786:2008-03-11 13:09:36,054 INFO [org.hibernate.cfg.Configuration] Configuration resource: hibernate.cfg.xml | 5790:2008-03-11 13:09:36,165 DEBUG [org.hibernate.cfg.Configuration] hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect | 5791:2008-03-11 13:09:36,165 DEBUG [org.hibernate.cfg.Configuration] hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider | 5792:2008-03-11 13:09:36,165 DEBUG [org.hibernate.cfg.Configuration] hibernate.connection.datasource=java:/JbpmDS | of course in your case for mysql. Also, check if you have multiple hibernate.cfg.xml files somewhere in your deployment, also check inside archives as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4135586#4135586 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM, Tomcat6 and Postgres8.2 issue
As Ronald already pointed out, without detailed information it's almost impossible to give proper advice. If you're experiencing problems, these are usually reflected in the logs, so it's always a good idea to have a look into these and report any exceptions you can find there. Right now, I would however point you to the wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnTomcat and verify if what you have done somehow matches the steps reported there. Also, here are the contents of my jbpm-console.war I've deployed to Tomcat 6.0.10 for you to check as well (I've manually copied jbpm-j2ee.jar and commons-collections.jar after the ant run): | [EMAIL PROTECTED] webapps]$ tree ./jbpm-console/ | ./jbpm-console/ | |-- META-INF | | `-- MANIFEST.MF | |-- WEB-INF | | |-- access.properties | | |-- classes | | | |-- hibernate.cfg.xml | | | |-- jbpm.cfg.xml | | | |-- jbpm.mail.templates.xml | | | `-- messages.properties | | |-- faces-config.xml | | |-- jboss-web.xml | | |-- jbpm4jsf-config.xml | | |-- lib | | | |-- activation.jar | | | |-- antlr-2.7.6.jar | | | |-- asm.jar | | | |-- bsh.jar | | | |-- cglib.jar | | | |-- commons-collections.jar | | | |-- commons-fileupload.jar | | | |-- commons-io.jar | | | |-- commons-logging.jar | | | |-- dom4j.jar | | | |-- gravel-14.jar | | | |-- hibernate3.jar | | | |-- javassist.jar | | | |-- jboss-backport-concurrent.jar | | | |-- jboss-j2ee.jar | | | |-- jboss-retro-1.1.0-rt.jar | | | |-- jbpm-identity.jar | | | |-- jbpm-jpdl.jar | | | |-- jbpm4jsf-14.jar | | | |-- jsf-api-14.jar | | | |-- jsf-facelets.jar | | | `-- jsf-impl-14.jar | | `-- web.xml | I wouldn't put the db driver lib in the war, but rather in $tomcat/lib. Hope this helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4135205#4135205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with changing backend database to mysql
First, if you really want to use the datasource as defined in jbpm-ds.xml, you should alter hibernate.cfg.xml to resemble this: | !-- DON'T USE DIRECT HIBERNATE CONFIGS, USE DATASOURCE INSTEAD -- | !-- | property name=hibernate.connection.driver_classcom.mysql.jdbc.Driver/property | property name=hibernate.connection.urljdbc:mysql://localhost:3306/jbpmbackend/property | property name=hibernate.connection.usernameroot/property | property name=hibernate.connection.passwordpassword/property | -- | !-- JDBC connection properties (end) -- | property name=hibernate.cache.provider_classorg.hibernate.cache.HashtableCacheProvider/property | !-- DataSource properties (begin) --property name=hibernate.connection.datasourcejava:/JbpmDS/property!-- DataSource properties (end) -- Next, do you have users in your database? What does this SQL query return? SELECT PASSWORD_ FROM JBPM_ID_USER WHERE NAME_='manager' View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4135206#4135206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Table not found in statement. While deloying a Process D
If you want to use hsqldb as defined in jbpm-ds.xml, you have to make sure that the JbpmDS datasource is referenced from hibernate.cfg.xml. Change it to: !-- JDBC connection properties (begin) === | NOT USED, THE CONNECTION PROPERTIES ARE DEFINED IN jbpm-ds.xml! | property name=hibernate.connection.driver_classorg.hsqldb.jdbcDriver/property | property name=hibernate.connection.urljdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}jbpmDB/property | property name=hibernate.connection.usernamesa/property | property name=hibernate.connection.password/property | ===JDBC connection properties (end) -- | | | | !-- DataSource properties (begin) -- | property name=hibernate.connection.datasourcejava:/JbpmDS/property | !-- DataSource properties (end) -- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134765#4134765 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Running Seam and JPBM in a separate schema
anonymous wrote : Unabled to enlist resource, see the previous warnings This is coming from JBossTS TransactionManager used in JBoss 4.2.x, which is more strict about enlisting multiple resources in a single transaction than the previous implementation from JBoss 4.0.x. See http://wiki.jboss.org/wiki/Wiki.jsp?page=Multiple1PC for a discussion of this problem. To start with, I'd leave the jbpm.cfg.xml settings as they were and set the allowMultipleLastResources=true switch in conf/jbossjta-properties.xml and see if you come around this issue. As this is not the recommended approach from a transactional perspective, you could then think of the other options as listed on the tx wiki and docs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134480#4134480 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Switching the Database Backend
EhCache? what jBPM version are you using? I'd expect to see property name=hibernate.cache.provider_classorg.hibernate.cache.HashtableCacheProvider/property in hibernate.cfg.xml, as this is the default cache provider setting in the recent versions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134483#4134483 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl.jar deployment in war file
Ronald referred to the classloader specifics of JBoss. There are a couple of wiki pages in that respect, eg: http://wiki.jboss.org/wiki/Wiki.jsp?page=GetClassNotFoundExceptionOrNoClassDefFoundError I think the fourth point 'The class is not visible from where it is being loaded' matches your use case pretty much. It would be interesting to know, however, why your *.war with the included jbpm-jpdl.jar doesn't deploy. This is how the jBPM web console application is deployed (if you don't use the *.ear version). Please provide more details of what is failing and the exceptions you get, as well as the versions (AS, jBPM) so that we can help you further. Just a guess, if it is jBPM 3.2.x on AS 4.2.x, this will not work ootb, but you could follow this wiki to get it going: http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployJbpm3.2WebAppUnderJBoss4.2.x View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133568#4133568 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133568 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl.jar deployment in war file
what other jars do you bundle inside this *.war? The stacktrace shows some WS classes, do you have such libraries inside your application? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133642#4133642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl.jar deployment in war file
anonymous wrote : ./WEB-INF/lib/jboss-j2ee.jar including JBoss jars in custom applications usually brings you in trouble ;-) I'd remove at least this one (and check for others that might be duplicates of the ones in jboss/config/lib) and give it another try... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133654#4133654 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Token.signal() --- 2 tokens?
IMO, you shouldn't signal the root token once it has arrived in the fork: | Token root = processInstance.getRootToken(); | // root token is already on the fork, signal children instead | // root.signal(); | I've found a (rejected) feature request to prevent the root token from being signaled on a fork node: http://jira.jboss.com/jira/browse/JBPM-642 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4131093#4131093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.2 without suite's AS / on a JBoss AS 4.2.2.GA
Please have a look at this wiki which should get you started on this topic: http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployJbpm3.2WebAppUnderJBoss4.2.x Basically, there is an ant task to create a war that runs on JBoss 4.2 when you check out the sources from cvs. If you don't want to to a manual build from the sources, the wiki also outlines which jar's need to be replaced from the war which is contained in the binary bundle. Let us know if you run into problems. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4127272#4127272 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm with tomcat and postgresql
jobu, it would really help if you used the [ code ] your code / your xml files [ /code ] tags (without the blanks), to show your configurations. Besides that, I would suggest to start off by following the step-by-step explanation on the wiki (just substitute mysql with postgres) to get a feeling of what files are needed and where to put the configurations. Once you have the default jbpm-console running, you could try to follow the same path in order to deploy your own custom application. If you are still having problems afterwards, please give us more details (versions, exceptions, etc) than just a plain: anonymous wrote : But still not working...?? Btw, please check if there are other hibernate.cfg.xml files in your classpath, and don't forget to search inside *.jar files as well. Maybe yours is just not getting picked up. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122139#4122139 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm with tomcat and postgresql
As already posted in my last comment: anonymous wrote : Btw, please check if there are other hibernate.cfg.xml files in your classpath, and don't forget to search inside *.jar files as well. Maybe yours is just not getting picked up. from your list I see you have * hibernate.cfg.xml * jbpm.sar.cfg.jar The latter one contains config files as well, my guess these are the ones that get picked up, so please remove this archive from your deployment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122264#4122264 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm with tomcat and postgresql
the datasource configuration is with the jbpm-ds.xml file is something that only works if you deploy to JBoss AS. Please have a look at the http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnTomcat wiki, and pay special attention to the configuration of hibernate.cfg.xml as outlined in section 2.3 of that wiki. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122060#4122060 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to config jbpm-console for mysql and jboss correct!!
Hi, the link Ronald provided contains a section 'Additional Notes for jBPM 3.2.1/jBPM 3.2.2' with two possible ways to get the right libraries in the web-console on JBoss 4.2.x: * checkout the sources from cvs and use the provided ant task OR * manually include the listed jars in the web application Either one of the two approaches should work. Which one did you try? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120016#4120016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: re:jbpm-console source code
In jbpm.3/console/src/ you will find the xhtml files for the facelets based UI. If you are looking for the rest of the sources for the jbpm-console web application, check the contents of the jbpm.3/jbpm4jsf/ folder. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111944#4111944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploying jbpm 3.2.2 process archive in jboss 4.2.x
you should just make sure that the hibernate.cfg.xml is in your classpath, eg. put it in a separate folder (like '/config') inside your project and pick this up in the classpath definition: path id=libraries | !-- path to the config files -- | pathelement location=config/ | !-- path to other libs -- | fileset dir=${librarydir} | ... | /fileset | /path | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109177#4109177 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109177 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl-3.2.GA - jbpm-console - ERROR - workflow.jbpm_
Please give it a try with the latest jBPM version, currently 3.2.2 - the tables of the identity components have been included in the default db scripts after 3.2.GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108797#4108797 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm 3.2.2 web console on JBoss 4.2.0 - NullPointerExcep
If you are deploying the jbpm-console.war on a JBoss 4.2.x instance, please make sure that the jbpm-console/WEB-INF/lib folder only includes the libs listed at the bottom of the wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployJbpm3.2WebAppUnderJBoss4.2.x I've just verified that this works properly and have also linked the missing libraries on the wiki to the download location in the jboss repository. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108108#4108108 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Multiple JBPM engines on one single JBoss instance
I haven't tried what you are trying to achieve, but it sounds like you run into this issue of both applications using the same jars/resources because of the flat class loading model JBoss uses. See http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration for more information, and try it again after inserting a jboss-app.xml in your ear files with class loader isolation settings as outlined in the wiki. And also set a different context to the jBPM web applications. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106780#4106780 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: About loading of hibernate configuration in HibernateHel
by default, the hibernate.cfg.xml and jbpm.cfg.xml files are residing in the same directory, often bundled within a jar: [EMAIL PROTECTED] lib]$ jar -tvf jbpm-configs.jar | 0 Thu Aug 30 01:05:28 CEST 2007 META-INF/ | 71 Thu Aug 30 01:05:28 CEST 2007 META-INF/MANIFEST.MF | 18765 Thu Sep 27 15:34:52 CEST 2007 hibernate.cfg.xml | 2978 Wed Oct 17 11:35:56 CEST 2007 jbpm.cfg.xml |735 Mon Jun 11 14:22:10 CEST 2007 jbpm.mail.templates.xml | and the configuration property in jbpm.cfg.xml contains no leading slash: string name=resource.hibernate.cfg.xml value=hibernate.cfg.xml / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096436#4096436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: About loading of hibernate configuration in HibernateHel
If you don't want the *cfg.xml files in a separate jar, you could include it in the classpath, for a web-app this would be WEB-INF/classes. Here is a (partial) listing of a modified jbpm-console.war, where the configs are taken from the WEB-INF/classes folder. ./jboss-console.war | images | index.jsp | META-INF | sa | ua | WEB-INF | | ./WEB-INF/classes: | hibernate.cfg.xml | jbpm.cfg.xml | jbpm.mail.templates.xml | messages.properties | | ./WEB-INF/lib: | el-api.jar | el-ri.jar | gravel.jar | jbpm4jsf.jar | jbpm-identity.jar | jbpm-jpdl.jar | jsf-api.jar | jsf-facelets.jar | jsf-impl.jar | Is that coming close to what you are trying to do? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096632#4096632 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: ejb3 and NO_THROW_ON_ERROR, how can it be set.
this is now scheduled for the Remoting 2.4.0 release: http://jira.jboss.com/jira/browse/JBREM-804 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083794#4083794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: logging in to jbpm-console from api code
Ross, I don't know in which environment you are working, but JBoss AS 4.2.0 now contains features to do automatic web authentication: http://jira.jboss.com/jira/browse/JBAS-4077 http://wiki.jboss.org/wiki/Wiki.jsp?page=WebAuthentication The appropriate forum for getting more information on this topic would be the 'Security JAAS/JBoss' forum, where a search for 'j_security_check' reveals threads such as http://www.jboss.com/index.html?module=bbop=viewtopict=73646 Hope this applies to your environment and that it helps to get you started View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081225#4081225 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081225 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: com.arjuna... warning message
try searching the 'JBoss Transactions' forum - there you will find quit informative discussions on this topic View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080771#4080771 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBoss + JBPM + Mysql - Deployment is not going through
anonymous wrote : 07:28:15,812 ERROR [MainDeployer] Could not create deployment: file:/C:/JBoss/jbpm-jpdl-3.2.1/server | /server/jbpm/deploy/mysql-ds.xml | org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:s | ervice=LocalTxCM,name=DefaultDS | Check how many datasource configuration files (*-ds.xml) you have in the /deploy directory. I would suspect you find two, the default hsqldb-ds.xml and the mysql-ds.xml you've created. Just make sure that these are registered under a unique jndi name: hsqldb-ds.xml -- jndi-name: DefaultDS mysql-ds.xml -- jndi-name: JbpmDS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079939#4079939 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm task forms as generated by jpdl eclipse plugin
Ross, fyi, there is a pretty similar bug in JIRA for the jbpm:dataform with multiple columns already: http://jira.jboss.com/jira/browse/JBPM-1039 You might want to check this out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079067#4079067 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ClassCast Problem
IMO the question is how you are deploying your process and its related java classes? If you deploy it through Eclipse for example make sure you include the java classes as well. They will end up in the database and jBPM can pull them from there at runtime. Are you packaging them somewhere else inside the app server? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079137#4079137 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error getting diagram info
we've experienced problems with special characters in node-names on Windows machines already, please check out http://jira.jboss.com/jira/browse/GPD-98 whether your problems are similar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078252#4078252 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: couldn't delete process definition
To me this looks like a bug. I'm having a closer look at the mappings now - in the meantime, could you enter a JIRA entry for this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076206#4076206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: couldn't delete process definition
created this JIRA issue: anonymous wrote : http://jira.jboss.com/jira/browse/JBPM-1043 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076277#4076277 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm process undeploy constraint violation in jbpm 3.2.G
you are probably hitting this bug: http://jira.jboss.com/jira/browse/JBPM-1043 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076278#4076278 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Unknown Method Exception
Hi, this is a known JBoss Rules related problem and possible workarounds are described at the following wiki page: http://wiki.jboss.org/wiki/Wiki.jsp?page=RulesTomcat View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075753#4075753 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Exception while executing SubProcess
why do you explicitly create an instance of the sub-process? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075867#4075867 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: SchedulerServlet for jbpm 3.2
what used to be in the SchedulerServlet is now (jBPM 3.2.x) implemented in the JobExecuter servlet, if you deploy jBPM inside a war file. If you take the ear (enterprise version), ejb timers are used. Have a look at the jbpm-console.war/WEB-INF/web.xml and you'll find the config sections at the bottom for both approaches. Regarding the jbpm.cfg.xml config section you are referring to, I'd take EjbSchedulerServiceFactory as scheduler factory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075871#4075871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deployment of jBPM process
The processdefinition and its contents is saved in various tables (eg. JBPM_PROCESSDEFINITION, JBPM_NODE, JBPM_TRANSITION,...) The content of the processdefinition.xml file itself is stored (along with other process related information such as process image, class files etc.) in the JBPM_BYTEBLOCK table. Taking a look at the db schema, the relation from the xml data to the processdefinition can be followed by the following path: JBPM_BYTEBLOCKJBPM_BYTEARRAY JBPM_PROCESSDEFINITION | ---- -- | PROCESSFILE_ == ID_ | BYTES_NAME_ | INDEX_FILEDEFINITION_ == ID_ | (other fields...) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075122#4075122 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem login
What roles have you assigned to the newly created? In order to be able to login, at least one of the assigned roles have to match the security constraint defined in jbpm-console.war/WEB-INF/web.xml. Try to add the 'user' role to one of the new users and see if you can login afterwards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067812#4067812 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067812 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 and App Server (AS) 4.2 - Web Console
FYI, I have updated http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployJbpm3.2WebAppUnderJBoss4.2.x to include some information that apply to deploying jBPM 3.2.1 on JBoss 4.2.x. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067763#4067763 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 on AS 4.2.1
Great! You're welcome. Enjoy working with jBPM! Cheers! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067827#4067827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Tomcat 5.5 - Jbpm 3.2 - Starting failed couldn't get a
anonymous wrote : There was no mention of creating this datasource in the Wiki. You are absolutely right - I never thought of creating a datasource for Tomcat, but this is a very valid approach as well. If you look at the hibernate.cfg.xml snippet in the wiki, you will notice that the datasource reference is commented out while the jdbc connection properties are directly used. It's up to you what you think is the better approach :-) If you want to pass that approach to other users, feel free to add it to the wiki! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067815#4067815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 on AS 4.2.1
Angelo, good to hear that it's working now. Now on to the move to Oracle ;-) First, please have a look at Chapter 8 of the docu for a general overview of the necessary steps for switching the database backend: http://docs.jboss.com/jbpm/v3.2/userguide/html/thejbpmdatabase.html (Please note that the user guide is sometimes still referring to the 3.1 version and contains therefore outdated path references!) The steps in short are the following: 1.) create the db schema 2.) deploy the appropriate *-ds.xml datasource configuration file 3.) copy the db driver to the server/your_config/lib folder 4.) tell hibernate which db you are using by updating jbpm-enterprise.ear/lib/jbpm-configs.jar/hibernate.cfg.xml with the correct hibernate.dialect property value Regarding step 1.), the scripts for different databases including Oracle can be found in the jbpm-jpdl-3.2.1/db folder - for Oracle it's the file 'jbpm.jpdl.oracle.sql'. (If you were using jBPM 3.2.GA then the ddl statements for the tables for the identity components are missing in this file, however. This has been changed recently so if you checked out the latest version from CVS or work with 3.2.1 you should be fine and get a script which contains the create statements for all tables.) In order to execute this start sqlplus with a user with sufficient privileges and invoke '@path-to-file/jbpm.jpdl.oracle.sql'. After that you might want to insert the test users to play around; here are the relevant sql statements for this: INSERT INTO JBPM_ID_GROUP VALUES(1,'G','sales','organisation',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(2,'G','admin','security-role',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(3,'G','user','security-role',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(4,'G','hr','organisation',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(5,'G','manager','security-role',NULL); | INSERT INTO JBPM_ID_USER VALUES(1,'U','user','[EMAIL PROTECTED]','user'); | INSERT INTO JBPM_ID_USER VALUES(2,'U','manager','[EMAIL PROTECTED]','manager'); | INSERT INTO JBPM_ID_USER VALUES(3,'U','admin','[EMAIL PROTECTED]','admin'); | INSERT INTO JBPM_ID_USER VALUES(4,'U','shipper','[EMAIL PROTECTED]','shipper'); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(1,'M',NULL,NULL,2,4); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(2,'M',NULL,NULL,3,4); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(3,'M',NULL,NULL,4,4); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(4,'M',NULL,NULL,4,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(5,'M',NULL,NULL,1,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(6,'M',NULL,NULL,2,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(7,'M',NULL,NULL,3,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(8,'M',NULL,NULL,3,2); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(9,'M',NULL,NULL,2,2); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(10,'M',NULL,NULL,2,5); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(11,'M',NULL,'boss',2,1); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(12,'M',NULL,NULL,1,1); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067806#4067806 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem deleting a process containing a subProcess
what DB are you working with? A similar issue has been reported in JIRA http://jira.jboss.com/jira/browse/JBPM-785 with MySQL5, but due to the lack of a unit test the suggested patch was rejected. Maybe you could provide this to get the issue resolved... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067791#4067791 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 on AS 4.2.1
Angelo, the steps outlined at http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployJbpm3.2WebAppUnderJBoss4.2.x only applied to jBPM 3.2.GA until now. I have just added some additional information regarding jBPM 3.2.1 - please check these out and let us know if that worked for you. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067761#4067761 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Sample Process taking wrong transitions when using 3.2.1
I have created a JIRA entry for this: http://jira.jboss.com/jira/browse/JBPM-1017 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065267#4065267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Wonky IDs being generated - Any explanation?
This is known as the identity gap feature in ASE. I have added a short description of this case as well as some links to the Sybase docu on http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnSybase View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065313#4065313 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ProcessDefinition disapear from the database
Look at 'Chapter 5.4 Web application' of the user guide http://docs.jboss.com/jbpm/v3.2/userguide/html/deployment.html#webapplication the web app starts the JobExecutor Ronald is referring to. I'm wondering about this: jbpmConfiguration.createSchema(); | ProcessDefinition processDefinition=ProcessDefinition.parseXmlResource(demandeAccesVerifUserAlerteRH/processdefinition.xml); You said you have your db schema already set up and have also deployed your process. Why are you calling createSchema() in your action again and why are you trying to get the processdefinition from the xml file instead of from the db? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4064879#4064879 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: error Resource: org/jbpm/msg/Message.hbm.xml not found
From a first glance it looks like you are using a hibernate.cfg.xml from jBPM version 3.1.x along with the code from jBPM 3.2.x, as this entity no longer exists in the current version. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4064892#4064892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ProcessDefinition disapear from the database
Look through the Database Example in the user guide to get an idea of what API functions to call to get a process definition and the like from the db: http://docs.jboss.com/jbpm/v3.2/userguide/html/tutorial.html#databaseexample (scroll down to the function processInstanceIsCreatedWhenUserSubmitsWebappForm(), it shows the necessary steps you would have to follow) Regarding the createSchema, no, you don't have to call it again when your db schema is already set up ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4064895#4064895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Sample Process taking wrong transitions when using 3.2.1
Karsten, we've just discovered this as well. I'll update you as soon as we have discovered anything new. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065106#4065106 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploying jbpm-jpdl-3.2.1 to tomcat 5.0.28 with/without
Ross, as TC 5.0.28 doesn't include the el*.jars by default as the TC 6.0 series does, you will have to repackage el-api.jar and el-ri.jar back into jbpm-console.war/WEB-INF/lib (these files get deleted by the ant call described in step 2.1 of the wiki and can be found in the original web app jbpm-jpdl-3.2.1/deploy/jbpm-console.war/WEB-INF/lib). In addition, the included xml parses make problems as well, so you will also have to replace/delete the content in common/endorsed. Please let me know if you encounter any additional issues. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4064494#4064494 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploying jbpm-jpdl-3.2.1 to tomcat 5.0.28 with/without
cool, thanks for the feedback - I've update the wiki as well! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4064553#4064553 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064553 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user