You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/04/05 10:00:39 UTC
[isis-app-simpleapp] branch jpa-SNAPSHOT updated: adds notes on
eclipselink.weaving
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git
The following commit(s) were added to refs/heads/jpa-SNAPSHOT by this push:
new 43eb4d2 adds notes on eclipselink.weaving
43eb4d2 is described below
commit 43eb4d2e3d1b23c7d6d5937541285550bdcb188a
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Apr 5 11:00:30 2021 +0100
adds notes on eclipselink.weaving
---
lib/README.txt | 3 +++
lib/spring-instrument-5.3.5.jar | Bin 0 -> 7429 bytes
webapp/src/main/resources/application.yml | 7 +++++++
3 files changed, 10 insertions(+)
diff --git a/lib/README.txt b/lib/README.txt
new file mode 100644
index 0000000..8cd1712
--- /dev/null
+++ b/lib/README.txt
@@ -0,0 +1,3 @@
+If eclipselink.weaving=true, then run using JVM argument:
+
+ -javaagent:lib/spring-instrument-5.3.5.jar
diff --git a/lib/spring-instrument-5.3.5.jar b/lib/spring-instrument-5.3.5.jar
new file mode 100644
index 0000000..164db3b
Binary files /dev/null and b/lib/spring-instrument-5.3.5.jar differ
diff --git a/webapp/src/main/resources/application.yml b/webapp/src/main/resources/application.yml
index deb1d70..be99746 100644
--- a/webapp/src/main/resources/application.yml
+++ b/webapp/src/main/resources/application.yml
@@ -72,6 +72,13 @@ isis:
auto-create-schemas: SIMPLE
create-schema-sql-template: "CREATE SCHEMA IF NOT EXISTS %S"
+eclipselink:
+ # if enabled, then must be run with JVM arg:
+ # -javaagent:lib/spring-instrument-5.3.5.jar
+ weaving: false
+ # if weaving subproperties are required, then specify all eclipselink.weaving
+ # properties using application.properties instead (it's not possible to
+ # specify both eclipselink.weaving property and its subsproperties using yaml syntax)
resteasy:
jaxrs: