cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti and Modeler Source Code

nirvana
Champ in-the-making
Champ in-the-making
Hi

Where can I find the activiti and activiti-modeler(KIS BPM) source code ?

Regards,
Nirvana
7 REPLIES 7

martin_grofcik
Confirmed Champ
Confirmed Champ

nirvana
Champ in-the-making
Champ in-the-making
Thanks Martin.

Can anyone please help me with the activit source modules hierarchical dependency.
Also I'm unable to compile the code.

I just need to implement SSO on top of activiti-explorer. As per few posts in this forum I've understood that I need to make some changes in  ExplorerApp.java, and also need to remove the default actviti login page and redirect it to home page instead.
so what all modules I need to check for compressing as activiti-explorer.war.

I'm very much confused for creating a activiti-explorer.war back with the changes.

Any help is appreciated.
Thanks in advance.

Regards,
Nirvana

frederikherema1
Star Contributor
Star Contributor
The activiti-explorer project contains the actual java-sources for the explorer-application. The activiti-webapp-explorer-2 just takes the activity-explorer as a dependency and adds the correct web.xml to it.

If you want to customize the source-code of the activity explorer, you shoud modify the activiti-explorer module.
If you want to add custom classes to the webapp, set your java-module as e dependency of activiti-webapp-explorer, and do the needed wiring of the customizations in the appropriate applicationContext.xml-file.

nirvana
Champ in-the-making
Champ in-the-making
Thanks frederikheremans for quick response and solution.

I made few changes in ExplorerApp.java and and build all the modules.

when I tried deploying the activiti-web-explorer2.war in jboss7.1.1 got the following exception.
Where did I go wrong or is there anything I still need to complete ?
Can you help me out with the following exception.


16:54:06,148 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'moduleName=groovy-all' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
16:54:06,148 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'moduleVersion=2.1.3' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
16:54:06,148 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'extensionClasses=org.codehaus.groovy.jsr223.ScriptExtensions,org.codehaus.groovy.runtime.SqlGroovyMethods,org.codehaus.groovy.runtime.SwingGroovyMethods,org.codehaus.groovy.runtime.XmlGroovyMethods' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
16:54:06,148 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'staticExtensionClasses=org.codehaus.groovy.jsr223.ScriptStaticExtensions' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
16:54:06,163 INFO  [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for Activiti - Engine
16:54:06,335 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."activiti-webapp-explorer2-5.14-SNAPSHOT.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."activiti-webapp-explorer2-5.14-SNAPSHOT.war".INSTALL: Failed to process phase INSTALL of deployment "activiti-webapp-explorer2-5.14-SNAPSHOT.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
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_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
Caused by: org.jboss.as.controller.PathElement$OperationClientIllegalArgumentException: JBAS014719: Invalid value specification activiti-webapp-explorer2-5.14-SNAPSHOT.war#Activiti - Engine
at org.jboss.as.controller.PathElement.<init>(PathElement.java:91) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.PathElement.pathElement(PathElement.java:70) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.registry.PlaceholderResource$PlaceholderResourceEntry.<init>(PlaceholderResource.java:138) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.jpa.hibernate4.management.HibernateStatisticsResource.<init>(HibernateStatisticsResource.java:56)
at org.jboss.as.jpa.hibernate4.management.HibernateManagementAdaptor.createPersistenceUnitResource(HibernateManagementAdaptor.java:136)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addManagementConsole(PersistenceUnitDeploymentProcessor.java:675)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deployPersistenceUnit(PersistenceUnitDeploymentProcessor.java:380)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUnitDeploymentProcessor.java:258)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleWarDeployment(PersistenceUnitDeploymentProcessor.java:194)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeploymentProcessor.java:118)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
… 5 more

16:54:06,335 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "activiti-webapp-explorer2-5.14-SNAPSHOT.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"activiti-webapp-explorer2-5.14-SNAPSHOT.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"activiti-webapp-explorer2-5.14-SNAPSHOT.war\".INSTALL: Failed to process phase INSTALL of deployment \"activiti-webapp-explorer2-5.14-SNAPSHOT.war\""}}
16:54:13,382 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment activiti-webapp-explorer2-5.14-SNAPSHOT.war in 7046ms
16:54:13,382 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."activiti-webapp-explorer2-5.14-SNAPSHOT.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."activiti-webapp-explorer2-5.14-SNAPSHOT.war".INSTALL: Failed to process phase INSTALL of deployment "activiti-webapp-explorer2-5.14-SNAPSHOT.war"

16:54:13,397 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"activiti-webapp-explorer2-5.14-SNAPSHOT.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"activiti-webapp-explorer2-5.14-SNAPSHOT.war\".INSTALL: Failed to process phase INSTALL of deployment \"activiti-webapp-explorer2-5.14-SNAPSHOT.war\""}}}}

Thanks in advance.

Regards,
Nirvana

jbarrez
Star Contributor
Star Contributor
Seems to be an error in groovy dependency in the jboss modules config…?

ramihemang90
Champ in-the-making
Champ in-the-making
I want to edit KIS BPM activiti modeler. I want to give support for generating form based on some crm fields.
I want the source code for KIS BPM and wanted to know about how they generate form.
Please guide me for same.

trademak
Star Contributor
Star Contributor
Hi Hemang,

Are you referring to the Activiti Modeler? This component allows you to define form properties which are transformed into a task form by the Activiti Explorer. These form property types are extendable, so you can add your own types to it.
The source code is available here:

https://github.com/Activiti/Activiti/tree/master/modules/activiti-webapp-explorer2

Best regards,