Re: fuseki and tomcat 10

2021-12-20 Thread Andy Seaborne

https://tomcat.apache.org/migration-10.html

"""
There is a significant breaking change between Tomcat 9.0.x and Tomcat 
10.0.x. The Java package used by the specification APIs has changed from 
javax... to jakarta It will be necessary to recompile web 
applications against the new APIs.

"""

You might try the conversion tool:
https://tomcat.apache.org/download-migration.cgi

and let us know what happens.

Andy


On 20/12/2021 14:10, Pietro Liuzzo wrote:

Dear all,

sorry to bother,
I have tried to install the newly released Fuseki 4.3.2 under tomcat 10.0.14 on 
Ubuntu 18 and I am having not little truble. If anyone could point me in the 
right direction I would very much appreciate.

I have followed these steps 
, which 
usually work nice and easy.

the entire tomcat installation is owned by a user tomcat and a group tomcat, 
but since on that I am also having issues here is what I get running tomcat 10 
as root.

sparql --version
Jena:   VERSION: 4.3.2
Jena:   BUILD_DATE: 2021-12-17T18:56:02Z

tells me that the path is ok, or at least so I believe.

I changed owner and allowed r and x on fuseki.war in the distribution and moved 
it to webapps.

/etc/fuseki, where my data is, is owned by tomcat:tomcat.

I start tomcat and logs are clean, no warning of sort, but instead of the 
fuseki I am returned a 404 with the message
The requested resource [/fuseki/] is not available

The origin server did not find a current representation for the target resource 
or is not willing to disclose that one exists.

It used to work so nicely, and now I have the impression I have been changing 
quotes, commas, lines for four days without being able to replicate the nice 
setup for this to run.

Any suggestion will be greatly appreciated.

all best
Pietro




Re: fuseki and tomcat 10

2021-12-20 Thread Pietro Liuzzo
I guess you solved my problem! Thanks a lot! I did not check because that
is what brew got for me and i trusted that, wrongly.

Andrii Berezovskyi  schrieb am Mo., 20. Dez. 2021, 15:15:

> Hello Pietro,
>
> I am sorry for asking, but before going further: why are you running
> Tomcat 10, especially on Ubuntu 18.04? Ubuntu 18.04 and 20.04 seem to only
> support Tomcat 9 officially:
> https://packages.ubuntu.com/search?suite=default=all=any=tomcat=names.
> I think (official) Tomcat 10 support may come in the next LTS, 22.04.
>
> /Andrew
>
> On 2021-12-20, at 15:10, Pietro Liuzzo  pietro.liu...@gmail.com>> wrote:
>
> Dear all,
>
> sorry to bother,
> I have tried to install the newly released Fuseki 4.3.2 under tomcat
> 10.0.14 on Ubuntu 18 and I am having not little truble. If anyone could
> point me in the right direction I would very much appreciate.
>
> I have followed these steps <
> https://jena.apache.org/documentation/fuseki2/fuseki-quick-start.html>,
> which usually work nice and easy.
>
> the entire tomcat installation is owned by a user tomcat and a group
> tomcat, but since on that I am also having issues here is what I get
> running tomcat 10 as root.
>
> sparql --version
> Jena:   VERSION: 4.3.2
> Jena:   BUILD_DATE: 2021-12-17T18:56:02Z
>
> tells me that the path is ok, or at least so I believe.
>
> I changed owner and allowed r and x on fuseki.war in the distribution and
> moved it to webapps.
>
> /etc/fuseki, where my data is, is owned by tomcat:tomcat.
>
> I start tomcat and logs are clean, no warning of sort, but instead of the
> fuseki I am returned a 404 with the message
> The requested resource [/fuseki/] is not available
>
> The origin server did not find a current representation for the target
> resource or is not willing to disclose that one exists.
>
> It used to work so nicely, and now I have the impression I have been
> changing quotes, commas, lines for four days without being able to
> replicate the nice setup for this to run.
>
> Any suggestion will be greatly appreciated.
>
> all best
> Pietro
>
>
>


Re: fuseki and tomcat 10

2021-12-20 Thread Andrii Berezovskyi
Hello Pietro,

I am sorry for asking, but before going further: why are you running Tomcat 10, 
especially on Ubuntu 18.04? Ubuntu 18.04 and 20.04 seem to only support Tomcat 
9 officially: 
https://packages.ubuntu.com/search?suite=default=all=any=tomcat=names.
 I think (official) Tomcat 10 support may come in the next LTS, 22.04.

/Andrew

On 2021-12-20, at 15:10, Pietro Liuzzo 
mailto:pietro.liu...@gmail.com>> wrote:

Dear all,

sorry to bother,
I have tried to install the newly released Fuseki 4.3.2 under tomcat 10.0.14 on 
Ubuntu 18 and I am having not little truble. If anyone could point me in the 
right direction I would very much appreciate.

I have followed these steps 
, which 
usually work nice and easy.

the entire tomcat installation is owned by a user tomcat and a group tomcat, 
but since on that I am also having issues here is what I get running tomcat 10 
as root.

sparql --version
Jena:   VERSION: 4.3.2
Jena:   BUILD_DATE: 2021-12-17T18:56:02Z

tells me that the path is ok, or at least so I believe.

I changed owner and allowed r and x on fuseki.war in the distribution and moved 
it to webapps.

/etc/fuseki, where my data is, is owned by tomcat:tomcat.

I start tomcat and logs are clean, no warning of sort, but instead of the 
fuseki I am returned a 404 with the message
The requested resource [/fuseki/] is not available

The origin server did not find a current representation for the target resource 
or is not willing to disclose that one exists.

It used to work so nicely, and now I have the impression I have been changing 
quotes, commas, lines for four days without being able to replicate the nice 
setup for this to run.

Any suggestion will be greatly appreciated.

all best
Pietro




fuseki and tomcat 10

2021-12-20 Thread Pietro Liuzzo
Dear all,

sorry to bother,
I have tried to install the newly released Fuseki 4.3.2 under tomcat 10.0.14 on 
Ubuntu 18 and I am having not little truble. If anyone could point me in the 
right direction I would very much appreciate.

I have followed these steps 
, which 
usually work nice and easy.

the entire tomcat installation is owned by a user tomcat and a group tomcat, 
but since on that I am also having issues here is what I get running tomcat 10 
as root. 

sparql --version
Jena:   VERSION: 4.3.2
Jena:   BUILD_DATE: 2021-12-17T18:56:02Z

tells me that the path is ok, or at least so I believe.

I changed owner and allowed r and x on fuseki.war in the distribution and moved 
it to webapps.

/etc/fuseki, where my data is, is owned by tomcat:tomcat.

I start tomcat and logs are clean, no warning of sort, but instead of the 
fuseki I am returned a 404 with the message
The requested resource [/fuseki/] is not available

The origin server did not find a current representation for the target resource 
or is not willing to disclose that one exists. 

It used to work so nicely, and now I have the impression I have been changing 
quotes, commas, lines for four days without being able to replicate the nice 
setup for this to run.

Any suggestion will be greatly appreciated.

all best
Pietro