Gehel has uploaded a new change for review. (
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(-)
git pull ssh://gerrit.wikimedia.org:29418/wikidata/query/rdf
refs/changes/47/336847/1
diff --git a/pom.xml b/pom.xml
index ca8c408..7a3ce74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,6 +77,11 @@
<!-- Decalare the default parameters for some dependencies. -->
<dependencies>
<dependency>
+ <groupId>org.jhades</groupId>
+ <artifactId>jhades</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ <dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.1.2</version>
diff --git a/war/pom.xml b/war/pom.xml
index 4050ae8..ece0f39 100644
--- a/war/pom.xml
+++ b/war/pom.xml
@@ -21,6 +21,10 @@
<dependencies>
<dependency>
+ <groupId>org.jhades</groupId>
+ <artifactId>jhades</artifactId>
+ </dependency>
+ <dependency>
<groupId>com.blazegraph</groupId>
<artifactId>bigdata-war</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: newchange
Gerrit-Change-Id: I0a80b17b219c122b515061350d68fa9b48fe5599
Gerrit-PatchSet: 1
Gerrit-Project: wikidata/query/rdf
Gerrit-Branch: master
Gerrit-Owner: Gehel <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits