cancel
Showing results for 
Search instead for 
Did you mean: 

activiti-standalone-context.xml is not exist.

harishp
Champ in-the-making
Champ in-the-making
1. I did download activiti-5.16.4.zip and extracted in a folder. 
2. Tomcat7 and  java version "1.7.0_45" version is present, I copied  "activiti-explorer.war" to the webapps directory of Tomcat.
3. Restarted the tomcat7 service by using "sudo service tomcat7 restart" successfully.
4. Able load the  url:  http://localhost:8080/activiti-explorer .
5. Did login using kermit username.
6. Copied …./wars/activiti-explorer.war  and … /wars/activiti-rest.war to webapps folder of tomcat installation.

As we know Activiti Explorer runs an in-memory H2 database by default.  To disable this, the " activiti-standalone-context.xml"  file in the WEB-INF folder should be changed.  We need to add the following snippet to the  "activiti-standalone-context.xml" file. But the problem is that there is no "activiti-standalone-context.xml" file.

<bean id="demoDataGenerator" class="org.activiti.explorer.demo.DemoDataGenerator">
        <property name="processEngine" ref="processEngine" / >
        <property name="createDemoUsersAndGroups" value="false" />
        <property name="createDemoProcessDefinitions" value="false" />
        <property name="createDemoModels" value="false" />
      </bean>

Please let me know, how to fix this issue.
Thank you,
Hari..
7 REPLIES 7

jbarrez
Star Contributor
Star Contributor
We've changed this in 5.16.4, but havent updated the docs yet.
We will do this in 5.17 (released before christmas).  For now, you can use 5.6.13

jdiblasio
Champ in-the-making
Champ in-the-making
I do not see the documentation updated after looking through the documentation for the 5.17 release.  Maybe I am missing the obvious not sure but if you could point me in the right direction that would be great. I need to change the same setting mentioned above for our pilot.

onlinesun
Champ in-the-making
Champ in-the-making
I still have that file, from the previous version, and it's still working. If you want to change to the new version, use the file from Activiti GitHub activiti-custom-context.xml. It's under modules/activiti-webapp-explorer2.

gelkayam
Champ in-the-making
Champ in-the-making
Any news about this issue? couldn't find anything in the documentation.
can https://github.com/Activiti/Activiti/blob/activiti-5.16.3/modules/activiti-webapp-explorer2/src/main... be copied and used?

is that where I should configure http://www.activiti.org/userguide/#advanced.uuid.generator ?

jbarrez
Star Contributor
Star Contributor
No, the way to do it, is to uncomment and update this file: https://github.com/Activiti/Activiti/blob/master/modules/activiti-webapp-explorer2/src/main/resource... (which is in the WEB-INF of your explorer install)

slaimankoeik
Champ in-the-making
Champ in-the-making
hello,
jbarrez when i uncomment the file "activiti-custom-context.xml" the explorer is crashing

any solution for this

jbarrez
Star Contributor
Star Contributor
'crashing' is vague and I can't say anything to that. We would need exceptions, stacktraces, etc…
But many people here on the forum have uncommented it without any issue.