Hi Sergio, and thanks for your quick response.

On Sat, Nov 15, 2014 at 3:19 PM, Sergio Fernández <wik...@apache.org> wrote:
>
>
> So if the NPE comes from MarmottaResourceFilter.java:83
>
> https://github.com/apache/marmotta/blob/develop/
> platform/marmotta-core/src/main/java/org/apache/marmotta/
> platform/core/servlet/MarmottaResourceFilter.java#L83
>
> probably means an issue with CDI, and log or configurationService have not
> been injected. Check the CDI setup, and let us know if there is any patch
> that should be applied upstream.


I was able to resolve this fairly quickly once you pointed this out. I now
have a working bundled `marmotta-jetty`! (Note that the repo has been moved
here [0].)

In my case, I had to update both META-INF/jetty-web.xml and
WEB-INF/jetty-web.xml to get Jetty 8.1.16 to run Marmotta 3.2.1. I'm going
to test this against a 3.3.0 snapshot build as well. If you're curious
about the changes I had to make, they are both here in [1]. It might be
inelegant, so if there's a slightly better way to go that may work better
as a formal patch to Marmotta, please let me know.

[0] https://github.com/dpla/marmotta-jetty
[1]
https://github.com/dpla/marmotta-jetty/tree/develop/etc/marmotta-war-patch

Cheers,
Mark

--
Mark A. Matienzo <m...@matienzo.org>
Director of Technology, Digital Public Library of America

Reply via email to