From 8816bb3e1297f34f343d9f85da08c84ff6292529 Mon Sep 17 00:00:00 2001 From: k-tamura Date: Wed, 8 Feb 2017 22:23:31 +0900 Subject: [PATCH] Change the core server from embedded Jetty to Payara Micro. --- pom.xml | 164 +++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 128 insertions(+), 36 deletions(-) diff --git a/pom.xml b/pom.xml index b582e490..29f0597a 100644 --- a/pom.xml +++ b/pom.xml @@ -1,3 +1,4 @@ + 4.0.0 org.t246osslab.easybuggy @@ -66,42 +67,42 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - 1.6 - 1.6 - - - - org.apache.maven.plugins - maven-enforcer-plugin - 1.1.1 - - - enforce-java - - enforce - - - - - [3.0.0,) - - - [1.6,) - [ERROR] OLD JDK [${java.version}] in use. + + + org.apache.maven.plugins + maven-compiler-plugin + 2.3.2 + + 1.6 + 1.6 + + + + org.apache.maven.plugins + maven-enforcer-plugin + 1.1.1 + + + enforce-java + + enforce + + + + + [3.0.0,) + + + [1.6,) + [ERROR] OLD JDK [${java.version}] in use. Jetty ${jetty-version} requires JDK 1.6 or later - - - - - - - + + maven-war-plugin + 2.6 + + false + ROOT + + + + org.codehaus.mojo + exec-maven-plugin + 1.5.0 + + + fish.payara.extras + payara-micro + 4.1.1.162 + + + + + payara-uber-jar + package + + java + + + fish.payara.micro.PayaraMicro + + --deploy + ${basedir}/target/ROOT.war + --outputUberJar + ${basedir}/target/easybuggy.jar + + false + true + + fish.payara.extras + payara-micro + + + + + second-execution + install + + exec + + + java + + -Xmx256m + -XX:MaxPermSize=32m + -XX:MaxDirectMemorySize=90m + -XX:+UseSerialGC + -Xloggc:logs/gc.log + -XX:+PrintHeapAtGC + -XX:+PrintGCDetails + -XX:+PrintGCDateStamps + -XX:+UseGCLogFileRotation + -XX:NumberOfGCLogFiles=5 + -XX:GCLogFileSize=10M + -XX:GCTimeLimit=15 + -XX:GCHeapFreeLimit=50 + -XX:+HeapDumpOnOutOfMemoryError + -XX:HeapDumpPath=logs/ + -XX:ErrorFile=logs/hs_err_pid%p.log + -XX:NativeMemoryTracking=summary + -XX:+UnlockCommercialFeatures + -XX:+FlightRecorder + -agentlib:jdwp=transport=dt_socket,server=y,address=9009,suspend=n + -Dderby.stream.error.file=logs/derby.log + -Dderby.infolog.append=true + -Dderby.language.logStatementText=true + -Dderby.locks.deadlockTrace=true + -Dderby.locks.monitor=true + -Dderby.storage.rowLocking=true + -Dcom.sun.management.jmxremote + -Dcom.sun.management.jmxremote.port=7900 + -Dcom.sun.management.jmxremote.ssl=false + -Dcom.sun.management.jmxremote.authenticate=false + -jar + ${basedir}/target/easybuggy.jar + + + + + + + +