[jboss-user] [jBPM] - Re: jBPM 5.4 Rest API

2013-08-23 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: jBPM 5.4 Rest API"

To view the discussion, visit: https://community.jboss.org/message/833705#833705

--
I think you have to options.
- Get all the processes and filter it by your side.
- Query jbpm audit tables. You can check this class which does it:
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-bam/src/main/java/org/jbpm/process/audit/JPAProcessInstanceDbLog.java
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-bam/src/main/java/org/jbpm/process/audit/JPAProcessInstanceDbLog.java

HTH,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/833705#833705]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: can subprocess get its father process's parameter?

2013-08-09 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: can subprocess get its father process's parameter?"

To view the discussion, visit: https://community.jboss.org/message/832172#832172

--
You can also do it. 

Starting from jbpm 5.4, you have the parent process id in audit tables:

 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-bam/src/main/java/org/jbpm/process/audit/ProcessInstanceLog.java#L53
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-bam/src/main/java/org/jbpm/process/audit/ProcessInstanceLog.java#L53

At runtime, the processInstanceImpl class has the parent it in the metadata 
too, which is put when starting the subprocess
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/SubProcessNodeInstance.java#L141
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/SubProcessNodeInstance.java#L141

I think you should use the first option, but it depends on what you are trying 
to achieve.
--

Reply to this message by going to Community
[https://community.jboss.org/message/832172#832172]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: can subprocess get its father process's parameter?

2013-08-07 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: can subprocess get its father process's parameter?"

To view the discussion, visit: https://community.jboss.org/message/831855#831855

--
You have to:
- Create the variables in the subprocess.
- Use the parameters mapping to pass copy variables/expressions from parent 
process to subprocess.

 http://docs.jboss.org/jbpm/v5.4/userguide/ch.core-basics.html#d0e1827 
http://docs.jboss.org/jbpm/v5.4/userguide/ch.core-basics.html#d0e1827
* +Parameter in/out mapping+: A sub-process node can also define in- and 
out-mappings for variables. The variables given in the "in" mapping will be 
used as parameters (with the associated parameter name) when starting the 
process. The variables of the child process that are defined for the "out" 
mappings will be copied to the variables of this process when the child process 
has been completed. Note that you can use "out" mappings only when "Wait for 
completion" is set to true.

Hope this helps,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/831855#831855]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Exceptions using designer

2013-08-02 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Exceptions using designer"

To view the discussion, visit: https://community.jboss.org/message/831237#831237

--
Yeah, but it happens specifically when using the designer. But well, for some 
reason after working only with designer inside guvnor, it starts failing there. 
We could reproduce it quite easily by opening like 6 or 7 processes..

Thanks

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/831237#831237]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Exceptions using designer

2013-08-02 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Exceptions using designer"

To view the discussion, visit: https://community.jboss.org/message/831202#831202

--
Hi Guys.

I am using the latest snapshot of designer in guvnor-integration branch, it is 
2.5-SNAPSHOT, and guvnor 5.4.

Designer works well, but after some time using it and opening processes, it 
seems to be slow, and log many lines like the following,
[org.apache.jackrabbit.core.ItemManager] (http--127.0.0.1-8080-23) overwriting 
cached item 976535bd-6ec8-4473-9991-febc180fe7e7/{ http://www.jboss.org/d 
http://www.jboss.org/d
rools-repository/1.0}versionNumber

and then, it starts failing.

aused by: java.net.SocketException: Software caused connection abort: socket 
write error at java.net.SocketOutputStream.socketWrite0(Native Method) at 
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at 
java.net.SocketOutputStream.write(SocketOutputStream.java:153) at 
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:724)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:449) at 
org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349) at 
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:748)
 at 
org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:126)
 at 
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:559)
 at org.apache.coyote.Response.doWrite(Response.java:594) at 
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:398)
 ... 64 more 

