License Issue Help!

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

License Issue Help!

Dhiraj Singh

Dear Team,

 

We are using open source geoserver but when we ran the Palamida scan we find two components for which it’s showing license as a “commercial”. Can you please help us in this context?

 

Looking forward to hearing from you!

 

Thanks & Regards,

Dhiraj Singh

 

 

 

 

This email and any files transmitted with it are confidential, proprietary and intended solely for the individual or entity to whom they are addressed. If you have received this email in error please delete it immediately.

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

/data directory not writeable

russoggi255
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15

I have a folder called /data to which I point GeoServer by editing web.xml

   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>

Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !

Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable

Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)

I have tried setting the data folder in her setclasspath.sh

CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"

But I get the same error.

Has anybody else seen this?

Russ


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

Vera Green
Who's the owner of the data folder? I think it has to be tomcat...chown tomcat:tomcat data. 

On Thu, Apr 25, 2019, 10:03 AM Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15

I have a folder called /data to which I point GeoServer by editing web.xml

   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>

Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !

Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable

Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)

I have tried setting the data folder in her setclasspath.sh

CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"

But I get the same error.

Has anybody else seen this?

Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

Vera Green
Sorry...you said. I can't recall 100% but the 777might be causing the issue.

On Thu, Apr 25, 2019, 10:19 AM Vera Green <[hidden email]> wrote:
Who's the owner of the data folder? I think it has to be tomcat...chown tomcat:tomcat data. 

On Thu, Apr 25, 2019, 10:03 AM Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15

I have a folder called /data to which I point GeoServer by editing web.xml

   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>

Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !

Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable

Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)

I have tried setting the data folder in her setclasspath.sh

CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"

But I get the same error.

Has anybody else seen this?

Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

Ian Turton
In reply to this post by russoggi255
can you paste the result of "ls -ld /data" in here, I suspect that is isn't what you think it is

Ian

On Thu, 25 Apr 2019 at 17:05, Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15

I have a folder called /data to which I point GeoServer by editing web.xml

   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>

Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !

Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable

Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)

I have tried setting the data folder in her setclasspath.sh

CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"

But I get the same error.

Has anybody else seen this?

Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ian Turton


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

russoggi255
# ls -ld /data
drwxrwxrwx 2 tomcat tomcat 4096 Apr 25 15:10 /data


For info.,

# ps -efl |grep tomcat
4 S tomcat    1232     1 49  80   0 - 1716271 futex_ 16:49 ?      00:00:46 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -XX:+UseG1GC -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -DGEOSERVER_DATA_DIR=/data -Dignore.endorsed.dirs= -classpath /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start

Russ

On 25 Apr 2019, at 17:22, Ian Turton <[hidden email]> wrote:

can you paste the result of "ls -ld /data" in here, I suspect that is isn't what you think it is

Ian

On Thu, 25 Apr 2019 at 17:05, Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15

I have a folder called /data to which I point GeoServer by editing web.xml

   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>

Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !

Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable

Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)

I have tried setting the data folder in her setclasspath.sh

CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"

But I get the same error.

Has anybody else seen this?

Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ian Turton



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

russoggi255
I will try a clean install to Ubuntu 18.04 with the same Java etc and see what happens.

Russ

On 25 Apr 2019, at 17:51, Russ Hore <[hidden email]> wrote:

# ls -ld /data
drwxrwxrwx 2 tomcat tomcat 4096 Apr 25 15:10 /data


For info.,

# ps -efl |grep tomcat
4 S tomcat    1232     1 49  80   0 - 1716271 futex_ 16:49 ?      00:00:46 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -XX:+UseG1GC -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -DGEOSERVER_DATA_DIR=/data -Dignore.endorsed.dirs= -classpath /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start

Russ

On 25 Apr 2019, at 17:22, Ian Turton <[hidden email]> wrote:

can you paste the result of "ls -ld /data" in here, I suspect that is isn't what you think it is

Ian

On Thu, 25 Apr 2019 at 17:05, Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15

I have a folder called /data to which I point GeoServer by editing web.xml

   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>

Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !

Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable

Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)

I have tried setting the data folder in her setclasspath.sh

CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"

But I get the same error.

Has anybody else seen this?

Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ian Turton

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

Panagiotis Kountouris

Hi Russ,

could you please list your users with a "sudo less /etc/shadow" ? I think you will see that your user is tomcat9 and not tomcat. If thats the case try to change ownership of your data folder by sudo chown -R tomcat9:tomcat9 /data

hope that helps.

Best regards,

Panagiotis



On 26.04.19 08:48, Russ Hore wrote:
I will try a clean install to Ubuntu 18.04 with the same Java etc and see what happens.

Russ

On 25 Apr 2019, at 17:51, Russ Hore <[hidden email]> wrote:

# ls -ld /data
drwxrwxrwx 2 tomcat tomcat 4096 Apr 25 15:10 /data


For info.,

# ps -efl |grep tomcat
4 S tomcat    1232     1 49  80   0 - 1716271 futex_ 16:49 ?      00:00:46 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -XX:+UseG1GC -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -DGEOSERVER_DATA_DIR=/data -Dignore.endorsed.dirs= -classpath /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start

Russ

On 25 Apr 2019, at 17:22, Ian Turton <[hidden email]> wrote:

can you paste the result of "ls -ld /data" in here, I suspect that is isn't what you think it is

Ian

On Thu, 25 Apr 2019 at 17:05, Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15

I have a folder called /data to which I point GeoServer by editing web.xml

   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>

Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !

Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable

Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)

I have tried setting the data folder in her setclasspath.sh

CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"

But I get the same error.

Has anybody else seen this?

Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ian Turton

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
-- 
Dr. Panagiotis Kountouris

Chief Research Officer
Drift & Noise Polar Services GmbH
www.driftnoise.com
Stavendamm 17
28195 Bremen, Germany

Office: +49 421 223 70 660
Mobile: +49 176 79 07 11 36


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

bendeg
In reply to this post by russoggi255

Hi all,

 

Russ, I would like to help but I may be wrong : have you already tried an absolute path instead ?

 

I say that because I’ve recently change my web.xml to direct Geoserver to save cached tiles in a geoserver (+tomcat) subdirectory and I used an absolute path, and it works without changing anything else.

 

And if you want to use a relative path, maybe you should use « ./data/ » instead of « /data/ »

 

Hope it helps,

 

Benoît DEGRÈVE
Risques sous-sols et cartographie

Bachelier en gestion de données et cartographie

 

De : Russ Hore [mailto:[hidden email]]
Envoyé : jeudi 25 avril 2019 18:52
À : Ian Turton
Cc : [hidden email]
Objet : Re: [Geoserver-users] /data directory not writeable

 

# ls -ld /data

drwxrwxrwx 2 tomcat tomcat 4096 Apr 25 15:10 /data

 

 

For info.,

 

# ps -efl |grep tomcat

4 S tomcat    1232     1 49  80   0 - 1716271 futex_ 16:49 ?      00:00:46 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -XX:+UseG1GC -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -DGEOSERVER_DATA_DIR=/data -Dignore.endorsed.dirs= -classpath /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start

 

Russ



On 25 Apr 2019, at 17:22, Ian Turton <[hidden email]> wrote:

 

can you paste the result of "ls -ld /data" in here, I suspect that is isn't what you think it is

 

Ian

 

On Thu, 25 Apr 2019 at 17:05, Russ Hore <[hidden email]> wrote:

I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15

 

I have a folder called /data to which I point GeoServer by editing web.xml

 

   <context-param>

       <param-name>GEOSERVER_DATA_DIR</param-name>

       <param-value>/data/</param-value>

    </context-param>

 

Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !

 

Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable

 

Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)

 

I have tried setting the data folder in her setclasspath.sh

 

CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"

 

But I get the same error.

 

Has anybody else seen this?

 

Russ

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


 

--

Ian Turton

 



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

russoggi255
In reply to this post by Panagiotis Kountouris
Hi Panagiotis,

Good idea but it is tomcat;

# cat /etc/shadow|grep tom
tomcat:!!:18011::::::

Russ

On 26 Apr 2019, at 08:13, Panagiotis Kountouris <[hidden email]> wrote:

Hi Russ,

could you please list your users with a "sudo less /etc/shadow" ? I think you will see that your user is tomcat9 and not tomcat. If thats the case try to change ownership of your data folder by sudo chown -R tomcat9:tomcat9 /data

hope that helps.

Best regards,

Panagiotis



On 26.04.19 08:48, Russ Hore wrote:
I will try a clean install to Ubuntu 18.04 with the same Java etc and see what happens.

Russ

On 25 Apr 2019, at 17:51, Russ Hore <[hidden email]> wrote:

# ls -ld /data
drwxrwxrwx 2 tomcat tomcat 4096 Apr 25 15:10 /data


For info.,

# ps -efl |grep tomcat
4 S tomcat    1232     1 49  80   0 - 1716271 futex_ 16:49 ?      00:00:46 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -XX:+UseG1GC -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -DGEOSERVER_DATA_DIR=/data -Dignore.endorsed.dirs= -classpath /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start

Russ

On 25 Apr 2019, at 17:22, Ian Turton <[hidden email]> wrote:

can you paste the result of "ls -ld /data" in here, I suspect that is isn't what you think it is

Ian

On Thu, 25 Apr 2019 at 17:05, Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15

I have a folder called /data to which I point GeoServer by editing web.xml

   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>

Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !

Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable

Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)

I have tried setting the data folder in her setclasspath.sh

CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"

But I get the same error.

Has anybody else seen this?

Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ian Turton

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
-- 
Dr. Panagiotis Kountouris

Chief Research Officer
Drift & Noise Polar Services GmbH
www.driftnoise.com
Stavendamm 17
28195 Bremen, Germany

Office: +49 421 223 70 660
Mobile: +49 176 79 07 11 36



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

russoggi255
In reply to this post by bendeg
Hi Benoit,

Good suggestion, (and I might be missing something obvious),  but I am using an absolute path.

/data exists under the root filesystem

This is the way I have set up GeoServer before so I can easily upgrade. Maybe something has changed between Ubuntu 18 & 19

I am about to do a clean install of Ubuntu 18 so will ley the list know.

Russ
On 26 Apr 2019, at 08:18, DEGRÈVE Benoît <[hidden email]> wrote:

Hi all,
 
Russ, I would like to help but I may be wrong : have you already tried an absolute path instead ?
 
I say that because I’ve recently change my web.xml to direct Geoserver to save cached tiles in a geoserver (+tomcat) subdirectory and I used an absolute path, and it works without changing anything else.
 
And if you want to use a relative path, maybe you should use « ./data/ » instead of « /data/ »
 
Hope it helps,
 

Benoît DEGRÈVE
Risques sous-sols et cartographie

Bachelier en gestion de données et cartographie

 
De : Russ Hore [[hidden email]] 
Envoyé : jeudi 25 avril 2019 18:52
À : Ian Turton
Cc : [hidden email]
Objet : Re: [Geoserver-users] /data directory not writeable
 
# ls -ld /data
drwxrwxrwx 2 tomcat tomcat 4096 Apr 25 15:10 /data
 
 
For info.,
 
# ps -efl |grep tomcat
4 S tomcat    1232     1 49  80   0 - 1716271 futex_ 16:49 ?      00:00:46 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -XX:+UseG1GC -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -DGEOSERVER_DATA_DIR=/data -Dignore.endorsed.dirs= -classpath /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start
 
Russ


On 25 Apr 2019, at 17:22, Ian Turton <[hidden email]> wrote:
 
can you paste the result of "ls -ld /data" in here, I suspect that is isn't what you think it is
 
Ian
 
On Thu, 25 Apr 2019 at 17:05, Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15
 
