[Beginner's Corner] - LdapExtLoginModule Bad Password causing AD accounts to lock out
by Drew Koenig
Drew Koenig [https://community.jboss.org/people/binaryblogger] created the discussion
"LdapExtLoginModule Bad Password causing AD accounts to lock out"
To view the discussion, visit: https://community.jboss.org/message/787420#787420
--------------------------------------------------------------
I have 4 JBOSS servers all showing the same behavior. For an unknows reason, and from the user perspective it's random, the JBOSS app server will try to auth the user to AD, fail three times in about a second and lock the user's account. But once we unlock and never touch JBOSS it may be a few hours or days before it happens to the same user again. I see the lockouts happening on both the primary and seconday AD domains controllers. No matter what we try it still happens and we can't figure out why since there is no pattern or clear reason/trigger to this happening. But it happens regularly just not to the same users.
Here's the error in the log.
2013-01-03 06:32:13,869 DEBUG [org.jboss.security.auth.spi.LdapExtLoginModule] Bad password for username=username111
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1
The I see the lockout reason
2013-01-03 06:32:14,955 DEBUG [org.jboss.security.auth.spi.LdapExtLoginModule] Bad password for username=username111
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 775, v1db1
Here's my login-config.xml for the AD connection.
<application-policy name="AppName">
<authentication>
<login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required">
<module-option name="unauthenticatedIdentity">anonymous</module-option>
<module-option name="java.naming.provider.url">ldap://AD-Corp-Primary.domain.com:389 ldap://AD-Corp-Secondary.domain.com:389/</module-option>
<module-option name="java.naming.security.authentication">simple</module-option>
<module-option name="bindDN">AppUserLDAP</module-option>
<module-option name="bindCredential">hlnYulDMZaK77Cxq4VvHY</module-option>
<module-option name="jaasSecurityDomain">jboss.security:service=JaasSecurityDomain,domain=LdapPassword</module-option>
<module-option name="baseCtxDN">dc=corporate,dc=domain,dc=com</module-option>
<module-option name="baseFilter">(sAMAccountName={0})</module-option>
<module-option name="rolesCtxDN">ou=Resources,ou=Users and Groups,dc=corporate,dc=domain,dc=com</module-option>
<module-option name="roleFilter">(member={1})</module-option>
<module-option name="roleAttributeID">memberOf</module-option>
<module-option name="roleAttributeIsDN">true</module-option>
<module-option name="roleRecursion">1</module-option>
<module-option name="searchScope">SUBTREE_SCOPE</module-option>
<module-option name="searchTimeLimit">30000</module-option>
<module-option name="defaultRole">HttpInvoker</module-option>
<module-option name="allowEmptyPasswords">false</module-option>
</login-module>
</authentication>
</application-policy>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/787420#787420]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months
[JBoss Web Services] - MustUnderstand error with security
by John Ament
John Ament [https://community.jboss.org/people/meetoblivion] created the discussion
"MustUnderstand error with security"
To view the discussion, visit: https://community.jboss.org/message/787399#787399
--------------------------------------------------------------
Hi All
I am trying to build out a Security based web service, based on this example:
https://docs.jboss.org/author/display/JBWS/WS-Security#WS-Security-Authen... https://docs.jboss.org/author/display/JBWS/WS-Security#WS-Security-Authen...
When I follow this example, I try to post a document to the deployed service. Here is that document:
Headers: {accept-encoding=[gzip,deflate], Authorization=[Basic am9obi5kLmFtZW50QGdtYWlsLmNvbTphYmMxMjM=], connection=[Keep-Alive], Content-Length=[1059], content-type=[text/xm
l;charset=UTF-8], host=[SSI11021:8082], SOAPAction=[""], user-agent=[Apache-HttpClient/4.1.1 (java 1.5)]}
Payload: <soapenv:Envelope xmlns:sec=" http://secure.mycompany.com/ http://secure.mycompany.com/" xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext... http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext..."
xmlns:wsu=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit... http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit...">
<wsse:UsernameToken wsu:Id="UsernameToken-6">
<wsse:Username>myusername</wsse:Username>
<wsse:Password Type=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-pr... http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-pr...">aCuq2iVcyJ5AvUBw/FLrBkjNpgM=</wsse:Password>
<wsse:NonceEncodingType=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-secu... http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-secu...">rm4xHQrLQiO+9Zdf2nIA2Q==</wsse:Nonce>
<wsu:Created>2013-01-03T17:40:43.245Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<sec:sayHello>
<!--Optional:-->
<arg0>Bob</arg0>
</sec:sayHello>
</soapenv:Body>
</soapenv:Envelope>
12:40:43,493 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (http--0.0.0.0-8082-2) Interceptor for { http://secure.mycompany.com/ http://secure.mycompany.com/}ServiceImplService#{ http://secure.mycompany.com/ http://secure.mycompany.com/}sayHello has thrown exception, unwinding now: org.apache.cxf.binding.soap.SoapFault: MustUnderstand headers: [{ http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext... http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext...] are not understood.
This results in no credentials being passed to the webservice.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/787399#787399]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months
[jBPM] - Why is ProcessInstanceInfo emptied after process ends?
by Laura delli Paoli
Laura delli Paoli [https://community.jboss.org/people/lauradp] created the discussion
"Why is ProcessInstanceInfo emptied after process ends?"
To view the discussion, visit: https://community.jboss.org/message/787095#787095
--------------------------------------------------------------
Hello everybody,
I succeeded in filling jbpm5 ProcessInstanceInfo table while process is running, but when process ends the db record is deleted.
When a new process is created, its processId is correctly different from its predecessors.
Is this the expected behaviour? I was expecting to have these data permanently stored in ProcessInstanceInfo table!
Here's my persistence.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<persistence version="2.0"
xmlns=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="org.jbpm.persistence.jpa" transaction-type="JTA">
<jta-data-source>java:/jdbc/jbpm-ds</jta-data-source>
<mapping-file>META-INF/JBPMorm-JPA2.xml</mapping-file>
<class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>
<class>org.jbpm.persistence.processinstance.ProcessInstanceLog</class>
<class>org.drools.persistence.info.SessionInfo</class>
<class>org.drools.persistence.info.WorkItemInfo</class>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
<property name="hibernate.hbm2ddl.auto" value="update" />
</properties>
</persistence-unit>
<persistence-unit name="org.jbpm.task">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<mapping-file>META-INF/Taskorm-JPA2.xml</mapping-file>
<class>org.jbpm.task.Attachment</class>
<class>org.jbpm.task.Content</class>
<class>org.jbpm.task.BooleanExpression</class>
<class>org.jbpm.task.Comment</class>
<class>org.jbpm.task.Deadline</class>
<class>org.jbpm.task.Comment</class>
<class>org.jbpm.task.Deadline</class>
<class>org.jbpm.task.Delegation</class>
<class>org.jbpm.task.Escalation</class>
<class>org.jbpm.task.Group</class>
<class>org.jbpm.task.I18NText</class>
<class>org.jbpm.task.Notification</class>
<class>org.jbpm.task.EmailNotification</class>
<class>org.jbpm.task.EmailNotificationHeader</class>
<class>org.jbpm.task.PeopleAssignments</class>
<class>org.jbpm.task.Reassignment</class>
<class>org.jbpm.task.Status</class>
<class>org.jbpm.task.Task</class>
<class>org.jbpm.task.TaskData</class>
<class>org.jbpm.task.SubTasksStrategy</class>
<class>org.jbpm.task.OnParentAbortAllSubTasksEndStrategy</class>
<class>org.jbpm.task.OnAllSubTasksEndParentEndStrategy</class>
<class>org.jbpm.task.User</class>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
<property name="hibernate.max_fetch_depth" value="3"/>
<property name="hibernate.hbm2ddl.auto" value="update" />
<property name="hibernate.show_sql" value="false" />
<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" />
<property name="hibernate.id.new_generator_mappings" value="false" />
</properties>
</persistence-unit>
</persistence>
Laura
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/787095#787095]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months
[jBPM] - Process Session ID always 0 in database
by Gareth Edwards
Gareth Edwards [https://community.jboss.org/people/garethed] created the discussion
"Process Session ID always 0 in database"
To view the discussion, visit: https://community.jboss.org/message/787380#787380
--------------------------------------------------------------
Hello,
I am starting a jbpm process using the following code:
KnowledgeBase kbase = readKnowledgeBase();
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
AsyncHornetQHTWorkItemHandler workItemHandler = new AsyncHornetQHTWorkItemHandler(ksession);
workItemHandler.setIpAddress("10.0.0.101");
ksession.getWorkItemManager().registerWorkItemHandler("Human Task", workItemHandler);
Map<String, Object> params = new HashMap<String, Object>();
params.put("employee", "krisv");
ksession.startProcess("defaultPackage.YesNo",params);
The first time through the process works fine.
Running the process again seems to log the results from the previous run through and throws an exception.
8 03/01 16:13:41,694[Thread-1] ERROR service.hornetq.HornetQTaskClientConnector.run - Client Exception with class class org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1 using port 5153
java.lang.ClassCastException: org.jbpm.process.workitem.wsht.AsyncGenericHTWorkItemHandler$TaskAddedHandler cannot be cast to org.jbpm.task.service.TaskClientHandler$GetTaskResponseHandler
at org.jbpm.task.service.TaskClientHandler.messageReceived(TaskClientHandler.java:75)
at org.jbpm.task.service.hornetq.HornetQTaskClientHandler.messageReceived(HornetQTaskClientHandler.java:56)
at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:122)
at java.lang.Thread.run(Thread.java:722)
Verified
Verified:true
If I drop the jbpm5 schema and recreate it then it works fine again.
>From looking in the task table I see that the processsessionid is always 0.
I'm using postgres as my database but I don't think that is the problem.
I am creating the session on a different machine to the server that is running jBoss for development purposes if that makes a difference.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/787380#787380]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months
[jBPM] - Could not commit session: java.lang.NullPointerException after start process, start task and complete task in one method
by franco80
franco80 [https://community.jboss.org/people/franco80] created the discussion
"Could not commit session: java.lang.NullPointerException after start process, start task and complete task in one method"
To view the discussion, visit: https://community.jboss.org/message/787295#787295
--------------------------------------------------------------
Hello all,
(Jbpm 5.3, JPA2, Jboss 7.1.1)
sometimes I get an exception when create a process, start a task, and the task is completed. The whole is carried out in a single method. Any ideas what is wrong ?
Code with null pointer:
public Process getProcess() {
if (this.process == null) {
line 67 --> this.process = kruntime.getKnowledgeBase().getProcess(processId);
}
return this.process;
}
11:03:22,889 ERROR [org.drools.persistence.SingleSessionCommandService] (NioProcessor-4) Could not commit session: java.lang.NullPointerException
at org.jbpm.process.instance.impl.ProcessInstanceImpl.getProcess(ProcessInstanceImpl.java:67) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.getWorkflowProcess(WorkflowProcessInstanceImpl.java:181) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.getNodeContainer(WorkflowProcessInstanceImpl.java:69) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.getNode(NodeInstanceImpl.java:101) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.resolveContext(NodeInstanceImpl.java:217) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.resolveContextInstance(NodeInstanceImpl.java:221) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:206) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.workflow.instance.node.HumanTaskNodeInstance.triggerCompleted(HumanTaskNodeInstance.java:90) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:301) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:277) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:326) [jbpm-flow-5.3.0.Final.jar:5.3.0.Final]
at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:121) [drools-persistence-jpa-5.4.0.Final.jar:5.4.0.Final]
at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:69) [drools-core-5.4.0.Final.jar:5.4.0.Final]
at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:32) [drools-core-5.4.0.Final.jar:5.4.0.Final]
at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36) [drools-core-5.4.0.Final.jar:5.4.0.Final]
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:367) [drools-persistence-jpa-5.4.0.Final.jar:5.4.0.Final]
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150) [drools-core-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler$GetResultContentResponseHandler.execute(CommandBasedWSHumanTaskHandler.java:364) [jbpm-human-task-mina-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.task.service.TaskClientHandler.messageReceived(TaskClientHandler.java:153) [jbpm-human-task-core-5.3.0.Final.jar:5.3.0.Final]
at org.jbpm.task.service.mina.MinaTaskClientHandler.messageReceived(MinaTaskClientHandler.java:47) [jbpm-human-task-mina-5.3.0.Final.jar:5.3.0.Final]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969) [mina-core-2.0.0-RC1.jar:]
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.0-RC1.jar:]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
11:03:23,254 ERROR [stderr] (NioProcessor-4) java.lang.NullPointerException
11:03:23,255 ERROR [stderr] (NioProcessor-4) at org.jbpm.process.instance.impl.ProcessInstanceImpl.getProcess(ProcessInstanceImpl.java:67)
11:03:23,256 ERROR [stderr] (NioProcessor-4) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.getWorkflowProcess(WorkflowProcessInstanceImpl.java:181)
11:03:23,257 ERROR [stderr] (NioProcessor-4) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.getNodeContainer(WorkflowProcessInstanceImpl.java:69)
11:03:23,257 ERROR [stderr] (NioProcessor-4) at org.jbpm.workflow.instance.impl.NodeInstanceImpl.getNode(NodeInstanceImpl.java:101)
11:03:23,258 ERROR [stderr] (NioProcessor-4) at org.jbpm.workflow.instance.impl.NodeInstanceImpl.resolveContext(NodeInstanceImpl.java:217)
11:03:23,259 ERROR [stderr] (NioProcessor-4) at org.jbpm.workflow.instance.impl.NodeInstanceImpl.resolveContextInstance(NodeInstanceImpl.java:221)
11:03:23,260 ERROR [stderr] (NioProcessor-4) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:206)
11:03:23,261 ERROR [stderr] (NioProcessor-4) at org.jbpm.workflow.instance.node.HumanTaskNodeInstance.triggerCompleted(HumanTaskNodeInstance.java:90)
11:03:23,262 ERROR [stderr] (NioProcessor-4) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:301)
11:03:23,263 ERROR [stderr] (NioProcessor-4) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:277)
11:03:23,264 ERROR [stderr] (NioProcessor-4) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:326)
11:03:23,265 ERROR [stderr] (NioProcessor-4) at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:121)
11:03:23,266 ERROR [stderr] (NioProcessor-4) at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:69)
11:03:23,267 ERROR [stderr] (NioProcessor-4) at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:32)
11:03:23,267 ERROR [stderr] (NioProcessor-4) at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
11:03:23,268 ERROR [stderr] (NioProcessor-4) at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:367)
11:03:23,269 ERROR [stderr] (NioProcessor-4) at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150)
11:03:23,270 ERROR [stderr] (NioProcessor-4) at org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler$GetResultContentResponseHandler.execute(CommandBasedWSHumanTaskHandler.java:364)
11:03:23,271 ERROR [stderr] (NioProcessor-4) at org.jbpm.task.service.TaskClientHandler.messageReceived(TaskClientHandler.java:153)
11:03:23,272 ERROR [stderr] (NioProcessor-4) at org.jbpm.task.service.mina.MinaTaskClientHandler.messageReceived(MinaTaskClientHandler.java:47)
11:03:23,273 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)
11:03:23,274 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
11:03:23,275 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
11:03:23,276 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
11:03:23,277 ERROR [stderr] (NioProcessor-4) at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)
11:03:23,278 ERROR [stderr] (NioProcessor-4) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)
11:03:23,279 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
11:03:23,280 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
11:03:23,281 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
11:03:23,282 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
11:03:23,283 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
11:03:23,284 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
11:03:23,285 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638)
11:03:23,285 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)
11:03:23,286 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)
11:03:23,287 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)
11:03:23,288 ERROR [stderr] (NioProcessor-4) at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)
11:03:23,289 ERROR [stderr] (NioProcessor-4) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
11:03:23,290 ERROR [stderr] (NioProcessor-4) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
11:03:23,290 ERROR [stderr] (NioProcessor-4) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
11:03:23,291 ERROR [stderr] (NioProcessor-4) at java.lang.Thread.run(Thread.java:722)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/787295#787295]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months
[jBPM] - Correct workflow for creating bpmn2 processes
by Gareth Edwards
Gareth Edwards [https://community.jboss.org/people/garethed] created the discussion
"Correct workflow for creating bpmn2 processes"
To view the discussion, visit: https://community.jboss.org/message/785260#785260
--------------------------------------------------------------
Hi,
What is the recommended workflow for creating bpmn2 diagrams.
I find that I can start a diagram with the eclipse plugin (either one) and check it in to the guvnor. I can edit it with the drools-guvnor web app.
After a while, I think after using the latest bpmn2 plugin, the web editor start complaining about ...Caused by: java.lang.ClassCastException: The feature 'processAnalysisData's type 'ProcessAnalysisDataType' does not permit a value of type 'AnyType'
and the diagram will not display using drools-guvnor.
They seem inconsistent with each other. Some process editors are better for adding variables etc.
Some nice how-to guides would be nice.
Somebody must have had success. I'm not doing anything complicated yet.
Maybe I should ditch the latest eclipse plugin.
Gareth.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/785260#785260]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months