Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepo #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions ACL/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?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/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
23 changes: 23 additions & 0 deletions ACL/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ACL</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
4 changes: 4 additions & 0 deletions ACL/.settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
8 changes: 8 additions & 0 deletions ACL/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
4 changes: 4 additions & 0 deletions ACL/.settings/org.eclipse.m2e.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
61 changes: 61 additions & 0 deletions ACL/ACL.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="ScannedImage">
<xs:complexType>
<xs:sequence>
<xs:element name="Index">
<xs:complexType>
<xs:sequence>
<xs:element name="bpu_code" type="xs:int">
</xs:element>
<xs:element name="ctry_code" type="xs:string">
</xs:element>
<xs:element name="Entity_Type" type="xs:string">
</xs:element>
<xs:element name="cl_number" type="xs:int">
</xs:element>
<xs:element name="cert_number">
</xs:element>
<xs:element name="pol_number" type="xs:string">
</xs:element>
<xs:element name="ent_code" type="xs:int">
</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="Document">
<xs:complexType>
<xs:sequence>
<xs:element name="FileName" type="xs:string">
</xs:element>
<xs:element name="scan_info" type="xs:string">
</xs:element>
<xs:element name="doc_description" type="xs:string">
</xs:element>
<xs:element name="ftyp_code" type="xs:int">
</xs:element>

<xs:element name="doc_type_code" type="xs:int">
</xs:element>

<xs:element name="doc_producer" type="xs:string">
</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

<xs:attribute name="xmlns" type="xs:string"></xs:attribute>

</xs:complexType>

</xs:element>

