From 2f1ddaee4f2302aad14cfe22e8dc2e08dc51def7 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 19 Aug 2015 14:47:05 +0200 Subject: [PATCH] =?utf8?q?Updated=20'jcore.jar'=20+=20added=20initializati?= =?utf8?q?on=20of=20backends=20for=20local=20call=20+=20caught=20all=20exc?= =?utf8?q?eptions=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcore.jar | Bin 107750 -> 107958 bytes lib/nblibraries.properties | 4 ++++ nbproject/build-impl.xml | 2 ++ nbproject/genfiles.properties | 6 +++--- nbproject/project.properties | 3 ++- nbproject/project.xml | 4 ++++ .../application/PizzaServiceApplication.java | 5 ++++- 7 files changed, 19 insertions(+), 5 deletions(-) diff --git a/lib/jcore.jar b/lib/jcore.jar index 0e8813704d51794f066ea23fb50fd7504286bb4a..bcc5b02c6b6c308992fff68addd0f12ac6b54a42 100644 GIT binary patch delta 7535 zcma)Bdq7rIw*URU*ExLO5#bY1@C5-X0zN=3Nd+|$6%pU!6Ht62Dv$CRYGpR5AfI+r zLNRIVon-@(mT6-To2lk;XQs!@*jU{=)5~VM)8m@nwa@wZ%L6=evDUO0#g*I;XnoEYRQ4R`Nj=g zflC~waNQkQ3LJJP2i7dsZzP%GOb$f+EiCYo!>ec#ghn;rI-xf>t)3>2>WTU(*DW^n zfIzYF6N$fej#Ic8*X;@{aE(-;$u(Mmi>_=165Kfobay11_09C%DEqMcW}7D2{A&Zd z1R^}TYR7r<6i|~W?)sA=HKED9IstaVY%ByFeybG2I)X!7(iBla=cd)=xh{;V}l z7Tk#qvtD&7IA(4G75u}zk1Tk4!SgQFu3R+Tq2TLf&slKOvV;WHK79WqkAh#+{oqsZ z^Tu~Ii|**}EV`zj-(_R=eO-vqg9L+(ftPANjg7Ej)2umvM>tC(mW} z12X%W@zWU_IPQ!zU#h1kaORsR^PNWdXga0W@>gE`41e+Be*9I(MG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9*ZdW@5F(`X zb@;o%4HdQp1Ng#SjoSjbsaBh}pr^nyf@gSj3*;hO&EADrHFc|b1+VVf3c2!DuW!XT zfic@4H{q&$8|3O*9oo*!7q_90be8VqPV9EbUALODy@exR`d7ANn!s^&m@4pS9db>4 z9VQAKxr2);hNi|7J1mVnY^<^e&_gIZcC4BZKw1mio`A*nS^(2qI7aTYIM|wk7S78% zEzSE$uI4)Oy + @@ -1034,6 +1035,7 @@ exists or setup the property manually. For example like this: + diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties index 4420a8f4..9e11a91a 100644 --- a/nbproject/genfiles.properties +++ b/nbproject/genfiles.properties @@ -1,8 +1,8 @@ -build.xml.data.CRC32=948b49d3 +build.xml.data.CRC32=04817f3c build.xml.script.CRC32=a6f5a733 build.xml.stylesheet.CRC32=651128d4@1.68.1.1 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=948b49d3 -nbproject/build-impl.xml.script.CRC32=4bfe912f +nbproject/build-impl.xml.data.CRC32=04817f3c +nbproject/build-impl.xml.script.CRC32=7f4d7ef9 nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.68.1.1 diff --git a/nbproject/project.properties b/nbproject/project.properties index 0223e42f..b22f6a39 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -48,7 +48,8 @@ javac.classpath=\ ${file.reference.jcore.jar}:\ ${file.reference.log4j-api-2.3.jar}:\ ${file.reference.log4j-core-2.3.jar}:\ - ${file.reference.commons-codec-1.10.jar} + ${file.reference.commons-codec-1.10.jar}:\ + ${libs.MySQLDriver.classpath} # Space-separated list of extra javac options javac.compilerargs=-Xlint:unchecked javac.debug=true diff --git a/nbproject/project.xml b/nbproject/project.xml index 5d68967f..d97b82e6 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -22,6 +22,10 @@ ${file.reference.commons-codec-1.10.jar} WEB-INF/lib + + ${libs.MySQLDriver.classpath} + WEB-INF/lib + diff --git a/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java b/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java index b81e142a..f97bad78 100644 --- a/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java +++ b/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java @@ -1171,7 +1171,10 @@ public class PizzaServiceApplication extends BasePizzaServiceSystem implements P try { // Init properties this.initProperties(); - } catch (final IOException ex) { + + // And frontends + this.initDatabaseFrontends(); + } catch (final IOException | UnsupportedDatabaseBackendException | SQLException ex) { // Abort here this.abortProgramWithException(ex); } -- 2.39.5