[jBPM] - Designer not rendering service tasks correctly when loading a process
by Gareth Edwards
Gareth Edwards [https://community.jboss.org/people/garethed] created the discussion
"Designer not rendering service tasks correctly when loading a process"
To view the discussion, visit: https://community.jboss.org/message/802970#802970
--------------------------------------------------------------
JBPM version: 5.4
Drools Version 5.5.0.Final
Designer 2.4.0.Final
Hi, I have created a very simple customer work item which is just logging the data set in the task.
The service task appears correctly in the servce tasks menu with icon and appears correct when dragged into a process.
I can set it up, save it and it works correctly with my handler being called. Every thing is fine.
When I load the process to make changes, my service task is visable in the process but does not have an icon and is missing the 'extra' section of the properties.
I cannot make changes to the service task without deleting and re-adding to my workflow.
the definition is:
import org.drools.process.core.datatype.impl.type.StringDataType;
import org.drools.process.core.datatype.impl.type.IntegerDataType;
[
[
"name" : "Email",
"parameters" : [
"From" : new StringDataType(),
"To" : new StringDataType(),
"Subject" : new StringDataType(),
"Body" : new StringDataType()
],
"displayName" : "Email",
"icon" : "http://localhost:8080/drools-guvnor/rest/packages/Dev/assets/defaultemail..."
],
[
"name" : "Log",
"parameters" : [
"Message" : new StringDataType()
],
"displayName" : "Log",
"icon" : "http://localhost:8080/drools-guvnor/rest/packages/Dev/assets/defaultlogic..."
],
[
"name" : "UpdateWorkflowCurrentTask",
"parameters" : [
"taskName" : new StringDataType(),
"treatmentId" : new IntegerDataType()
],
"displayName" : "Current Workflow Task",
"icon" : "http://localhost:8080/drools-guvnor/rest/packages/globalArea/assets/dataI..."
]
]
It appears to be some kind of rendering issue.
Any ideas?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/802970#802970]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 1 month
[jBPM] - HumanTask HostName
by Balaji Subramaniam
Balaji Subramaniam [https://community.jboss.org/people/balajiora] created the discussion
"HumanTask HostName"
To view the discussion, visit: https://community.jboss.org/message/803260#803260
--------------------------------------------------------------
Using JBPM API's I am able to start the human workflow process. To retrieve the process result, I am using the below code snippet.
<code>
TaskClient taskClient = new TaskClient(new HornetQTaskClientConnector(
"client 1", new HornetQTaskClientHandler(
SystemEventListenerFactory.getSystemEventListener())));
taskClient.connect("localhost", 19191);
System.out.println("Task Connected..");
setUserGroup();
BlockingTaskSummaryResponseHandler taskSummaryResponseHandler = new BlockingTaskSummaryResponseHandler();
taskClient.getTasksAssignedAsPotentialOwner(userId, "en-UK",
taskSummaryResponseHandler);
List<TaskSummary> allTasks = taskSummaryResponseHandler.getResults();
</code>
If I change the localhost to my system host name, It's not working. Could you please suggest me the solution?
Balaji S
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/803260#803260]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 1 month
[Performance Tuning] - EJB deployment very slow in Solaris compare to Linux
by Debayan Gupta
Debayan Gupta [https://community.jboss.org/people/debayan] created the discussion
"EJB deployment very slow in Solaris compare to Linux"
To view the discussion, visit: https://community.jboss.org/message/802639#802639
--------------------------------------------------------------
Hello,
The time taken by EJB 3 deployer to deploy jars containing ejbs are very slow in Solaris. For the same load, it takes around 8 minutes to start in Solaris (N5220,32GB RAM) compare to Linux (HP G8,32 GB RAM), which takes around 2.5 minutes. Time taken mostly by following log messages :
EDT DEBUG [main] DeployersImpl - Added deployer org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryDeployer@78c8c4d8 for stage Real
.
.
.
DEBUG [main] SaxJBossXBParser - Created parser: org.apache.xerces.jaxp.SAXParserImpl@5e402d95, isNamespaceAware: true, isValidating: true..
DEBUG [main] Domain - org.jboss.classloading.spi.dependency.Domain@3a784abe{DefaultDomain} add module VFSDeploymentClassLoaderPolicyModule ejb3.deployer
All the parameter e.g min and max heap size, number of files to be deployed are same. Could anyone let me know why is this difference?
Thanks,
Debayan
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/802639#802639]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 1 month
[jBPM] - jBPM5 how to use oracle database.
by Zhao Lu
Zhao Lu [https://community.jboss.org/people/tiandaochouqin] created the discussion
"jBPM5 how to use oracle database."
To view the discussion, visit: https://community.jboss.org/message/803192#803192
--------------------------------------------------------------
When I configure mysql (mysql normal operation), I found the task of data sources can not find, but jbpm5 normal use.
Look forward to master for me to solve
16:45:36,678 ERROR [stderr] (MSC service thread 1-6) log4j:WARN No appenders could be found for logger (org.hibernate.cfg.annotations.Version).
16:45:36,678 ERROR [stderr] (MSC service thread 1-6) log4j:WARN Please initialize the log4j system properly.
16:45:36,678 ERROR [stderr] (MSC service thread 1-6) log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
16:45:37,102 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jbpm-human-task-war]] (MSC service thread 1-6) StandardWrapper.Throwable: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677) [hibernate-entitymanager-3.4.0.GA.jar:]
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126) [hibernate-entitymanager-3.4.0.GA.jar:]
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
at org.jbpm.task.servlet.HumanTaskServiceServlet.init(HumanTaskServiceServlet.java:105) [classes:]
at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3631) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3844) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
Caused by: org.hibernate.HibernateException: Could not find datasource
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) [hibernate-entitymanager-3.4.0.GA.jar:]
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) [hibernate-annotations-3.4.0.GA.jar:]
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) [hibernate-entitymanager-3.4.0.GA.jar:]
... 15 more
Caused by: java.lang.IllegalStateException
at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:116)
at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:43)
at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1216)
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:111)
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:73)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:57)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:209)
at javax.naming.InitialContext.lookup(InitialContext.java:392) [:1.6.0_24]
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75) [hibernate-core-3.3.2.GA.jar:]
... 23 more
16:45:37,104 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jbpm-human-task-war]] (MSC service thread 1-6) Servlet /jbpm-human-task-war threw load() exception: java.lang.IllegalStateException
at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:116)
at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:43)
at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1216)
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:111)
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:73)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:57)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:209)
at javax.naming.InitialContext.lookup(InitialContext.java:392) [:1.6.0_24]
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) [hibernate-entitymanager-3.4.0.GA.jar:]
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) [hibernate-annotations-3.4.0.GA.jar:]
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) [hibernate-entitymanager-3.4.0.GA.jar:]
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126) [hibernate-entitymanager-3.4.0.GA.jar:]
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
at org.jbpm.task.servlet.HumanTaskServiceServlet.init(HumanTaskServiceServlet.java:105) [classes:]
at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3631) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3844) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/803192#803192]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 1 month