JBoss JBPM SVN: r4208 - in jbpm3/branches/jbpm-3.2.6.SP: modules/core and 8 other directories.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-03-10 00:55:09 -0400 (Tue, 10 Mar 2009)
New Revision: 4208
Modified:
jbpm3/branches/jbpm-3.2.6.SP/modules/core/pom.xml
jbpm3/branches/jbpm-3.2.6.SP/modules/db/pom.xml
jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/pom.xml
jbpm3/branches/jbpm-3.2.6.SP/modules/enterprise/pom.xml
jbpm3/branches/jbpm-3.2.6.SP/modules/examples/pom.xml
jbpm3/branches/jbpm-3.2.6.SP/modules/identity/pom.xml
jbpm3/branches/jbpm-3.2.6.SP/modules/simulation/pom.xml
jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/pom.xml
jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/src/main/docbook/en/master.xml
jbpm3/branches/jbpm-3.2.6.SP/pom.xml
Log:
set version 3.2.6.SP1
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/core/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/core/pom.xml 2009-03-10 04:42:53 UTC (rev 4207)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/core/pom.xml 2009-03-10 04:55:09 UTC (rev 4208)
@@ -23,7 +23,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/db/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/db/pom.xml 2009-03-10 04:42:53 UTC (rev 4207)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/db/pom.xml 2009-03-10 04:55:09 UTC (rev 4208)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/pom.xml 2009-03-10 04:42:53 UTC (rev 4207)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/pom.xml 2009-03-10 04:55:09 UTC (rev 4208)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/enterprise/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/enterprise/pom.xml 2009-03-10 04:42:53 UTC (rev 4207)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/enterprise/pom.xml 2009-03-10 04:55:09 UTC (rev 4208)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/examples/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/examples/pom.xml 2009-03-10 04:42:53 UTC (rev 4207)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/examples/pom.xml 2009-03-10 04:55:09 UTC (rev 4208)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/identity/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/identity/pom.xml 2009-03-10 04:42:53 UTC (rev 4207)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/identity/pom.xml 2009-03-10 04:55:09 UTC (rev 4208)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/simulation/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/simulation/pom.xml 2009-03-10 04:42:53 UTC (rev 4207)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/simulation/pom.xml 2009-03-10 04:55:09 UTC (rev 4208)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/pom.xml 2009-03-10 04:42:53 UTC (rev 4207)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/pom.xml 2009-03-10 04:55:09 UTC (rev 4208)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/src/main/docbook/en/master.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/src/main/docbook/en/master.xml 2009-03-10 04:42:53 UTC (rev 4207)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/src/main/docbook/en/master.xml 2009-03-10 04:55:09 UTC (rev 4208)
@@ -21,7 +21,7 @@
<!ENTITY security SYSTEM "modules/security.xml">
<!ENTITY tdd SYSTEM "modules/tdd.xml">
<!ENTITY pluggable SYSTEM "modules/pluggable.xml">
-<!ENTITY version "3.2.6.GA">
+<!ENTITY version "3.2.6.SP1">
]>
<book lang="en">
<bookinfo>
Modified: jbpm3/branches/jbpm-3.2.6.SP/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/pom.xml 2009-03-10 04:42:53 UTC (rev 4207)
+++ jbpm3/branches/jbpm-3.2.6.SP/pom.xml 2009-03-10 04:55:09 UTC (rev 4208)
@@ -17,7 +17,7 @@
<artifactId>jbpm</artifactId>
<packaging>pom</packaging>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP1</version>
<url>http://www.jboss.org/jbossjbpm/</url>
<!-- Parent -->
17 years, 1 month
JBoss JBPM SVN: r4207 - in jbpm3/branches/jbpm-3.2.6.SP: modules/distribution and 1 other directories.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-03-10 00:42:53 -0400 (Tue, 10 Mar 2009)
New Revision: 4207
Removed:
jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/.classpath
jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/.classpath
Modified:
jbpm3/branches/jbpm-3.2.6.SP/.project
jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/.project
jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/.project
Log:
remove java nature from eclipse projects with no java code
Modified: jbpm3/branches/jbpm-3.2.6.SP/.project
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/.project 2009-03-10 03:53:12 UTC (rev 4206)
+++ jbpm3/branches/jbpm-3.2.6.SP/.project 2009-03-10 04:42:53 UTC (rev 4207)
@@ -6,18 +6,12 @@
</projects>
<buildSpec>
<buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
Deleted: jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/.classpath
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/.classpath 2009-03-10 03:53:12 UTC (rev 4206)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/.classpath 2009-03-10 04:42:53 UTC (rev 4207)
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/.project
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/.project 2009-03-10 03:53:12 UTC (rev 4206)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/distribution/.project 2009-03-10 04:42:53 UTC (rev 4207)
@@ -6,18 +6,12 @@
</projects>
<buildSpec>
<buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
Deleted: jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/.classpath
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/.classpath 2009-03-10 03:53:12 UTC (rev 4206)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/.classpath 2009-03-10 04:42:53 UTC (rev 4207)
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
Modified: jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/.project
===================================================================
--- jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/.project 2009-03-10 03:53:12 UTC (rev 4206)
+++ jbpm3/branches/jbpm-3.2.6.SP/modules/userguide/.project 2009-03-10 04:42:53 UTC (rev 4207)
@@ -6,18 +6,12 @@
</projects>
<buildSpec>
<buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
17 years, 1 month
JBoss JBPM SVN: r4206 - jbpm3/branches.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-03-09 23:53:12 -0400 (Mon, 09 Mar 2009)
New Revision: 4206
Added:
jbpm3/branches/jbpm-3.2.6.SP/
Log:
create 3.2.6 service branch
Copied: jbpm3/branches/jbpm-3.2.6.SP (from rev 4205, jbpm3/tags/jbpm-3.2.6.GA)
17 years, 1 month
JBoss JBPM SVN: r4205 - in projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main: webapp/WEB-INF and 1 other directory.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-03-09 23:51:01 -0400 (Mon, 09 Mar 2009)
New Revision: 4205
Modified:
projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/java/org/jbpm/web/BootstrapListener.java
projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/webapp/WEB-INF/web.xml
Log:
JBPM-2095 enable GPD servlet, disable bootstrap listener
Modified: projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/java/org/jbpm/web/BootstrapListener.java
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/java/org/jbpm/web/BootstrapListener.java 2009-03-10 03:10:39 UTC (rev 4204)
+++ projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/java/org/jbpm/web/BootstrapListener.java 2009-03-10 03:51:01 UTC (rev 4205)
@@ -30,9 +30,10 @@
import javax.servlet.ServletContextEvent;
/**
- * 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.
+ * Force initialization of the hibernate session factory.
+ * This will create the DB tables on new installations,
+ * provided that the <code>hibernate.hbm2ddl.auto</code> property
+ * is set to "create".
* @author Heiko.Braun <heiko.braun(a)jboss.com>
*/
public class BootstrapListener implements ServletContextListener
@@ -50,8 +51,8 @@
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
try
{
- log.info("Bootstrap Hibernate session");
- jbpmContext.getGraphSession();
+ log.info("bootstrap hibernate session factory");
+ jbpmContext.getSessionFactory();
}
catch (RuntimeException e)
{
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-03-10 03:10:39 UTC (rev 4204)
+++ projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/webapp/WEB-INF/web.xml 2009-03-10 03:51:01 UTC (rev 4205)
@@ -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>
@@ -47,20 +41,23 @@
</welcome-file-list>
<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>
<!--
- 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 +67,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>
@@ -114,18 +112,30 @@
<!-- 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>
<!== Job executor launcher -->
+ <!-- Bootstrap listener ==>
<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>
+ <!== Bootstrap 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>
+ 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-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>
17 years, 1 month
JBoss JBPM SVN: r4204 - in projects/jsf-console/branches/jsf-console-3.2.6.SP: console and 2 other directories.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-03-09 23:10:39 -0400 (Mon, 09 Mar 2009)
New Revision: 4204
Modified:
projects/jsf-console/branches/jsf-console-3.2.6.SP/console/pom.xml
projects/jsf-console/branches/jsf-console-3.2.6.SP/jbpm4jsf/pom.xml
projects/jsf-console/branches/jsf-console-3.2.6.SP/pom.xml
projects/jsf-console/branches/jsf-console-3.2.6.SP/soa/pom.xml
Log:
version 3.2.6.sp2
Modified: projects/jsf-console/branches/jsf-console-3.2.6.SP/console/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2.6.SP/console/pom.xml 2009-03-10 02:54:45 UTC (rev 4203)
+++ projects/jsf-console/branches/jsf-console-3.2.6.SP/console/pom.xml 2009-03-10 03:10:39 UTC (rev 4204)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jsf-console-parent</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP2</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: projects/jsf-console/branches/jsf-console-3.2.6.SP/jbpm4jsf/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2.6.SP/jbpm4jsf/pom.xml 2009-03-10 02:54:45 UTC (rev 4203)
+++ projects/jsf-console/branches/jsf-console-3.2.6.SP/jbpm4jsf/pom.xml 2009-03-10 03:10:39 UTC (rev 4204)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jsf-console-parent</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP2</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: projects/jsf-console/branches/jsf-console-3.2.6.SP/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2.6.SP/pom.xml 2009-03-10 02:54:45 UTC (rev 4203)
+++ projects/jsf-console/branches/jsf-console-3.2.6.SP/pom.xml 2009-03-10 03:10:39 UTC (rev 4204)
@@ -16,7 +16,7 @@
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jsf-console-parent</artifactId>
<packaging>pom</packaging>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP2</version>
<!-- Parent -->
<parent>
Modified: projects/jsf-console/branches/jsf-console-3.2.6.SP/soa/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2.6.SP/soa/pom.xml 2009-03-10 02:54:45 UTC (rev 4203)
+++ projects/jsf-console/branches/jsf-console-3.2.6.SP/soa/pom.xml 2009-03-10 03:10:39 UTC (rev 4204)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jsf-console-parent</artifactId>
- <version>3.2.6.GA</version>
+ <version>3.2.6.SP2</version>
<relativePath>../pom.xml</relativePath>
</parent>
17 years, 1 month
JBoss JBPM SVN: r4203 - projects/jsf-console/branches.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-03-09 22:54:45 -0400 (Mon, 09 Mar 2009)
New Revision: 4203
Added:
projects/jsf-console/branches/jsf-console-3.2.6.SP/
Log:
create jsf-console 3.2.6 service branch
Copied: projects/jsf-console/branches/jsf-console-3.2.6.SP (from rev 4202, projects/jsf-console/tags/jsf-console-3.2.6.GA)
17 years, 1 month
JBoss JBPM SVN: r4202 - jbpm3/tags.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-03-09 19:33:40 -0400 (Mon, 09 Mar 2009)
New Revision: 4202
Added:
jbpm3/tags/jbpm-3.2.5.SP3/
Log:
tag 3.2.5.SP3
Copied: jbpm3/tags/jbpm-3.2.5.SP3 (from rev 4201, jbpm3/branches/jbpm-3.2.5.SP)
17 years, 1 month
JBoss JBPM SVN: r4201 - jbpm3/branches/jbpm-3.2.5.SP/modules/distribution/src/main/etc.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-03-09 19:32:36 -0400 (Mon, 09 Mar 2009)
New Revision: 4201
Modified:
jbpm3/branches/jbpm-3.2.5.SP/modules/distribution/src/main/etc/release.notes.html
Log:
JBPM-2085: update release notes for 3.2.5.SP3
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/distribution/src/main/etc/release.notes.html
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/distribution/src/main/etc/release.notes.html 2009-03-09 20:48:20 UTC (rev 4200)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/distribution/src/main/etc/release.notes.html 2009-03-09 23:32:36 UTC (rev 4201)
@@ -2,18 +2,28 @@
<head>
<title>Release Notes - JBoss jBPM - Version 3.2.5.SP3</title>
</head>
-<body>
-<h2>Task
+<body>
+<h2>Bug
</h2>
<ul>
-<li>[<a href='https://jira.jboss.org/jira/browse/JBPM-2043'>JBPM-2043</a>] - Add jBPM performance test coverage
+<li>[<a href='https://jira.jboss.org/jira/browse/JBPM-2086'>JBPM-2086</a>] - org.jbpm.db.JbpmSchemaDbTest.testCleanSchema is failing with SOA 4.3 CP01 libraries
</li>
+<li>[<a href='https://jira.jboss.org/jira/browse/JBPM-2088'>JBPM-2088</a>] - Match JDBC driver versions between jBPM and EAP
+</li>
</ul>
+
<h2>Release
</h2>
<ul>
<li>[<a href='https://jira.jboss.org/jira/browse/JBPM-2085'>JBPM-2085</a>] - Release jBPM 3.2.5.SP3
</li>
</ul>
+
+<h2>Task
+</h2>
+<ul>
+<li>[<a href='https://jira.jboss.org/jira/browse/JBPM-2043'>JBPM-2043</a>] - Add jBPM performance test coverage
+</li>
+</ul>
</body>
</html>
\ No newline at end of file
17 years, 1 month
JBoss JBPM SVN: r4200 - in jbpm4/branches/tbaeyens/modules: distro/src/main/resources/config-tool/jbpm/wire.bindings and 8 other directories.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-03-09 16:48:20 -0400 (Mon, 09 Mar 2009)
New Revision: 4200
Added:
jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/SerializeInterceptor.java
jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/SerializeInterceptorBinding.java
Removed:
jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/jbpm/jbpm.cfg.xml
jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/SerializingCommandService.java
Modified:
jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/jbpm/wire.bindings/part1.jbpm.wire.bindings.xml
jbpm4/branches/tbaeyens/modules/examples/src/test/resources/jbpm.cfg.xml
jbpm4/branches/tbaeyens/modules/examples/src/test/resources/jbpm.wire.bindings.xml
jbpm4/branches/tbaeyens/modules/jpdl/src/test/resources/jbpm.wire.bindings.xml
jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/cmd/AddReplyCommentCmd.java
jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/DeploymentImpl.java
jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/CommandServiceBinding.java
jbpm4/branches/tbaeyens/modules/pvm/src/test/resources/jbpm.wire.bindings.xml
jbpm4/branches/tbaeyens/modules/test-db/src/test/java/org/jbpm/test/task/TaskParticipationsTest.java
jbpm4/branches/tbaeyens/modules/test-db/src/test/resources/jbpm.cfg.xml
jbpm4/branches/tbaeyens/modules/test-db/src/test/resources/jbpm.wire.bindings.xml
Log:
work
Deleted: jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/jbpm/jbpm.cfg.xml
===================================================================
--- jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/jbpm/jbpm.cfg.xml 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/jbpm/jbpm.cfg.xml 2009-03-09 20:48:20 UTC (rev 4200)
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<jbpm-configuration xmlns="http://jbpm.org/xsd/cfg">
-
- <process-engine-context>
-
- <process-service />
- <execution-service />
- <history-service />
- <management-service />
- <identity-service />
- <task-service />
-
- <command-service>
- <retry-interceptor />
- <environment-interceptor />
- <standard-transaction-interceptor />
- </command-service>
-
- <hibernate-configuration cfg="jbpm.hibernate.cfg.xml">
- <cache-configuration resource="jbpm.cache.xml"
- usage="nonstrict-read-write" />
- </hibernate-configuration>
-
- <hibernate-session-factory />
-
- <deployer-manager>
- <assign-file-type>
- <file extension=".jpdl.xml" type="jpdl" />
- </assign-file-type>
- <parse-jpdl />
- <check-process />
- <check-problems />
- <save />
- </deployer-manager>
-
- <script-manager default-expression-language="juel"
- default-script-language="juel"
- read-contexts="execution, environment, process-engine"
- write-context="">
- <script-language name="juel" factory="com.sun.script.juel.JuelScriptEngineFactory" />
- </script-manager>
-
- <job-executor auto-start="false" />
-
- <id-generator />
- <types resource="jbpm.variable.types.xml" />
-
- <business-calendar>
- <monday hours="9:00-12:00 and 12:30-17:00"/>
- <tuesday hours="9:00-12:00 and 12:30-17:00"/>
- <wednesday hours="9:00-12:00 and 12:30-17:00"/>
- <thursday hours="9:00-12:00 and 12:30-17:00"/>
- <friday hours="9:00-12:00 and 12:30-17:00"/>
- <holiday period="01/07/2008 - 31/08/2008"/>
- </business-calendar>
-
- </process-engine-context>
-
- <transaction-context>
- <hibernate-session />
- <transaction />
- <pvm-db-session />
- <job-db-session />
- <task-db-session />
- <message-session />
- <timer-session />
- <history-session />
- <identity-session realm="realm://jbpm-identity" />
- </transaction-context>
-
-</jbpm-configuration>
Modified: jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/jbpm/wire.bindings/part1.jbpm.wire.bindings.xml
===================================================================
--- jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/jbpm/wire.bindings/part1.jbpm.wire.bindings.xml 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/jbpm/wire.bindings/part1.jbpm.wire.bindings.xml 2009-03-09 20:48:20 UTC (rev 4200)
@@ -77,11 +77,12 @@
<binding class="org.jbpm.pvm.internal.wire.binding.AuthorizationInterceptorBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.RetryInterceptorBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.StandardTransactionInterceptorBinding" />
- <binding class="org.jbpm.pvm.internal.wire.binding.EnlistBinding" />
+ <binding class="org.jbpm.pvm.internal.wire.binding.SerializeInterceptorBinding" />
<!-- operation -->
<binding class="org.jbpm.pvm.internal.wire.binding.PropertyBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.FieldBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.InvokeBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.SubscribeBinding" />
+ <binding class="org.jbpm.pvm.internal.wire.binding.EnlistBinding" />
Modified: jbpm4/branches/tbaeyens/modules/examples/src/test/resources/jbpm.cfg.xml
===================================================================
--- jbpm4/branches/tbaeyens/modules/examples/src/test/resources/jbpm.cfg.xml 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/examples/src/test/resources/jbpm.cfg.xml 2009-03-09 20:48:20 UTC (rev 4200)
@@ -11,8 +11,9 @@
<task-service />
<identity-service />
- <command-service serialize="true">
+ <command-service>
<retry-interceptor />
+ <serialize-interceptor />
<environment-interceptor />
<standard-transaction-interceptor />
</command-service>
Modified: jbpm4/branches/tbaeyens/modules/examples/src/test/resources/jbpm.wire.bindings.xml
===================================================================
--- jbpm4/branches/tbaeyens/modules/examples/src/test/resources/jbpm.wire.bindings.xml 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/examples/src/test/resources/jbpm.wire.bindings.xml 2009-03-09 20:48:20 UTC (rev 4200)
@@ -77,13 +77,14 @@
<binding class="org.jbpm.pvm.internal.wire.binding.AuthorizationInterceptorBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.RetryInterceptorBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.StandardTransactionInterceptorBinding" />
- <binding class="org.jbpm.pvm.internal.wire.binding.EnlistBinding" />
+ <binding class="org.jbpm.pvm.internal.wire.binding.SerializeInterceptorBinding" />
<!-- operation -->
<binding class="org.jbpm.pvm.internal.wire.binding.PropertyBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.FieldBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.InvokeBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.SubscribeBinding" />
+ <binding class="org.jbpm.pvm.internal.wire.binding.EnlistBinding" />
<!-- jpdl bindings -->
<binding class="org.jbpm.jpdl.internal.xml.ParseJpdlBinding" />
Modified: jbpm4/branches/tbaeyens/modules/jpdl/src/test/resources/jbpm.wire.bindings.xml
===================================================================
--- jbpm4/branches/tbaeyens/modules/jpdl/src/test/resources/jbpm.wire.bindings.xml 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/jpdl/src/test/resources/jbpm.wire.bindings.xml 2009-03-09 20:48:20 UTC (rev 4200)
@@ -77,13 +77,14 @@
<binding class="org.jbpm.pvm.internal.wire.binding.AuthorizationInterceptorBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.RetryInterceptorBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.StandardTransactionInterceptorBinding" />
- <binding class="org.jbpm.pvm.internal.wire.binding.EnlistBinding" />
+ <binding class="org.jbpm.pvm.internal.wire.binding.SerializeInterceptorBinding" />
<!-- operation -->
<binding class="org.jbpm.pvm.internal.wire.binding.PropertyBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.FieldBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.InvokeBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.SubscribeBinding" />
+ <binding class="org.jbpm.pvm.internal.wire.binding.EnlistBinding" />
<!-- jpdl bindings -->
<binding class="org.jbpm.jpdl.internal.xml.ParseJpdlBinding" />
Modified: jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/cmd/AddReplyCommentCmd.java
===================================================================
--- jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/cmd/AddReplyCommentCmd.java 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/cmd/AddReplyCommentCmd.java 2009-03-09 20:48:20 UTC (rev 4200)
@@ -21,6 +21,7 @@
*/
package org.jbpm.pvm.internal.cmd;
+import org.jbpm.JbpmException;
import org.jbpm.cmd.Command;
import org.jbpm.env.Environment;
import org.jbpm.model.Comment;
@@ -46,6 +47,9 @@
public Comment execute(Environment environment) throws Exception {
DbSession dbSession = environment.get(DbSession.class);
CommentImpl parentComment = dbSession.get(CommentImpl.class, commentDbid);
+ if (parentComment==null) {
+ throw new JbpmException("parent comment doesn't exist: "+commentDbid);
+ }
Comment replyComment = parentComment.createComment(message);
return replyComment;
}
Modified: jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/DeploymentImpl.java
===================================================================
--- jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/DeploymentImpl.java 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/DeploymentImpl.java 2009-03-09 20:48:20 UTC (rev 4200)
@@ -268,7 +268,8 @@
}
public Deployment deploy() {
- processDefinitions.addAll(processServiceImpl.deploy(this));
+ List<ProcessDefinition> deployedProcessDefinitions = processServiceImpl.deploy(this);
+ processDefinitions.addAll(deployedProcessDefinitions);
return this;
}
@@ -341,8 +342,10 @@
if (files!=null) {
Map<String, StreamInput> replacedFiles = new HashMap<String, StreamInput>();
for (Map.Entry<String, StreamInput> entry: files.entrySet()) {
- byte[] bytes = IoUtil.readBytes(entry.getValue().openStream());
- replacedFiles.put(entry.getKey(), new ByteArrayStreamInput(bytes));
+ if (! (entry.getValue() instanceof ByteArrayStreamInput)) {
+ byte[] bytes = IoUtil.readBytes(entry.getValue().openStream());
+ replacedFiles.put(entry.getKey(), new ByteArrayStreamInput(bytes));
+ }
}
files = replacedFiles;
}
@@ -352,9 +355,4 @@
return this;
}
- protected Object readResolve() throws ObjectStreamException {
- processServiceImpl = Environment.getFromCurrent(ProcessServiceImpl.class);
- return this;
- }
-
}
Copied: jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/SerializeInterceptor.java (from rev 4199, jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/SerializingCommandService.java)
===================================================================
--- jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/SerializeInterceptor.java (rev 0)
+++ jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/SerializeInterceptor.java 2009-03-09 20:48:20 UTC (rev 4200)
@@ -0,0 +1,61 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.internal.svc;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+
+import org.jbpm.JbpmException;
+import org.jbpm.cmd.Command;
+import org.jbpm.internal.log.Log;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class SerializeInterceptor extends Interceptor {
+
+ private static final Log log = Log.getLog(SerializeInterceptor.class.getName());
+
+ public <T> T execute(Command<T> command) {
+ log.info("serializing command "+command);
+ Command<T> serializedCommand = (Command<T>) serialize(command);
+ T returnValue = next.execute(serializedCommand);
+ T serializedReturnValue = (T) serialize(returnValue);
+ return serializedReturnValue;
+ }
+
+ public Object serialize(Object o) {
+ try {
+ ByteArrayOutputStream baos = new ByteArrayOutputStream();
+ ObjectOutputStream oos = new ObjectOutputStream(baos);
+ oos.writeObject(o);
+ ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
+ ObjectInputStream ois = new ObjectInputStream(bais);
+ return ois.readObject();
+ } catch (Exception e) {
+ throw new JbpmException("serialization exception", e);
+ }
+ }
+}
Property changes on: jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/SerializeInterceptor.java
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/SerializingCommandService.java
===================================================================
--- jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/SerializingCommandService.java 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/svc/SerializingCommandService.java 2009-03-09 20:48:20 UTC (rev 4200)
@@ -1,61 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.internal.svc;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-
-import org.jbpm.JbpmException;
-import org.jbpm.cmd.Command;
-import org.jbpm.internal.log.Log;
-
-
-/**
- * @author Tom Baeyens
- */
-public class SerializingCommandService extends DefaultCommandService {
-
- private static final Log log = Log.getLog(SerializingCommandService.class.getName());
-
- public <T> T execute(Command<T> command) {
- log.info("serializing command "+command);
- Command serializedCommand = (Command) serialize(command);
- T returnValue = (T) super.execute(serializedCommand);
- T serializedReturnValue = (T) serialize(returnValue);
- return serializedReturnValue;
- }
-
- public Object serialize(Object o) {
- try {
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- ObjectOutputStream oos = new ObjectOutputStream(baos);
- oos.writeObject(o);
- ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
- ObjectInputStream ois = new ObjectInputStream(bais);
- return ois.readObject();
- } catch (Exception e) {
- throw new JbpmException("serialization exception", e);
- }
- }
-}
Modified: jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/CommandServiceBinding.java
===================================================================
--- jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/CommandServiceBinding.java 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/CommandServiceBinding.java 2009-03-09 20:48:20 UTC (rev 4200)
@@ -26,7 +26,7 @@
import org.jbpm.cmd.CommandService;
import org.jbpm.pvm.internal.svc.AsyncCommandService;
import org.jbpm.pvm.internal.svc.DefaultCommandService;
-import org.jbpm.pvm.internal.svc.SerializingCommandService;
+import org.jbpm.pvm.internal.svc.SerializeInterceptor;
import org.jbpm.pvm.internal.util.XmlUtil;
import org.jbpm.pvm.internal.wire.Descriptor;
import org.jbpm.pvm.internal.wire.descriptor.CommandServiceDescriptor;
@@ -67,11 +67,6 @@
}
protected CommandService getCommandService(Element element, Parse parse, Parser parser) {
- if ( XmlUtil.attributeBoolean(element, "serialize", false, parse, Boolean.FALSE)) {
-
- return new SerializingCommandService();
- }
-
if ( XmlUtil.attributeBoolean(element, "async", false, parse, Boolean.FALSE)) {
AsyncCommandService asyncCommandService = new AsyncCommandService();
Added: jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/SerializeInterceptorBinding.java
===================================================================
--- jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/SerializeInterceptorBinding.java (rev 0)
+++ jbpm4/branches/tbaeyens/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/SerializeInterceptorBinding.java 2009-03-09 20:48:20 UTC (rev 4200)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.internal.wire.binding;
+
+import org.jbpm.pvm.internal.svc.SerializeInterceptor;
+import org.jbpm.pvm.internal.wire.descriptor.ProvidedObjectDescriptor;
+import org.jbpm.pvm.internal.xml.Parse;
+import org.jbpm.pvm.internal.xml.Parser;
+import org.w3c.dom.Element;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class SerializeInterceptorBinding extends WireInterceptorBinding {
+
+ public SerializeInterceptorBinding() {
+ super("serialize-interceptor");
+ }
+
+ public Object parse(Element element, Parse parse, Parser parser) {
+ return new ProvidedObjectDescriptor(new SerializeInterceptor());
+ }
+
+}
Modified: jbpm4/branches/tbaeyens/modules/pvm/src/test/resources/jbpm.wire.bindings.xml
===================================================================
--- jbpm4/branches/tbaeyens/modules/pvm/src/test/resources/jbpm.wire.bindings.xml 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/pvm/src/test/resources/jbpm.wire.bindings.xml 2009-03-09 20:48:20 UTC (rev 4200)
@@ -77,13 +77,14 @@
<binding class="org.jbpm.pvm.internal.wire.binding.AuthorizationInterceptorBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.RetryInterceptorBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.StandardTransactionInterceptorBinding" />
- <binding class="org.jbpm.pvm.internal.wire.binding.EnlistBinding" />
+ <binding class="org.jbpm.pvm.internal.wire.binding.SerializeInterceptorBinding" />
<!-- operation -->
<binding class="org.jbpm.pvm.internal.wire.binding.PropertyBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.FieldBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.InvokeBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.SubscribeBinding" />
+ <binding class="org.jbpm.pvm.internal.wire.binding.EnlistBinding" />
</wire-bindings>
Modified: jbpm4/branches/tbaeyens/modules/test-db/src/test/java/org/jbpm/test/task/TaskParticipationsTest.java
===================================================================
--- jbpm4/branches/tbaeyens/modules/test-db/src/test/java/org/jbpm/test/task/TaskParticipationsTest.java 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/test-db/src/test/java/org/jbpm/test/task/TaskParticipationsTest.java 2009-03-09 20:48:20 UTC (rev 4200)
@@ -41,10 +41,8 @@
public void testTaskParticipants() {
Task task = taskService.newTask();
task.setName("do laundry");
- saveAndRegisterTask(task);
+ long taskDbid = saveAndRegisterTask(task);
- long taskDbid = task.getDbid();
-
taskService.addTaskParticipant(taskDbid, new UserRef("johndoe"), Participant.CANDIDATE);
taskService.addTaskParticipant(taskDbid, new UserRef("joesmoe"), Participant.CANDIDATE);
taskService.addTaskParticipant(taskDbid, new UserRef("joesmoe"), Participant.OWNER);
Modified: jbpm4/branches/tbaeyens/modules/test-db/src/test/resources/jbpm.cfg.xml
===================================================================
--- jbpm4/branches/tbaeyens/modules/test-db/src/test/resources/jbpm.cfg.xml 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/test-db/src/test/resources/jbpm.cfg.xml 2009-03-09 20:48:20 UTC (rev 4200)
@@ -11,8 +11,9 @@
<task-service />
<identity-service />
- <command-service serialize="true">
+ <command-service>
<retry-interceptor />
+ <serialize-interceptor />
<environment-interceptor />
<standard-transaction-interceptor />
</command-service>
Modified: jbpm4/branches/tbaeyens/modules/test-db/src/test/resources/jbpm.wire.bindings.xml
===================================================================
--- jbpm4/branches/tbaeyens/modules/test-db/src/test/resources/jbpm.wire.bindings.xml 2009-03-09 18:13:19 UTC (rev 4199)
+++ jbpm4/branches/tbaeyens/modules/test-db/src/test/resources/jbpm.wire.bindings.xml 2009-03-09 20:48:20 UTC (rev 4200)
@@ -77,13 +77,14 @@
<binding class="org.jbpm.pvm.internal.wire.binding.AuthorizationInterceptorBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.RetryInterceptorBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.StandardTransactionInterceptorBinding" />
- <binding class="org.jbpm.pvm.internal.wire.binding.EnlistBinding" />
+ <binding class="org.jbpm.pvm.internal.wire.binding.SerializeInterceptorBinding" />
<!-- operation -->
<binding class="org.jbpm.pvm.internal.wire.binding.PropertyBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.FieldBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.InvokeBinding" />
<binding class="org.jbpm.pvm.internal.wire.binding.SubscribeBinding" />
+ <binding class="org.jbpm.pvm.internal.wire.binding.EnlistBinding" />
<!-- jpdl bindings -->
<binding class="org.jbpm.jpdl.internal.xml.ParseJpdlBinding" />
17 years, 1 month
JBoss JBPM SVN: r4199 - in jbpm3/branches/jbpm-3.2.5.SP: modules/core/src/main/resources and 1 other directory.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-03-09 14:13:19 -0400 (Mon, 09 Mar 2009)
New Revision: 4199
Modified:
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.common.xml
jbpm3/branches/jbpm-3.2.5.SP/pom.xml
Log:
JBPM-2088: match jdbc driver versions used in EAP 4.3
disable sql comments to avoid bug in PostgreSQL driver 8.2-504.jdbc3
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.common.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.common.xml 2009-03-09 17:18:40 UTC (rev 4198)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.common.xml 2009-03-09 18:13:19 UTC (rev 4199)
@@ -24,14 +24,11 @@
<!-- Simple memory-only cache -->
<property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
- <!-- logging properties -->
+ <!-- SQL rendering properties (begin) ===
<property name="hibernate.format_sql">true</property>
<property name="hibernate.use_sql_comments">true</property>
+ ==== SQL rendering properties (end) -->
- <!-- order SQL inserts and updates, resulting in fewer transaction deadlocks -->
- <property name="hibernate.order_inserts">true</property>
- <property name="hibernate.order_updates">true</property>
-
<!-- ############################################ -->
<!-- # mapping files with external dependencies # -->
<!-- ############################################ -->
Modified: jbpm3/branches/jbpm-3.2.5.SP/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/pom.xml 2009-03-09 17:18:40 UTC (rev 4198)
+++ jbpm3/branches/jbpm-3.2.5.SP/pom.xml 2009-03-09 18:13:19 UTC (rev 4199)
@@ -84,8 +84,8 @@
<!-- Database Driver Versions -->
<hsqldb.version>1.8.0.7</hsqldb.version>
- <mysql.connector.version>5.0.8</mysql.connector.version>
- <postgresql.version>8.3-603.jdbc3</postgresql.version>
+ <mysql.connector.version>5.0.7</mysql.connector.version>
+ <postgresql.version>8.2-504.jdbc3</postgresql.version>
<jtds.version>1.2.2</jtds.version>
</properties>
17 years, 1 month