Problem with activiti-rest.war
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2013 09:57 PM
I tried to deploy the activiti-rest.war with the Tomcat7 but the application does not work. What i could make to fix the problem? I'm using the Activiti 5.12.
Thanks
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2013 10:13 PM
10/04/2013 23:08:46 org.apache.catalina.core.StandardContext startInternal
GRAVE: Error listenerStart
10/04/2013 23:08:46 org.apache.catalina.core.StandardContext startInternal
GRAVE: Context [/activiti-rest] startup failed due to previous errors
10/04/2013 23:08:46 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
GRAVE: The web application [/activiti-rest] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
10/04/2013 23:08:46 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
GRAVE: The web application [/activiti-rest] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7ed32f11]) and a value of type [org.apache.ibatis.executor.ErrorContext] (value [
### The error may exist in org/activiti/db/mapping/entity/EventSubscription.xml
### The error occurred while processing mapper_resultMap[compensateResultMap]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2013 12:23 AM
replace the file content of tomcatedir\webapps\activiti-rest\WEB-INF\classes\db.properties as below
db=h2
jdbc.driver=org.h2.Driver
jdbc.url=jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000
jdbc.username=sa
jdbc.password=
this will use default h2 database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2013 09:34 AM
Was exactly what did you say!
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2013 05:54 AM
I tried the same thing below
db=h2
jdbc.driver=org.h2.Driver
jdbc.url=jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000
jdbc.username=sa
jdbc.password=
it solve the 404 error but now I get
Forbidden
Authentication is required
same user : kermit
and pass : kermit
i use for login in explorer but in rest it show authentication problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2013 03:58 AM
If you want to have shared state between the rest and explorer app, you'd need a persistent database (a H2 which works through TCP is also already good).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2013 09:59 AM
can you please tell me how can I hared state between the rest and explorer app?? and also how can I persistent database for these??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2013 07:46 AM
Installing such a database will depend on your system.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2013 05:21 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2013 08:16 AM
Best regards,
