[jbpm-commits] JBoss JBPM SVN: r5453 - in projects/jsf-console/trunk: console and 6 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Sat Aug 8 22:13:07 EDT 2009


Author: alex.guizar at jboss.com
Date: 2009-08-08 22:13:07 -0400 (Sat, 08 Aug 2009)
New Revision: 5453

Added:
   projects/jsf-console/trunk/console/src/main/resources/messages_es.properties
Modified:
   projects/jsf-console/trunk/
   projects/jsf-console/trunk/console/.classpath
   projects/jsf-console/trunk/console/pom.xml
   projects/jsf-console/trunk/console/src/main/java/org/jbpm/web/BootstrapListener.java
   projects/jsf-console/trunk/console/src/main/webapp/WEB-INF/web.xml
   projects/jsf-console/trunk/jbpm4jsf/pom.xml
   projects/jsf-console/trunk/soa/
   projects/jsf-console/trunk/soa/src/main/webapp/WEB-INF/jboss-web.xml
Log:
replace timer ejb remote reference with local name


Property changes on: projects/jsf-console/trunk
___________________________________________________________________
Name: svn:ignore
   + .settings


Modified: projects/jsf-console/trunk/console/.classpath
===================================================================
--- projects/jsf-console/trunk/console/.classpath	2009-08-08 12:44:41 UTC (rev 5452)
+++ projects/jsf-console/trunk/console/.classpath	2009-08-09 02:13:07 UTC (rev 5453)
@@ -2,7 +2,7 @@
 <classpath>
 	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
 	<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.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
 	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
 	<classpathentry kind="output" path="target/classes"/>
 </classpath>

Modified: projects/jsf-console/trunk/console/pom.xml
===================================================================
--- projects/jsf-console/trunk/console/pom.xml	2009-08-08 12:44:41 UTC (rev 5452)
+++ projects/jsf-console/trunk/console/pom.xml	2009-08-09 02:13:07 UTC (rev 5453)
@@ -78,7 +78,8 @@
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <showDeprecation>false</showDeprecation>
+          <source>1.4</source>
+          <target>1.4</target>
         </configuration>
       </plugin>
     </plugins>

Modified: projects/jsf-console/trunk/console/src/main/java/org/jbpm/web/BootstrapListener.java
===================================================================
--- projects/jsf-console/trunk/console/src/main/java/org/jbpm/web/BootstrapListener.java	2009-08-08 12:44:41 UTC (rev 5452)
+++ projects/jsf-console/trunk/console/src/main/java/org/jbpm/web/BootstrapListener.java	2009-08-09 02:13:07 UTC (rev 5453)
@@ -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 at 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)
       {

Copied: projects/jsf-console/trunk/console/src/main/resources/messages_es.properties (from rev 5006, projects/jsf-console/branches/jsf-console-3.2.6.SP/console/src/main/resources/messages_es.properties)
===================================================================
--- projects/jsf-console/trunk/console/src/main/resources/messages_es.properties	                        (rev 0)
+++ projects/jsf-console/trunk/console/src/main/resources/messages_es.properties	2009-08-09 02:13:07 UTC (rev 5453)
@@ -0,0 +1,136 @@
+
+# Unauthorized access
+
+unauthorized=No tiene autorización para acceder a este recurso.
+
+# Confirmation alert boxes
+
+confirm.process.delete=¿Desea eliminar este proceso permanentemente? Esta operación no se puede deshacer.
+confirm.token.move=¿Desea mover esta ficha?
+
+# Top menu
+
+title=JBoss jBPM - Consola Administrativa
+msg.fatal=Error Fatal
+msg.error=Error
+msg.warn=Advertencia
+msg.info=Información
+
+top.loggedinas=Registrado como: {0}
+top.logout=Cerrar Sesión
+topmenu.caption=Gestionar:
+topmenu.processes=Procesos
+topmenu.tasks_all=Todas las Tareas
+topmenu.tasks=Tareas Personales/Grupales
+topmenu.jobs=Trabajos
+topmenu.identities=Identidades
+
+# Conventions
+# heading.* or *.heading.* - These are headings of tabluar columns
+# action.* or *.action.* - These are actions that appear in action lists, or in the left-hand menu
+# action.*.beforelink or *.action.*.beforelink - This is the text that is rendered before the clickable part of an action link
+# action.*.link or *.action.*.link - This is the clickable part of an action link
+# action.*.afterlink or *.action.*.afterlink - This is the text that is rendered after the clickable part of an action link
+# view.* or *.view.* - This is the name of a view, as it appears in the left-hand menu
+# status.* - These are statuses of various executable elements
+# status.abbr.* - These are the one-character abbreviations for statuses of various executable elements
+# confirm.* or *.confirm.* - These are the text contents of various confirmation dialogs
+# filter.* or *.filter.* - These are text items used to control search filters
+# prompt.* or *.prompt.* - These are prompts for input fields
+# label.* or *.label.* - These are labels for output fields
+# button.* or *.button.* - These are captions for buttons
+# message.* or *.message.* - These are messages for required/converter/validation fields
+
+# General pages
+
+menu.heading.actions=Acciones
+menu.heading.views=Vistas
+
+action.examine=Examinar
+
+heading.actions=Acciones
+
+filter.apply=Aplicar Filtro
+filter.clear=Quitar Filtro
+
+status.notstarted=No Iniciada
+status.notstarted.suspended=(suspendida)
+status.running=Activa
+status.suspended=Suspendida
+status.ended=Terminada
+status.ended.suspended=(fue suspendida)
+
+status.abbr.notstarted=N
+status.abbr.running=A
+status.abbr.suspended=S
+status.abbr.ended=T
+
+# Deploy process page
+
+deploy.heading=Montar Definición de Proceso Nueva
+deploy.prompt=Fichero a subir:
+deploy.button=Montar
+
+# Identities page
+
+identities.action.adduser.beforelink=
+identities.action.adduser.link=Añadir
+identities.action.adduser.afterlink=usuario nuevo
+
+identities.action.addgroup.beforelink=
+identities.action.addgroup.link=Añadir
+identities.action.addgroup.afterlink=grupo nuevo
+
+identities.view.users=Usuarios
+identities.view.groups=Grupos
+identities.view.adduser=Añadir Usuario
+identities.view.addgroup=Añadir Grupo
+
+identities.users.heading.id=Clave
+identities.users.heading.name=Nombre
+identities.users.heading.email=Correo-E
+identities.users.heading.memberships=Membresías
+
+identities.users.confirm.delete=¿Desea eliminar este usuario? Esta operación no se puede deshacer.
+
+identities.adduser.prompt.name=Nombre
+identities.adduser.prompt.password=Contraseña
+identities.adduser.prompt.passwordconfirm=Contraseña (confirmar)
+identities.adduser.prompt.email=Correo-E
+
+identities.adduser.button=Añadir Usuario
+
+identities.groups.heading.id=Clave
+identities.groups.heading.name=Nombre
+identities.groups.heading.type=Tipo
+identities.groups.heading.parent=Grupo Base
+
+identities.groups.confirm.delete=¿Desea eliminar este grupo y todos sus grupos derivados? Esta operación no se puede deshacer.
+
+identities.addgroup.prompt.name=Nombre
+identities.addgroup.prompt.type=Tipo
+identities.addgroup.prompt.parent=Grupo Base
+
+identities.addgroup.button=Añadir Grupo
+
+# Processes page
+
+processes.heading.id=Clave
+processes.heading.name=Nombre
+processes.heading.version=Versión
+
+processes.examine=Examinar
+processes.delete=Eliminar
+processes.start=Arrancar
+
+processes.action.deploy.beforelink=
+processes.action.deploy.link=Montar
+processes.action.deploy.afterlink=un proceso nuevo
+
+# Process page
+
+# Process Instance page
+
+# Task page
+
+# Token page

Modified: projects/jsf-console/trunk/console/src/main/webapp/WEB-INF/web.xml
===================================================================
--- projects/jsf-console/trunk/console/src/main/webapp/WEB-INF/web.xml	2009-08-08 12:44:41 UTC (rev 5452)
+++ projects/jsf-console/trunk/console/src/main/webapp/WEB-INF/web.xml	2009-08-09 02:13:07 UTC (rev 5453)
@@ -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,35 +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-mapping>
-
-  <!--
-    Comment or secure the legacy deployer servlet in production environments
-    -->
-   <servlet>
-    <description> Legacy GDP's deployer servlet </description>
-    <servlet-name>GDP Deployer Legacy</servlet-name>
-    <servlet-class>org.jbpm.web.ProcessUploadServlet</servlet-class>
-    <load-on-startup>1</load-on-startup>
-  </servlet>
-
-  <servlet-mapping>
-    <servlet-name>GDP Deployer Legacy</servlet-name>
+    <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>
@@ -85,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>
@@ -130,17 +113,29 @@
   <!-- 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.
-        </description>
+      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>
 
@@ -165,16 +160,16 @@
     <res-auth>Container</res-auth>
   </resource-ref>
 
-  <ejb-ref>
+  <ejb-local-ref>
     <description>
-      Link to the local entity bean that implements the scheduler service. Required for
-      processes that contain timers.
+      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>
-    <home>org.jbpm.ejb.TimerEntityHome</home>
-    <remote>org.jbpm.ejb.TimerEntity</remote>
-  </ejb-ref>
+    <local-home>org.jbpm.ejb.LocalTimerEntityHome</local-home>
+    <local>org.jbpm.ejb.LocalTimerEntity</local>
+  </ejb-local-ref>
 
   <message-destination-ref>
     <description>

Modified: projects/jsf-console/trunk/jbpm4jsf/pom.xml
===================================================================
--- projects/jsf-console/trunk/jbpm4jsf/pom.xml	2009-08-08 12:44:41 UTC (rev 5452)
+++ projects/jsf-console/trunk/jbpm4jsf/pom.xml	2009-08-09 02:13:07 UTC (rev 5453)
@@ -71,12 +71,6 @@
   <build>
     <plugins>
       <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <showDeprecation>false</showDeprecation>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>net.sourceforge.maven-taglib</groupId>
         <artifactId>maven-taglib-plugin</artifactId>
         <executions>


Property changes on: projects/jsf-console/trunk/soa
___________________________________________________________________
Name: svn:ignore
   - target

   + target
.settings


Modified: projects/jsf-console/trunk/soa/src/main/webapp/WEB-INF/jboss-web.xml
===================================================================
--- projects/jsf-console/trunk/soa/src/main/webapp/WEB-INF/jboss-web.xml	2009-08-08 12:44:41 UTC (rev 5452)
+++ projects/jsf-console/trunk/soa/src/main/webapp/WEB-INF/jboss-web.xml	2009-08-09 02:13:07 UTC (rev 5453)
@@ -23,7 +23,7 @@
 
   <ejb-local-ref>
     <ejb-ref-name>ejb/TimerEntityBean</ejb-ref-name>
-    <jndi-name>java:jbpm/TimerEntityBean</jndi-name>
+    <local-jndi-name>java:jbpm/TimerEntityBean</local-jndi-name>
   </ejb-local-ref>
 
   <message-destination-ref>



More information about the jbpm-commits mailing list