cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Webapp Explorer Pallete(Tools) are not coming

chandanmb
Champ in-the-making
Champ in-the-making
We took the source code of Activiti community edition and we successfully build the project.
We have war file named “activiti-webapp-explorer2-5.20.0-SNAPSHOT” and we deployed it in tomcat and successfully able to see the login screen.

When we are trying to create the model, pallete with all the components are not visible.
Are we missing something ? Please suggest
9 REPLIES 9

hari
Star Contributor
Star Contributor
Hi Chandan,

What do you see in logs ?

chandanmb
Champ in-the-making
Champ in-the-making
Hello ,
Sorry for asking very basic question. Where i can get the log.
This is my console visibility.

10:52:09,526 [localhost-startStop-1] INFO  org.springframework.web.context.support.AnnotationConfigWebApplicationContext  - Refreshing Root WebApplicationContext: startup date [Wed Mar 23 10:52:09 IST 2016]; root of context hierarchy
10:52:09,805 [localhost-startStop-1] INFO  org.springframework.web.context.support.AnnotationConfigWebApplicationContext  - Registering annotated classes: [class org.activiti.explorer.conf.ApplicationConfiguration]
10:52:10,081 [localhost-startStop-1] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from class path resource [activiti-ui-context.xml]
10:52:10,222 [localhost-startStop-1] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from class path resource [activiti-login-context.xml]
10:52:10,244 [localhost-startStop-1] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from class path resource [activiti-custom-context.xml]
10:52:10,498 [localhost-startStop-1] INFO  org.springframework.beans.factory.config.PropertyPlaceholderConfigurer  - Loading properties file from class path resource [ui.properties]
10:52:12,810 [localhost-startStop-1] INFO  org.activiti.engine.impl.db.DbSqlSession  - performing create on engine with resource org/activiti/db/create/activiti.h2.create.engine.sql
10:52:12,883 [localhost-startStop-1] INFO  org.activiti.engine.impl.db.DbSqlSession  - performing create on history with resource org/activiti/db/create/activiti.h2.create.history.sql
10:52:12,894 [localhost-startStop-1] INFO  org.activiti.engine.impl.db.DbSqlSession  - performing create on identity with resource org/activiti/db/create/activiti.h2.create.identity.sql
10:52:12,900 [localhost-startStop-1] INFO  org.activiti.engine.impl.ProcessEngineImpl  - ProcessEngine default created
10:52:12,903 [localhost-startStop-1] INFO  org.activiti.engine.impl.asyncexecutor.AbstractAsyncJobExecutor  - Starting up the default async job executor [org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor].
10:52:12,908 [localhost-startStop-1] INFO  org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor  - Creating thread pool queue of size 100
10:52:12,908 [localhost-startStop-1] INFO  org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor  - Creating executor service with corePoolSize 2, maxPoolSize 10 and keepAliveTime 5000
10:52:12,915 [Thread-7] INFO  org.activiti.engine.impl.asyncexecutor.AcquireAsyncJobsDueRunnable  - starting to acquire async jobs due
10:52:12,915 [Thread-6] INFO  org.activiti.engine.impl.asyncexecutor.AcquireTimerJobsRunnable  - starting to acquire async jobs due
10:52:13,010 [localhost-startStop-1] INFO  org.activiti.explorer.conf.DemoDataConfiguration  - Initializing demo groups
10:52:13,092 [localhost-startStop-1] INFO  org.activiti.explorer.conf.DemoDataConfiguration  - Initializing demo users
10:52:13,159 [localhost-startStop-1] INFO  org.activiti.explorer.conf.DemoDataConfiguration  - Initializing demo process definitions
10:52:13,177 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/Helpdesk.png
10:52:13,178 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/Helpdesk.bpmn20.xml
10:52:13,460 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/VacationRequest.png
10:52:13,460 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/FixSystemFailureProcess.png
10:52:13,460 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/createTimersProcess.bpmn20.xml
10:52:13,535 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/FixSystemFailureProcess.bpmn20.xml
10:52:13,580 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/simple-approval.bpmn20.xml
10:52:13,953 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/VacationRequest.bpmn20.xml
10:52:13,986 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/reviewSalesLead.bpmn20.xml
10:52:14,273 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/reports/processInstanceOverview.bpmn20.xml
10:52:14,302 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/reports/helpdeskFirstLineVsEscalated.bpmn20.xml
10:52:14,332 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/reports/employeeProductivity.bpmn20.xml
10:52:14,357 [localhost-startStop-1] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource org/activiti/explorer/demo/process/reports/taskDurationForProcessDefinition.bpmn20.xml
10:52:14,395 [localhost-startStop-1] INFO  org.activiti.explorer.conf.DemoDataConfiguration  - Initializing demo models
10:52:14,436 [localhost-startStop-1] INFO  org.activiti.explorer.conf.DemoDataConfiguration  - Initializing demo report data
10:52:14,454 [Thread-78] INFO  org.activiti.engine.impl.asyncexecutor.AbstractAsyncJobExecutor  - Shutting down the default async job executor [org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor].
10:52:14,460 [Thread-7] INFO  org.activiti.engine.impl.asyncexecutor.AcquireAsyncJobsDueRunnable  - stopped async job due acquisition
10:52:14,464 [Thread-6] INFO  org.activiti.engine.impl.asyncexecutor.AcquireTimerJobsRunnable  - stopped async job due acquisition
10:52:14,835 [localhost-startStop-1] INFO  org.springframework.web.servlet.DispatcherServlet  - FrameworkServlet 'dispatcher': initialization started
Mar 23, 2016 10:52:14 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'dispatcher'
10:52:14,839 [localhost-startStop-1] INFO  org.springframework.web.context.support.AnnotationConfigWebApplicationContext  - Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Wed Mar 23 10:52:14 IST 2016]; parent: Root WebApplicationContext
10:52:14,844 [localhost-startStop-1] INFO  org.springframework.web.context.support.AnnotationConfigWebApplicationContext  - Registering annotated classes: [class org.activiti.explorer.servlet.DispatcherServletConfiguration]
10:52:15,176 [localhost-startStop-1] INFO  org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker  - Bean 'org.springframework.scheduling.annotation.ProxyAsyncConfiguration' of type [class org.springframework.scheduling.annotation.ProxyAsyncConfiguration$$EnhancerBySpringCGLIB$$291bffc7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
10:52:15,505 [localhost-startStop-1] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping  - Mapped "{[/editor/stencilset],methods=[GET],params=[],headers=[],consumes=[],produces=[application/json;charset=utf-8],custom=[]}" onto public java.lang.String org.activiti.rest.editor.main.StencilsetRestResource.getStencilset()
10:52:15,506 [localhost-startStop-1] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping  - Mapped "{[/model/{modelId}/json],methods=[GET],params=[],headers=[],consumes=[],produces=[application/json],custom=[]}" onto public com.fasterxml.jackson.databind.node.ObjectNode org.activiti.rest.editor.model.ModelEditorJsonRestResource.getEditorJson(java.lang.String)
10:52:15,506 [localhost-startStop-1] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping  - Mapped "{[/model/{modelId}/save],methods=[PUT],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public void org.activiti.rest.editor.model.ModelSaveRestResource.saveModel(java.lang.String,org.springframework.util.MultiValueMap<java.lang.String, java.lang.String>)
10:52:15,507 [localhost-startStop-1] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping  - Mapped "{[/process-definition/{processDefinitionId}/diagram-layout],methods=[GET],params=[],headers=[],consumes=[],produces=[application/json],custom=[]}" onto public com.fasterxml.jackson.databind.node.ObjectNode org.activiti.rest.diagram.services.ProcessDefinitionDiagramLayoutResource.getDiagram(java.lang.String)
10:52:15,507 [localhost-startStop-1] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping  - Mapped "{[/process-instance/{processInstanceId}/diagram-layout],methods=[GET],params=[],headers=[],consumes=[],produces=[application/json],custom=[]}" onto public com.fasterxml.jackson.databind.node.ObjectNode org.activiti.rest.diagram.services.ProcessInstanceDiagramLayoutResource.getDiagram(java.lang.String)
10:52:15,508 [localhost-startStop-1] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping  - Mapped "{[/process-instance/{processInstanceId}/highlights],methods=[GET],params=[],headers=[],consumes=[],produces=[application/json],custom=[]}" onto public com.fasterxml.jackson.databind.node.ObjectNode org.activiti.rest.diagram.services.ProcessInstanceHighlightsResource.getHighlighted(java.lang.String)
10:52:16,244 [localhost-startStop-1] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter  - Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date [Wed Mar 23 10:52:14 IST 2016]; parent: Root WebApplicationContext
10:52:16,927 [localhost-startStop-1] INFO  org.springframework.web.servlet.DispatcherServlet  - FrameworkServlet 'dispatcher': initialization completed in 2092 ms
Mar 23, 2016 10:52:17 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Mar 23, 2016 10:52:17 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Mar 23, 2016 10:52:17 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 13214 ms
10:52:19,456 [Thread-78] INFO  org.activiti.engine.impl.asyncexecutor.AbstractAsyncJobExecutor  - Starting up the default async job executor [org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor].
10:52:19,457 [Thread-78] INFO  org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor  - Creating executor service with corePoolSize 2, maxPoolSize 10 and keepAliveTime 5000
10:52:19,557 [Thread-78] INFO  org.activiti.explorer.conf.DemoDataConfiguration  - Demo report data generated
10:52:19,589 [Thread-458] INFO  org.activiti.engine.impl.asyncexecutor.AcquireTimerJobsRunnable  - starting to acquire async jobs due
10:52:19,592 [Thread-459] INFO  org.activiti.engine.impl.asyncexecutor.AcquireAsyncJobsDueRunnable  - starting to acquire async jobs due

jbarrez
Star Contributor
Star Contributor
No errors to be seen. Do you see the same thing on different browsers?

Hello,
i checked by firebug,
It is showing
http://localhost:8080/activiti-explorer/service/model/1522/json 404 Not Found

I think this is the root cause for not showing pallete in the browser.
Any suggestions

i checked it in firebug,
It is showing
http://localhost:8080/activiti-explorer/service/model/1522/json 404 Not Found

I think this is the root cause for not showing pallete in the browser.
Any suggestions

chandanmb1
Champ on-the-rise
Champ on-the-rise
Hello,
i checked by firebug,
It is showing
http://localhost:8080/activiti-explorer/service/model/1522/json 404 Not Found

I think this is the root cause for not showing pallete in the browser.
Any suggestions

Please suggest something i am getting above execption.
I am not able to see the pallete components to edit the model

mahamuniraviraj
Champ in-the-making
Champ in-the-making
If you are running activiti-webapp-explorer2, then request should be like http://localhost:8080/activiti-webapp-explorer2/service/model/1522/json .   You need to change the context root in the config. Go to Folder {TOMCAT_HOME}\webapps\activiti-webapp-explorer2\editor-app and then edit file app-cfg.js . Change config to                                                                                                         ACTIVITI.CONFIG = {
'contextRoot' : '/activiti-webapp-explorer2/service',
};

Thank you~ This is very helpful. Solved my issue.