Author: alex.guizar(a)jboss.com
Date: 2008-08-07 03:55:35 -0400 (Thu, 07 Aug 2008)
New Revision: 1844
Modified:
jbpm3/trunk/modules/console/src/main/webapp/WEB-INF/jboss-web.xml
jbpm3/trunk/modules/console/src/main/webapp/WEB-INF/web.xml
Log:
specified a fixed context root to avoid having the version number in the console url
registered a servlet context listener that closes the jbpm configuration for releasing
application resources
JBPM-1446
Modified: jbpm3/trunk/modules/console/src/main/webapp/WEB-INF/jboss-web.xml
===================================================================
--- jbpm3/trunk/modules/console/src/main/webapp/WEB-INF/jboss-web.xml 2008-08-07 07:50:46
UTC (rev 1843)
+++ jbpm3/trunk/modules/console/src/main/webapp/WEB-INF/jboss-web.xml 2008-08-07 07:55:35
UTC (rev 1844)
@@ -9,6 +9,7 @@
<name> is one of the names configured in your login-config.xml.
-->
<security-domain>java:/jaas/jbpm-console</security-domain>
+ <context-root>jbpm-console</context-root>
<resource-ref>
<res-ref-name>jdbc/JbpmDataSource</res-ref-name>
Modified: jbpm3/trunk/modules/console/src/main/webapp/WEB-INF/web.xml
===================================================================
--- jbpm3/trunk/modules/console/src/main/webapp/WEB-INF/web.xml 2008-08-07 07:50:46 UTC
(rev 1843)
+++ jbpm3/trunk/modules/console/src/main/webapp/WEB-INF/web.xml 2008-08-07 07:55:35 UTC
(rev 1844)
@@ -120,6 +120,15 @@
</listener>
<!-- Job executor launcher (end) -->
+ <listener>
+ <description>
+ Closes the jBPM configuration on servlet context destruction, releasing
+ application resources. This listener should appear after the job executor
+ launcher to avoid reopening the configuration.
+ </description>
+
<listener-class>org.jbpm.web.JbpmConfigurationCloser</listener-class>
+ </listener>
+
<!-- Job executor servlet (begin) ===
<servlet>
<description>
Show replies by date