Hi,
Plz help me out in starting the process.
My BPMN file is:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.2.1">
<bpmn:collaboration id="Collaboration_1keta0b">
<bpmn:participant id="Participant_0sbjzus" processRef="Process_1" />
</bpmn:collaboration>
<bpmn:process id="Process_1" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="start">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="StartIDCS6" label="StartIDCS6" type="string" defaultValue="true" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:outgoing>SequenceFlow_1hp6lih</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:serviceTask id="Task_0ec7j7h" name="Auto Process Order" camunda:class="cts.pmoss.AutoProcessOrder.java">
<bpmn:incoming>SequenceFlow_0dr1sjn</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1s56ry8</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_07ox4t1">
<bpmn:targetRef>DataStoreReference_01elwz0</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:serviceTask>
<bpmn:dataStoreReference id="DataStoreReference_01elwz0" name="Engine/External DB" />
<bpmn:userTask id="Task_0tqpfjx" name="create order" camunda:formKey="embedded:app:forms/createOrder.html" camunda:assignee="${currentUser()}" camunda:dueDate="${dateTime().plusDays(2).toDate()}">
<bpmn:incoming>SequenceFlow_1hp6lih</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0dr1sjn</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_07g7vuy" name="Data Exp" camunda:formKey="embedded:app:forms/DataExt.html" camunda:assignee="${currentUser()}" camunda:dueDate="${dateTime().plusDays(2).toDate()}">
<bpmn:incoming>SequenceFlow_16w2kob</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0ppcndy</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_0gfzoma" name="Delete Order" camunda:formKey="embedded:app:forms/DeleteOrder.html" camunda:assignee="${currentUser()}" camunda:dueDate="${dateTime().plusDays(2).toDate()}">
<bpmn:incoming>SequenceFlow_0ppcndy</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0pied91</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_1lj15hc" name="Operator Validate" camunda:formKey="embedded:app:forms/OperatorValidate.html" camunda:assignee="${currentUser()}" camunda:dueDate="${dateTime().plusDays(2).toDate()}">
<bpmn:incoming>SequenceFlow_1s56ry8</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1sgq02c</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_1h3ym3b" name="QC Validate" camunda:formKey="embedded:app:forms/QCValidate.html" camunda:assignee="${currentUser()}" camunda:dueDate="${dateTime().plusDays(2).toDate()}">
<bpmn:incoming>SequenceFlow_1sgq02c</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_16w2kob</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="EndEvent_08pv3y2" name="end">
<bpmn:incoming>SequenceFlow_0pied91</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_1hp6lih" sourceRef="StartEvent_1" targetRef="Task_0tqpfjx" />
<bpmn:sequenceFlow id="SequenceFlow_0dr1sjn" sourceRef="Task_0tqpfjx" targetRef="Task_0ec7j7h" />
<bpmn:sequenceFlow id="SequenceFlow_1s56ry8" sourceRef="Task_0ec7j7h" targetRef="Task_1lj15hc" />
<bpmn:sequenceFlow id="SequenceFlow_16w2kob" sourceRef="Task_1h3ym3b" targetRef="Task_07g7vuy" />
<bpmn:sequenceFlow id="SequenceFlow_0ppcndy" sourceRef="Task_07g7vuy" targetRef="Task_0gfzoma" />
<bpmn:sequenceFlow id="SequenceFlow_0pied91" sourceRef="Task_0gfzoma" targetRef="EndEvent_08pv3y2" />
<bpmn:sequenceFlow id="SequenceFlow_1sgq02c" sourceRef="Task_1lj15hc" targetRef="Task_1h3ym3b" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1keta0b">
<bpmndi:BPMNShape id="Participant_0sbjzus_di" bpmnElement="Participant_0sbjzus">
<dc:Bounds x="-615" y="-314" width="1380" height="422" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-511" y="-108" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="-538" y="-72" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_08pv3y2_di" bpmnElement="EndEvent_08pv3y2">
<dc:Bounds x="640" y="-108" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="613" y="-132" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ServiceTask_1u2vrbu_di" bpmnElement="Task_0ec7j7h">
<dc:Bounds x="-292" y="-130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_1hcw57i_di" bpmnElement="Task_1lj15hc">
<dc:Bounds x="-94" y="-130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_1hbusvv_di" bpmnElement="Task_1h3ym3b">
<dc:Bounds x="89" y="-130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_0dxqx7u_di" bpmnElement="Task_07g7vuy">
<dc:Bounds x="283" y="-130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_1tvhpkh_di" bpmnElement="Task_0gfzoma">
<dc:Bounds x="452" y="-130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataStoreReference_01elwz0_di" bpmnElement="DataStoreReference_01elwz0">
<dc:Bounds x="-267" y="-236" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="-287" y="-262" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1hp6lih_di" bpmnElement="SequenceFlow_1hp6lih">
<di:waypoint xsi:type="dc:Point" x="-475" y="-90" />
<di:waypoint xsi:type="dc:Point" x="-440" y="-90" />
<bpmndi:BPMNLabel>
<dc:Bounds x="-502" y="-115" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0dr1sjn_di" bpmnElement="SequenceFlow_0dr1sjn">
<di:waypoint xsi:type="dc:Point" x="-340" y="-90" />
<di:waypoint xsi:type="dc:Point" x="-292" y="-90" />
<bpmndi:BPMNLabel>
<dc:Bounds x="-361" y="-115" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_07ox4t1_di" bpmnElement="DataOutputAssociation_07ox4t1">
<di:waypoint xsi:type="dc:Point" x="-241" y="-130" />
<di:waypoint xsi:type="dc:Point" x="-240" y="-186" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1sgq02c_di" bpmnElement="SequenceFlow_1sgq02c">
<di:waypoint xsi:type="dc:Point" x="6" y="-90" />
<di:waypoint xsi:type="dc:Point" x="89" y="-90" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2.5" y="-115" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_16w2kob_di" bpmnElement="SequenceFlow_16w2kob">
<di:waypoint xsi:type="dc:Point" x="189" y="-90" />
<di:waypoint xsi:type="dc:Point" x="283" y="-90" />
<bpmndi:BPMNLabel>
<dc:Bounds x="191" y="-115" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="UserTask_0h9n79y_di" bpmnElement="Task_0tqpfjx">
<dc:Bounds x="-440" y="-130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1s56ry8_di" bpmnElement="SequenceFlow_1s56ry8">
<di:waypoint xsi:type="dc:Point" x="-192" y="-90" />
<di:waypoint xsi:type="dc:Point" x="-94" y="-90" />
<bpmndi:BPMNLabel>
<dc:Bounds x="-188" y="-115" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0ppcndy_di" bpmnElement="SequenceFlow_0ppcndy">
<di:waypoint xsi:type="dc:Point" x="383" y="-90" />
<di:waypoint xsi:type="dc:Point" x="452" y="-90" />
<bpmndi:BPMNLabel>
<dc:Bounds x="372.5" y="-115" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0pied91_di" bpmnElement="SequenceFlow_0pied91">
<di:waypoint xsi:type="dc:Point" x="552" y="-90" />
<di:waypoint xsi:type="dc:Point" x="640" y="-90" />
<bpmndi:BPMNLabel>
<dc:Bounds x="551" y="-115" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Java files are:
package cts.pmoss;
import cts.pmoss.DBUtils.*;
import java.io.IOException;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import org.camunda.bpm.engine.IdentityService;
import org.camunda.bpm.engine.RuntimeService;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.ExecutionListener;
import org.camunda.bpm.engine.delegate.JavaDelegate;
import org.camunda.bpm.engine.impl.context.Context;
public class AutoProcessOrder implements JavaDelegate{
public void execute(DelegateExecution execution) throws Exception {
RuntimeService runtimeService = execution.getProcessEngineServices().getRuntimeService();
//Map<String, Object> variables = new HashMap<String, Object>();
Connection connection = DBConnection.getConnection();
System.out.println("connection opened");
System.out.println("Connection Established Successfull and the DATABASE NAME IS:"
+ connection.getMetaData().getDatabaseProductName());
connection.setAutoCommit(false);
String sql="SELECT COUNT(*) FROM table_Order";
Statement stmt=connection.prepareStatement(sql);
//String temp1=null;
String temp=sql;
if (temp!=null){
String sql1="select BatchId from tbl_Order where Status=100";
Statement stmt1=connection.prepareStatement(sql1);
ResultSet rs=stmt.executeQuery(sql1);
while(rs.next()){
System.out.println(rs.getInt(1));
}
}
//Thread.sleep(20000);
}
}
and
package cts.pmoss;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.logging.Logger;
import org.camunda.bpm.BpmPlatform;
import org.camunda.bpm.application.PostDeploy;
import org.camunda.bpm.application.ProcessApplication;
import org.camunda.bpm.application.ProcessApplicationDeploymentInfo;
import org.camunda.bpm.application.ProcessApplicationInfo;
import org.camunda.bpm.application.impl.ServletProcessApplication;
import org.camunda.bpm.container.RuntimeContainerDelegate;
import org.camunda.bpm.engine.ProcessEngine;
import org.camunda.bpm.engine.RepositoryService;
import org.camunda.bpm.engine.RuntimeService;
import org.camunda.bpm.engine.migration.MigrationPlan;
import org.camunda.bpm.engine.repository.ProcessDefinition;
import org.camunda.bpm.engine.repository.ProcessDefinitionQuery;
@ProcessApplication("IDCS-Generation")
public class InitClass extends ServletProcessApplication{
}
process.xml file is here::
<?xml version="1.0" encoding="UTF-8" ?>
<process-application
xmlns="http://www.camunda.org/schema/1.0/ProcessApplication"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<process-archive name="IDCS-Generation">
<process-engine>default</process-engine>
<resource>IDCS6b</resource>
<properties>
<!--<property name="databaseSchema">COGNI_</property>-->
<!-- <property name="databaseTablePrefix">COGNI_</property>-->
<!--<property name="databaseSchemaUpdate">false</property>-->
<property name="isDeleteUponUndeploy">false</property>
<property name="isScanForProcessDefinitions">true</property>
</properties>
</process-archive>
</process-application>
Pom.xml is:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>IDCS6-Generation</groupId>
<artifactId>IDCS6-Generation</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>IDCS6-Generation</name>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>7.5.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.hynnet/sqljdbc4-chs -->
<dependency>
<groupId>com.hynnet</groupId>
<artifactId>sqljdbc4-chs</artifactId>
<version>4.0.2206.100</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine-plugin-connect</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.camunda.connect</groupId>
<artifactId>camunda-connect-http-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine-plugin-spin</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-dataformat-json-jackson</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-server</artifactId>
<version>1.9.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project>
My bpm-platform looks like"
<?xml version="1.0" encoding="UTF-8"?>
<bpm-platform xmlns="http://www.camunda.org/schema/1.0/BpmPlatform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.camunda.org/schema/1.0/BpmPlatform http://www.camunda.org/schema/1.0/BpmPlatform ">
<job-executor>
<job-acquisition name="default" />
</job-executor>
<process-engine name="default">
<job-acquisition>default</job-acquisition>
<configuration>org.camunda.bpm.engine.impl.cfg.StandaloneProcessEngineConfiguration</configuration>
<datasource>java:jdbc/ProcessEngine</datasource>
<properties>
<property name="history">full</property>
<property name="databaseSchemaUpdate">true</property>
<property name="authorizationEnabled">true</property>
<property name="jobExecutorDeploymentAware">true</property>
</properties>
<plugins>
<!-- plugin enabling Process Application event listener support -->
<plugin>
<class>org.camunda.bpm.application.impl.event.ProcessApplicationEventListenerPlugin</class>
</plugin>
<!-- plugin enabling integration of camunda Spin -->
<plugin>
<class>org.camunda.spin.plugin.impl.SpinProcessEnginePlugin</class>
</plugin>
<!-- plugin enabling connect support -->
<plugin>
<class>org.camunda.connect.plugin.impl.ConnectProcessEnginePlugin</class>
</plugin>
<!-- LDAP CONFIGURATION -->
<!-- Uncomment this section in order to enable LDAP support for this process engine -->
<!-- Adjust configuration, see ( http://docs.camunda.org/latest/guides/user-guide/#process-engine-identity-service-the-ldap-identity-service ) -->
<plugin>
<class>org.camunda.bpm.identity.impl.ldap.plugin.LdapIdentityProviderPlugin</class>
<properties>
<property name="serverUrl">ldap://10.237.5.79:389/</property>
<property name="acceptUntrustedCertificates">true</property>
<property name="managerDn">CN=ETLdapUser,OU=ServiceAccounts,OU=India,OU=APAC,OU=Cognizant,DC=cts,DC=com</property>
<property name="managerPassword">E111111#</property>
<property name="baseDn"></property>
<property name="userSearchBase">OU=Cognizant,DC=cts,DC=com</property>
<property name="userSearchFilter">(objectclass=person)</property>
<property name="userIdAttribute">mailNickname</property>
<property name="userFirstnameAttribute">sAMAccountName</property>
<!-- <property name="userLastnameAttribute">sn</property> -->
<property name="userEmailAttribute">mail</property>
<property name="userPasswordAttribute">userPassword</property>
<property name="groupSearchBase">OU=Groups,OU=BTP,OU=Bangalore,OU=India,OU=APAC,OU=Cognizant,DC=cts,DC=com</property>
<property name="groupSearchFilter">(objectclass=group)</property>
<property name="groupIdAttribute">mailNickname</property>
<property name="groupNameAttribute">sAMAccountName</property>
<property name="groupMemberAttribute">member</property>
<property name="groupMemberAttribute">managedBy</property>
<property name="authorizationCheckEnabled">false</property>
</properties>
</plugin>
<!-- LDAP CONFIGURATION -->
<!-- The following plugin allows you to grant administrator authorizations to an existing LDAP user -->
<plugin>
<class>org.camunda.bpm.engine.impl.plugin.AdministratorAuthorizationPlugin</class>
<properties>
<property name="administratorUserName">558735</property>
</properties>
</plugin>
</plugins>
</process-engine>
</bpm-platform>
and my server.xml is here:
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
<!-- <Resource name="jdbc/ProcessEngine"
auth="Container"
type="javax.sql.DataSource"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
uniqueResourceName="process-engine"
driverClassName="org.h2.Driver"
url="jdbc:h2:./camunda-h2-dbs/process-engine;MVCC=TRUE;TRACE_LEVEL_FILE=0;DB_CLOSE_ON_EXIT=FALSE"
username="sa"
password="sa"
maxActive="20"
minIdle="5" />-->
<!-- url="jdbc:sqlserver://10.223.65.182:1433;databaseName=CamundaDB_184_V1" -->
<!-- url="jdbc:sqlserver://10.155.26.169:1433;databaseName=CamundaDB_12292016" -->
<!-- url="jdbc:sqlserver://10.223.65.182:1433;databaseName=Camunda_UAT_PROD_TEST" -->
<!--<Resource name="jdbc/ProcessEngine"
auth="Container"
type="javax.sql.DataSource"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
uniqueResourceName="process-engine"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://10.223.65.182:1433;databaseName=CamundaDB_184_V1_TEST"
username="PMOSS"
password="PMOSS"
/>-->
<!-- V2 -->
<!-- <Resource name="jdbc/ProcessEngine"
auth="Container"
type="javax.sql.DataSource"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
uniqueResourceName="process-engine"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://10.223.65.182:1433;databaseName=Camunda_UAT_Test"
username="PMOSS"
password="PMOSS"
/>-->
<Resource name="jdbc/ProcessEngine"
auth="Container"
type="javax.sql.DataSource"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
uniqueResourceName="process-engine"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://10.223.65.182:1433;databaseName=DCS_ECONTRACT"
username="iDCS_USER"
password="iDCS_USER"
/>
<Resource name="global/camunda-bpm-platform/process-engine/ProcessEngineService!org.camunda.bpm.ProcessEngineService" auth="Container"
type="org.camunda.bpm.ProcessEngineService"
description="camunda BPM platform Process Engine Service"
factory="org.camunda.bpm.container.impl.jndi.ProcessEngineServiceObjectFactory" />
<Resource name="global/camunda-bpm-platform/process-engine/ProcessApplicationService!org.camunda.bpm.ProcessApplicationService" auth="Container"
type="org.camunda.bpm.ProcessApplicationService"
description="camunda BPM platform Process Application Service"
factory="org.camunda.bpm.container.impl.jndi.ProcessApplicationServiceObjectFactory" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
-->
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!--
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- Use the LockOutRealm to prevent attempts to guess user passwords
via a brute-force attack -->
<Realm className="org.apache.catalina.realm.LockOutRealm">
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
</Engine>
</Service>
</Server>
Help Me Out on Urgent Basis as my job is in danger due to this delay…
cheers,
Jauhari