</xs:schema>
86 changes: 86 additions & 0 deletions ACL/ACLLogACL.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
12-06-2019 06:37:48 INFO ResourceLoader:43 - ResourceLoader :: Log4j, Connection Environment Configurations Loaded
12-06-2019 06:37:48 INFO ProcessInitiator:190 - Pre-processing is executed by new thread: THREAD_JOBS_INITIATOR
12-06-2019 06:37:49 INFO PreProcessorServiceImpl:42 - ACL preProcessorServiceImpl : InitProcess() : Execution Started for Country - NL
12-06-2019 06:37:49 INFO PreProcessorServiceImpl:43 - ACL preProcessorServiceImpl : InitProcess() : Checking for New Content
12-06-2019 06:37:49 FATAL PreProcessorServiceImpl:164 - ACL preProcessorServiceImpl :: InitProcess :: Unhandled exception occurred in the program. Exiting execution for Country : NL. Error : null
java.lang.NullPointerException
at com.chubb.workview.interfaces.service.PreProcessorServiceImpl.initProcess(PreProcessorServiceImpl.java:51)
at com.chubb.workview.interfaces.preprocessor.Runner.run(ThreadRunner.java:87)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
12-06-2019 06:37:49 INFO PreProcessorDAO:37 - Trying to get a new connection instance to DB
12-06-2019 06:37:49 FATAL PreProcessorMain:44 - ThreadRunner :: InitializeThreads :: Unexpected Runtime Error Occurred in Processing Thread - THREAD_JOBS_INITIATOR. Exiting thread execution !!! Please analyze the logs
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.chubb.workview.interfaces.dao.PreProcessorDAO.<init>(PreProcessorDAO.java:38)
at com.chubb.workview.interfaces.dao.PreProcessorDAO.getDAOObject(PreProcessorDAO.java:75)
at com.chubb.workview.interfaces.preprocessor.ThreadRunner.initializeThreads(ThreadRunner.java:63)
at com.chubb.workview.interfaces.preprocessor.ProcessInitiator.run(PreProcessorMain.java:192)
at java.lang.Thread.run(Unknown Source)
12-06-2019 06:37:54 INFO PreProcessorMain:69 - ------------ACL Preprocessor Execution Process ENDS without High Availability settings.-----------
12-06-2019 06:40:40 INFO ResourceLoader:43 - ResourceLoader :: Log4j, Connection Environment Configurations Loaded
12-06-2019 06:40:40 INFO ProcessInitiator:190 - Pre-processing is executed by new thread: THREAD_JOBS_INITIATOR
12-06-2019 06:40:40 INFO PreProcessorServiceImpl:42 - ACL preProcessorServiceImpl : InitProcess() : Execution Started for Country - NL
12-06-2019 06:40:40 INFO PreProcessorServiceImpl:43 - ACL preProcessorServiceImpl : InitProcess() : Checking for New Content
12-06-2019 06:40:40 FATAL PreProcessorServiceImpl:164 - ACL preProcessorServiceImpl :: InitProcess :: Unhandled exception occurred in the program. Exiting execution for Country : NL. Error : null
java.lang.NullPointerException
at com.chubb.workview.interfaces.service.PreProcessorServiceImpl.initProcess(PreProcessorServiceImpl.java:51)
at com.chubb.workview.interfaces.preprocessor.Runner.run(ThreadRunner.java:87)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
12-06-2019 06:40:40 INFO PreProcessorDAO:37 - Trying to get a new connection instance to DB
12-06-2019 06:40:40 FATAL PreProcessorMain:44 - ThreadRunner :: InitializeThreads :: Unexpected Runtime Error Occurred in Processing Thread - THREAD_JOBS_INITIATOR. Exiting thread execution !!! Please analyze the logs
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.chubb.workview.interfaces.dao.PreProcessorDAO.<init>(PreProcessorDAO.java:38)
at com.chubb.workview.interfaces.dao.PreProcessorDAO.getDAOObject(PreProcessorDAO.java:75)
at com.chubb.workview.interfaces.preprocessor.ThreadRunner.initializeThreads(ThreadRunner.java:63)
at com.chubb.workview.interfaces.preprocessor.ProcessInitiator.run(PreProcessorMain.java:192)
at java.lang.Thread.run(Unknown Source)
12-06-2019 06:40:45 INFO PreProcessorMain:69 - ------------ACL Preprocessor Execution Process ENDS without High Availability settings.-----------
12-06-2019 06:42:05 INFO ResourceLoader:43 - ResourceLoader :: Log4j, Connection Environment Configurations Loaded
12-06-2019 06:42:06 INFO ProcessInitiator:190 - Pre-processing is executed by new thread: THREAD_JOBS_INITIATOR
12-06-2019 06:42:06 INFO PreProcessorServiceImpl:42 - ACL preProcessorServiceImpl : InitProcess() : Execution Started for Country - NL
12-06-2019 06:42:06 INFO PreProcessorServiceImpl:43 - ACL preProcessorServiceImpl : InitProcess() : Checking for New Content
12-06-2019 06:42:06 INFO PreProcessorDAO:37 - Trying to get a new connection instance to DB
12-06-2019 06:42:06 FATAL PreProcessorMain:44 - ThreadRunner :: InitializeThreads :: Unexpected Runtime Error Occurred in Processing Thread - THREAD_JOBS_INITIATOR. Exiting thread execution !!! Please analyze the logs
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.chubb.workview.interfaces.dao.PreProcessorDAO.<init>(PreProcessorDAO.java:38)
at com.chubb.workview.interfaces.dao.PreProcessorDAO.getDAOObject(PreProcessorDAO.java:75)
at com.chubb.workview.interfaces.preprocessor.ThreadRunner.initializeThreads(ThreadRunner.java:63)
at com.chubb.workview.interfaces.preprocessor.ProcessInitiator.run(PreProcessorMain.java:192)
at java.lang.Thread.run(Unknown Source)
12-06-2019 06:42:11 INFO PreProcessorMain:69 - ------------ACL Preprocessor Execution Process ENDS without High Availability settings.-----------
12-06-2019 06:43:44 INFO ResourceLoader:43 - ResourceLoader :: Log4j, Connection Environment Configurations Loaded
12-06-2019 06:43:44 INFO ProcessInitiator:190 - Pre-processing is executed by new thread: THREAD_JOBS_INITIATOR
12-06-2019 06:43:44 INFO PreProcessorServiceImpl:42 - ACL preProcessorServiceImpl : InitProcess() : Execution Started for Country - NL
12-06-2019 06:43:44 INFO PreProcessorServiceImpl:43 - ACL preProcessorServiceImpl : InitProcess() : Checking for New Content
12-06-2019 06:43:44 INFO PreProcessorDAO:37 - Trying to get a new connection instance to DB
12-06-2019 06:43:46 INFO PreProcessorDAO:84 - Trying to close a connection instance for DB
12-06-2019 06:43:51 INFO PreProcessorMain:69 - ------------ACL Preprocessor Execution Process ENDS without High Availability settings.-----------
12-06-2019 06:44:07 INFO ResourceLoader:43 - ResourceLoader :: Log4j, Connection Environment Configurations Loaded
12-06-2019 06:44:07 INFO ProcessInitiator:190 - Pre-processing is executed by new thread: THREAD_JOBS_INITIATOR
12-06-2019 06:44:07 INFO PreProcessorServiceImpl:42 - ACL preProcessorServiceImpl : InitProcess() : Execution Started for Country - NL
12-06-2019 06:44:07 INFO PreProcessorServiceImpl:43 - ACL preProcessorServiceImpl : InitProcess() : Checking for New Content
12-06-2019 06:44:07 FATAL PreProcessorServiceImpl:164 - ACL preProcessorServiceImpl :: InitProcess :: Unhandled exception occurred in the program. Exiting execution for Country : NL. Error : null
java.lang.NullPointerException
at com.chubb.workview.interfaces.service.PreProcessorServiceImpl.initProcess(PreProcessorServiceImpl.java:62)
at com.chubb.workview.interfaces.preprocessor.Runner.run(ThreadRunner.java:87)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
12-06-2019 06:44:07 INFO PreProcessorDAO:37 - Trying to get a new connection instance to DB
12-06-2019 06:44:09 INFO PreProcessorDAO:84 - Trying to close a connection instance for DB
12-06-2019 06:44:14 INFO PreProcessorMain:69 - ------------ACL Preprocessor Execution Process ENDS without High Availability settings.-----------
18 changes: 18 additions & 0 deletions ACL/Resources/bin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--suppress XmlHighlighting, XmlHighlighting -->
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>zip</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<outputDirectory>/${project.name}</outputDirectory>
<directory>${project.basedir}/target/${project.name}</directory>
<includes/>
</fileSet>
</fileSets>

</assembly>
Binary file added ACL/Resources/lib/commons-io-2.5.jar
Binary file not shown.
Binary file added ACL/Resources/lib/db2jcc-1.4.2.jar
Binary file not shown.
Binary file added ACL/Resources/lib/db2jcc_license_cu-9.jar
Binary file not shown.
Binary file added ACL/Resources/lib/junit-4.12.jar
Binary file not shown.
Binary file added ACL/Resources/lib/log4j-1.2.17.jar
Binary file not shown.
Binary file added ACL/Resources/lib/xml-apis-1.3.04.jar
Binary file not shown.
Loading