[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file

2009-12-10 Thread rams.rapo
If you are using spring, then it should be easy with getoutcomes as well.. just 
cache at application level using aop the following items - initial state, 
transition to outcome state, process definition and version 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270040
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm.wire.bindings.xml

2009-11-18 Thread rams.rapo
I'm equal fan of spring & jboss :)

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266445
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm.wire.bindings.xml

2009-11-14 Thread rams.rapo
I wish i could inject wire bindings through spring.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - jbpm.wire.bindings.xml

2009-11-14 Thread rams.rapo
Hi,

I had to update jbpm.wire.bindings.xml to customize Task Activity and had it in 
my src/main/resources folder under a module. When i try to deploy it as ear 
file on jboss, it takes the jbpm.wire.bindings.xml present in jbpm-pvm jar and 
not the one i have it in my local. I tried putting it in various folders but 
ain't any luck so far. 

I notice WireParser having references to two xml files but it seems to be 
picking up from inside of it's own jar rather than on the classpath

Any workarounds? It's been long time since i had classpath issues :)



  |   public static final String[] DEFAULT_WIRE_BINDING_RESOURCES = new 
String[]{
  | "jbpm.wire.bindings.xml",
  | "jbpm.user.wire.bindings.xml"
  |   }; 
  | 
  | My Env: 
  | Jbpm 4.0
  | JBoss 5.1.0.GA
  | 


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265716
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - JBoss 5.1.0 Apache Axiom

2009-11-14 Thread rams.rapo
Hi,

I've been using SAAJ for a long time with spring webservices. 
Application is deploying fine on jBoss 5.1.0.GA with jdk 1.6. 

Recently read about the improvements with Apache Axiom and wanted to try it 
out. 

Just wanted to hear from group if anyone has tried this before and is it 
suggestable to go to production with Axiom instead of SAAJ?

Thanks,
Rams


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265714
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Jbpm 4 setup on existing JBOSS server

2009-11-13 Thread rams.rapo
I haven't faced issues with jboss & jbpm so far..


My Config:

  | Spring: 2.5.x
  | Hibernate: 3.3.1 GA
  | Jboss: 5.1.0 GS
  | JBPM: 4.1
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265638
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: takeTask() race condition

2009-11-13 Thread rams.rapo
We have found same error in load testing of our application. However we noticed 
the data used was very less compared to vusers and duration of load test. But 
nothing to worry, need to have user retry it. 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity

2009-10-22 Thread rams.rapo
You would need to extend few jbpm classes and override the GetOutcomes 
behaviour. 

At a very high level:

a) Extend WireDescriptorBinding, implement corresponding descriptor by 
extending ObjectDescriptor, etc 

b) Add entry for extended WireDescriptorBinding class in 
jbpm.wire.bindings.xml. 

c) Extend jbpm springconfiguration class, override the buildProcessEngine, 
getTaskService methods. 
getTaskService should return the class which you extend from TaskService.

d) Extend AbstractCommand and pass in custom taskservice  class created in 
above step. Here you override the behaviour...

p.s: search the forum, i remember few threads explaining more in detail on this 
implementation. 


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity

2009-10-20 Thread rams.rapo
Take a Look at GetOutcomes.java



  | ExecutionImpl execution = (task != null ? task.getExecution() : null);
  | ActivityImpl activity = (execution != null ? execution.getActivity() : 
null);
  | List outgoingTransitions = (activity != null ? 
activity.getOutgoingTransitions() : null);
  | 
  | if (outgoingTransitions != null) {
  | for (Transition transition : outgoingTransitions) {
  | //transition.getName() is transition name (name on arrow)
  | //transition.getDestination().getName() is final end node 
where
  |  }
  | }
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261336
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: how to differentiate different ends ?

2009-08-27 Thread rams.rapo
JBPM4_HIST_PROCINST table has ENDACTIVITY_ which refers to end state reached. 
You can fire custom query to get the details.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252169
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: extending tasks

2009-08-20 Thread rams.rapo
with jbpm4, you can use custom-task or extend TaskActivity class

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250754
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: HistoryActivity and HistoryTask Join

2009-08-20 Thread rams.rapo
looking forward to history stuff in next release..for now using custom queries 
to get information..

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250751
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM4 Spring-Hibernate Integration

