Author: ryanzhang
Date: 2010-09-02 06:02:50 -0400 (Thu, 02 Sep 2010)
New Revision: 6643
Removed:
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/web.xml
Modified:
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/build.xml
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/pom.xml
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/post-patch/patch_jbpm_console_ui.xml
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/gpd-console/web.xml
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/WEB-INF/jboss-web.xml
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/WEB-INF/web.xml
Log:
Update soa-distribution patches and build file
Modified: projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/build.xml
===================================================================
---
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/build.xml 2010-09-02
07:14:31 UTC (rev 6642)
+++
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/build.xml 2010-09-02
10:02:50 UTC (rev 6643)
@@ -1,18 +1,14 @@
<project name="SOA jbpm console builder">
<target name="build">
- <copy todir="${module_base_dir}/target/work"
file="${module_base_dir}/../console/target/jsf-console-${project.version}.war"
/>
- <unzip
src="${module_base_dir}/target/work/jsf-console-${project.version}.war"
dest="${module_base_dir}/target/work/console-war"/>
<delete file="${module_base_dir}/target/work/console-war/WEB-INF/web.xml"
/>
- <copy todir="${module_base_dir}/target/work/console-war/" >
- <fileset dir="${module_base_dir}/resource/jbpm-console/"
includes="**/*" excludes="web.xml" />
+ <copy todir="${module_base_dir}/target/work/console-war/"
overwrite="true">
+ <fileset dir="${module_base_dir}/resource/jbpm-console/"
includes="**/*" />
</copy>
- <copy todir="${module_base_dir}/target/work/console-war/WEB-INF"
file="resource/jbpm-console/web.xml" />
- <unzip src="../gpd-deployer/target/gpd-deployer-${project.version}.war"
dest="${module_base_dir}/target/work/gpd-war"/>
<delete file="${module_base_dir}/target/work/gpd-war/WEB-INF/web.xml"
/>
<copy todir="${module_base_dir}/target/work/gpd-war/WEB-INF"
file="${module_base_dir}/resource/gpd-console/web.xml" />
-
</target>
+
<target name="assemble">
<copy preservelastmodified="true"
todir="${module_base_dir}/target/dist/jbpm-console.war">
<fileset dir="${module_base_dir}/target/work/console-war"
includes="**/*" />
Modified: projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/pom.xml 2010-09-02
07:14:31 UTC (rev 6642)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/pom.xml 2010-09-02
10:02:50 UTC (rev 6643)
@@ -12,7 +12,7 @@
<modelVersion>4.0.0</modelVersion>
<name>jBPM3 - Build SOA-P distribution</name>
<groupId>org.jbpm.jbpm3</groupId>
- <artifactId>jsf-console-soa</artifactId>
+ <artifactId>jsf-console-soa-distribution</artifactId>
<packaging>pom</packaging>
<!-- Parent -->
@@ -23,48 +23,94 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <properties>
+ <properties>
<soa_common_build_src.groupId>org.jboss.jbosssoa</soa_common_build_src.groupId>
<soa_common_build_src.artifactId>soa-common-build-src</soa_common_build_src.artifactId>
<soa_common_build_src.version>1.0.0</soa_common_build_src.version>
</properties>
<dependencies>
- <dependency>
+ <dependency>
<groupId>${soa_common_build_src.groupId}</groupId>
<artifactId>${soa_common_build_src.artifactId}</artifactId>
<version>${soa_common_build_src.version}</version>
<type>zip</type>
</dependency>
+ <dependency>
+ <groupId>org.jbpm.jbpm3</groupId>
+ <artifactId>jsf-console</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jbpm.jbpm3</groupId>
+ <artifactId>gpd-deployer</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
</dependencies>
- <!-- Plugins -->
+ <!-- Plugins -->
<build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack-soa-common-build-src</id>
- <phase>process-resources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.basedir}</outputDirectory>
- <artifactItems>
- <artifactItem>
- <groupId>${soa_common_build_src.groupId}</groupId>
-
<artifactId>${soa_common_build_src.artifactId}</artifactId>
- <version>${soa_common_build_src.version}</version>
- <type>zip</type>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack-soa-common-build-src</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.basedir}</outputDirectory>
+ <artifactItems>
+ <artifactItem>
+ <groupId>${soa_common_build_src.groupId}</groupId>
+
<artifactId>${soa_common_build_src.artifactId}</artifactId>
+ <version>${soa_common_build_src.version}</version>
+ <type>zip</type>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ <execution>
+ <id>unpack-jsf-console</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+
<outputDirectory>${project.build.directory}/work/console-war</outputDirectory>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jbpm.jbpm3</groupId>
+ <artifactId>jsf-console</artifactId>
+ <type>war</type>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ <execution>
+ <id>unpack-gpd-deployer</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+
<outputDirectory>${project.build.directory}/work/gpd-war</outputDirectory>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jbpm.jbpm3</groupId>
+ <artifactId>gpd-deployer</artifactId>
+ <type>war</type>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
@@ -102,53 +148,50 @@
</dependencies>
<executions>
- <execution>
- <id>SOA build process</id>
- <phase>process-classes</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <ant antfile="build-common.xml"
target="soa.routine.build" dir="${project.basedir}"
- inheritAll="false">
- <property name="module_base_dir"
value="${project.basedir}" />
- <property name="module_build_finalName"
value="${project.build.finalName}" />
- <property name="project.version"
value="${project.version}" />
- <property name="groovy.path"
-
value="${maven.dependency.org.codehaus.groovy.groovy-all.jar.path}" />
- </ant>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.2</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <configuration>
- <artifacts>
- <artifact>
-
<file>${project.build.directory}/${project.build.finalName}.zip</file>
- <type>zip</type>
- </artifact>
- <artifact>
-
<file>${project.build.directory}/${project.build.finalName}.war</file>
- <type>war</type>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ <execution>
+ <id>SOA build process</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <ant antfile="build-common.xml"
target="soa.routine.build" dir="${project.basedir}"
inheritAll="false">
+ <property name="module_base_dir"
value="${project.basedir}"/>
+ <property name="module_build_finalName"
value="${project.build.finalName}"/>
+ <property name="project.version"
value="${project.version}"/>
+ <property name="groovy.path"
value="${maven.dependency.org.codehaus.groovy.groovy-all.jar.path}" />
+ </ant>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+
<file>${project.build.directory}/${project.build.finalName}.zip</file>
+ <type>zip</type>
+ </artifact>
+ <artifact>
+
<file>${project.build.directory}/${project.build.finalName}.war</file>
+ <type>war</type>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>
Modified:
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/post-patch/patch_jbpm_console_ui.xml
===================================================================
---
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/post-patch/patch_jbpm_console_ui.xml 2010-09-02
07:14:31 UTC (rev 6642)
+++
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/post-patch/patch_jbpm_console_ui.xml 2010-09-02
10:02:50 UTC (rev 6643)
@@ -2,7 +2,7 @@
<!-- change logo and make style unify with soa platform -->
<target name="apply.patch">
<replace file="${module_base_dir}/target/work/console-war/login.jsp"
>
- <replacetoken><![CDATA[<a href="/"><img
src="/console-war/JBossLogo.jpg" alt="JBoss SOA
Platform"/></a>
+ <replacetoken><![CDATA[<a href="/"><img
src="/jbpm-console/JBossLogo.jpg" alt="JBoss SOA
Platform"/></a>
]]></replacetoken>
<replacevalue></replacevalue>
</replace>
Modified:
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/gpd-console/web.xml
===================================================================
---
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/gpd-console/web.xml 2010-09-02
07:14:31 UTC (rev 6642)
+++
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/gpd-console/web.xml 2010-09-02
10:02:50 UTC (rev 6643)
@@ -26,8 +26,6 @@
<description>If you are deploying to JBoss AS, be sure to specify the
security domain in jboss-web.xml.</description>
<url-pattern>/*</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<description>Optionally customize the role name to require a login before
Modified:
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/WEB-INF/jboss-web.xml
===================================================================
---
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/WEB-INF/jboss-web.xml 2010-09-02
07:14:31 UTC (rev 6642)
+++
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/WEB-INF/jboss-web.xml 2010-09-02
10:02:50 UTC (rev 6643)
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-web PUBLIC
+ "-//JBoss//DTD Web Application 2.4//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
-<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
-
<jboss-web>
<!--
Specify the security domain to use. This will be java:/jaas/<name> where
@@ -12,7 +13,7 @@
<resource-ref>
<res-ref-name>jdbc/JbpmDataSource</res-ref-name>
- <jndi-name>java:/JbpmDS</jndi-name>
+ <jndi-name>java:JbpmDS</jndi-name>
</resource-ref>
<resource-ref>
@@ -25,7 +26,6 @@
<local-jndi-name>java:jbpm/TimerEntityBean</local-jndi-name>
</ejb-local-ref>
- <!-- workaround for "mapped-name is required" exception in JBoss 5.0.0.CR1
-->
<message-destination-ref>
<message-destination-ref-name>jms/JobQueue</message-destination-ref-name>
<jndi-name>queue/JbpmJobQueue</jndi-name>
Modified:
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/WEB-INF/web.xml
===================================================================
---
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/WEB-INF/web.xml 2010-09-02
07:14:31 UTC (rev 6642)
+++
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/WEB-INF/web.xml 2010-09-02
10:02:50 UTC (rev 6643)
@@ -5,49 +5,49 @@
<servlet>
<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>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
</servlet>
<!-- Mapping for all plain pages. -->
<servlet-mapping>
- <servlet-name>Faces Servlet</servlet-name>
- <url-pattern>*.jsf</url-pattern>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- This mapping is for the process images. -->
<servlet-mapping>
- <servlet-name>Faces Servlet</servlet-name>
- <url-pattern>/app/pi/*</url-pattern>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>/app/pi/*</url-pattern>
</servlet-mapping>
<context-param>
- <description>Use Documents Saved as *.xhtml</description>
- <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
- <param-value>.xhtml</param-value>
+ <description> Use Documents Saved as *.xhtml </description>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
</context-param>
<context-param>
- <description>Facelets debug output</description>
- <param-name>facelets.DEVELOPMENT</param-name>
- <param-value>false</param-value>
+ <description> Facelets debug output </description>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>false</param-value>
</context-param>
<!-- A simple JSP to redirect to the basic search page. -->
<welcome-file-list>
- <welcome-file>index.jsp</welcome-file>
+ <welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!--
- 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>
+ <role-name>admin</role-name>
</security-role>
<security-role>
- <role-name>user</role-name>
+ <role-name>user</role-name>
</security-role>
<!--
@@ -56,40 +56,38 @@
the security domain if you are deploying inside JBoss AS.
-->
<security-constraint>
- <web-resource-collection>
- <web-resource-name>Secure Area</web-resource-name>
- <url-pattern>/app/*</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <auth-constraint>
- <role-name>user</role-name>
- </auth-constraint>
+ <web-resource-collection>
+ <web-resource-name>Secure Area</web-resource-name>
+ <url-pattern>/app/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>user</role-name>
+ </auth-constraint>
</security-constraint>
- <!-- SOA-P Login page -->
+ <!-- Example Login page - lists sample users -->
<login-config>
- <auth-method>FORM</auth-method>
- <form-login-config>
- <form-login-page>/login.jsp</form-login-page>
- <form-error-page>/login.jsp?error=1</form-error-page>
- </form-login-config>
+ <auth-method>FORM</auth-method>
+ <form-login-config>
+ <form-login-page>/login.jsp</form-login-page>
+ <form-error-page>/login.jsp?error=1</form-error-page>
+ </form-login-config>
</login-config>
<!-- Login configuration option #1 - use the login page ==>
<login-config>
- <auth-method>FORM</auth-method>
- <form-login-config>
- <form-login-page>/ua/login.jsf</form-login-page>
- <form-error-page>/ua/login.jsf?error=true</form-error-page>
- </form-login-config>
+ <auth-method>FORM</auth-method>
+ <form-login-config>
+ <form-login-page>/ua/login.jsf</form-login-page>
+ <form-error-page>/ua/login.jsf?error=true</form-error-page>
+ </form-login-config>
</login-config>
<!== Login configuration option #1 -->
<!-- Login configuration option #2 - use basic auth ==>
<login-config>
- <auth-method>BASIC</auth-method>
- <realm-name>jBPM Administration Console</realm-name>
+ <auth-method>BASIC</auth-method>
+ <realm-name>jBPM Administration Console</realm-name>
</login-config>
<!== Login configuration option #2 -->
@@ -102,13 +100,15 @@
</listener>
<!== Job executor launcher -->
- <listener>
- <description>Closes the jBPM configuration on destruction, releasing
resources.
+ <!-- listener>
+ <description>
+ <description>Closes the jBPM configuration on destruction, releasing 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>
+ </listener -->
+ <!--
<resource-ref>
<description>Logical name of the data source that provides connections to the
persistence service.
Must match the hibernate.connection.datasource property in the Hibernate
@@ -117,7 +117,9 @@
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
+ -->
+ <!--
<resource-ref>
<description>Logical name of the factory that provides JMS connections to the
message service.
Required for processes that contain asynchronous
continuations.</description>
@@ -125,7 +127,9 @@
<res-type>javax.jms.ConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
+ -->
+ <!--
<ejb-local-ref>
<description>Link to the local entity bean that implements the scheduler
service.
Required for processes that contain timers.</description>
@@ -134,7 +138,9 @@
<local-home>org.jbpm.ejb.LocalTimerEntityHome</local-home>
<local>org.jbpm.ejb.LocalTimerEntity</local>
</ejb-local-ref>
+ -->
+ <!--
<message-destination-ref>
<description>The message service sends job messages to the queue referenced
here. To ensure
this is the same queue from which the JobListenerBean receives messages, the
@@ -144,5 +150,6 @@
<message-destination-usage>Produces</message-destination-usage>
<message-destination-link>JobQueue</message-destination-link>
</message-destination-ref>
+ -->
</web-app>
Deleted:
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/web.xml
===================================================================
---
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/web.xml 2010-09-02
07:14:31 UTC (rev 6642)
+++
projects/jsf-console/branches/jsf-console-3.2-soa/soa-distribution/resource/jbpm-console/web.xml 2010-09-02
10:02:50 UTC (rev 6643)
@@ -1,157 +0,0 @@
-<?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">
-
- <servlet>
- <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>
- </servlet>
-
- <!-- Mapping for all plain pages. -->
- <servlet-mapping>
- <servlet-name>Faces Servlet</servlet-name>
- <url-pattern>*.jsf</url-pattern>
- </servlet-mapping>
-
- <!-- This mapping is for the process images. -->
- <servlet-mapping>
- <servlet-name>Faces Servlet</servlet-name>
- <url-pattern>/app/pi/*</url-pattern>
- </servlet-mapping>
-
- <context-param>
- <description> Use Documents Saved as *.xhtml </description>
- <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
- <param-value>.xhtml</param-value>
- </context-param>
-
- <context-param>
- <description> Facelets debug output </description>
- <param-name>facelets.DEVELOPMENT</param-name>
- <param-value>false</param-value>
- </context-param>
-
- <!-- A simple JSP to redirect to the basic search page. -->
- <welcome-file-list>
- <welcome-file>index.jsp</welcome-file>
- </welcome-file-list>
-
- <!--
- This role list should be changed to include all the relevant roles for your
- environment.
- -->
- <security-role>
- <role-name>admin</role-name>
- </security-role>
- <security-role>
- <role-name>user</role-name>
- </security-role>
-
- <!--
- Security constraints - optionally customize the role name to require a login
- before access is allowed. 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>
- <web-resource-name>Secure Area</web-resource-name>
- <url-pattern>/app/*</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <auth-constraint>
- <role-name>user</role-name>
- </auth-constraint>
- </security-constraint>
-
- <!-- Example Login page - lists sample users -->
- <login-config>
- <auth-method>FORM</auth-method>
- <form-login-config>
- <form-login-page>/login.jsp</form-login-page>
- <form-error-page>/login.jsp?error=1</form-error-page>
- </form-login-config>
- </login-config>
-
- <!-- Login configuration option #1 - use the login page ==>
- <login-config>
- <auth-method>FORM</auth-method>
- <form-login-config>
- <form-login-page>/ua/login.jsf</form-login-page>
- <form-error-page>/ua/login.jsf?error=true</form-error-page>
- </form-login-config>
- </login-config>
- <!== Login configuration option #1 -->
-
- <!-- Login configuration option #2 - use basic auth ==>
- <login-config>
- <auth-method>BASIC</auth-method>
- <realm-name>jBPM Administration Console</realm-name>
- </login-config>
- <!== Login configuration option #2 -->
-
- <!-- Job executor launcher ==>
- <listener>
- <description>
- Starts the job executor on initialization and stops it on destruction.
- </description>
- <listener-class>org.jbpm.web.JobExecutorLauncher</listener-class>
- </listener>
- <!== Job executor launcher -->
-
- <!-- listener>
- <description>
- <description>Closes the jBPM configuration on destruction, releasing 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 -->
-
- <!--
- <resource-ref>
- <description>Logical name of the data source that provides connections to the
persistence service.
- Must match the hibernate.connection.datasource property in the Hibernate
- configuration file.</description>
- <res-ref-name>jdbc/JbpmDataSource</res-ref-name>
- <res-type>javax.sql.DataSource</res-type>
- <res-auth>Container</res-auth>
- </resource-ref>
- -->
-
- <!--
- <resource-ref>
- <description>Logical name of the factory that provides JMS connections to the
message service.
- Required for processes that contain asynchronous
continuations.</description>
- <res-ref-name>jms/JbpmConnectionFactory</res-ref-name>
- <res-type>javax.jms.ConnectionFactory</res-type>
- <res-auth>Container</res-auth>
- </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>
- </ejb-local-ref>
- -->
-
- <!--
- <message-destination-ref>
- <description>The message service sends job messages to the queue referenced
here. To ensure
- this is the same queue from which the JobListenerBean receives messages, the
- message-destination-link element points to a common logical destination,
JobQueue.</description>
-
<message-destination-ref-name>jms/JobQueue</message-destination-ref-name>
- <message-destination-type>javax.jms.Queue</message-destination-type>
- <message-destination-usage>Produces</message-destination-usage>
- <message-destination-link>JobQueue</message-destination-link>
- </message-destination-ref>
- -->
-
-</web-app>