11:18:39,909 Advertencia [org.apache.cxf.phase.PhaseInterceptorChain] 
(http--127.0.0.1-8080-23) Interceptor for { 
http://jaxrs.server.guvnor.drools.org/ 
http://jaxrs.server.guvnor.drools.org/}CategoryResource h
as thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Could not 
send Message.
    at 
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
 [cxf-rt-core-2.4.4.jar:2.4.4
]
    at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
 [cxf-api-2.4.4.jar:2.4.4]
    at 
org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:77)
 [cxf-rt-core-2.4.4.jar:2.4.4]
    at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
 [cxf-api-2.4.4.jar:2.4.4]
    at 
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
 [cxf-rt-core-2.4.4.jar:2.4.4]
    at 
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:206)
 [cxf-rt-transports-http-2.4.4.jar:2.4.4]
    at 
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:209)
 [cxf-rt-transports-http-2.4.4.jar:2.4.4]
    at 
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:152)
 [cxf-rt-transports-http-2.4.4.jar:2.4.4]
    at 
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:114)
 [cxf-rt-transports-http-2.4.4.jar:2.4.4]
    at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:184)
 [cxf-rt-transports-http-2.4.4.jar:2.4.4]
    at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:112)
 [cxf-rt-transports-http-2.4.4.jar:2.4.4]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) 
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:163)
 [cxf-rt-transports-http-2.4.4.jar:2.4.4]
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
 [jbossweb-7.0.13.Final.jar:]
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
 [jbossweb-7.0.13.Final.jar:]
    at 
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
 [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
 [jbossweb-7.0.13.Final.jar:]
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
 [jbossweb-7.0.13.Final.jar:]
    at 
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
 [solder-impl-3.1.1.Final.jar:3.1.1.Final]
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
 [jbossweb-7.0.13.Final.jar:]
    at 
org.apache.catalina.core.ApplicationFilterChai

[jboss-user] [jBPM] - Re: Installed jbpm web designer in guvnor - but process is not saving

2013-07-26 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Installed jbpm web designer in guvnor - but process is not saving"

To view the discussion, visit: https://community.jboss.org/message/830051#830051

--
Hey Klaus, in your logs still says that it cannot reach guvnor

SEVERE: Unable to connect to Gunvor. Is it running? [ 
http://localhost:9090/drools-guvnor/org.drools.guvnor.Guvnor/oryxeditor?uuid=eb1ad065-04eb-43ab-b05f-604d3dbb1f54&usr=admin&pwd=admin
 
http://localhost:9090/drools-guvnor/org.drools.guvnor.Guvnor/oryxeditor?uuid=eb1ad065-04eb-43ab-b05f-604d3dbb1f54&usr=admin&pwd=admin]

If you go to this URL, can you reach guvnor?
--

Reply to this message by going to Community
[https://community.jboss.org/message/830051#830051]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Installed jbpm web designer in guvnor - but process is not saving

2013-07-26 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Installed jbpm web designer in guvnor - but process is not saving"

To view the discussion, visit: https://community.jboss.org/message/829981#829981

--
Hey Klaus. Do you have authorization enabled in guvnor? or you are using it as 
it comes by default?
--

Reply to this message by going to Community
[https://community.jboss.org/message/829981#829981]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Problem with designer

2013-07-22 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Problem with designer"

To view the discussion, visit: https://community.jboss.org/message/829179#829179

--
This worked!
--

Reply to this message by going to Community
[https://community.jboss.org/message/829179#829179]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Concurrency problems with JBPM 5.4

2013-07-19 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Concurrency problems with JBPM 5.4"

To view the discussion, visit: https://community.jboss.org/message/828877#828877

--
I have had problems with concurrency, and it was because LocalTaskService is 
not thread safe. It was solved by creating a new LocalTaskService per request.

Hope this helps,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/828877#828877]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: New process instance created but no task insert in db

2013-06-24 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: New process instance created but no task insert in db"

To view the discussion, visit: https://community.jboss.org/message/824664#824664

--
Hi Sandra. Could you please share some of the code you are using to start 
process, register the work items handlers and so on? This may help to be able 
to help. Which task service are you using? Local task service?

Thanks

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/824664#824664]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: How do you create a domain specific task, the documentation has the title with no information

2013-06-22 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: How do you create a domain specific task, the documentation has the title 
with no information"

To view the discussion, visit: https://community.jboss.org/message/824437#824437

--
Hi Troy. I think this would help.

 http://docs.jboss.org/jbpm/v5.4/userguide/ch.domain-specific-processes.html 
http://docs.jboss.org/jbpm/v5.4/userguide/ch.domain-specific-processes.html

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/824437#824437]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Log errors in Guvnor - Designer

2013-06-09 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Log errors in Guvnor - Designer"

To view the discussion, visit: https://community.jboss.org/message/822197#822197

--
Hi Jiri. I just checked downloading designer 2.4 and guvnor 5.5. Created a very 
simple process Start - Script - End. And, when build package, I am getting the 
same

20:53:11,319 INFO  [org.apache.jackrabbit.core.TransientRepository] 
(http--127.0.0.1-8080-6) Session opened
20:53:11,362 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 40, 52): cvc-complex-type.4: Attribute 'type' 
must appear on element 'bpmn2:relationship'.
20:53:11,362 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 43, 92): cvc-elt.4.2: Cannot resolve 
'drools:Scenario' to a type definition for element 'drools:Scenario'.
20:53:11,363 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 44, 100): cvc-elt.4.2: Cannot resolve 
'drools:ScenarioParameters_._type' to a type definition for element 
'drools:ScenarioParameters'.
20:53:11,363 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 45, 159): cvc-elt.4.2: Cannot resolve 
'drools:ElementParameters_._type' to a type definition for element 
'drools:ElementParameters'.
20:53:11,363 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 46, 69): cvc-elt.4.2: Cannot resolve 
'drools:TimeParameters' to a type definition for element 
'drools:TimeParameters'.
20:53:11,364 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 47, 66): cvc-elt.4.2: Cannot resolve 
'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.
20:53:11,364 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 52, 69): cvc-elt.4.2: Cannot resolve 
'drools:CostParameters' to a type definition for element 
'drools:CostParameters'.
20:53:11,364 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 53, 60): cvc-elt.4.2: Cannot resolve 
'drools:Parameter' to a type definition for element 'drools:UnitCost'.
20:53:11,365 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 58, 159): cvc-elt.4.2: Cannot resolve 
'drools:ElementParameters_._type' to a type definition for element 
'drools:ElementParameters'.
20:53:11,365 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 59, 75): cvc-elt.4.2: Cannot resolve 
'drools:ControlParameters' to a type definition for element 
'drools:ControlParameters'.
20:53:11,366 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 60, 63): cvc-elt.4.2: Cannot resolve 
'drools:Parameter' to a type definition for element 'drools:Probability'.
20:53:11,366 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 65, 159): cvc-elt.4.2: Cannot resolve 
'drools:ElementParameters_._type' to a type definition for element 
'drools:ElementParameters'.
20:53:11,366 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 66, 69): cvc-elt.4.2: Cannot resolve 
'drools:TimeParameters' to a type definition for element 
'drools:TimeParameters'.
20:53:11,367 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 67, 60): cvc-elt.4.2: Cannot resolve 
'drools:Parameter' to a type definition for element 'drools:WaitTime'.
20:53:11,367 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 73, 159): cvc-elt.4.2: Cannot resolve 
'drools:ElementParameters_._type' to a type definition for element 
'drools:ElementParameters'.
20:53:11,367 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 74, 75): cvc-elt.4.2: Cannot resolve 
'drools:ControlParameters' to a type definition for element 
'drools:ControlParameters'.
20:53:11,368 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 75, 63): cvc-elt.4.2: Cannot resolve 
'drools:Parameter' to a type definition for element 'drools:Probability'.
20:53:11,368 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 80, 159): cvc-elt.4.2: Cannot resolve 
'drools:ElementParameters_._type' to a type definition for element 
'drools:ElementParameters'.
20:53:11,369 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--127.0.0.1-8080-6) (null: 81, 69): cvc-elt.4.2: Cannot resolve 
'drools:TimeParameters' to a type definition for element 
'drools:TimeParameters'.
20:53:11,369 ERROR [org.drools.xml.ExtensibleXmlParser] 
(http--

[jboss-user] [jBPM] - Re: jBPM process not completed (sometimes)

2013-06-07 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: jBPM process not completed (sometimes)"

To view the discussion, visit: https://community.jboss.org/message/822038#822038

--
It could happen because the task complete listener are not registered for some 
reason:
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AsyncGenericHTWorkItemHandler.java#L120
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AsyncGenericHTWorkItemHandler.java#L120

Maybe you can debug to see if TaskCompletedHandler( 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AsyncGenericHTWorkItemHandler.java#L216
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AsyncGenericHTWorkItemHandler.java#L216)
 is being called..
--

Reply to this message by going to Community
[https://community.jboss.org/message/822038#822038]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM process not completed (sometimes)

2013-06-06 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: jBPM process not completed (sometimes)"

To view the discussion, visit: https://community.jboss.org/message/821833#821833

--
The workItemHandler uses the session you inject into its constructor to 
continue the process:
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AsyncGenericHTWorkItemHandler.java#L270
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AsyncGenericHTWorkItemHandler.java#L270

is the session available and not disposed at the time you do task.complete?

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/821833#821833]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Log errors in Guvnor - Designer

2013-06-06 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Log errors in Guvnor - Designer"

To view the discussion, visit: https://community.jboss.org/message/821804#821804

--
Hi People!

I am using Guvnor 5.3 and designer 2.4.Final

I see that in this version, designer has some simulation things that I am not 
using. However, I see that it adds to the BPMN things like this:

 
    
  
    
  
  ms
    
    
  
    
  
    
  

I have these files in guvnor, and when I build the package I get hundreds of 
logs like this:
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 399, 60): 
cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 
'drools:WaitTime'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 405, 159): 
cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type 
definition for element 'drools:ElementParameters'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 406, 75): 
cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for 
element 'drools:ControlParameters'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 407, 63): 
cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 
'drools:Probability'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 412, 159): 
cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type 
definition for element 'drools:ElementParameters'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 413, 69): 
cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for 
element 'drools:TimeParameters'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 414, 66): 
cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 
'drools:ProcessingTime'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 419, 69): 
cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for 
element 'drools:CostParameters'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 420, 60): 
cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 
'drools:UnitCost'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 425, 159): 
cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type 
definition for element 'drools:ElementParameters'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 426, 75): 
cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for 
element 'drools:ControlParameters'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 427, 63): 
cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 
'drools:Probability'.
06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 432, 159): 
cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type 
definition for element 'drools:ElementParameters'.

Does someone knows how to fix it??
--

Reply to this message by going to Community
[https://community.jboss.org/message/821804#821804]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: How to get Objects from VariableInstanceLog?

2013-05-17 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: How to get Objects from VariableInstanceLog?"

To view the discussion, visit: https://community.jboss.org/message/818322#818322

--
Variable instance log is currently implemented to save the to string of the 
object.

The logger receives the string

 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-bam/src/main/java/org/jbpm/process/audit/JPAWorkingMemoryDbLogger.java#L107
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-bam/src/main/java/org/jbpm/process/audit/JPAWorkingMemoryDbLogger.java#L107

The working memory logger converts it to string.

 
https://github.com/droolsjbpm/drools/blob/5.5.x/drools-core/src/main/java/org/drools/audit/WorkingMemoryLogger.java#L525
 
https://github.com/droolsjbpm/drools/blob/5.5.x/drools-core/src/main/java/org/drools/audit/WorkingMemoryLogger.java#L525

or you can use some variable persistence strategy... you can take a look at 
this..

 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/VariablePersistenceStrategyTest.java
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/VariablePersistenceStrategyTest.java

HTH!
--

Reply to this message by going to Community
[https://community.jboss.org/message/818322#818322]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Concurrency issue with LocalTaskService

2013-05-09 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Concurrency issue with LocalTaskService"

To view the discussion, visit: https://community.jboss.org/message/817061#817061

--
Well, this was the last concurrency issue I had  :) .
 And I also know that the jBPM team is aware of the issue so it should be 
solevd in next release (probably jBPM6).

Thanks!
--

Reply to this message by going to Community
[https://community.jboss.org/message/817061#817061]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Concurrency issue with LocalTaskService

2013-05-09 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Concurrency issue with LocalTaskService"

To view the discussion, visit: https://community.jboss.org/message/817049#817049

--
I had problems with LocalTaskService. I think the problem is that 
LocalTaskService is not thread safe.. I solved problems just creating a new 
LocalTaskService per requrest.

Thanks

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/817049#817049]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Problem with jbpm 5.3, jboss 6.1 and BTMTransactionManagerLookup

2013-05-06 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Problem with jbpm 5.3, jboss 6.1 and BTMTransactionManagerLookup"

To view the discussion, visit: https://community.jboss.org/message/816345#816345

--
As Juan said, If you are using Jboss, it would be better and simple to use 
Jboss TM.

If you are having this error and using tomcat, make sure btm-2.1.1.jar and 
jta-*.jar aren't anywhere in your war files as Tomcat tries to load classes 
from the webapp before the tomcat and system classpaths.

HTH

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/816345#816345]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Example of simple process of executing a service task in JBPM Console.

2013-04-30 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Example of simple process of executing a service task in JBPM Console."

To view the discussion, visit: https://community.jboss.org/message/811023#811023

--
What does your own work item definition do? Could you please mention an example 
of what you are trying to achieve?

For example, if you have a custom work item definition, "Ping Server". Then, 
you will have to have some code that pings a server. You can have it inside the 
Console classpath, using it as I explained in the previuos comment. Or maybe 
calling a webservice?

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/811023#811023]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Example of simple process of executing a service task in JBPM Console.

2013-04-30 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Example of simple process of executing a service task in JBPM Console."

To view the discussion, visit: https://community.jboss.org/message/811017#811017

--
I guess you have to:
- Create work item definition with some name, for example "MyTask".
- Add a jar file with your WorkItemHandler implementation.
- Create a session template attaching your custom work item handler to "My 
task".
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-gwt/jbpm-gwt-core/src/test/resources/default.session.template
 
https://github.com/droolsjbpm/jbpm/blob/5.4.x/jbpm-gwt/jbpm-gwt-core/src/test/resources/default.session.template

This will make that the Knowledge Session is able to execute the My Task node.

But I think, to write your own work item handlers, you should have to use 
eclipse or some other IDE.

HTH

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/811017#811017]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Problems with Local Task Service

2013-04-29 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Problems with Local Task Service"

To view the discussion, visit: https://community.jboss.org/message/810863#810863

--
Where are you checking if the process instance has finished? Can you share your 
process definition?

Thanks

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/810863#810863]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Register more than one WorkItemHandler

2013-04-29 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Register more than one WorkItemHandler"

To view the discussion, visit: https://community.jboss.org/message/810862#810862

--
should it be

session.getWorkItemManager().registerWorkItemHandler("Human Task",
wsHumanTaskHandler);
session.getWorkItemManager().registerWorkItemHandler("Email",
emailHandler); 

?
--

Reply to this message by going to Community
[https://community.jboss.org/message/810862#810862]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: afterProcessCompleted() not firing when last workflow task is business rule

2013-04-26 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: afterProcessCompleted() not firing when last workflow task is business 
rule"

To view the discussion, visit: https://community.jboss.org/message/810576#810576

--
Hey,

Is your rule task being fired?
--

Reply to this message by going to Community
[https://community.jboss.org/message/810576#810576]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: JBPM5 Error Handling

2013-04-26 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: JBPM5 Error Handling"

To view the discussion, visit: https://community.jboss.org/message/810575#810575

--
Well, I think there are two types of errors. 
Business errors should be handled at process level, using Error Events in 
should BPMN process.
Technical exception are different. If you are using persistence, and and 
exception is thrown by one node, it will roll it back until the last safe 
state, so the process will not be corrupted. You can catch the exception in the 
code calling the process (start proess, complete task), and make your own 
logging and you could also retry. In this case, it can be helpful to use a JMS 
layer to give orders to the process. As JMS can do the retry, the persistence, 
etc.

My 2 cents!

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/810575#810575]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Why the JBPM task can't rollback ?

2013-04-02 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Why the JBPM task can't rollback ?"

To view the discussion, visit: https://community.jboss.org/message/806100#806100

--
Are you using Local Task Service?
--

Reply to this message by going to Community
[https://community.jboss.org/message/806100#806100]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Problem with designer

2013-04-02 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Problem with designer"

To view the discussion, visit: https://community.jboss.org/message/806098#806098

--
Hi!

I have one problem in designer.

I create a new simple process, with an start and end node, in the designer 
inside guvnor 5.4. I save it.

Then, I update the process using Guvnor Rest API. I make a PUT to   
http://localhost:8080/drools-guvnor/rest/packages/TestNewPathways/assets/myprocess/test
 
http://localhost:8080/drools-guvnor/rest/packages/TestNewPathways/assets/myprocess/test/binary,
 with content type application-octet stream, passing the string.getBytes of the 
modified bpmn. 

Then, I go to the designer, and I can see the changes into the process. But 
then, I try just to save the process there and I get an error into the screen, 
and an exception in logs that I will paste below. Any ideas of what could it 
cause it?

Thanks!

Demian

Error:
 400 Sorry, a technical error occurred. Please contact a system administrator."

Exception
16:57:42,996 ERROR [org.drools.guvnor.server.RepositoryServiceServlet] 
(http--127.0.0.1-8080-17) Service method 'public abstract java.lang.String 
org.drools.guvnor.client.rpc.AssetService.checkinVersion(org.drools.guvnor.client.rpc.Asset)
 throws com.google.gwt.user.client.rpc.SerializationException' threw an 
unexpected exception: java.lang.NullPointerException: 
java.lang.NullPointerException
  at org.drools.repository.AssetItem.updateContent(AssetItem.java:390) 
[guvnor-repository-5.4.0.Final.jar:5.4.0.Final]
  at 
org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler.storeAssetContent(BPMN2ProcessHandler.java:155)
 [classes:]
  at 
org.drools.guvnor.server.RepositoryAssetOperations.checkinVersion(RepositoryAssetOperations.java:180)
 [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
  at 
org.drools.guvnor.server.RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.java)
 [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
  at 
org.drools.guvnor.server.RepositoryAssetService.checkinVersion(RepositoryAssetService.java:155)
 [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
  at 
org.drools.guvnor.server.RepositoryAssetService$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetService$Proxy$_$$_WeldClientProxy.java)
 [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
  at 
org.drools.guvnor.server.RepositoryServiceServlet.checkinVersion(RepositoryServiceServlet.java:596)
 [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
[rt.jar:1.6.0_25]
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
[rt.jar:1.6.0_25]
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [rt.jar:1.6.0_25]
  at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_25]
  at 
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) 
[gwt-servlet-2.3.0.jar:]
  at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
 [gwt-servlet-2.3.0.jar:]
  at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
 [gwt-servlet-2.3.0.jar:]
  at 
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
 [gwt-servlet-2.3.0.jar:]
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) 
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) 
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
 [jbossweb-7.0.13.Final.jar:]
  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
 [jbossweb-7.0.13.Final.jar:]
  at 
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
 [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
 [jbossweb-7.0.13.Final.jar:]
  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
 [jbossweb-7.0.13.Final.jar:]
  at 
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
 [solder-impl-3.1.1.Final.jar:3.1.1.Final]
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
 [jbossweb-7.0.13.Final.jar:]
  at 
org.apache.catalina.core.Applic

[jboss-user] [jBPM] - Re: Design pattern for routing to multiple jBPM processes?

2013-04-01 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Design pattern for routing to multiple jBPM processes?"

To view the discussion, visit: https://community.jboss.org/message/805885#805885

--
Hey. In my opinion, it could work ok to use the audit tables (or some other 
table if you implement your own process instance listener if you have some 
problem with transactions).

But having a single node process to make the routing seems a bit unnatural in 
contrast to using rules to make it. I think using rules for this will give you 
more flexibility to add more cases into the future, and easier to understand.

My 2 cents  :) 

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/805885#805885]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Local human task service doesn't participate in a JTA transaction

2013-03-13 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Local human task service doesn't participate in a JTA transaction"

To view the discussion, visit: https://community.jboss.org/message/802494#802494

--
Hey, I suggest you try 5.3 or 5.4 and see how it goes..

5.2  local persistence was a bit different:
 
https://github.com/droolsjbpm/jbpm/blob/d75849efdb4b149e7169237a5282e7882e701f85/jbpm-human-task/src/main/java/org/jbpm/task/service/TaskServiceSession.java
 
https://github.com/droolsjbpm/jbpm/blob/d75849efdb4b149e7169237a5282e7882e701f85/jbpm-human-task/src/main/java/org/jbpm/task/service/TaskServiceSession.java
 You can see it getting the UserTransaction java:comp/UserTransaction, instead 
from 5.3 you can see there is a Task TransactionManager:
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/persistence/TaskJTATransactionManager.java
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/persistence/TaskJTATransactionManager.java

If you make some simple unit test in 5.3 or 5.4 I can take a look.

Thanks

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/802494#802494]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Latest jBPMN Console NG won't build

2013-02-15 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Latest jBPMN Console NG won't build"

To view the discussion, visit: https://community.jboss.org/message/797950#797950

--
This happened to me in Windows too, and it was solved by changing the  
https://github.com/droolsjbpm/jbpm-console-ng/blob/master/jbpm-console-ng-showcase/src/main/webapp/WEB-INF/jetty-env.xml
 jety-env.xml file. I changed it to used some specific directory in windows 
instead of ".".


jetty-btm-node0

    C:/tmp/btm1.tlog


  C:/tmp/btm2.tlog


--

Reply to this message by going to Community
[https://community.jboss.org/message/797950#797950]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Getting variable value from subprocess in JBPM Designer

2013-02-05 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Getting variable value from subprocess in JBPM Designer"

To view the discussion, visit: https://community.jboss.org/message/796126#796126

--
In the parent process, in the subprocess node, you have to map the subprocess 
variable to a parent process variable, with the output set and assignments..

HTH

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/796126#796126]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Dynamic task assignment

2013-01-15 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Dynamic task assignment"

To view the discussion, visit: https://community.jboss.org/message/792132#792132

--
I think you can create your own WorkItemHandler for the Human Task node. The 
current implemenation gets the "actorId" and "groupId" variables, but you could 
write your implementation.

In fact this handler:
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AbstractHTWorkItemHandler.java
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AbstractHTWorkItemHandler.java

could have injected the peopleAssignmentHelper, to be able to use different 
strategies.


Hope this helps,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/792132#792132]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Installed jbpm web designer in guvnor - but process is not saving

2013-01-03 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Installed jbpm web designer in guvnor - but process is not saving"

To view the discussion, visit: https://community.jboss.org/message/787329#787329

--
Hi Anthon. Do you see something in the logs?
--

Reply to this message by going to Community
[https://community.jboss.org/message/787329#787329]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Attempt to test human task API on jbpm5.4.CR1 failed

2012-11-21 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Attempt to test human task API on jbpm5.4.CR1 failed"

To view the discussion, visit: https://community.jboss.org/message/59#59

--
I see that you are using jbpm persistence:

  org.jbpm
  jbpm-persistence-jpa
  5.3.0.Final


adn jbpm human task
| 
 | 
 |  |
| 
 | 
 | 
 | org.jbpm |
| 
 | 
 | 
 | jbpm-human-task-mina |
| 
 | 
 | 
 | ${jbpm.version} |
| 
 | 
 |  |

5.4.0.CR1

You should use the same version there.. Could you please put the same versions 
there and check?

Hope this helps, 

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/59#59]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Active tasks for process instance

2012-08-24 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Active tasks for process instance"

To view the discussion, visit: https://community.jboss.org/message/755859#755859

--
You can also query the task service, something like

String query = select t from Task twhere t.taskData.status = 
org.jbpm.task.Status.Reserved and t.taskData.processInstanceId = <>
localtaskservice.query(query,...)

Regards,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/755859#755859]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


Re: [jboss-user] [jBPM] - Form Builder Setup

2012-08-16 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] commented on the 
document

"Form Builder Setup"

To view all comments on this document, visit: 
https://community.jboss.org/docs/DOC-18940#comment-10494

--
Hey Mauricio, Yes I am deploying it in Jboss AS 7.1.1. 

I have Guvnor in the same guvnor. Should it be a problem? Does the app start 
for you?

Thanks!

Demian
--

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


Re: [jboss-user] [jBPM] - Form Builder Setup

2012-08-15 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] commented on the 
document

"Form Builder Setup"

To view all comments on this document, visit: 
https://community.jboss.org/docs/DOC-18940#comment-10488

--
Hey,

I have downloaded latest code and when starting it in jboss 7 I am getting:

16:40:11,070 INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) 
JBAS016008: Starting weld service for deployment jbpm-form-builder.war
16:40:13,036 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) 
MSC1: Failed to start service 
jboss.deployment.unit."jbpm-form-builder.war".WeldService: 
org.jboss.msc.service.StartException in service 
jboss.deployment.unit."jbpm-form-builder.war".WeldService: 
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied 
dependencies for type [RulesRepository] with qualifiers [@Default] at injection 
point [[field] @Inject private org.drools.repository.remoteapi.RestAPI.repo]
  at org.jboss.as.weld.services.WeldService.start(WeldService.java:83)
  at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
 [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
  at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
 [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
  at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 [rt.jar:1.6.0_25]
  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
[rt.jar:1.6.0_25]
  at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_25]
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 
Unsatisfied dependencies for type [RulesRepository] with qualifiers [@Default] 
at injection point [[field] @Inject private 
org.drools.repository.remoteapi.RestAPI.repo]
  at 
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:275)
  at 
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
  at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
  at 
org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
  at 
org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
  at 
org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
  at 
org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
  at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
  at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
  ... 5 more


Do you know what I am missing?

Thanks

Demian
--

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: hibernate.cfg.xml not found (JBPM5 / Install.demo)

2012-08-13 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: hibernate.cfg.xml not found (JBPM5 / Install.demo)"

To view the discussion, visit: https://community.jboss.org/message/753440#753440

--
Well, there it says that Users is not mapped.

If you want to query the users from task database ( 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/User.java
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/User.java)

you can make "From User"

and when creating the EntityManagerFactory, the persistence unit name is 
"org.jbpm.task"

Jbpm uses two persistence units (you can check it in file persistence.xml, it 
should look like this  
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/resources/META-INF/persistence.xml
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/resources/META-INF/persistence.xml)
 One is for human tasks persistence, and the other for jbpm runtime entities.

Hope this helps,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/753440#753440]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: hibernate.cfg.xml not found (JBPM5 / Install.demo)

2012-08-13 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: hibernate.cfg.xml not found (JBPM5 / Install.demo)"

To view the discussion, visit: https://community.jboss.org/message/753433#753433

--
Well, I still don't understand what you are trying to achieve? What do you want 
to query?

To create a Query using JPA, you must create an EntityManager from one of the 
persistence units you have in persistence.xml.

EntityManagerFactory emf = 
Persistence.createEntityManagerFactory("org.jbpm.persistence.jpa");

and then create an entity manager that will let you create a query.

But again, it would be good to know what you are trying to do in order to help 
you.

Thanks

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/753433#753433]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: hibernate.cfg.xml not found (JBPM5 / Install.demo)

2012-08-13 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: hibernate.cfg.xml not found (JBPM5 / Install.demo)"

To view the discussion, visit: https://community.jboss.org/message/753425#753425

--
Where are you runing this query? In your app? I think that as jBPM uses JPA you 
don't use an hibernate.cfg.xml file, but a persistence.xml.

Regards,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/753425#753425]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Restart JBPM5 Process after system crash

2012-06-11 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Restart JBPM5 Process after system crash"

To view the discussion, visit: https://community.jboss.org/message/741105#741105

--
Hey,

at the moment of the "crash", the processes has been persisted? A process is 
persisted when it reaches a "wait state". I catching signal event is a wait 
state.

If so, you can simply do,
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase, 
null, env);
ksession.signalEvent("Trigger", null);

as the processes are already persisted in db.

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/741105#741105]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Getting referential integrity errors while running sample evaluation project

2012-05-14 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Getting referential integrity errors while running sample evaluation 
project"

To view the discussion, visit: https://community.jboss.org/message/735498#735498

--
Hey, how are you runing the process?

This usually means that you have not inserted some user in Task database. Are 
you adding the user? You also have to add "Administrator" user.

Thanks

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/735498#735498]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Exception when inspecting process instance variables in jbpm5 Console

2012-05-08 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Exception when inspecting process instance variables in jbpm5 Console"

To view the discussion, visit: https://community.jboss.org/message/734364#734364

--
Hi Liliana,

which exception is shown? In console and also in logs. BIRT should not be 
needed.

Thanks,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/734364#734364]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jBPM 5.2 set process instance variable from java - NullPointerException

2012-05-03 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: jBPM 5.2 set process instance variable from java - NullPointerException"

To view the discussion, visit: https://community.jboss.org/message/733587#733587

--
Hey, I don't know if it can help, but how is your *jBPMSession* at this moment? 
Are you using persistence?Have you loaded it, or just created it? Maybe this 
instance is disposed and you need to load it again? (In case you are using 
persistence).

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/733587#733587]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Unique Global Id

2012-04-28 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Unique Global Id"

To view the discussion, visit: https://community.jboss.org/message/732839#732839

--
Well, this is not the real task id. This is a node id  internally used in the 
process definition.

The task id refers to an instance of a human task, and it will be unique in the 
task service..

Hope this helps,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/732839#732839]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Unique Global Id

2012-04-28 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Unique Global Id"

To view the discussion, visit: https://community.jboss.org/message/732835#732835

--
Hey,
the id of the task is unique ( 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/main/java/org/jbpm/task/Task.java
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/main/java/org/jbpm/task/Task.java),
 you cannot have two tasks with the same task id. 
Maybe you are confusing it with the node id?

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/732835#732835]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Deploying process problem

2012-04-26 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Deploying process problem"

To view the discussion, visit: https://community.jboss.org/message/732497#732497

--
Strange. Is this 5.2, right?

It is not too much help, but maybe you can setup debug and check what it does 
in:
 
https://github.com/droolsjbpm/jbpm/blob/5.2.0.Final/jbpm-gwt/jbpm-gwt-shared/src/main/java/org/jbpm/integration/console/shared/GuvnorConnectionUtils.java
 
https://github.com/droolsjbpm/jbpm/blob/5.2.0.Final/jbpm-gwt/jbpm-gwt-shared/src/main/java/org/jbpm/integration/console/shared/GuvnorConnectionUtils.java
 line 251.

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/732497#732497]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Deploying process problem

2012-04-25 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Deploying process problem"

To view the discussion, visit: https://community.jboss.org/message/732273#732273

--
Strange..
did you buildcom.ndeveloper.demo package in guvnor?
--

Reply to this message by going to Community
[https://community.jboss.org/message/732273#732273]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Deploying process problem

2012-04-25 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Deploying process problem"

To view the discussion, visit: https://community.jboss.org/message/732262#732262

--
If you are using jbpm 5.2, I think you can add an entry in 
jbpm.console.properties:
guvnor.packages=<>,..

Hope this helps,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/732262#732262]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: JBPM Process Designer Fails to start

2012-04-24 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: JBPM Process Designer Fails to start"

To view the discussion, visit: https://community.jboss.org/message/731954#731954

--
Hi Joey,

At least for designer 2.0, I had to copy the following files to designer's 
WEB-INF/lib:

antlr-2.7.7.jar
antlr-3.3.jar
antlr-runtime-3.3.jar
log4j-1.2.12.jar

Hope this helps,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/731954#731954]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: How to handle humantask without Minaserver

2012-04-24 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: How to handle humantask without Minaserver"

To view the discussion, visit: https://community.jboss.org/message/731888#731888

--
Hi Arun, there are some other alternatives:

- A local task service, without a server,
 
https://github.com/droolsjbpm/jbpm/tree/master/jbpm-human-task/src/main/java/org/jbpm/task/service/local
 
https://github.com/droolsjbpm/jbpm/tree/master/jbpm-human-task/src/main/java/org/jbpm/task/service/local

- With HornetQ:
 
https://github.com/droolsjbpm/jbpm/tree/master/jbpm-human-task/src/main/java/org/jbpm/task/service/hornetq
 
https://github.com/droolsjbpm/jbpm/tree/master/jbpm-human-task/src/main/java/org/jbpm/task/service/hornetq

- With some other JMS implementation
 
https://github.com/droolsjbpm/jbpm/tree/master/jbpm-human-task/src/main/java/org/jbpm/task/service/jms
 
https://github.com/droolsjbpm/jbpm/tree/master/jbpm-human-task/src/main/java/org/jbpm/task/service/jms

Hope this helps,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/731888#731888]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: How to return the history of user tasks in JBPM5

2012-04-17 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: How to return the history of user tasks in JBPM5"

To view the discussion, visit: https://community.jboss.org/message/730706#730706

--
I think you can create your own TaskEventListener implementation, and then add 
it to task service with TaskService.addEventListener method.

Hope this help,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/730706#730706]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Notification and Escalation using API

2012-04-13 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Notification and Escalation using API"

To view the discussion, visit: https://community.jboss.org/message/729997#729997

--
Hi Hardik, sorry for the late response.

The problem is related to the LocalTaskService, which ends up having an entity 
manager. The escalation is executed (using a new entity manager, the task is 
reasigned, but when in line 145 you get the task, you get an outdate one (which 
is in entity manager cache I imagine).
If you add this line before line 145,
localTaskService = new LocalTaskService(taskService);
it will create a new entity manager and the test will run ok!

I know the jbpm team is looking at this issue and probably get a better 
solution.

Thanks!

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/729997#729997]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Notification and Escalation using API

2012-04-02 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Notification and Escalation using API"

To view the discussion, visit: https://community.jboss.org/message/727834#727834

--
Hi Hardik,

This example can help you:
 
https://github.com/esteban-aliverti/JBPM-Samples/blob/master/Simple-Task-Life-Cycle-Sample/src/test/java/org/plugtree/training/jbpm/EscalationProcessTest.java
 
https://github.com/esteban-aliverti/JBPM-Samples/blob/master/Simple-Task-Life-Cycle-Sample/src/test/java/org/plugtree/training/jbpm/EscalationProcessTest.java

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/727834#727834]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: How to use Content of Human Task

2012-02-28 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: How to use Content of Human Task"

To view the discussion, visit: https://community.jboss.org/message/720257#720257

--
Adding to Esteban's response.

If you need more than one variable in your task, you can avoid using *Content* 
variable, and use the *variables mappings* of the task node. 

When you execute the code Esteban posted, you will receive a map with these 
variables.

Regards,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/720257#720257]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: How to start the humantask service without using ant?

2012-02-19 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: How to start the humantask service without using ant?"

To view the discussion, visit: https://community.jboss.org/message/717790#717790

--
Hi Maria, yes, you can run it from terminal. Something like this works:
java -classpath 'task-service/target;runtime/*;runtime/lib/*;db/driver/*' 
org.jbpm.DemoTaskService

Regards,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/717790#717790]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: How to start the humantask service without using ant?

2012-02-18 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: How to start the humantask service without using ant?"

To view the discussion, visit: https://community.jboss.org/message/717734#717734

--
Hi Maria,

Here is an example which starts HornetQTask server
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/BaseHumanTaskTest.java
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/BaseHumanTaskTest.java

Hope this helps!

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/717734#717734]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Instance Log errors

2012-02-15 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Instance Log errors"

To view the discussion, visit: https://community.jboss.org/message/716828#716828

--
Hey, can you provide some unit test showing your code and reproducing the issue.

You can check this test, for example:
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/HumanTaskTest.java
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/HumanTaskTest.java
which uses process instance logs.

Check that you have instance logs classes added in persistence.xml, like this:
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/resources/META-INF/persistence.xml
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/resources/META-INF/persistence.xml

Regards,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/716828#716828]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jBMP 5.2 on jboss-5.1.0.GA

2012-02-11 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: jBMP 5.2 on jboss-5.1.0.GA"

To view the discussion, visit: https://community.jboss.org/message/716032#716032

--
Hi, check build.properties, and uncomment these lines:
#   jboss.server.version=5.1.0.GA
#   jboss.home=./jboss-${jboss.server.version}
#   jboss.download.url= http://downloads.sourceforge.net/jboss/jboss-$ 
http://downloads.sourceforge.net/jboss/jboss-${jboss.server.version}.zip
#   jboss.server.configuration=default
#   
jboss.server.deploy.dir=${jboss.home}/server/${jboss.server.configuration}/deploy
#   
jboss.server.data.dir=${jboss.home}/server/${jboss.server.configuration}/data/

Regards,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/716032#716032]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: JBPM Guvnor- TOMCAT Integration

2012-02-08 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: JBPM Guvnor- TOMCAT Integration"

To view the discussion, visit: https://community.jboss.org/message/715223#715223

--
For jbpm console, you can check this post:
 https://community.jboss.org/thread/168907 
https://community.jboss.org/thread/168907

For designer, you should provide logs (preferably without deploying jbpm 
console to make then cleaner), so see why it is not working.
I tested these steps for guvnor 5.2, last designer and tomcat 7 and worked...

Regards,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/715223#715223]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: JBPM Guvnor- TOMCAT Integration

2012-02-06 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: JBPM Guvnor- TOMCAT Integration"

To view the discussion, visit: https://community.jboss.org/message/714713#714713

--
Hi Mahi. These are the steps I used to deploy guvnor and designer into guvnor:
- Download Guvnor:  
http://download.jboss.org/drools/release/5.3.0.Final/guvnor-distribution-5.3.0.Final.zip
 
http://download.jboss.org/drools/release/5.3.0.Final/guvnor-distribution-5.3.0.Final.zip
- Extract guvnor tomcat distribution inside tomcat/webapps and rename it to 
drools-guvnor.war
- Download  
http://sourceforge.net/projects/jbpm/files/designer/designer-2.0/designer-2.0-jboss.war/download
 
http://sourceforge.net/projects/jbpm/files/designer/designer-2.0/designer-2.0-jboss.war/download,
 plate it inside tomcat/webapps and rename it to designer.war
- Start tomcat. (so that wars are exploded, you can unzil then manually if you 
want)
- Stop tomcat
- Copy the following jar files from drools-guvnor/WEB-INF/lib to tomcat/lib (or 
designer WEB-INF/lib)
antlr-2.7.7.jar
antlr-3.3.jar
antlr-runtime-3.3.jar
log4j-1.2.12.jar

-Start tomcat and should work

Hope this helps,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/714713#714713]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: CustormWorkItemEditor + ObjectDataType("MyDomainClass"): Always getting String instead of MyDomainClass in WorkItem

2012-01-31 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: CustormWorkItemEditor + ObjectDataType("MyDomainClass"): Always getting 
String instead of MyDomainClass in WorkItem"

To view the discussion, visit: https://community.jboss.org/message/649616#649616

--
Hi Sebb, 

how are you passing the parameter to the node in your bpmn file?

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/649616#649616]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: fireUntilHalt with customworkhandler

2012-01-27 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: fireUntilHalt with customworkhandler"

To view the discussion, visit: https://community.jboss.org/message/649218#649218

--
Ricardo, instead of calling fireUntilHalt, you canachieve rules to be executed 
by adding anevent listener and calling fireAllRules when a rule is activated.. 

you can see this:
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/StatefulKnowledgeSessionUtil.java
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/StatefulKnowledgeSessionUtil.java
 the method addAgendaEventListener..

Hope this helps,

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/649218#649218]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Can GroupId in an Human Task be mapped to a process variable like ActorId?

2012-01-26 Thread Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the 
discussion

"Re: Can GroupId in an Human Task be mapped to a process variable like ActorId?"

To view the discussion, visit: https://community.jboss.org/message/648985#648985

--
Hey,

yes, group id should work... You can see this test:

 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/HumanTaskTest.java
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/HumanTaskTest.java
 (test called dynamicUser)
This is the bpmn file it uses:
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/resources/dynamic-user-human-task-test.bpmn
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/resources/dynamic-user-human-task-test.bpmn

Demian
--

Reply to this message by going to Community
[https://community.jboss.org/message/648985#648985]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Assign single task to multiple actors

2012-01-06 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Assign single task to multiple actors"

To view the discussion, visit: http://community.jboss.org/message/645060#645060

--
Hi Hardik,

You can specify many actor or group ids separated by comma and they will all be 
added to potential owners. After that, onceof then can claim, work and complete 
the task. Does it help?

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/645060#645060]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jBPM-console delete all persistence data in database on first startup

2012-01-04 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: jBPM-console delete all persistence data in database on first startup"

To view the discussion, visit: http://community.jboss.org/message/644642#644642

--
Hi Davor,
check the persistence.xml inside console server war (in 
WEB-INF/classes/META-INF),
this property:  you can 
change *create* with *update*.
 
Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/644642#644642]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: TaskClient Query example ?

2012-01-04 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: TaskClient Query example ?"

To view the discussion, visit: http://community.jboss.org/message/644585#644585

--
HI Paul, this exaple does not paginate bout at least uses query method:
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/practice/QueryTasksTest.java
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/practice/QueryTasksTest.java

Regards,

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/644585#644585]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Defining users for TaskServer - jbpm5

2012-01-02 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Defining users for TaskServer - jbpm5"

To view the discussion, visit: http://community.jboss.org/message/644229#644229

--
Hi Stephen. I don't know about the user profile manager. But for 5.2, you have 
an interface called org.jbpm.task.service.UserGroupCallback. When an operation 
to task server is done it will check in the defined implementation whether the 
user or grupo exists, and get the users of the groups.

You can write an implementation of this simple interface, and set the system 
property jbpm.usergroup.callback with the name of your class (or user a 
.properties file), and then you will have the integration between your 
enterprise security framework and jbpm6.

Hope this helps,

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/644229#644229]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Best practices for cleaning the jBPM database

2011-12-27 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Best practices for cleaning the jBPM database"

To view the discussion, visit: http://community.jboss.org/message/643332#643332

--
Hi Tommer,
Do you want to delete all jbpm5 data for your local (dev) environment?  You can 
use 

hibernate.hbm2ddl.auto=create

It will drop tbales and re create then at application startup.

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/643332#643332]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Task Engine in JBPM suite

2011-12-27 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Task Engine in JBPM suite"

To view the discussion, visit: http://community.jboss.org/message/643331#643331

--
Hey,

Yes, task engine based on WS-Human Task specification is part of jBPM5.

* Does the BPM Suite provide templates to create human tasks? (If yes, please 
describe each of them briefly)
You mean forms for human tasks? This should help:  
http://blog.athico.com/2011/08/jbpm-form-builder-integration-make.html 
http://blog.athico.com/2011/08/jbpm-form-builder-integration-make.html
* Is it possible to pause and resume tasks?
Yes it is possible. You can check this operations to tasks here:  
http://docs.jboss.org/jbpm/v5.2/userguide/ch.Human_Tasks.html#d0e3781 
http://docs.jboss.org/jbpm/v5.2/userguide/ch.Human_Tasks.html#d0e3781
* Is it possible to run tasks in parallel?
Tasks are independent, so you can run tasks in paralell.
* Is it possible to accept, reject and forward tasks? (Functionality provided 
out-of-the-box?).
You can foward tasks. Accept a task would be claiming it. And I don't know 
reject.
* Is there a central task management concept/solution?
Yes. A task server is a separate concept. The jbpm runtime will communicate 
with task server to create tasks, and then you can use the task service API to 
manage tasks lyfecycle. 
(http://docs.jboss.org/jbpm/v5.2/userguide/ch.Human_Tasks.html)

Hope this helps,

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/643331#643331]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: JBPM and WebLogic - someone with success?

2011-12-20 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: JBPM and WebLogic - someone with success?"

To view the discussion, visit: http://community.jboss.org/message/642476#642476

--
Hi Thomas, I'd be glad to share it, but honestly I don't have it, it was in 
client's repository.

Anyway, to solve this issue, you should check the server exception checkinhg 
the sysout and syserr as Maciej said, or debugging this code to check the 
exception.

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/642476#642476]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: JBPM and WebLogic - someone with success?

2011-12-20 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: JBPM and WebLogic - someone with success?"

To view the discussion, visit: http://community.jboss.org/message/642460#642460

--
Strange.. I have configured jbpm into weblogic into the past. I recommend 
debugging the server (from TaskServerHandler, TaskServiceSession) classes, as 
you will find our the root cause of this "could not execute query "

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/642460#642460]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: JBPM and WebLogic - someone with success?

2011-12-20 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: JBPM and WebLogic - someone with success?"

To view the discussion, visit: http://community.jboss.org/message/642434#642434

--
Isn't there any other error log? If not, you can debug the server classes 
(TaskServerHandler for example) and check the cause of the error.

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/642434#642434]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Help!After replacing H2 to mysql, getting errors in the process tab!

2011-12-15 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Help!After replacing H2 to mysql,getting errors in the process tab!"

To view the discussion, visit: http://community.jboss.org/message/641736#641736

--
Great! I'm glad you solved it.

In jbpm 5.2 this persistence.xml was removed from human tasks jar  :) 

Thanks

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641736#641736]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Help!After replacing H2 to mysql, getting errors in the process tab!

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Help!After replacing H2 to mysql,getting errors in the process tab!"

To view the discussion, visit: http://community.jboss.org/message/641423#641423

--
If you change the database, you have to find the XA datasource of this db.

If you see in your persistence.xml, the property hibernate.hbm2ddl.auto=create 
indicates that each time the application is started the database will be 
recreated. This will make you loose all data each time you restart the 
application. If you set it to update, it will only update the changes (for 
example, if you add a column in hibernate, when you start the application the 
column will be added to the database.

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641423#641423]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Help!After replacing H2 to mysql, getting errors in the process tab!

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Help!After replacing H2 to mysql,getting errors in the process tab!"

To view the discussion, visit: http://community.jboss.org/message/641420#641420

--
Green man?  http://www.spiritandflesh.com/Green-man.gif 
http://www.spiritandflesh.com/Green-man.gif  :)  (it is late here, forgive me 
hehe).

XA datasource is a datasource that can be managed by the transaction manager. 
As jbpm5 uses JPA transactions, you need to use a data source that supports xa 
interfaces (xadatasource, xaconnection, etc).

You can try with the configuration I posted in the last message.

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641420#641420]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Help!After replacing H2 to mysql, getting errors in the process tab!

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Help!After replacing H2 to mysql,getting errors in the process tab!"

To view the discussion, visit: http://community.jboss.org/message/641418#641418

--
:) 
Could you try changing this:
com.mysql.jdbc.Driver
with this:
com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
?
Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641418#641418]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Help!After replacing H2 to mysql, getting errors in the process tab!

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Help!After replacing H2 to mysql,getting errors in the process tab!"

To view the discussion, visit: http://community.jboss.org/message/641413#641413

--
Make sure you are using mysql XA datasource. I think it is MysqlXADataSource.

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641413#641413]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Help!After replacing H2 to mysql, getting errors in the process tab!

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Help!After replacing H2 to mysql,getting errors in the process tab!"

To view the discussion, visit: http://community.jboss.org/message/641411#641411

--
Could you please share your persistence.xml and test-ds.xml?

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641411#641411]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Help!After replacing H2 to mysql, getting errors in the process tab!

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Help!After replacing H2 to mysql,getting errors in the process tab!"

To view the discussion, visit: http://community.jboss.org/message/641409#641409

--
Could you please try adding the mysql driver in jboss lib directory?

Hope this helps

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641409#641409]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jbpm-console don't start in jBPM 5.2

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: jbpm-console don't start in jBPM 5.2"

To view the discussion, visit: http://community.jboss.org/message/641304#641304

--
Hey,
I cannot see anything in the logs (could this be ba clue? 11:46:10,718 INFO  
[org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of 
"jbpm-gwt-console-server.war" was rolled back with failure message {"Services 
with missing/unavailable dependencies" => 
["jboss.persistenceunit.\"jbpm-gwt-console-server.war#org.jbpm.persistence.jpa\"
 missing [ jboss.naming.context.java.jboss.datasources.jbpmDS 
]","jboss.web.deployment.default-host./gwt-console-server.realm missing [ 
jboss.security.security-domain.jbpm-console ]"]})

I just downloaded the full installer:  
http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.2.0.Final/jbpm-5.2.0.Final-installer-full.zip/download
 
http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.2.0.Final/jbpm-5.2.0.Final-installer-full.zip/download
 and run *ant install.demo.noeclipse* and *ant start.demo.noeclipse* and worked 
(it takes some time).

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641304#641304]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jbpm-console don't start in jBPM 5.2

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: jbpm-console don't start in jBPM 5.2"

To view the discussion, visit: http://community.jboss.org/message/641284#641284

--
Hi.

After the error message you mention, you can see
.war"
11:42:55,828 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) 
Did not receive a response to the deployment operation within the allowed 
timeout period [60 seconds]. Check the server configurationfile and the server 
logs to find more about the status of the deployment.
11:42:55,828 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads 
- 2) Deployment of "drools-guvnor.war" was rolled back with failure message 
Operation cancelled
11:42:55,843 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads 
- 2) Deployment of "designer.war" was rolled back with no failure message
11:42:55,859 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) 
Did not receive a response to the deployment operation within the allowed 
timeout period [60 seconds]. Check the server configurationfile and the server 
logs to find more about the status of the deployment.

I think there are 2 log files inside jbpss as, coudl you please zip them and 
attach it to the ticket?

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641284#641284]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Combining human and automated tasks

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Combining human and automated tasks"

To view the discussion, visit: http://community.jboss.org/message/641260#641260

--
Well, I was not clear about this too :S.

Krisv kindly explained it to me in jbpm irc.

Session contains data that you inserted in working memory when using bussiness 
rules (using session.insert to insert facts), rule state and timers. Process 
instances are almost independent units.
So If you don't have anything like this in the session, you can create another 
one and it will load your process data. If not (I mean, if process state and 
session state are linked), you have to load the correct session.

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641260#641260]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Help!After replacing H2 to mysql, getting errors in the process tab!

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Help!After replacing H2 to mysql,getting errors in the process tab!"

To view the discussion, visit: http://community.jboss.org/message/641241#641241

--
Hi Jimmy. I would be good to see the full stack in the logs  :) 

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641241#641241]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: New Local human task service in JBPM5.2

2011-12-13 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: New Local human task service in JBPM5.2"

To view the discussion, visit: http://community.jboss.org/message/641223#641223

--
I thinks this test shows it:
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/test/java/org/jbpm/process/workitem/wsht/local/sync/WSHumanTaskHandlerLocalSyncTest.java
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/test/java/org/jbpm/process/workitem/wsht/local/sync/WSHumanTaskHandlerLocalSyncTest.java

Thanks

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641223#641223]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Combining human and automated tasks

2011-12-12 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Combining human and automated tasks"

To view the discussion, visit: http://community.jboss.org/message/641113#641113

--
In fact, the resume is made automatically when you complete the task.

For example,

CommandBasedWSHumanTaskHandler handler = new 
CommandBasedWSHumanTaskHandler(ksession)
...
handler.connect()
..
session.registerWorkItemHandler("Human Task", handler);

This will make that:
1) The human task listeners for task completion are registered.
2) When task is registered, the listener has the session to continue the 
process.

Now, you can make 
client.complete(taskId,...)

Now the listener (you can check it, GetResultContentResponseHandler) will be 
notified about task completion and process continued.

Hope this helps,

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641113#641113]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Combining human and automated tasks

2011-12-12 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Combining human and automated tasks"

To view the discussion, visit: http://community.jboss.org/message/641102#641102

--
Tommer,
you should keep the session id where you created the process, and then load it 
like this:
// recreate the session from database using the sessionId

ksession = JPAKnowledgeService.loadStatefulKnowledgeSession( sessionId, kbase, 
null, env );
and after using it disposing it.

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641102#641102]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: How to read external parameters from within a process?

2011-12-12 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: How to read external parameters from within a process?"

To view the discussion, visit: http://community.jboss.org/message/641047#641047

--
Hi Umar,

You should declare the variable in your process
In your bpmn file will look like this:

...

   

No matter if it is "external" or not.

In your script node you can use
 System.out.println(kcontext.getVariable("doctorsDecision"));

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/641047#641047]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Changing the port in the Eclipse Human Task View

2011-12-11 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Changing the port in the Eclipse Human Task View"

To view the discussion, visit: http://community.jboss.org/message/640920#640920

--
You can find it in Windows->Preferences->Drools Task.
Check the attached image.

Demian 
http://community.jboss.org/servlet/JiveServlet/showImage/2-640920-17507/port.png
  
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-640920-17507/450-337/port.png
--

Reply to this message by going to Community
[http://community.jboss.org/message/640920#640920]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: How to delete the process instances from Guvnor Repository

2011-12-08 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: How to delete the process instances from Guvnor Repository"

To view the discussion, visit: http://community.jboss.org/message/640551#640551

--
Hey, You mean process definitions? (Process instances are saved into database).

If you need to delete process definition, yo go the the package -> processes 
and then click on your process, go to the menu and click on "Archive".

Then go to the administration part, where you will be able to delete archived 
artifacts.

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/640551#640551]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Change process variable from domain specific (WorkItemHandler)

2011-12-07 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Change process variable from domain specific (WorkItemHandler)"

To view the discussion, visit: http://community.jboss.org/message/640462#640462

--
Hi Sam,

You have to:
-Define VAR_X as input of the node. Something like this:
 http://dcalca.files.wordpress.com/2011/05/input1.png 
http://dcalca.files.wordpress.com/2011/05/input1.png
You give it a name to use inside the workItem.

-You can get the variable from work item parameters.
public void executeWorkItem(WorkItem workItem, WorkItemManager manager) {
    workItem.getParameter("VAR_X")
 ...
}


- Define VAR_X as output of the node.
It is similar to the input

- Put this variable in the result map
Map results = new HashMap();
  results.put("VAR_X", var)

You can see that you are not directly accessing to the global variables.. you 
have inputs and outputs of each task..

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/640462#640462]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Retrieval of variable values for a process instance

2011-12-05 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Retrieval of variable values for a process instance"

To view the discussion, visit: http://community.jboss.org/message/639858#639858

--
you can also use history logs:
ProcessInstanceLog.findVariableInstances(processInstanceId)

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/639858#639858]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Exporting DDL for production

2011-12-05 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Exporting DDL for production"

To view the discussion, visit: http://community.jboss.org/message/639852#639852

--
Hey, this may help you 
 http://community.jboss.org/message/638912#638912 
http://community.jboss.org/message/638912
--

Reply to this message by going to Community
[http://community.jboss.org/message/639852#639852]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jBPM processes started from Java code dont show up in jBPM process console

2011-11-29 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: jBPM processes started from Java code dont show up in jBPM process console"

To view the discussion, visit: http://community.jboss.org/message/638934#638934

--
How is your connection string to h2?
--

Reply to this message by going to Community
[http://community.jboss.org/message/638934#638934]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jBPM processes started from Java code dont show up in jBPM process console

2011-11-29 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: jBPM processes started from Java code dont show up in jBPM process console"

To view the discussion, visit: http://community.jboss.org/message/638915#638915

--
I cannot see the image, it is small..

Do you see the processes you started from java doc in ProcessInstanceLog table?
--

Reply to this message by going to Community
[http://community.jboss.org/message/638915#638915]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jBPM processes started from Java code dont show up in jBPM process console

2011-11-29 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: jBPM processes started from Java code dont show up in jBPM process console"

To view the discussion, visit: http://community.jboss.org/message/638907#638907

--
mmm

do you have  in your persistence.xml ProcessInstanceLog, NodeInstanceLog and 
VariableInstanceLog mapped?

Do do you see information about your processes in these tables in database?

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/638907#638907]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: How to create JBPM tables in Production and UAT databases?

2011-11-29 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: How to create JBPM tables in Production and UAT databases?"

To view the discussion, visit: http://community.jboss.org/message/638872#638872

--
Hey Kiran,
AFAIK there in no script. You may be able to create it from jpa model..

Maybe this helps you

 
http://stackoverflow.com/questions/281890/hibernate-jpa-to-ddl-command-line-tools
 
http://stackoverflow.com/questions/281890/hibernate-jpa-to-ddl-command-line-tools
Using maven:  
http://users.mafr.de/~matthias/articles/generating-ddl-scripts.html 
http://users.mafr.de/~matthias/articles/generating-ddl-scripts.html

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/638872#638872]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jBPM processes started from Java code dont show up in jBPM process console

2011-11-28 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: jBPM processes started from Java code dont show up in jBPM process console"

To view the discussion, visit: http://community.jboss.org/message/638766#638766

--
Hey,

How are you starting the process from java code? Could you please paste the 
code you are using?

Jbpm console looks the processes in history logs database ( 
http://docs.jboss.org/jbpm/v5.1/userguide/ch07.html#d0e2836 
http://docs.jboss.org/jbpm/v5.1/userguide/ch07.html#d0e2836)

So make sure you are attaching the logger to the ksession:

JPAWorkingMemoryDbLogger logger = new JPAWorkingMemoryDbLogger(ksession);

Hope this helps

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/638766#638766]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Where to download the org.drools.container.spring.beans.persistence.DroolsSpringTransactionManager?

2011-11-27 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Where to download the 
org.drools.container.spring.beans.persistence.DroolsSpringTransactionManager?"

To view the discussion, visit: http://community.jboss.org/message/638520#638520

--
Kevin,

You can check this documentation:
 
http://docs.jboss.org/drools/release/5.3.0.Final/droolsjbpm-integration-docs/html_single/index.html#d0e76
 
http://docs.jboss.org/drools/release/5.3.0.Final/droolsjbpm-integration-docs/html_single/index.html#d0e76

It explain how to configure tx without this class (and with spring jta 
transaction manager)

Hope this helps

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/638520#638520]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Where to download the org.drools.container.spring.beans.persistence.DroolsSpringTransactionManager?

2011-11-26 Thread Demian Calcaprina
Demian Calcaprina [http://community.jboss.org/people/calca] created the 
discussion

"Re: Where to download the 
org.drools.container.spring.beans.persistence.DroolsSpringTransactionManager?"

To view the discussion, visit: http://community.jboss.org/message/638477#638477

--
Hey,

 
https://github.com/droolsjbpm/droolsjbpm-integration/tree/master/drools-container/drools-spring/src/main/java/org/drools/container/spring/beans/persistence
 
https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-container/drools-spring/src/main/java/org/drools/container/spring/beans/persistence/DroolsSpringTransactionManager.java

 
https://repository.jboss.org/nexus/content/repositories/releases/org/drools/drools-spring/
 
https://repository.jboss.org/nexus/content/repositories/releases/org/drools/drools-spring/

Demian
--

Reply to this message by going to Community
[http://community.jboss.org/message/638477#638477]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   >