2009-08-20 Thread rams.rapo
i think you have to remove reference to jbpm.jpdl.hbm.xml..there were previous 
posts on the same.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250750
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Getting a list of available signals

2009-08-20 Thread rams.rapo
get list of tasks for your given process instance and then pass task db id to 
taskService.getOutcomes(...)

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250749
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: java.lang.LinkageError: loader constraint violation:(In

2009-07-28 Thread rams.rapo
I did download the jaxws jar and ran the command..

java -jar JAXWS2.1.2-20070917.jar

it created set of files...do i need to copy the jars under lib to jboss/lib?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246569
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: java.lang.LinkageError: loader constraint violation:(In

2009-07-28 Thread rams.rapo
Hi,

I'm facing similar issue - can someone provide me the link to below solution

dowload JAXWS patch for JAXWS webservices and run the ant file then u will be 
able to call the client

Thanks

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246566
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: where can I find this class

2009-07-24 Thread rams.rapo
this class should be in jbpm-jpdl jar.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245906
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM4.0 Oracle Parent Key Not Found Error

2009-07-23 Thread rams.rapo
The more i look into it, i feel HistoryTaskImpl should have 
HistoryActivityInstanceImpl as a set, so that we can have hibernate mapping as 
inverse=true which would then prevent this error... 


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Advices needed on process definitions deployment strateg

2009-07-23 Thread rams.rapo
This is how we are working around for this issue.. 


  | You can get the list of process definitions deployed with given process def 
name.. 
  | 
  | List processDefList = 
repositoryService.createProcessDefinitionQuery()
  | .processDefinitionName(processDefName)
  | .orderDesc(ProcessDefinitionQuery.PROPERTY_VERSION)
  | .page(0, 1).list();
  | 
  | loop through it to get highest version..
  | 
  | Long version = processDefList.get(0).getVersion()
  | 
  | now compare above version with a  property file having process definition 
and version number as key value pair.
  | 
  | If they match, don't do anything, else go ahead and update deployment. 
  | 
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245672
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: [JBPM4] deleteProcessInstanceCascade throw an exception

2009-07-23 Thread rams.rapo
Can you post the error? is it parent key not found?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245431
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM4.0 Oracle Parent Key Not Found Error

2009-07-23 Thread rams.rapo
Environment: 
JBPM4.0
Hibernate 3.3.1GA
Database: Oracle 10

When i try to create a process instance out of the following process 
definition, it fails with below error. The same when i run against hsql on my 
local it works fine. Only difference we have in oracle is the sequence are our 
own instead of assigned=native. 

ProcessDefinition:



  | 
  | 
  | 
  | http://jbpm.org/4.0/jpdl";>
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  | 
  |   
  |   
  |   
  | 
  | 
  | 
  |   
  |   
  |   
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 

Error:


  | 
  | Caused by: java.sql.BatchUpdateException: ORA-02291: integrity constraint 
(JBPM4.FK_HTI_HTASK) violated - parent key not found
  | 
  | at 
oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343)
  | at 
oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10768)
  | at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeBatch(P6LogPreparedStatement.java:329)
  | at 
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
  | at 
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
  | at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
  | ... 72 more
  | 
  | 
  | 
  | 


Logs (I used p6spy driver to see values being passed)


  | Hibernate: select * from ( select deployment1_.OBJNAME_ as col_0_0_, 
deployment1_.DEPLOYMENT_ as col_1_0_ from test.JBPM4_DEPLOYMENT deployment0_, 
test.JBPM4_DEPLOYPROP deployment1_, test.JBPM4_DEPLOYPROP deployment2_, 
test.JBPM4_DEPLOYPROP deployment3_ where deployment1_.KEY_='pdid' and 
deployment1_.DEPLOYMENT_=deployment0_.DBID_ and deployment2_.KEY_='pdkey' and 
deployment2_.OBJNAME_=deployment1_.OBJNAME_ and 
deployment2_.DEPLOYMENT_=deployment0_.DBID_ and deployment3_.KEY_='pdversion' 
and deployment3_.OBJNAME_=deployment1_.OBJNAME_ and 
deployment3_.DEPLOYMENT_=deployment0_.DBID_ and 
deployment2_.STRINGVAL_='SimpleProcess' order by deployment3_.LONGVAL_ desc ) 
where rownum <= ?
  | 
  | Hibernate: select * from ( select deployment0_.DBID_ as DBID1_13_, 
deployment0_.DEPLOYMENT_ as DEPLOYMENT2_13_, deployment0_.OBJNAME_ as 
OBJNAME3_13_, deployment0_.KEY_ as KEY4_13_, deployment0_.STRINGVAL_ as 
STRINGVAL5_13_, deployment0_.LONGVAL_ as LONGVAL6_13_ from 
test.JBPM4_DEPLOYPROP deployment0_ where deployment0_.KEY_='pdid' and 
deployment0_.STRINGVAL_='SimpleProcess-1' ) where rownum <= ?
  | 
  | Hibernate: select test.S_JBPM4_EXECUTION.nextval from dual
  | 
  | Hibernate: insert into test.JBPM4_EXECUTION (DBVERSION_, ACTIVITYNAME_, 
PROCDEFID_, HASVARS_, NAME_, KEY_, ID_, STATE_, SUSPHISTSTATE_, PRIORITY_, 
HISACTINST_, PARENT_, INSTANCE_, SUPEREXEC_, SUBPROCINST_, CLASS_, DBID_) 
values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'pvm', ?)
  | 
  | Hibernate: select test.S_JBPM4_HIST_PROCINST.nextval from dual
  | 
  | Hibernate: select test.S_JBPM4_TASK.nextval from dual
  | 
  | [2009-07-22 18:05:31,062] (TaskHandler:assignTask:24) - TaskHandler
  | 
  | Hibernate: select historypro0_.DBID_ as DBID1_4_0_, historypro0_.DBVERSION_ 
as DBVERSION2_4_0_, historypro0_.ID_ as ID3_4_0_, historypro0_.PROCDEFID_ as 
PROCDEFID4_4_0_, historypro0_.KEY_ as KEY5_4_0_, historypro0_.START_ as 
START6_4_0_, historypro0_.END_ as END7_4_0_, historypro0_.DURATION_ as 
DURATION8_4_0_, historypro0_.STATE_ as STATE9_4_0_, historypro0_.ENDACTIVITY_ 
as ENDACTI10_4_0_, historypro0_.NEXTIDX_ as NEXTIDX11_4_0_ from 
test.JBPM4_HIST_PROCINST historypro0_ where historypro0_.DBID_=?
  | 
  | Hibernate: select test.S_JBPM4_HIST_ACTINST.nextval from dual
  | 
  | Hibernate: insert into test.JBPM4_HIST_PROCINST (DBVERSION_, ID_, 
PROCDEFID_, KEY_, START_, END_, DURATION_, STATE_, ENDACTIVITY_, NEXTIDX_, 
DBID_) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
  | 
  | Hibernate: insert into test.JBPM4_TASK (DBVERSION_, NAME_, DESCR_, STATE_, 
SUSPHISTSTATE_, ASSIGNEE_, FORM_, PRIORITY_, CREATE_, DUEDATE_, PROGRESS_, 
SIGNALLING_, EXECUTION_ID_, ACTIVITY_NAME_, HASVARS_, SUPERTASK_, EXECUTION_, 
PROCINST_, SWIMLANE_, TASKDEFNAME_, CLASS_, DBID_) values (?, ?, ?, ?, ?, ?, ?, 
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'T', ?)
  | 
  | Hibernate: insert into test.JBPM4_HIST_ACTINST (DBVERSION_, HPROCI_, TYPE_, 
EXECUTION_, ACTIVITY_NAME_, START_, END_, DURATION_, TRANSITION_, NEXTIDX_, 
HTASK_, CLASS_, DBID_) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'task', ?)

>From the above logs, its obvious that a row is being inserted into 
>JBPM4_HIST_ACTINST instead of JBPM4_HIST_TASK, there by causing parent key not 
>found. Tried changing hbm's a bit by adding ignore=false, etc but ain't 
>working. Any clues? 

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

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

[jboss-user] [JBoss jBPM] - Re: JBPM 4.0 - Missing Class JpdlExecution

2009-07-13 Thread rams.rapo
yup, removing it works.  Only thing is it still being shipped under src 
directory. 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243381
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM 4.0 - Missing Class JpdlExecution

2009-07-13 Thread rams.rapo
Hi, 

After i took the latest JBPM 4.0, noticed the below error.
With CR1, the same test case was running fine. 


Caused by: org.hibernate.MappingException: proxy class not found: 
org.jbpm.jpdl.internal.model.JpdlExecution
  | at 
org.hibernate.mapping.PersistentClass.getProxyInterface(PersistentClass.java:132)
  | at 
org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:138)
  | at 
org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:158)
  | at 
org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:76)
  | at 
org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:80)
  | at 
org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:325)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:457)
  | at 
org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:131)
  | at 
org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
  | at 
org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:261)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
  | at 
org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
  | at 
org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
  | at 
org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
  | ... 89 more
  | Caused by: java.lang.ClassNotFoundException: 
org.jbpm.jpdl.internal.model.JpdlExecution
  | 

It fails why trying to load jbpm.jpdl.hbm.xml which has 


  | 

Where did the class go? May be my eyes need a checkup... 

Thanks
-Sridhar

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243374
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: [jBPM4] Error while creating processinstance having time

2009-07-10 Thread rams.rapo
no luck with/without current=true

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Installation issues with jBPM 4.0.CR1 on JBoss AS 4.2.3.

2009-07-09 Thread rams.rapo
well...found that had to install jbpm cr1 which looks for java:/ProcessEngine

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242738
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Installation issues with jBPM 4.0.CR1 on JBoss AS 4.2.3.

2009-07-09 Thread rams.rapo
I'm also having same issue..any ideas

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242735
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: [jBPM4] Error while creating processinstance having time

2009-07-09 Thread rams.rapo
here's the jobexecutor xml. 

  | 
  | 
  | 
  | 
  |   
  |   
  | 
  | 
  |   
  | 
  | 
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242718
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: [jBPM4] Error while creating processinstance having time

2009-07-09 Thread rams.rapo
here's my config file. 


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: [jBPM4] Error while creating processinstance having time

2009-07-09 Thread rams.rapo
I'm using spring integration (followed andries example) . I'm able to deploy 
other process definitions and create instance out of them with same code, will 
post it shortly. 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242672
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - [jBPM4] Error while creating processinstance having timers

2009-07-09 Thread rams.rapo
Hi,

I'm able to deploy below process definition but fails why creating process 
instance out of it. Transaction seems to be null. 

 
  | 
  | 
  | 
  | http://jbpm.org/4.0/jpdl";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Error

  | java.lang.NullPointerException
  | at 
org.jbpm.pvm.internal.jobexecutor.JobExecutorTimerSession.schedule(JobExecutorTimerSession.java:58)
  | at org.jbpm.pvm.internal.job.TimerImpl.schedule(TimerImpl.java:68)
  | at 
org.jbpm.pvm.internal.model.ScopeInstanceImpl.initializeTimers(ScopeInstanceImpl.java:311)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl.createScope(ExecutionImpl.java:245)
  | at 
org.jbpm.pvm.internal.model.op.TransitionStartActivity.perform(TransitionStartActivity.java:82)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:625)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:585)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:198)
  | at 
org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:64)
  | at 
org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:37)
  | at 
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
  | at 
org.jbpm.pvm.internal.spring.CommandTransactionCallback.doInTransaction(CommandTransactionCallback.java:50)
  | at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
  | at 
org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:76)
  | at 
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
  | at 
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
  | at 
org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:69)
  | 
  | 

I do have jboexecutor defined in my jbpm.cfg.xml



I may be missing something really simple here...any pointers?

Thanks

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242621
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error while completing task

2009-07-02 Thread rams.rapo
Above error was resolved by using auto flushmode. Error seems to be happening 
when hibernate flush mode is always.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241394
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How can I put a personal task back to group task list?

2009-07-02 Thread rams.rapo
try taskService.assignTask(taskId, groupId);


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241386
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How can I suspend or resume a ProcessInstance in jBPM4?

2009-07-02 Thread rams.rapo
how about following API 

executionService.endProcessInstance(...)?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241385
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user