You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@marmotta.apache.org by Santiago Gonzalez Toral <he...@gmail.com> on 2017/08/02 23:51:38 UTC

JAX-RS Doclet error while deploying Docker image

Hi,

I tried to deploy a fully functioning marmotta instance using the lastest
Docker image available (which uses openjdk-7 "1.7.0_111"), but when I want
to access the Webservices docs of each module I obtained:
HTTP Status 404 - /marmotta/{module}/doc/rest/overview-index.html

When I tried to build the Docker image from scratch using the github source
code with tag 3.3.0, and openjdk-8 (Java version: 1.8.0_131, vendor: Oracle
Corporation), during marmotta compilation I obtained similar errors as in
https://issues.apache.org/jira/browse/MARMOTTA-513.

I could generate marmotta doclets only when compiling the source code
locally on a machine with the following jdk version: Java version:
1.7.0_80, vendor: Oracle Corporation

Hope, you can help me with any hint on how can I make the docker image to
work.
-- 
Regards,

Santiago Gonzalez Toral
MSc Web Science and Big Data Analytics

Re: JAX-RS Doclet error while deploying Docker image

Posted by Xavier Sumba <xa...@ucuenca.ec>.
Hi Santiago,

Indeed, JAX-RS Doclet is not compatible with JDK 8. I think Nick Kasvosve
is working in some solution [1], and Marmotta 3.4.0 will be released soon.
For building your own image you can compile Marmotta 3.3.0 with Java 7 and
follow the instructions in [2]. When you download Marmotta 3.3.0, there is
not dockerfile, so you can use the dockerfile from develop [3]; the process
would be the same.


Hope it helps.

Cheers,
Xavier.


[1]
https://lists.apache.org/thread.html/313ff08b64456b054f915328b32f3ac84c80c2dbf2ef7daa71956e7b@%3Cdev.marmotta.apache.org%3E
[2] https://github.com/apache/marmotta#building-a-docker-image
[3] https://github.com/apache/marmotta/blob/develop/Dockerfile

On Aug 2, 2017, at 18:51, Santiago Gonzalez Toral <he...@gmail.com>
wrote:

Hi,

I tried to deploy a fully functioning marmotta instance using the lastest
Docker image available (which uses openjdk-7 "1.7.0_111"), but when I want
to access the Webservices docs of each module I obtained:
HTTP Status 404 - /marmotta/{module}/doc/rest/overview-index.html

When I tried to build the Docker image from scratch using the github source
code with tag 3.3.0, and openjdk-8 (Java version: 1.8.0_131, vendor: Oracle
Corporation), during marmotta compilation I obtained similar errors as in
https://issues.apache.org/jira/browse/MARMOTTA-513.

I could generate marmotta doclets only when compiling the source code
locally on a machine with the following jdk version: Java version:
1.7.0_80, vendor: Oracle Corporation

Hope, you can help me with any hint on how can I make the docker image to
work.
-- 
Regards,

Santiago Gonzalez Toral
MSc Web Science and Big Data Analytics