jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/336847 )
Change subject: Add jhades to blazegraph WAR.
......................................................................
Add jhades to blazegraph WAR.
This will print a report of classloader issues at application startup. It is
probably more appropriate to include this kind of check at build time, but
it is easier to do it at runtime. And there might be some subtle differences
between build and runtime.
Bug: T157703
Change-Id: I0a80b17b219c122b515061350d68fa9b48fe5599
---
M pom.xml
M war/pom.xml
M war/src/main/webapp/WEB-INF/web.xml
3 files changed, 12 insertions(+), 0 deletions(-)
Approvals:
Smalyshev: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pom.xml b/pom.xml
index ca8c408..80147e8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -149,6 +149,11 @@
<version>${jetty.version}</version>
</dependency>
<dependency>
+ <groupId>org.jhades</groupId>
+ <artifactId>jhades</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ <dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-jvm</artifactId>
<version>1.3.1</version>
diff --git a/war/pom.xml b/war/pom.xml
index 4050ae8..be3e8ff 100644
--- a/war/pom.xml
+++ b/war/pom.xml
@@ -32,6 +32,10 @@
<type>pom</type>
</dependency>
<dependency>
+ <groupId>org.jhades</groupId>
+ <artifactId>jhades</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.linkeddatafragments</groupId>
<artifactId>ldfserver</artifactId>
<type>war</type>
diff --git a/war/src/main/webapp/WEB-INF/web.xml
b/war/src/main/webapp/WEB-INF/web.xml
index 91efc26..970a855 100644
--- a/war/src/main/webapp/WEB-INF/web.xml
+++ b/war/src/main/webapp/WEB-INF/web.xml
@@ -82,6 +82,9 @@
<param-value>com.bigdata.blueprints.webapp.BlueprintsServlet</param-value>
</context-param>
<listener>
+ <listener-class> org.jhades.JHadesServletListener</listener-class>
+ </listener>
+ <listener>
<listener-class>org.wikidata.query.rdf.blazegraph.WikibaseContextListener</listener-class>
</listener>
<servlet>
--
To view, visit https://gerrit.wikimedia.org/r/336847
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0a80b17b219c122b515061350d68fa9b48fe5599
Gerrit-PatchSet: 2
Gerrit-Project: wikidata/query/rdf
Gerrit-Branch: master
Gerrit-Owner: Gehel <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits