Re: Cannot get Fuseki 5 to run...

2024-05-02 Thread Phillip Rhodes
Thanks Andy. Once that patch is in place, I can do a build and test in my
environment. I'm following the issue on GitHub to keep track.


Phil

On Thu, May 2, 2024, 5:05 AM Andy Seaborne  wrote:

> Hi Phil,
>
> It's a bug.
>
> Fuseki uses the CORS filter from Eclipse Jetty by code-copy so as not to
> depend on Jetty. But at the last update, some Jetty code usage didn't
> get replaced and there are class references.
>
> Issue created:
> https://github.com/apache/jena/issues/2443
>
>  Andy
>
> On 02/05/2024 04:02, Phillip Rhodes wrote:
> > Gang:
> >
> > I'm having NO luck at all getting Fuseki 5 to run. I'm using Java 17
> > and the latest Tomcat 10 release that I see (apache-tomcat-10.1.23)
> > and Fuseki "jena-fuseki-war-5.0.0.war". From what I could find of docs
> > I thought this combination was sufficient, but apparently not. When I
> > try to launch the server I get this:
> >
> > 02-May-2024 02:56:46.903 SEVERE [main]
> > org.apache.catalina.startup.HostConfig.deployWAR Error deploying web
> > application archive
> > [/extradata/downloads/tomcat/apache-tomcat-10.1.23/webapps/fuseki.war]
> > java.lang.IllegalStateException: Error starting child
> > at
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:690)
> > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:659)
> > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:712)
> > at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:969)
> > at
> >
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1911)
> > at
> >
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
> > at
> > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> > at
> >
> org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> > at
> >
> java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
> > at
> > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:771)
> > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:423)
> > at
> > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1629)
> > at
> >
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
> > at
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114)
> > at
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> > at
> > org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:345)
> > at
> >
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:903)
> > at
> >
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:845)
> > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
> > at
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1345)
> > at
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1335)
> > at
> > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> > at
> >
> org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> > at
> >
> java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
> > at
> >
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:876)
> > at
> >
> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:240)
> > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
> > at
> >
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:470)
> > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
> > at
> >
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:947)
> > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
> > at
> org.apache.catalina.startup.Catalina.start(Catalina.java:757)
> > at
> > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > at
> >
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> > at
> >
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at
> java.base/java.lang.reflect.Method.invoke(Method.java:568)
> > at
> >

Re: Cannot get Fuseki 5 to run...

2024-05-02 Thread Andy Seaborne

Hi Phil,

It's a bug.

Fuseki uses the CORS filter from Eclipse Jetty by code-copy so as not to 
depend on Jetty. But at the last update, some Jetty code usage didn't 
get replaced and there are class references.


Issue created:
https://github.com/apache/jena/issues/2443

Andy

On 02/05/2024 04:02, Phillip Rhodes wrote:

Gang:

I'm having NO luck at all getting Fuseki 5 to run. I'm using Java 17
and the latest Tomcat 10 release that I see (apache-tomcat-10.1.23)
and Fuseki "jena-fuseki-war-5.0.0.war". From what I could find of docs
I thought this combination was sufficient, but apparently not. When I
try to launch the server I get this:

02-May-2024 02:56:46.903 SEVERE [main]
org.apache.catalina.startup.HostConfig.deployWAR Error deploying web
application archive
[/extradata/downloads/tomcat/apache-tomcat-10.1.23/webapps/fuseki.war]
java.lang.IllegalStateException: Error starting child
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:690)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:659)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:712)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:969)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1911)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:771)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:423)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1629)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
at
org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:345)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:903)
at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:845)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1345)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1335)
at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:876)
at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:240)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:470)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:947)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
at org.apache.catalina.startup.Catalina.start(Catalina.java:757)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
Caused by: org.apache.catalina.LifecycleException: Failed to
start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/fuseki]]
at
org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:419)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:186)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:687)

Cannot get Fuseki 5 to run...

2024-05-01 Thread Phillip Rhodes
Gang:

I'm having NO luck at all getting Fuseki 5 to run. I'm using Java 17
and the latest Tomcat 10 release that I see (apache-tomcat-10.1.23)
and Fuseki "jena-fuseki-war-5.0.0.war". From what I could find of docs
I thought this combination was sufficient, but apparently not. When I
try to launch the server I get this:

02-May-2024 02:56:46.903 SEVERE [main]
org.apache.catalina.startup.HostConfig.deployWAR Error deploying web
application archive
[/extradata/downloads/tomcat/apache-tomcat-10.1.23/webapps/fuseki.war]
   java.lang.IllegalStateException: Error starting child
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:690)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:659)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:712)
   at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:969)
   at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1911)
   at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
   at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   at
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
   at
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
   at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:771)
   at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:423)
   at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1629)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
   at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114)
   at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
   at
org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:345)
   at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:903)
   at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:845)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
   at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1345)
   at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1335)
   at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   at
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
   at
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
   at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:876)
   at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:240)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
   at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:470)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
   at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:947)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:757)
   at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
   at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:568)
   at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
   Caused by: org.apache.catalina.LifecycleException: Failed to
start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/fuseki]]
   at
org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:419)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:186)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:687)
   ... 37 more
   Caused by: java.lang.NoClassDefFoundError:
org/eclipse/jetty/http/HttpField
   at java.base/java.lang.Class.getDeclaredFields0(Native Method)
   at
java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3297)
   at java.base/java.lang.Class.getDeclaredFields(Class.java:2371)
   at
o