Dear,
While the documentation explain how to get war, i missed the part
which explain how to contribute.
And I stuck with IDEA <--> tomcat <---> fuseki war
Thus,
1. I installed tomcat 10 into /opt/tomcat/latest
2. clone the jena repo
git clone <<https://github.com/apache/jena.git>>
3. open a Java project with IDEA from directory jena/jena-fuseki2
4. I run maven install
5. configure IDEA <--> tomcat as described from below screenshot
fig1: <<https://i.postimg.cc/TPs4YJKF/fig-idea-tomcat-1.png>>
fig2: <<https://i.postimg.cc/CLMHXf1q/fig-idea-tomcat-2.png>>
fig3: <<https://i.postimg.cc/MTbVrWJ5/fig-idea-tomcat-3.png>>
note on latest figre I try several artifact without success
Below the log
thanks for your help
----------------------------
/opt/tomcat/latest/bin/catalina.sh run
[2023-01-30 02:41:08,373] Artifact jena-fuseki-war:war: Waiting for
server connection to start artifact deployment...
30-Jan-2023 14:41:08.685 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version
name: Apache Tomcat/10.1.5
30-Jan-2023 14:41:08.686 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server built:
Jan 9 2023 19:52:50 UTC
30-Jan-2023 14:41:08.686 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version
number: 10.1.5.0
30-Jan-2023 14:41:08.686 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Name:
Linux
30-Jan-2023 14:41:08.686 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Version:
6.1.7-100.fc36.x86_64
30-Jan-2023 14:41:08.687 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture:
amd64
30-Jan-2023 14:41:08.687 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Java Home:
/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-3.fc36.x86_64
30-Jan-2023 14:41:08.687 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:
17.0.5+8
30-Jan-2023 14:41:08.687 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:
Red Hat, Inc.
30-Jan-2023 14:41:08.687 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:
/opt/tomcat/10.1.5
30-Jan-2023 14:41:08.687 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:
/opt/tomcat/10.1.5
30-Jan-2023 14:41:08.688 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -
Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properti
es
30-Jan-2023 14:41:08.688 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
30-Jan-2023 14:41:08.688 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Djava.security.egd=<<file:///dev/urandom>>
30-Jan-2023 14:41:08.688 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dcom.sun.management.jmxremote=
30-Jan-2023 14:41:08.688 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dcom.sun.management.jmxremote.port=1099
30-Jan-2023 14:41:08.688 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dcom.sun.management.jmxremote.ssl=false
30-Jan-2023 14:41:08.688 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -
Dcom.sun.management.jmxremote.password.file=/home/jmercier/.cache/JetBr
ains/IntelliJIdea2022.3/tomcat/f59ac82b-d46f-4ebb-9dc1-
45c4d87a829d/jmxremote.password
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -
Dcom.sun.management.jmxremote.access.file=/home/jmercier/.cache/JetBrai
ns/IntelliJIdea2022.3/tomcat/f59ac82b-d46f-4ebb-9dc1-
45c4d87a829d/jmxremote.access
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Djava.rmi.server.hostname=127.0.0.1
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Djdk.tls.ephemeralDHKeySize=2048
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument:
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: --add-opens=java.base/java.lang=ALL-UNNAMED
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: --add-opens=java.base/java.io=ALL-UNNAMED
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: --add-opens=java.base/java.util=ALL-UNNAMED
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dcatalina.base=/opt/tomcat/latest
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dcatalina.home=/opt/tomcat/latest
30-Jan-2023 14:41:08.689 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Djava.io.tmpdir=/opt/tomcat/latest/temp
30-Jan-2023 14:41:08.690 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The
Apache
Tomcat Native library which allows using OpenSSL was not found on the
java.library.path:
[/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
30-Jan-2023 14:41:08.788 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio-8080"]
30-Jan-2023 14:41:08.800 INFO [main]
org.apache.catalina.startup.Catalina.load Server initialization in
[206] milliseconds
30-Jan-2023 14:41:08.820 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting
service
[Catalina]
30-Jan-2023 14:41:08.821 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting
Servlet
engine: [Apache Tomcat/10.1.5]
30-Jan-2023 14:41:08.825 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory [/opt/tomcat/10.1.5/webapps/ROOT]
30-Jan-2023 14:41:08.943 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
web application directory [/opt/tomcat/10.1.5/webapps/ROOT] has
finished in [119] ms
30-Jan-2023 14:41:08.944 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory [/opt/tomcat/10.1.5/webapps/docs]
30-Jan-2023 14:41:08.952 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
web application directory [/opt/tomcat/10.1.5/webapps/docs] has
finished in [9] ms
30-Jan-2023 14:41:08.952 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory [/opt/tomcat/10.1.5/webapps/examples]
30-Jan-2023 14:41:09.044 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
web application directory [/opt/tomcat/10.1.5/webapps/examples] has
finished in [92] ms
30-Jan-2023 14:41:09.044 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory [/opt/tomcat/10.1.5/webapps/host-manager]
30-Jan-2023 14:41:09.054 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
web application directory [/opt/tomcat/10.1.5/webapps/host-manager]
has
finished in [10] ms
30-Jan-2023 14:41:09.054 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory [/opt/tomcat/10.1.5/webapps/manager]
30-Jan-2023 14:41:09.062 INFO [main]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
web application directory [/opt/tomcat/10.1.5/webapps/manager] has
finished in [8] ms
30-Jan-2023 14:41:09.064 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio-8080"]
30-Jan-2023 14:41:09.068 INFO [main]
org.apache.catalina.startup.Catalina.start Server startup in [268]
milliseconds
Connected to server
[2023-01-30 02:41:09,447] Artifact jena-fuseki-war:war: Artifact is
being deployed, please wait...
30-Jan-2023 14:41:10.325 INFO [RMI TCP Connection(2)-127.0.0.1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was
scanned for TLDs yet contained no TLDs. Enable debug logging for this
logger for a complete list of JARs that were scanned but no TLDs were
found in them. Skipping unneeded JARs during scanning can improve
startup time and JSP compilation time.
30-Jan-2023 14:41:10.673 SEVERE [RMI TCP Connection(2)-127.0.0.1]
org.apache.catalina.core.StandardContext.startInternal One or more
Filters failed to start. Full details will be found in the
appropriate
container log file
30-Jan-2023 14:41:10.673 SEVERE [RMI TCP Connection(2)-127.0.0.1]
org.apache.catalina.core.StandardContext.startInternal Context
[/jena_fuseki_war_war] startup failed due to previous errors
[2023-01-30 02:41:10,680] Artifact jena-fuseki-war:war: Error during
artifact deployment. See server log for details.
30-Jan-2023 16:07:19.391 INFO [Notification Thread]
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceL
oading Illegal access: this web application instance has been stopped
already. Could not load [javax.management.openmbean.CompositeData].
The
following stack trace is thrown for debugging purposes as well as to
attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web
application instance has been stopped already. Could not load
[javax.management.openmbean.CompositeData]. The following stack trace
is thrown for debugging purposes as well as to attempt to terminate
the
thread which caused the illegal access.
at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceL
oading(WebappClassLoaderBase.java:1457)
at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoad
ing(WebappClassLoaderBase.java:1445)
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassL
oaderBase.java:1284)
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassL
oaderBase.java:1245)
at
io.micrometer.core.instrument.binder.jvm.JvmGcMetrics$GcMetricsNotifica
tionListener.handleNotification(JvmGcMetrics.java:170)
at
java.management/sun.management.NotificationEmitterSupport.sendNotificat
ion(NotificationEmitterSupport.java:155)
at
jdk.management/com.sun.management.internal.GarbageCollectorExtImpl.crea
teGCNotification(GarbageCollectorExtImpl.java:115)
[2023-01-31 12:43:16,944] Artifact jena-fuseki-war:war: Artifact is
being deployed, please wait...
31-Jan-2023 00:43:17.782 INFO [RMI TCP Connection(5)-127.0.0.1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was
scanned for TLDs yet contained no TLDs. Enable debug logging for this
logger for a complete list of JARs that were scanned but no TLDs were
found in them. Skipping unneeded JARs during scanning can improve
startup time and JSP compilation time.
31-Jan-2023 00:43:18.054 SEVERE [RMI TCP Connection(5)-127.0.0.1]
org.apache.catalina.core.StandardContext.startInternal One or more
Filters failed to start. Full details will be found in the
appropriate
container log file
31-Jan-2023 00:43:18.054 SEVERE [RMI TCP Connection(5)-127.0.0.1]
org.apache.catalina.core.StandardContext.startInternal Context
[/jena_fuseki_war_war] startup failed due to previous errors
[2023-01-31 12:43:18,562] Artifact jena-fuseki-war:war: Error during
artifact deployment. See server log for details.