[jbpm-commits] JBoss JBPM SVN: r5007 - in projects/jsf-console/branches/jsf-console-3.2.6.SP: soa/src/main/webapp/WEB-INF and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Jun 9 06:45:38 EDT 2009
Author: alex.guizar at jboss.com
Date: 2009-06-09 06:45:38 -0400 (Tue, 09 Jun 2009)
New Revision: 5007
Modified:
projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/webapp/WEB-INF/web.xml
projects/jsf-console/branches/jsf-console-3.2.6.SP/soa/src/main/webapp/WEB-INF/web.xml
Log:
JBPM-2289: Upload servlet path is not aligned with the GPD defaults (CODING IN PROGRESS)
Eliminate undue differences between the standalone and the SOA descriptors
Modified: projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/webapp/WEB-INF/web.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/webapp/WEB-INF/web.xml 2009-06-08 22:57:42 UTC (rev 5006)
+++ projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/webapp/WEB-INF/web.xml 2009-06-09 10:45:38 UTC (rev 5007)
@@ -164,7 +164,7 @@
<description>
Link to the local entity bean that implements the scheduler service.
Required for processes that contain timers.
- </description>
+ </description>
<ejb-ref-name>ejb/TimerEntityBean</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>org.jbpm.ejb.LocalTimerEntityHome</local-home>
Modified: projects/jsf-console/branches/jsf-console-3.2.6.SP/soa/src/main/webapp/WEB-INF/web.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2.6.SP/soa/src/main/webapp/WEB-INF/web.xml 2009-06-08 22:57:42 UTC (rev 5006)
+++ projects/jsf-console/branches/jsf-console-3.2.6.SP/soa/src/main/webapp/WEB-INF/web.xml 2009-06-09 10:45:38 UTC (rev 5007)
@@ -1,17 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
- <!--
- * Force initialization of the hibernate sessions in jbpm.
- * This will create the DB tables on new installations.
- * If that's not needed the listener can be removed.
- -->
- <listener>
- <listener-class>org.jbpm.web.BootstrapListener</listener-class>
- </listener>
-
<servlet>
- <description>Enable the JSF servlet. See faces-config.xml for Faces-specific configuration</description>
+ <description>
+ Enable the JSF servlet. See faces-config.xml for Faces-specific configuration.
+ </description>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
@@ -46,21 +40,26 @@
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
+ <!-- GPD Deployer Servlet ==>
<servlet>
- <description> This is the GDP's deployer servlet </description>
- <servlet-name>GDP Deployer Servlet</servlet-name>
+ <description>
+ Server counterpart for the Graphical Process Designer deployment feature.
+ SECURITY WARNING. GPD deployment is a development aid, not for use in production.
+ Make sure you either secure or remove this servlet prior to production deployment.
+ </description>
+ <servlet-name>GPD Deployer Servlet</servlet-name>
<servlet-class>org.jbpm.web.ProcessUploadServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
- <servlet-name>GDP Deployer Servlet</servlet-name>
- <url-pattern>/app/upload/*</url-pattern>
+ <servlet-name>GPD Deployer Servlet</servlet-name>
+ <url-pattern>/upload/*</url-pattern>
</servlet-mapping>
+ <!== GPD Deployer Servlet -->
<!--
- This role list should be changed to include all the relevant roles for your
- environment.
+ This role list should be changed to include all the relevant roles for your environment.
-->
<security-role>
<role-name>admin</role-name>
@@ -70,8 +69,9 @@
</security-role>
<!--
- Security constraints - optionally customize the role name to require a login before access is allowed to the application. Also, be sure to edit jboss-web.xml to
- configure the security domain if you are deploying inside JBoss AS.
+ Security constraints - optionally customize the role name to require a login before access is
+ allowed to the application. Also, be sure to edit jboss-web.xml to configure the security domain
+ if you are deploying inside JBoss AS.
-->
<security-constraint>
<web-resource-collection>
@@ -85,7 +85,7 @@
</auth-constraint>
</security-constraint>
- <!-- Example Login page - lists user names -->
+ <!-- SOA-P Login page -->
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
@@ -114,7 +114,7 @@
<!-- Job executor launcher ==>
<listener>
<description>
- Starts the job executor on servlet context initialization and stops it on servlet context destruction.
+ Starts the job executor on initialization and stops it on destruction.
</description>
<listener-class>org.jbpm.web.JobExecutorLauncher</listener-class>
</listener>
@@ -122,10 +122,20 @@
<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.
+ Force initialization of the hibernate session factory.
+ This will create the DB tables on new installations,
+ provided that the hibernate.hbm2ddl.auto property
+ is set to "create".
</description>
+ <listener-class>org.jbpm.web.BootstrapListener</listener-class>
+ </listener>
+
+ <listener>
+ <description>
+ Closes the jBPM configuration on 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>
@@ -151,14 +161,14 @@
</resource-ref>
<ejb-local-ref>
- <description>
- Link to the local entity bean that implements the scheduler service.
- Required for processes that contain timers.
- </description>
- <ejb-ref-name>ejb/TimerEntityBean</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>org.jbpm.ejb.LocalTimerEntityHome</local-home>
- <local>org.jbpm.ejb.LocalTimerEntity</local>
+ <description>
+ Link to the local entity bean that implements the scheduler service.
+ Required for processes that contain timers.
+ </description>
+ <ejb-ref-name>ejb/TimerEntityBean</ejb-ref-name>
+ <ejb-ref-type>Entity</ejb-ref-type>
+ <local-home>org.jbpm.ejb.LocalTimerEntityHome</local-home>
+ <local>org.jbpm.ejb.LocalTimerEntity</local>
</ejb-local-ref>
<message-destination-ref>
More information about the jbpm-commits
mailing list