[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
Can you make a unit test that demonstrates the problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250368#4250368 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
Oh, and I forgot to include my jbpm.hibernate.cfg.xml: | ?xml version=1.0 encoding=utf-8? | | !DOCTYPE hibernate-configuration PUBLIC | -//Hibernate/Hibernate Configuration DTD 3.0//EN | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; | | hibernate-configuration | session-factory | | property name=hibernate.dialectorg.hibernate.dialect.Oracle10gDialect/property | property name=hibernate.connection.driver_classoracle.jdbc.OracleDriver/property | property name=hibernate.connection.urljdbc:oracle:oci:@orcl/property | property name=hibernate.connection.usernamejbpm/property | property name=hibernate.connection.passwordjbpm/property | property name=hibernate.hbm2ddl.autocreate-drop/property | property name=hibernate.format_sqltrue/property | | mapping resource=jbpm.repository.hbm.xml / | mapping resource=jbpm.execution.hbm.xml / | mapping resource=jbpm.history.hbm.xml / | mapping resource=jbpm.task.hbm.xml / | mapping resource=jbpm.identity.hbm.xml / | | /session-factory | /hibernate-configuration | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250463#4250463 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
Test cases that demonstrates the two situations with the same db error messages: one without the Java node (which prints out errors but continues the workflow process without any blocking issues), another with the Java node (which prints out errors and gets stuck in infinite loop while exporting schema to db over and over again). For both cases, I use the same Java code; relevant snippet from my App.java is shown here. App.java: | private ProcessEngine processEngine; | private RepositoryService repositoryService; | private ExecutionService executionService; | private TaskService taskService; | | private MapString, Object caseinfo = new HashMapString, Object(); | private int tenth = 0; | | public App() { | processEngine = new Configuration().buildProcessEngine(); | repositoryService = processEngine.getRepositoryService(); | executionService = processEngine.getExecutionService(); | taskService = processEngine.getTaskService(); | | repositoryService.createDeployment().addResourceFromClasspath(workflow.jpdl.xml).deploy(); | } | | public String whatCond() { | tenth++; | if (tenth == 10) { | tenth = 0; | log.info(Checking isTenth: YES); | return yes; | } else { | log.info(Checking isTenth: NO); | return no; | } | } | | public String runPOC(String arg) { | ProcessInstance processInstance = executionService.startProcessInstanceByKey(test); | String pid = processInstance.getId(); | String cond = yes; | | ListTask taskList = taskService.findPersonalTasks(cathy); | Task task = taskList.get(0); | String taskDbid = task.getId(); | MapString, Object variables = new HashMapString, Object(); | variables.put(arg, arg); | variables.put(cond, cond); | taskService.setVariables(taskDbid, variables); | taskService.completeTask(taskDbid); | | processInstance = executionService.findProcessInstanceById(pid); | String result = processInstance.findActiveActivityNames().toArray()[0].toString(); | log.info(Result: + result); | | return result; | } | Here's the test case with no Java nodes where it prints out the error message but continues without any blocking issues. workflow.jpdl.xml: | ?xml version=1.0 encoding=UTF-8? | | process name=test xmlns=http://jbpm.org/4.0/jpdl; |decision expr=#{arg} g=228,336,61,49 name=runJava? | transition g=-5,5 name=no to=nojava/ | transition name=yes to=java g=-44,-21/ |/decision |task assignee=cathy g=60,336,97,49 name=new | transition g=-24,-18 name=to runJava? to=runJava?/ |/task |task assignee=peter g=276,216,97,49 name=nojava | transition g=-41,-21 name=to end to=end/ |/task |task assignee=cathy g=612,456,97,49 name=bad | transition g=-21,-16 name=to end to=end/ |/task |task assignee=peter g=444,336,97,49 name=good | transition g=-41,-21 name=to end to=end/ |/task |end g=636,336,49,49 name=end/ |start g=84,216,49,49 name=start | transition g=7,-11 name=to new to=new/ |/start |decision expr=#{cond} g=468,456,49,49 name=condition? | transition g=-11,-18 name=no to=bad/ | transition g=-21,-3 name=yes to=good/ |/decision |state name=java g=288,456,97,49 | transition name=to condition? to=condition? g=-40,-21/ |/state | /process | Errors appears but workflow continues. In the example here, I pass runPOC with arg no first, then I tried it with arg yes: | 11:49:07,678 INFO [SchemaExport] exporting generated schema to database | 11:49:10,256 SEVERE [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HVAR on JBPM4_HIST_DETAIL (HVAR_) | 11:49:10,256 SEVERE [SchemaExport] ORA-01408: such column list already indexed | | 11:49:10,256 SEVERE [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HTASK on JBPM4_HIST_DETAIL (HTASK_) | 11:49:10,272 SEVERE [SchemaExport] ORA-01408: such column list already indexed | | 11:49:10,272 SEVERE [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HACTI on JBPM4_HIST_DETAIL (HACTI_) | 11:49:10,272 SEVERE [SchemaExport] ORA-01408: such column list already indexed | | 11:49:10,272 SEVERE [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HPROCI on JBPM4_HIST_DETAIL (HPROCI_) | 11:49:10,272 SEVERE [SchemaExport] ORA-01408: such column list already indexed | | 11:49:10,912 INFO [SchemaExport] schema export complete | 11:50:47,148 INFO [App] Result: nojava | 11:50:50,711 INFO [App] Result: java |
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
uhmm. you use the class that is your 'test app' also as the actionhandler and you do a lot of work in the constructor. Now that is an obvious explanation why you see the loop. since each time your actionhandler is called it is constructed and starts a new process etc... so it is not a loop, but a recursive thing. Separate your java actionhandler from the test class or make the actionhandler an inner class. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250481#4250481 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
oh, and since you have 'create-drop' in your hibernate file it may become even worse. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250482#4250482 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
Not sure if this is helpful but I ran across similar installation issues myself when trying to install jbpm4 while still having jbpm3 installed. I had assumed that since the two were stated as being able to run side by side they should not have overlapping index names. Nope. They do. Worked it out after a few hours of head scratching... PS: jbpm4 and spring integration failed miserably and I ended up having to stick with 3. (multiple systemic problems all throughout with async and executor - no surprises there I guess) Followed every config suggestion I could find...nothing. Hopefully will be sorted out in the near future as I really like the new design/config in 4. It seems async processing in both engines when integrating with spring is a bit wobbly in both. (am posting my async spring integration tips soon to help out others) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250493#4250493 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
hmmm... oracle as well? I've not seen errors regarding this in my MySQL instance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250499#4250499 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
kukeltje wrote : uhmm. you use the class that is your 'test app' also as the actionhandler and you do a lot of work in the constructor. Now that is an obvious explanation why you see the loop. since each time your actionhandler is called it is constructed and starts a new process etc... so it is not a loop, but a recursive thing. | | Separate your java actionhandler from the test class or make the actionhandler an inner class. Oh shoot. That's a good point. I think I was so busy trying out all the jBPM stuff that I forgot that I had the action handler my test class constructor--I should've seen that already--of course it's looping b/c the constructor was restarting the schema over and over again...dangit...okay, that seemed to solve my problem. Thanks so much! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250504#4250504 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250504 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
hwa wrote : kukeltje wrote : uhmm. you use the class that is your 'test app' also as the actionhandler and you do a lot of work in the constructor. Now that is an obvious explanation why you see the loop. since each time your actionhandler is called it is constructed and starts a new process etc... so it is not a loop, but a recursive thing. | | | | Separate your java actionhandler from the test class or make the actionhandler an inner class. | | Oh shoot. That's a good point. I think I was so busy trying out all the jBPM stuff that I forgot that I had the action handler my test class constructor--I should've seen that already--of course it's looping b/c the constructor was restarting the schema over and over again...dangit...okay, that seemed to solve my problem. Thanks so much! On a side note, I didn't realize that the action handler would be called until I reached that point in the process. Why would it get called over and over again before the process even starts? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250505#4250505 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
Okay, there are two situations where this error occurs for me. One is when I just have a simple jBPM workflow and I see the error messages but like the JIRA says, everything is able to continue and it's not a blocking issue. Another is when I have a jBPM workflow with a Java node in particular (which is the problem I saw from day 1). Then jBoss will loop infinitely and keep exporting the schema to db over and over again and the only error message I see is the Oracle such column list already indexed. I'm using jBPM 4.0 GA now and this instance of the problem is blocking me because it loops indefinitely and does not even start the workflow process. But if I remove the Java task node, then everything works again. My code is the same as the one I posted here: http://www.jboss.org/index.html?module=bbop=viewtopict=158889 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250284#4250284 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Taskforms: forms cannot be found / NullPoi
see the jira issue about the 'outcome' variable. Might be related. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249901#4249901 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Taskforms: forms cannot be found / NullPoi
Hmmm... error seems totally unrelated: https://jira.jboss.org/jira/browse/JBPM-2452 The error is on line 149: | ListTransition transitions = | ((ExecutionImpl) processInstance).getActivity().getOutgoingTransitions(); | for(Transition t : transitions) | { | String outcomeName = t.getName()!=null ? t.getName() : to_+t.getDestination().getName(); | outcomeDirective.getValues().add(outcomeName); | } | where there transitions is assigned a value. Can you run the appserver in debug mode (not debug logging but with breakpoints) and see what the values of the variables are? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249916#4249916 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Taskforms: forms cannot be found / NullPoi
Hello Ronald! I started over with a new process. One thing I observed is that I let my DecisionHandler return task names but instead the transition's name between the task and the next task was needed. So there might be some other mistakes like this. If I encounter the same problem again even with paying attention to all these aspects I am going to repost. Cheers Sebastian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249956#4249956 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
hmmm. I meant to ask if you could checked with an older driver and if there is no problem with that older driver, report it. Not just opening a jira issue ;-) I'll comment there... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249018#4249018 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
lol, hey I don't use older drivers, just the latest and greatest, one of the reasons why I try out jbpm4 ;-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249027#4249027 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
hmm, I get a similar error for the indexes | 23:35:13,342 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HVAR on JBPM4_HIST_DETAIL (HVAR_) | 23:35:13,342 ERROR [SchemaExport] ORA-01408: such column list already indexed | | 23:35:13,348 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HTASK on JBPM4_HIST_DETAIL (HTASK_) | 23:35:13,348 ERROR [SchemaExport] ORA-01408: such column list already indexed | | 23:35:13,349 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HACTI on JBPM4_HIST_DETAIL (HACTI_) | 23:35:13,349 ERROR [SchemaExport] ORA-01408: such column list already indexed | | 23:35:13,351 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HPROCI on JBPM4_HIST_DETAIL (HPROCI_) | 23:35:13,351 ERROR [SchemaExport] ORA-01408: such column list already indexed | | 23:35:24,049 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HVAR on JBPM4_HIST_DETAIL (HVAR_) | 23:35:24,049 ERROR [SchemaExport] ORA-01408: such column list already indexed | | 23:35:24,055 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HTASK on JBPM4_HIST_DETAIL (HTASK_) | 23:35:24,055 ERROR [SchemaExport] ORA-01408: such column list already indexed | | 23:35:24,056 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HACTI on JBPM4_HIST_DETAIL (HACTI_) | 23:35:24,056 ERROR [SchemaExport] ORA-01408: such column list already indexed | | 23:35:24,058 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HPROCI on JBPM4_HIST_DETAIL (HPROCI_) | 23:35:24,058 ERROR [SchemaExport] ORA-01408: such column list already indexed | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248912#4248912 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
kukeltje wrote : Can it be driver related as well? Or oracle version? Because as far as I know, Oracle is in the QA round. It doesn't have anything to do with oracle version or driver. As I already mentioned I'm almost sure that hibernate mappings for JBPM4_HIST_DETAIL table are not correct. Indexes are index=IDX_HDET_... instead of IDX_HDETAIL_... (as they are defined for the other tables) and that causes hibernate to generate two indexex for the same column. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248151#4248151 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
Yes, I understand the mapping is 'incorrect' and that you mentioned that. But since Oracle is in the QA round and works there, it *might* have something to do with differences in drivers (e.g. silently ignoring the error). But from what I recently understood, the tables are generated by hibernate in the tests, the already generated ddl is not used. Maybe you can see if that helps, at least until the 'real' issue is fixed View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248158#4248158 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
http://www.jboss.org/index.html?module=bbop=viewtopicp=4247916#4247916 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248160#4248160 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
I get the same error when running the script for ORacle. Error starting at line 305 in command: create index IDX_HDETAIL_HACTI on JBPM4_HIST_DETAIL (HACTI_) Error at Command Line:305 Column:53 Error report: SQL Error: ORA-01408: such column list already indexed 01408. 0 - such column list already indexed *Cause: *Action: create index succeeded. create index succeeded. Error starting at line 311 in command: create index IDX_HDETAIL_HPROCI on JBPM4_HIST_DETAIL (HPROCI_) Error at Command Line:311 Column:54 Error report: SQL Error: ORA-01408: such column list already indexed 01408. 0 - such column list already indexed *Cause: *Action: Error starting at line 313 in command: create index IDX_HDET_HVAR on JBPM4_HIST_DETAIL (HVAR_) Error at Command Line:313 Column:49 Error report: SQL Error: ORA-01408: such column list already indexed 01408. 0 - such column list already indexed *Cause: *Action: Error starting at line 315 in command: create index IDX_HDET_HTASK on JBPM4_HIST_DETAIL (HTASK_) Error at Command Line:315 Column:50 Error report: SQL Error: ORA-01408: such column list already indexed 01408. 0 - such column list already indexed *Cause: *Action: I will report a JIRA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247358#4247358 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with variables in Start-node formular
How do you deploy to JBoss, using the ant deployer? Can you post the Decision handler code? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4246899#4246899 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
Can it be driver related as well? Or oracle version? Because as far as I know, Oracle is in the QA round. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247101#4247101 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247101 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems creating process and seeing it in GWT
You must use the exact connection properties of the GWT console. See $jbpm_home/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-hsqldb-ds.xml jndi-nameJbpmDS/jndi-name connection-urljdbc:hsqldb:hsql://localhost:1701/connection-url driver-classorg.hsqldb.jdbcDriver/driver-class user-namesa/user-name View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4246438#4246438 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems using timers from jbpm
Hi, think you for your response. My Problem is not thy synatk of the element timer. My problem is how to configure my jboss/jbpm to save timers. I always get the exception if i try to save these timer (over javax.ejb.Timer from J2EE). I only do the following steps: I install my jboss i install jbpm as service in jboss i add one line in jbpm.cfg.xml with the correct factory org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory I always get the exception from my post entry before. There must be something more to configure to leverage the J2EE Environment for timers Also I can not use the websale example. If execution arrives in an node, which has a timer i get the exception. Do you understand my problem .. My english is not so good sorry View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4236280#4236280 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4236280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems using timers from jbpm
Sorry,I can't understand your question either.But i can give you some code about using Timer which i had successfully tested.i hope it's useful for you. task-node name=timer end-tasks=true /task-node public class TimerAction implements ActionHandler { public void execute(ExecutionContext executionContext) throws Exception { executionContext.leaveNode(dispute); } } View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4236217#4236217 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4236217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems using timers from jbpm
| task-node name=timer end-tasks=true | task name=testTask swimlane=admin | /task | timer duedate=10 minute name=testTimer | action class=org.test.TimerAction/action | /timer | transition to=A name=agree/transition | transition to=B name=dispute/transition | /task-node | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4236218#4236218 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4236218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems building jbpm-3.3.0.GA from sources
you should use 3.2.6. Search the forum on why 3.3.0 was 'dropped' View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232946#4232946 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232946 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with JBPM Ttimer EJB from a simple Web App
I changed the deploy folder , and from : anonymous wrote : | %JBOSS_HOME%\server\default\deploy | i put my web application war under : anonymous wrote : | %JBOSS_HOME%\server\default\deploy\jbpm | and now no Exception are thrown. But i need that my app is out of this folder, .. anyone could explain why the EJB is not available out from the JBPM folder at first time you invoke it?. Could be a missing configuration in my web.xml file for the webapp i use as test?. Any suggestion will be appreciated :). T. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221462#4221462 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with JBPM Ttimer EJB from a simple Web App
Ok seems i found what i was missing.. a couple of thing :P at last.. put this in my web.xml (i had to look as first at web.xml of console web-app :) ) | listener | description | Closes the jBPM configuration on servlet context destruction, releasing | application resources. This listener should appear after the job executor | launcher to avoid reopening the configuration. | /description | listener-classorg.jbpm.web.JbpmConfigurationCloser/listener-class | /listener | | resource-ref | description | Logical name of the data source that provides connections to the persistence service. | Must match the hibernate.connection.datasource property in the Hibernate | configuration file. | /description | res-ref-namejdbc/JbpmDataSource/res-ref-name | res-typejavax.sql.DataSource/res-type | res-authContainer/res-auth | /resource-ref | | resource-ref | description | Logical name of the factory that provides JMS connections to the message service. | Required for processes that contain asynchronous continuations. | /description | res-ref-namejms/JbpmConnectionFactory/res-ref-name | res-typejavax.jms.ConnectionFactory/res-type | res-authContainer/res-auth | /resource-ref | | ejb-ref | description | Link to the local entity bean that implements the scheduler service. Required for | processes that contain timers. | /description | ejb-ref-nameejb/TimerEntityBean/ejb-ref-name | ejb-ref-typeEntity/ejb-ref-type | homeorg.jbpm.ejb.TimerEntityHome/home | remoteorg.jbpm.ejb.TimerEntity/remote | /ejb-ref | | message-destination-ref | description | The message service sends job messages to the queue referenced here. To ensure | this is the same queue from which the JobListenerBean receives messages, the | message-destination-link element points to a common logical destination, JobQueue. | /description | message-destination-ref-namejms/JobQueue/message-destination-ref-name | message-destination-typejavax.jms.Queue/message-destination-type | message-destination-usageProduces/message-destination-usage | message-destination-linkJobQueue/message-destination-link | /message-destination-ref | and then the jboss-web.xml file. Sorry for boring you ^_^.. T. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221467#4221467 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with JBPM Ttimer EJB from a simple Web App
no problem, not at all... now others that have the same problem can find a solution. So thanks for reporting back View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221523#4221523 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0
Hi, Its just versioning problem, thats it. You have to download commons-fileupload-1.2.1.jar from following link http://commons.apache.org/downloads/download_fileupload.cgi And put this commons-fileupload-1.2.1.jar in jbpm-console.war file inside WEB-INF/lib directory. So u will find jbpm-console.war file in following path. ie from your server home directory jbpm-jpdl-3.2.2/server/server/jbpm/deploy just extract jbpm-console.war file and then after extracting you will get jbpm-console directory. Inside this directory, go to following path jbpm-console/WEB-INF/lib and delete previous commons-fileupload.jar file from lib directory and paste newly downloaded commons-fileupload-1.2.1.jar file Then just once again, newly create the jbpm-console.war and paste it in following path jbpm-jpdl-3.2.2/server/server/jbpm/deploy means replace with old jbpm-console.war file Thats it. Then restart the server. Its sure that, u will not get FileUploadException again. Hope this will help u all-:) --Mansingh A. Shitole NCST, Bangalore View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4213254#4213254 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
to sum up a little bit, to make the JSF-console work : https://jira.jboss.org/jira/browse/JBPM-1913 1) jsf-facelets-1.1.15.B1.jar : http://repository.jboss.com/maven2/com/sun/facelets/jsf-facelets/1.1.15.B1/ in /deploy/jbpm/jsf-console.war/lib (cf. http://www.jboss.org/index.html?module=bbop=viewtopict=146972 ) 2) 5 .xhtml files at the end of https://jira.jboss.org/jira/browse/JBPM-1913 just to avoid you unecessary hours of Googling Fred View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212663#4212663 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
hkap...@ciber.com wrote : | There I found jbpmDB.script which contains insert statements to add values to database. | I executed the script against MySQL database that I was using otherwise. | Interestingly I was unable to find a file with the same name. I am (attempting to) using jBpm 3.3.1GA, on an existing JBoss 5.0.0GA installation with Seam 2.1.0. Instead of the file, I eventually found the insert statements in the User Guide (section 8.1.5). Separately, I have been getting the same errors reported elsewhere about taglibs missing. | Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelet | s' Jar | This is apparently fixed by updating to a later version of facelets (jsf-facelets-1.1.15.B1.jar). After much mucking around and time-wasting, I found that Seam needs to be updated as well as the jBpm. Maybe this is obvious to some, but it was not to me. Hopefully my experience will assist someone else. Maybe someone could start a How To to get jBPM running on something other than the default installation suite? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212018#4212018 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jBPM 3.3.0 GA and the GPD
Thanks! It helped. -Harshit View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4209872#4209872 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4209872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jBPM 3.3.0 GA and the GPD
I had the same problem..Here is the fix I did! in the ../deploy/jbpm/jsf-console.war/WEB-INF/web.xml replace the url-pattern to /upload/* from /app/upload/* as below and restart the server servlet-mapping servlet-nameGDP Deployer Servlet/servlet-name url-pattern/upload/*/url-pattern /servlet-mapping Thanks Sankar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4209570#4209570 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4209570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jBPM 3.3.0 GA and the GPD
hkap...@ciber.com wrote : Hi, | | I am using jbpm-3.3.1.GA and jbpm-jpdl-designer-site-3.1.6., however I am not able to deploy using eclipse. | | Any Suggestions? | | Regards, | Harshit Hi Harshit. Maybe you just have to use the new deployment url: ''/jbpm-console/app/upload See: http://www.jboss.org/index.html?module=bbop=viewtopict=150244 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4208979#4208979 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4208979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with deleting a process instance of a complex p
After upgrading to Jbpm 3.3.1, it seems the GraphSession.deleteProcessInstance method is now working for me. I no longer need to use my custom method. Don't take my word for it, as perhaps further testing is still required, but can anyone else confirm if Jbpm 3.3.x has sorted out this problem out for them? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4208157#4208157 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4208157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
Thanks for the link Fred. I tried it out, however I am getting the following error couldn't deploy process archives : Server returned HTTP response code: 403 for URL: http://localhost:8080/jbpm-console/app/upload When I use http://localhost:8080/jbpm-console/upload ping to the server fails. Please help! Regards, Harshit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207353#4207353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
I also tried uploading par file created as a result of failed deployment through web console. It produced following error. exception javax.servlet.ServletException: java.lang.String javax.faces.webapp.FacesServlet.service(FacesServlet.java:277) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.ClassCastException: java.lang.String javax.faces.component.UISelectBoolean.isSelected(UISelectBoolean.java:106) com.sun.faces.renderkit.html_basic.CheckboxRenderer.getEndTextToRender(CheckboxRenderer.java:137) com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:160) javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861) javax.faces.component.UIComponent.encodeAll(UIComponent.java:937) javax.faces.component.UIComponent.encodeAll(UIComponent.java:933) javax.faces.render.Renderer.encodeChildren(Renderer.java:148) javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837) org.jboss.gravel.common.renderer.RendererBase.doEncode(RendererBase.java:80) org.jboss.gravel.common.renderer.RendererBase.doEncode(RendererBase.java:96) org.jboss.gravel.simple.renderer.SimpleRenderer.encodeChildren(SimpleRenderer.java:53) javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837) javax.faces.component.UIComponent.encodeAll(UIComponent.java:930) javax.faces.component.UIComponent.encodeAll(UIComponent.java:933) com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207355#4207355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
Hi All, It seems that this is a known issue. Anybody has a fix for it. https://jira.jboss.org/jira/browse/SOA-1052?focusedCommentId=12442611#action_12442611 Regards, Harshit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207406#4207406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jBPM 3.3.0 GA and the GPD
Any errors in the server or in the eclipse log? Otherwise it is next to impossible to figure out what is going on... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207468#4207468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
I am facing the same problem. Any body has a solution Thanks, Harshit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4206885#4206885 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
sorry to come back that late, but meanwhile I decided to give up (regarding the installation of those new versions), since I could not be able to find the SQL scripts mentioned by kukeltje to populate the JBPM tables. (nothing had to be done in 3.2.3 but in 3.3.1, SQL scripts have to be executed ?!) I'll come back when all that stuff is stable and documented (I keep my 3.2.3/AS4 for now !) Regarding the deployment with GPD's deploy tab : it still does not work, but I succeded in making an Ant task that does the job. jongdakkel : I'm sorry but this patch was so hard to find that I'm not able to tell you where it is today :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4206934#4206934 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
Upon further investigation I found that JBPM uses following 2 queries jaas:module-option name='principalsQuery' SELECT PASSWORD_ FROM JBPM_ID_USER WHERE NAME_=? /jaas:module-optionjaas:module-option name='rolesQuery' SELECT g.NAME_ ,apos;Rolesapos; FROM JBPM_ID_USER u, JBPM_ID_MEMBERSHIP m, JBPM_ID_GROUP g WHERE g.TYPE_=apos;security-roleapos; AND m.GROUP_ = g.ID_ AND m.USER_ = u.ID_ AND u.NAME_=? /jaas:module-option /jaas:login-module The first query return result if any of admin, user, manager or shipper is used, however the second query does not return any record as tables JBPM_ID_MEMBERSHIP and JBPM_ID_GROUP are empty. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4206892#4206892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
Hi!! I have figured out the scripts that have to be used. I started by configuring jbpm-3.3.1.GA with jboss-5.0.0.GA with hypersonic as database. I accessed the installation through http://localhost:8080/jbpm-console and logged in using admin/admin. This was successfull. I had a look at the jbpm-hsqldb-ds.xml which stated that temporary data was kept at the following location jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}jbpmDB which implies jboss-5.0.0.GA\server\default\data\hypersonic There I found jbpmDB.script which contains insert statements to add values to database. I executed the script against MySQL database that I was using otherwise. THe insertion failed due to constraints violation, I followed following to get around this problem: Created Tables only and not constraints and index(from first 32 queries jbpm.jpdl.mysql.sql) Altered table JBPM_NODE to change datatype of ENDTASKS_ from BIT(1) to INTEGER Inserted data in database Created index and constraints (from remainder of jbpm.jpdl.mysql.sql) Please do not forget to remove all record in JBPM_ID_USER table before inserting records, otherwise primarykey violation will be generated. Restarted jboss-5.0.0.GA and accessed the installation through http://localhost:8080/jbpm-console thereafter logged in using admin/admin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207006#4207006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
Hi, I am still not able to deploy using GPD. Can someone point me to information that for alternate means of deployment. Regards, Harshit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207009#4207009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
anonymous wrote : I am still not able to deploy using GPD what are the errors? Oh, the JBPM_ID_MEMBERSHIP and JBPM_ID_GROUP should not be empty. http://www.jboss.com/index.html?module=bbop=viewtopicp=4171023#4171023 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207037#4207037 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
Harshit, you can try Kurt Stam's Ant task : http://kurtstam.blogspot.com/2008/01/jbpm-ant-task-to-deploy-process.html It worked for me Fred View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207069#4207069 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jBPM 3.3.0 GA and the GPD
Hi, I am using jbpm-3.3.1.GA and jbpm-jpdl-designer-site-3.1.6., however I am not able to deploy using eclipse. I have made changes to version.info.xml file. I also added mysql-connector-java-5.1.7-bin.jar to lib jbpm_home/lib folder and made appropriate entry in version.info.xml (I am using mysql database instead of hypersonic). Still I am not able to deploy using eclipse. Any Suggestions? Regards, Harshit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207213#4207213 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
is solved by adding a patch I found in the JIRA (a few .xhtml files) hi the_fredo may i ask the exact url for the patch you mentioned. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4205490#4205490 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4205490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
1) is solved by adding a patch I found in the JIRA (a few .xhtml files) 2) the pb remains even with JBoss AS 4.2.3, so it's a pb with jbpm, not with AS. It's impossible to deploy a process through the deployment' tab of GPD, even with jbpm 3.2.5. The and task does not work either. The only working solution is to save locally a process archive and then upload it through the web console (it works even with the gwt console) 3) I can now login (with manager/manager) in the gwt console but it crashes as long as it requires Birt : could not create connection : user JBPMTEST not found: 17:41:52,236 WARN [Parameters] Parameters: Invalid chunk ignored. | 17:41:52,453 INFO [ReportFacade] BIRT home: /Developer/Archives/jboss-5.0.0.GA/server/jbpm/data/birt/ReportEngine | 17:41:52,456 INFO [ReportFacade] Output dir: /Developer/Archives/jboss-5.0.0.GA/server/jbpm/data/birt/output/ | 17:41:52,456 INFO [ReportFacade] Report dir: /Developer/Archives/jboss-5.0.0.GA/server/jbpm/data/birt/ | 17:41:52,760 INFO [ReportFacade] BIRT home: /Developer/Archives/jboss-5.0.0.GA/server/jbpm/data/birt/ReportEngine | 17:41:52,765 INFO [ReportFacade] Output dir: /Developer/Archives/jboss-5.0.0.GA/server/jbpm/data/birt/output/ | 17:41:52,765 INFO [ReportFacade] Report dir: /Developer/Archives/jboss-5.0.0.GA/server/jbpm/data/birt/ | 17:41:57,067 INFO [BirtService] Service created: org.eclipse.birt.report.engine.api.impl.reporteng...@f8a1a13 | 17:41:57,069 INFO [BirtService] Service created: org.eclipse.birt.report.engine.api.impl.reporteng...@5573d88b | 17:42:04,539 WARN [JBossManagedConnectionPool] Destroying connection that could not be successfully matched: org.jboss.resource.connectionmanager.txconnectionmanager$txconnectioneventliste...@5d8a64f3[state=normal mc=org.jboss.resource.adapter.jdbc.local.localmanagedconnect...@f4681fb handles=0 lastUse=1232469714936 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.jbossmanagedconnectionpool$onep...@5dff8d92 context=org.jboss.resource.connectionmanager.internalmanagedconnectionp...@34a79c74 xaresource=org.jboss.resource.connectionmanager.txconnectionmanager$localxaresou...@5ae8300f txSync=null] | 17:42:04,544 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: User not found: JBPMTEST) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:611) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:257) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:607) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:104) | at org.eclipse.birt.report.data.oda.jdbc.JndiDataSource.getDataSourceConnection(JndiDataSource.java:159) | at org.eclipse.birt.report.data.oda.jdbc.JndiDataSource.getConnection(JndiDataSource.java:133) | at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.getJndiDSConnection(JDBCDriverManager.java:227) | at | ... | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:637) | Caused by: java.sql.SQLException: User not found: JBPMTEST | at org.hsqldb.jdbc.Util.sqlException(Unknown Source) | at org.hsqldb.jdbc.jdbcConnection.init(Unknown Source) | at org.hsqldb.jdbcDriver.getConnection(Unknown Source) | at org.hsqldb.jdbcDriver.connect(Unknown Source) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207) | ... 92 more Fred View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4203354#4203354 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4203354
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
2: look in the server log 403 means you do not have access. e.g. because the jbpm user tables are empty search the forum and wiki on how to populate these. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4203396#4203396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4203396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with GraphSession.deleteProcessInstance()
An HQL delete query will not resolve Foreign Key dependencies (according to Hibernate docs). Since JBPM_LOG has FK's to itself for parent logs, I don't think that an HQL query will work. :( Please tell me I'm wrong :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192095#4192095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with GraphSession.deleteProcessInstance()
hmmm works in 3.2.3 here afaics... so might be 3.1 related. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192208#4192208 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with GraphSession.deleteProcessInstance()
Sorry, pressed submit to soon... If you make a small unittest, I'll check in 3.2.3 to see if the behaviour is different from your situation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192210#4192210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with GraphSession.deleteProcessInstance()
yes... .by writing your own HQL query View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4191899#4191899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4191899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with deleting a process instance of a complex p
Thanks Jitendra for the helpful post. In the end, I managed to get my processes (with sub process) to delete successfully. I initially had problems with your exact method, but in the end it seemed to work. Here is how I got my implementation to work. 1) I copied the method deleteProcessInstance(ProcessInstance processInstance, boolean includeTasks, boolean includeJobs) from jbpm-jpdl-3.2.3\src\jpdl\org\jbpm\db\GraphSession.java, and put it into my own manager class, and modified as mentioned in point 3). 2) I copied the method deleteSubProcesses(Token token) from jbpm-jpdl-3.2.3\src\jpdl\org\jbpm\db\GraphSession.java, and put it into my own manager class and modified as mentioned in point 4). 3) Modified deleteProcessInstance method to look as follows: | public void deleteProcessInstance(ProcessInstance processInstance, boolean includeTasks, boolean includeJobs) { | log.info(Deleting process instance: + processInstance.getProcessDefinition().getName()+ (+processInstance.getId()+)); | if (processInstance==null) throw new JbpmException(processInstance is null in JbpmSession.deleteProcessInstance()); | try { | // find the tokens | Query query = hibernateSession.getNamedQuery(GraphSession.findTokensForProcessInstance); | query.setEntity(processInstance, processInstance); | List tokens = query.list(); | | // deleteSubProcesses | Iterator iter = tokens.iterator(); | while (iter.hasNext()) { | Token token = (Token) iter.next(); | deleteSubProcesses(token); | } | | // jobs | if (includeJobs) { | query = hibernateSession.getNamedQuery(GraphSession.deleteJobsForProcessInstance); | query.setEntity(processInstance, processInstance); | query.executeUpdate(); | } | | // tasks | if (includeTasks) { | query = hibernateSession.getNamedQuery(GraphSession.findTaskInstanceIdsForProcessInstance); | query.setEntity(processInstance, processInstance); | List taskInstances = query.list(); | //This is where the code differs from GraphSession.deleteProcessInstance- | if(taskInstances.size() 0 ) { | for (int x = 0; x taskInstances.size(); x++) { | TaskInstance ti = (TaskInstance)taskInstances.get(x); | hibernateSession.delete(ti); | } | } | //- | } | | // delete the logs for all the process instance's tokens | query = hibernateSession.getNamedQuery(GraphSession.selectLogsForTokens); | query.setParameterList(tokens, tokens); | List logs = query.list(); | iter = logs.iterator(); | while (iter.hasNext()) { | hibernateSession.delete(iter.next()); | } | | //This code is in addition to the code found in GraphSession.deleteProcessInstance-- | //Delete tokens | iter = tokens.iterator(); | while(iter.hasNext()) { | Token token = (Token)iter.next(); | if(processInstance.getRootToken().getId()!= token.getId()) { | hibernateSession.delete(token); | } | } | // | | // then delete the process instance | hibernateSession.delete(processInstance); | | } | catch (Exception e) { | throw new JbpmException(couldn't delete process instance ' + processInstance.getId() + ', e); | } | | } | 4) Modified deleteSubProcesses method to look as follows: | private void deleteSubProcesses(Token token) { | //This is where the code different from GraphSession.deleteSubProcesses(Token) | //Commented out the following 2
[jboss-user] [JBoss jBPM] - Re: problems with jbpm when used with eclipse
is your project effectively in your workspace dir or did you create it outside of? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4182765#4182765 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4182765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0
Hi All, I am getting the same problem with HttpClient 3.1 and fileupload 1.0. I have also tried fileupload 1.2.1. But I am getting the same message as the request was rejected because no multipart boundary was found Servlet is running on Tomcat 4.1 and I have Standalone java application as client. I am writing some code for understanding At client side [HttpClient 3.1] === final String CONTENT_TYPE = Content-type; | final String MULTI_PART_FORM = multipart/form-data; | | File file = new File( c:\\sample.txt); | HttpClient httpClient = new HttpClient(); | PostMethod postMethod = new PostMethod( url ); | postMethod.setRequestHeader( CONTENT_TYPE, MULTI_PART_FORM ); | Part[] parts = { new FilePart( file.getName(), file ) }; | postMethod.setRequestEntity( new MultipartRequestEntity( parts, | postMethod.getParams() ) ); | | HttpClientParams params = new HttpClientParams(); | httpClient.getHttpConnectionManager().getParams().setConnectionTimeout( 1 ); | httpClient.setParams( params ); | httpClient.executeMethod( postMethod ); === At Server Side[Tomcat + fileupload 1.0] === File file = new File( D:\\UploadedFiles\\sample.txt ); | DiskFileUpload diskFileUpload = new DiskFileUpload(); | List fileItems = diskFileUpload.parseRequest( request ); | diskFileUpload.setSizeMax( -1 ); // No limit on upload. | Iterator iterator = fileItems.iterator(); | while( iterator.hasNext() ) { | FileItem fileItem = ( FileItem )iterator.next(); | if( ! fileItem.isFormField() ) { | fileItem.write( file ); | } | } === At Server Side[Tomcat + fileupload 1.2.1] === File file = new File( D:\\UploadedFiles\\sample.txt ); | DiskFileItemFactory factory = new DiskFileItemFactory(); | ServletFileUpload servletFileUpload = new ServletFileUpload( factory ); | List fileItems = servletFileUpload.parseRequest( request ); | servletFileUpload.setSizeMax( -1 ); // No limit on upload. | Iterator iterator = fileItems.iterator(); | while( iterator.hasNext() ) { | FileItem fileItem = ( FileItem )iterator.next(); | if( ! fileItem.isFormField() ) { | fileItem.write( file ); | } | } === If I dont use fileupload api and uses inputstrem of request to save file to disk then I get xml file that has additional text. Both code and file contents are shown below. Code without fileupload API === File file = new File( D:\\UploadedFiles\\sample.txt ); | InputStream inputStream = request.getInputStream(); | BufferedInputStream bufferedInputStream = new BufferedInputStream( inputStream ); | byte abyte0[] = new byte[ 4096 ]; | int i; | FileOutputStream fileOutputStream = new FileOutputStream( file ); | | while ( ( i = bufferedInputStream.read( abyte0, 0, 4096 ) ) != -1 ) { | fileOutputStream.write( abyte0, 0, i ); | } | | bufferedInputStream.close(); | fileOutputStream.close(); === Original file === 0001 | BINARY | FALSE | 0002 | BINARY | FALSE === File after upload === --modMHyNHWzdAQArk5xE5VmXXJAs-dx_A9Au | Content-Disposition: form-data; name=file.xml; filename=file.xml | Content-Type: application/octet-stream; charset=ISO-8859-1 | Content-Transfer-Encoding: binary | | 0001 | BINARY | FALSE | 0002 | BINARY | FALSE | | --modMHyNHWzdAQArk5xE5VmXXJAs-dx_A9Au-- === any idea why this happening? Thanks in Advance! Regards, Rishikesh Dagwal, Senior Software Engineer, Geometric Limited, Pune[India] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178239#4178239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0
what does this have to do with jBPM? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178263#4178263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems creating task instances
Well, I've managed to resolve the problem, but I don't like the solution. What I've had to do is to get the token, and then find all the task instances by that token and get the first element from the list, as below. I really don't like it, there must be a better way to do this? Surely? | taskInstance.end(); | context.save(taskInstance); | Token token = taskInstance.getToken(); | context.close(); | | context = JbpmConfiguration.getInstance().createJbpmContext(); | taskInstance = (TaskInstance)context.getTaskMgmtSession().findTaskInstancesByToken(token.getId()).get(0); | | Assert.assertTrue(firstTask.equals(taskInstance.getName())); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122537#4122537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems creating task instances
what is it that you are trying to achieve? I'm totally lost View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122625#4122625 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122625 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems creating task instances
Programmatically go through a workflow process definition, creating the ProcessInstance and the TaskInstance, and testing the behaviour of the jBPM code. The JUnit test case I posted is fairly straightforward. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122640#4122640 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems creating task instances
Just a guess, try: | String nameOfYourProcessDefinition = SimpleWorkflow; | ProcessInstance processInstance = new ProcessInstance(nameOfYourProcessDefinition); | What error message do you get? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122254#4122254 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems creating task instances
Holly, I'm using jBPM 3.2.2, and none of the constructors for ProcessInstance take a string as a parameter, than I can see. Just had a look at http://docs.jboss.com/jbpm/v3.2/javadoc-jpdl/, and they agree. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122259#4122259 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems creating task instances
Some things to find out and report: - what is the error - what node is the processinstance in after reloading - ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122296#4122296 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with persistence factory in Hibernate
the jbpm-spring integration is written by the spring guys. You stand a better chance asking there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121822#4121822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with persistence factory in Hibernate
Hi there Ronald, Hope you can give me a hint on this. I have the same problem as daniel. My stacktrace is lot bigger, but it contains also the part you are talking about (with the org.hibernate.TransientObjectException). What am I doing is trying to create at runtime a ProcessDefinition and persist it. Here is the part that does this: JbpmConfiguration jbpmConfig = null; | JbpmContext jbpmContext = null; | try { | jbpmConfig = JbpmConfiguration.getInstance(); | jbpmContext = jbpmConfig.createJbpmContext(); | System.out.println(jbpmContext==null); | ProcessDefinition pd = ProcessDefinition.parseXmlString( | process-definition name=\pd-name\ + | start-state + | transition to='s' / + | /start-state + | state name='s' + | transition to='end' / + | /state + | end-state name='end' / + | /process-definition); | ProcessInstance processInstance = new ProcessInstance(pd); | jbpmContext.save(processInstance); | //jbpmContext.deployProcessDefinition(pd); | //jbpmContext.deployProcessDefinition(pd); | } | catch(Exception e) { | e.printStackTrace(pw); | } | finally { | if (jbpmContext!=null) { | jbpmContext.close(); | } | } The two commented lines of code where my first approach on this matter but they had the same outcome. (this is only as a test and the ProcessDefinition creation was taken from chapter 3 of the online jbpm tutorial) If you need any further info on this to make it clearer for you please tell me so. I really need to make this work (it's for my BSc project and the deadline is closing in on me:D). Thanks a lot for your time and hope to hear from you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121599#4121599 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121599 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with persistence factory in Hibernate
Please have a look at the unit tests. This is such a basic example that I'd suggest to run those first, configured to use your database. If those run, try finding the ones that correspond to your case. If they do not run, please let us know View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121603#4121603 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121603 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with persistence factory in Hibernate
Many many thanks Ronald, It appears that the stack trace was not only for the persistence of the ProcessDefinition. I've set Hibernate to output the queries and it was persisting the jbpm classes correctly. The problem was that after that step I was using the hibernate session to do some other tasks. And since one of those tasks was failing it threw some errors and hibernate was rolling back the jbpm classes. I've removed the piece of code with the hibernate session and now the jbpm classes are in the db. I only need now to find out why that piece of code is not working because I need it to work. Even though you haven't provided me with an exact solution you helped me find one, and this is as good as a solution. Thanks a lot Ronald! I wish you best. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121605#4121605 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with persistence factory in Hibernate
Any time... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121658#4121658 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121658 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with persistence factory in Hibernate
Thank you also, I am now trying to integrate the jBPM with Spring. Any hint will be welcome, thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121672#4121672 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121672 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Forms
Hi, are there spaces within our task name? Spaces are replaced by hyphen in forms.xhtml. Regards Tina View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120012#4120012 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Forms
If you use the latest release of the designer (3.1.2) this should normally be fixed. Let me know if the problems persist. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120080#4120080 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Forms
Do you mean the white page or the substitue of a space to a hyphen? I am using jbpm jpdl suite 3.2.2 and Eclipse EE 3.3. with JBoss Tools 2.0.0.GA and the substitute is there but I am able to see the forms. Regards Tina View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120113#4120113 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Forms
I have rename the task, substiting the spaces for hypen and now I could see the form. I'm using: - jbpm-jpdl-suite-3.2.2 - eclipse-3.3 Thank you for your help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120160#4120160 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with persistence factory in Hibernate
yes, The reason is: Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.jbpm.graph.def.Node But that is probably not what you wanted to hear. For us to give a better answer you have to post your code and the processdefinition View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120265#4120265 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
Yes, you did answer my question, thank you so much for pointing me to the tutorial I was referring to, as opposed to a different one like I was asking for. that's exactly what I wanted. I definately did not mention anything missing from the tutorial at all either, thank you for pointing that out. All of my posts consisted of ramblings on about absolutely nothing. I asked no questions whats-so-ever. how careless of me. So far the only person I have found to of gotten angry is you - I was making a statement that I did not want to fill up the forum with hundreds of questions if it could be avoided, out of consideration for other people. your posts in this topic have been nothing but rude and highly unhelpful. I would appreciate it if you would take your 'help' and leave. I think his highness could be satisfied elsewhere where everyone agrees with him and loves half-witted smart ass comments directed towards them every post. I highly appreciate the others who have posted with their comments. I actually like coming to forums where people are friendly and help each other out and can get along. I am not sure if you are saying it was me who accused you of something Lord Ronald or not because I don't even know you and never directed anything at you before. I am inclined to say that an intelligent person would be able to read a thread and actually understand the questions and comments... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110288#4110288 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
peace ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110403#4110403 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
Kaledev, no it was not you accusing me of anything still, my first post was not rude View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110404#4110404 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
Simon, I fully disagree. There are many, many developers that use jBPM. There are many small and big companies that use jBPM. The testcases, examples, the forum, wiki AND 'normal' documentation cover most functionality fairly well. The web console which all these posts are referring to is constantly under development and currently only meant to be used for admin functionality and RAD. If something is missing and you find it out. please report it, instead of a general remarks and things like 'after 2 pages no one has answered my original question'... I DID answer it, on the first page, in my SECOND post 11 days ago... and this forum IS for questions... so please... ask them... The other topics like variables, assignments etc are in many testcases in the source... lots to learn from that.. If you really think you hit a brick wall, then I'm sorry. you should have tried to evade it and go around it, instead of through. And why do you think everybody gets angry? The only one that get's angry now and then is me after someone accused me of certain things often after asking a question that is in the docs (including testcases!!!) and then they want more from me than pointing them in that direction. Now it is time to go to sleep (03:27 here) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109594#4109594 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
My xhtml pages are generated, and the forms.xml seems in order. Blank pages are all that I get. Unfortunately as I have said since my original post, the tutorial does not cover all the basics and I have never used the product. Therefore assuming that any person, or at least a smart one as you put it, can look at the tutorial and learn everything is wrong. I am here because I want to learn the basics and the tutorial only taught me how to, sort of, manipulate an existing example. This existing example shows me nothing about form creation, very little about varibles, a vague mentioning of swimlanes, actors, nothing about assigning them. I am left with a brick wall I cannot get through. After two pages no one has answered my original simple question of is there another step-by-step tutorial that may help me get ahold of the basics. I can ask every question I have here but I don't want to fill up your forum with questions, causing everyone to be angry with me. Like I said I am only here to learn, and am opening asking for help. I have exhausted every means I have of finding something myself and I am sure people here have a better idea than I of where to find these things. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109419#4109419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
Hi All, I am also currently exploring the jBPM and have got the same issues regarding xHTML. I can see the generated xHTML file and those files have got entry in forms.xml as well. Inspite of that I always get blank page. Moreover, I never managed to give custom names to variables while creating task form using 'Generate Task Form' dialog box. I am just wondering if anyboby has got this problem as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109391#4109391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
I've seen reference to a book: Business Process Management with JBoss jBPM book by Matt Cumberlidge which you may want to check, but I have doubts on whether it can be up-to-date, unless there is an online version that he constantly updates. I too wish jBPM was better documented, that is it's main weakness as a product for developers such as myself who need to integrate workflow into their system in a timely manner. My opinion is that right now, jBPM is not so much a product that is ready to be easily used by developers, but more of a toolkit for consultants who want to provide workflow solutions for their customers. Such consultants are prepared to thoroughly read all the code and reverse-engineer how it all works and somewhat specialize in workflow solutions. jBPM seems to be beautifully written code but not much guidance for best practice usage or thorough explanation of the concepts and features. As time goes on hopefully better documentation will arise. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109441#4109441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
Well if I stay with this designer how can I go about learning the basics of creating something from scratch? I am still limited because the tutorial only shows how to manipulate an existing process and leaves out a bunch of details like creating the forms and such. All of the forms I think I create, never show up (just a blank page). Thanks!, Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109022#4109022 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
The real basics are not that different. The nodes are on the left just like with the previous designer. Putting an action on a node is in a different place, but everything for all nodes is in the properties pane/tab so you can always find things there. You, as an intelligent person, should be fairly quickly up to speed with this new editor. Regarding the forms... are xhtml files generated? and is the forms.xml file filled with references to these files? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109163#4109163 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
I personally would not use the older designer, but instead use the new one and just try to find the corresponding menu options in the newer designer View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108329#4108329 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
sorry for not being more specific with the title - it was meant to be posted in the sticky topic for the tutorial but I accidentally hit new post thinking it would post there ... this was the tutorial I was speaking of. I was able to use it until a certain point. I do have 3.2.2 but all of my menus in eclipse are completely different than the ones in the tutorial and some don't exist. Such as right clicking does not allow me to add actions - I have to do so through the properties menu at the bottom. I am not sure whether the tutorial is out of date for this version or if I have something going wrong on my end. I can also not find a tutorial on creating a process from scratch. Although I learned a lot from the tutorial I appear to not be able to create forms because when I deploy it shows a blank screen where my forms and buttons should be. I have compared xhtml files with working examples but I cannot find the problem. Aside from that I cannot figure out what variables should go where, how to name swimlanes, assigning them, and just general from scratch usage. when comparing working files I keep getting a message to convert to the format I am using which leads me to suspect I have a newer version. I have basically hit a brick wall with the designer and need some help. Like I said I have tried to search google for tutorials and only come up with the one you gave me and sparse blog entries. Is there anything else that has a step-by-step tutorial that explains the basics of the designer and what all the attributes are, how to set them, what to set? Thanks!, Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108181#4108181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
Perhaps for now, it would be worthwile for you to download the version of Jbpm that the tutorial was created for, and learn that Jbpm version. I think it was for 3.2.1, but I may be mistaken. Either way, once you have gone through the tutorial, you can upgrade to the latest Jbpm, and you should be able to easily pick up the differences yourself. The logic / ideas are pretty much the same, just the cosmetics / interface of the designer has changed slightly. Options and buttons can be found in different places, but they do the same thing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108313#4108313 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
Sorry silly me. Jbpm version wont make much difference, it's the designer that will make the difference. Use the tutorial with the older designer. So you can still use Jbpm 3.2.2, but get the designer/GPD that was used in the tutorial. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108314#4108314 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
I'm sorry, are you asking if I can contribute to the tutorial? Seeing as I know nothing about this product I would rather not. I do not mean to offend the person who wrote the tutorial - I am just pointing out that I cannot find one that is up to date. If you know of any other tutorials then please let me know - I have spent days and days on google coming up with only a few sparse blog pages and the wiki tutorial I have mentioned. But unfortunately it is impossible to use past a certain point - although I appreciate the portion I did get. Anywhere you can point me? Other documentation? Websites? Cave drawings? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106761#4106761 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
sorry, I was kind of in a bad mood and seeing a post with just the subject 'problems' and no reference to where this specific document is found (this is a forum for public users, so we do not know everything) made me not want to respond in more detail. Now to the point. Yes, that was my intention. There is a getting started for 3.2.x in the wiki so have a look there View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106889#4106889 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106889 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
care to contribute? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105766#4105766 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems
Meant to post this as a reply to the sticky above, sorry. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105649#4105649 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems trying to use evaluation / reference config (j
kukeltje wrote : Tom, | | The fact that there are 2 'errors' is because they are printed via System.err.println, but as you look at the text, you see just a INFO and a WARNING. So please do not THINK something is related. Either be sure or post all other errrors as well and let us judge. | | | Also telling us your manager is screaming for results will not help you getting an answer quicker, au contraire. http://www.catb.org/~esr/faqs/smart-questions.html#urgent | | | So can I ignore the JSF1033 error / warning or not and if not how do I fix it ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090541#4090541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems trying to use evaluation / reference config (j
Yes, you can afaik. But that does not help you find a solution. If you have delays (e.g. visible in the logging) timeouts (visible in the logging) etc.. .then please post those. This way we can help you find a solution for you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090845#4090845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems trying to use evaluation / reference config (j
Tom, The fact that there are 2 'errors' is because they are printed via System.err.println, but as you look at the text, you see just a INFO and a WARNING. So please do not THINK something is related. Either be sure or post all other errrors as well and let us judge. Also telling us your manager is screaming for results will not help you getting an answer quicker, au contraire. http://www.catb.org/~esr/faqs/smart-questions.html#urgent View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090437#4090437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems of using JBoss jBPM invoking web services
This problem was solved by providing it with the two xml files that it required (service.doc.xml service.aegis.xml) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4067214#4067214 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems of using JBoss jBPM invoking web services
anonymous wrote : org.jbpm.graph.def.DelegationException means, that an exception is thrown within your InvokeService action. But without a more meaningful exception log, it's hard to guess, what went wrong... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4066534#4066534 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with deploying process with mail nodes or eleme
point taken :-) I will investigate with the latest version thanks Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062801#4062801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user