I have a folder called /data to which I point GeoServer by editing web.xml
 
   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>
 
Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !
 
Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable
 
Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)
 
I have tried setting the data folder in her setclasspath.sh
 
CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"
 
But I get the same error.
 
Has anybody else seen this?
 
Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 
-- 
Ian Turton



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

russoggi255
OK. I have not solved it but have done some research;
1) Installed clean Ubuntu 18.04.2
2) apt-get update / upgrade etc
3) Installed tomcat9
4) Copied 2.15 GeoServer.war to /var/lib/tomcat9/webapps
GeoServer started
5) created /data, chown tomcat:tomcat /data/
6) restarted tomcat9, and got the original error “which is not writeable”
7) Installed GeoServer 2.14
8) It won’t run under java 11 I assume
9) Installed OpenJDK 1.8.0_191
10) Installed tomcat8
11) Installed GeoServer.war
12) Edited web.xml to set DATA_DIR
13) GeoServer started and used /data as DATA dir.

I am not sure where to look now but if anybody has things they want me to look at I have some spare time.

I may try tomcat8/Java 8 on Ubuntu 19.04 later.

Russ

On 26 Apr 2019, at 08:42, Russ Hore <[hidden email]> wrote:

Hi Benoit,

Good suggestion, (and I might be missing something obvious),  but I am using an absolute path.

/data exists under the root filesystem

This is the way I have set up GeoServer before so I can easily upgrade. Maybe something has changed between Ubuntu 18 & 19

I am about to do a clean install of Ubuntu 18 so will ley the list know.

Russ
On 26 Apr 2019, at 08:18, DEGRÈVE Benoît <[hidden email]> wrote:

Hi all,
 
Russ, I would like to help but I may be wrong : have you already tried an absolute path instead ?
 
I say that because I’ve recently change my web.xml to direct Geoserver to save cached tiles in a geoserver (+tomcat) subdirectory and I used an absolute path, and it works without changing anything else.
 
And if you want to use a relative path, maybe you should use « ./data/ » instead of « /data/ »
 
Hope it helps,
 

Benoît DEGRÈVE
Risques sous-sols et cartographie

Bachelier en gestion de données et cartographie

 
De : Russ Hore [[hidden email]] 
Envoyé : jeudi 25 avril 2019 18:52
À : Ian Turton
Cc : [hidden email]
Objet : Re: [Geoserver-users] /data directory not writeable
 
# ls -ld /data
drwxrwxrwx 2 tomcat tomcat 4096 Apr 25 15:10 /data
 
 
For info.,
 
# ps -efl |grep tomcat
4 S tomcat    1232     1 49  80   0 - 1716271 futex_ 16:49 ?      00:00:46 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -XX:+UseG1GC -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -DGEOSERVER_DATA_DIR=/data -Dignore.endorsed.dirs= -classpath /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start
 
Russ


On 25 Apr 2019, at 17:22, Ian Turton <[hidden email]> wrote:
 
can you paste the result of "ls -ld /data" in here, I suspect that is isn't what you think it is
 
Ian
 
On Thu, 25 Apr 2019 at 17:05, Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15
 
I have a folder called /data to which I point GeoServer by editing web.xml
 
   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>
 
Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !
 
Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable
 
Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)
 
I have tried setting the data folder in her setclasspath.sh
 
CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"
 
But I get the same error.
 
Has anybody else seen this?
 
Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 
-- 
Ian Turton

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

geowolf

On Fri, Apr 26, 2019 at 11:00 AM Russ Hore <[hidden email]> wrote:
OK. I have not solved it but have done some research;
1) Installed clean Ubuntu 18.04.2
2) apt-get update / upgrade etc
3) Installed tomcat9
4) Copied 2.15 GeoServer.war to /var/lib/tomcat9/webapps
GeoServer started
5) created /data, chown tomcat:tomcat /data/
6) restarted tomcat9, and got the original error “which is not writeable”
7) Installed GeoServer 2.14
8) It won’t run under java 11 I assume
9) Installed OpenJDK 1.8.0_191
10) Installed tomcat8
11) Installed GeoServer.war
12) Edited web.xml to set DATA_DIR
13) GeoServer started and used /data as DATA dir.

I am not sure where to look now but if anybody has things they want me to look at I have some spare time.

I may try tomcat8/Java 8 on Ubuntu 19.04 later.

Russ

On 26 Apr 2019, at 08:42, Russ Hore <[hidden email]> wrote:

Hi Benoit,

Good suggestion, (and I might be missing something obvious),  but I am using an absolute path.

/data exists under the root filesystem

This is the way I have set up GeoServer before so I can easily upgrade. Maybe something has changed between Ubuntu 18 & 19

I am about to do a clean install of Ubuntu 18 so will ley the list know.

Russ
On 26 Apr 2019, at 08:18, DEGRÈVE Benoît <[hidden email]> wrote:

Hi all,
 
Russ, I would like to help but I may be wrong : have you already tried an absolute path instead ?
 
I say that because I’ve recently change my web.xml to direct Geoserver to save cached tiles in a geoserver (+tomcat) subdirectory and I used an absolute path, and it works without changing anything else.
 
And if you want to use a relative path, maybe you should use « ./data/ » instead of « /data/ »
 
Hope it helps,
 

Benoît DEGRÈVE
Risques sous-sols et cartographie

Bachelier en gestion de données et cartographie

 
De : Russ Hore [[hidden email]] 
Envoyé : jeudi 25 avril 2019 18:52
À : Ian Turton
Cc : [hidden email]
Objet : Re: [Geoserver-users] /data directory not writeable
 
# ls -ld /data
drwxrwxrwx 2 tomcat tomcat 4096 Apr 25 15:10 /data
 
 
For info.,
 
# ps -efl |grep tomcat
4 S tomcat    1232     1 49  80   0 - 1716271 futex_ 16:49 ?      00:00:46 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -XX:+UseG1GC -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -DGEOSERVER_DATA_DIR=/data -Dignore.endorsed.dirs= -classpath /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start
 
Russ


On 25 Apr 2019, at 17:22, Ian Turton <[hidden email]> wrote:
 
can you paste the result of "ls -ld /data" in here, I suspect that is isn't what you think it is
 
Ian
 
On Thu, 25 Apr 2019 at 17:05, Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15
 
I have a folder called /data to which I point GeoServer by editing web.xml
 
   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>
 
Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !
 
Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable
 
Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)
 
I have tried setting the data folder in her setclasspath.sh
 
CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"
 
But I get the same error.
 
Has anybody else seen this?
 
Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 
-- 
Ian Turton

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: License Issue Help!

jody.garnett
In reply to this post by Dhiraj Singh
Happy to help, you are correct that those two jars are sun binary license (so not open source). They are however free to distribute for commercial purposes. This is the same license used by Java before it was made open source.
--
Jody Garnett


On Tue, 23 Apr 2019 at 06:34, Dhiraj Singh <[hidden email]> wrote:

Dear Team,

 

We are using open source geoserver but when we ran the Palamida scan we find two components for which it’s showing license as a “commercial”. Can you please help us in this context?

 

Looking forward to hearing from you!

 

Thanks & Regards,

Dhiraj Singh

 

 

 

 

This email and any files transmitted with it are confidential, proprietary and intended solely for the individual or entity to whom they are addressed. If you have received this email in error please delete it immediately.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: /data directory not writeable

russoggi255
In reply to this post by geowolf
[hidden email] mailed me privately

The solution he described is as follows;

———————
looks like i got the same "data directory not writable" error and look what i found:

there is a file /lib/systemd/system/tomcat9.service

and it has lines:
ReadWritePaths=/etc/tomcat9/Catalina/
ReadWritePaths=/var/lib/tomcat9/webapps/

i just added new line with my path to it and it worked

maybe it will help ya too

sorry for my eng it isn't my native language
and good luck (:
———————

I added the path to mt /data/ directory and all is working fine now. GS2.15.1 on OpenJDK 11

Russ


On 26 Apr 2019, at 10:25, Andrea Aime <[hidden email]> wrote:


On Fri, Apr 26, 2019 at 11:00 AM Russ Hore <[hidden email]> wrote:
OK. I have not solved it but have done some research;
1) Installed clean Ubuntu 18.04.2
2) apt-get update / upgrade etc
3) Installed tomcat9
4) Copied 2.15 GeoServer.war to /var/lib/tomcat9/webapps
GeoServer started
5) created /data, chown tomcat:tomcat /data/
6) restarted tomcat9, and got the original error “which is not writeable”
7) Installed GeoServer 2.14
8) It won’t run under java 11 I assume
9) Installed OpenJDK 1.8.0_191
10) Installed tomcat8
11) Installed GeoServer.war
12) Edited web.xml to set DATA_DIR
13) GeoServer started and used /data as DATA dir.

I am not sure where to look now but if anybody has things they want me to look at I have some spare time.

I may try tomcat8/Java 8 on Ubuntu 19.04 later.

Russ

On 26 Apr 2019, at 08:42, Russ Hore <[hidden email]> wrote:

Hi Benoit,

Good suggestion, (and I might be missing something obvious),  but I am using an absolute path.

/data exists under the root filesystem

This is the way I have set up GeoServer before so I can easily upgrade. Maybe something has changed between Ubuntu 18 & 19

I am about to do a clean install of Ubuntu 18 so will ley the list know.

Russ
On 26 Apr 2019, at 08:18, DEGRÈVE Benoît <[hidden email]> wrote:

Hi all,
 
Russ, I would like to help but I may be wrong : have you already tried an absolute path instead ?
 
I say that because I’ve recently change my web.xml to direct Geoserver to save cached tiles in a geoserver (+tomcat) subdirectory and I used an absolute path, and it works without changing anything else.
 
And if you want to use a relative path, maybe you should use « ./data/ » instead of « /data/ »
 
Hope it helps,
 

Benoît DEGRÈVE
Risques sous-sols et cartographie

Bachelier en gestion de données et cartographie

 
De : Russ Hore [[hidden email]] 
Envoyé : jeudi 25 avril 2019 18:52
À : Ian Turton
Cc : [hidden email]
Objet : Re: [Geoserver-users] /data directory not writeable
 
# ls -ld /data
drwxrwxrwx 2 tomcat tomcat 4096 Apr 25 15:10 /data
 
 
For info.,
 
# ps -efl |grep tomcat
4 S tomcat    1232     1 49  80   0 - 1716271 futex_ 16:49 ?      00:00:46 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -XX:+UseG1GC -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -DGEOSERVER_DATA_DIR=/data -Dignore.endorsed.dirs= -classpath /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start
 
Russ


On 25 Apr 2019, at 17:22, Ian Turton <[hidden email]> wrote:
 
can you paste the result of "ls -ld /data" in here, I suspect that is isn't what you think it is
 
Ian
 
On Thu, 25 Apr 2019 at 17:05, Russ Hore <[hidden email]> wrote:
I have just done a clean installation of Ubuntu 19.04, installed Tomcat 9, installed OpenJDK 11 and installed GS 2.15
 
I have a folder called /data to which I point GeoServer by editing web.xml
 
   <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>/data/</param-value>
    </context-param>
 
Now when I start GeoServer I get an error in /var/log/syslog saying /data is not writeable !
 
Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR [storage.DefaultStorageFinder] - Found Servlet context parameter GEOSERVER_DATA_DIR set to /data/ , which is not writeable
 
Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat with permissions 777 (I know that is not the best but I am trying to get things working)
 
I have tried setting the data folder in her setclasspath.sh
 
CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"
 
But I get the same error.
 
Has anybody else seen this?
 
Russ
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 
-- 
Ian Turton

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users