[Geoserver-users] cannot login to geoserver

I have used the web archive file geoserver.war (tried both versions 2.13.0 and 2.12.2) to run the webapp under Tomcat 9.0 on Windows 10. I can access the splash page for geoserver from my Firefox browser window, but the default userid (admin) and password (geoserver) do not work. I keep getting the message “Invalid username/password combination.” I tried editing the file users.xml to (in directory webapps/geoserver/security/usergroup/default) put the password in plain text, but that does not work either.

Note that I changed the default port for the Tomcat to be 1025 instead of 8080 because of a Windows conflict with Skype.

I can’t say I’ve seen this – although not tried with Tomcat 9. Can you try it with Tomcat 8 or 8.5?

Do you have any other authentication modules (e.g. geofence) loaded?

Brad

Thanks, Brad. I just tried it with tomcat 8.5…same behavior. Java is version 8 build 161, which is passing the install filters. Machine is Win 10.Pro X64 bit version. 24 GB of Ram, so that can’t be it. Likewise terabyte SSD as main drive, so shouldn’t be problems there. We manually move the <*.war> file into the <tomcat/webapps> directory, where it is successfully recognized by the JVM resulting in the automatic creation of the directory containing the data space.

I’m unfamiliar with . Will it do anything useful if I can’t get by the login for geoserver?

Bill

···

On Sun, Mar 25, 2018 at 11:32 PM, <bradh@anonymised.com> wrote:

I can’t say I’ve seen this – although not tried with Tomcat 9. Can you try it with Tomcat 8 or 8.5?

Do you have any other authentication modules (e.g. geofence) loaded?

Brad

Hi

Did you add the plain text password with the proper prefix plain: like so

plain:mypassword

Cheers

···

On Mon, Mar 26, 2018 at 9:35 AM, William Graves <graveswr@anonymised.com> wrote:

Thanks, Brad. I just tried it with tomcat 8.5…same behavior. Java is version 8 build 161, which is passing the install filters. Machine is Win 10.Pro X64 bit version. 24 GB of Ram, so that can’t be it. Likewise terabyte SSD as main drive, so shouldn’t be problems there. We manually move the <*.war> file into the <tomcat/webapps> directory, where it is successfully recognized by the JVM resulting in the automatic creation of the directory containing the data space.

I’m unfamiliar with . Will it do anything useful if I can’t get by the login for geoserver?

Bill


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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

Geoserver-users@anonymised.com.382…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Sun, Mar 25, 2018 at 11:32 PM, <bradh@anonymised.com> wrote:

I can’t say I’ve seen this – although not tried with Tomcat 9. Can you try it with Tomcat 8 or 8.5?

Do you have any other authentication modules (e.g. geofence) loaded?

Brad

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Hi Christian,

We did make the following substitution for test purposes: no joy.

For the file: <…/webapps>geoserver>data>security>usergroup>default>users.xml

—>Content:

we substituted:

So we tried. Did we get the plain: in the wrong place or something?

From the Tomcat manager, after a couple of attempts, we could stop the geoserver, but it was more difficult (i.e., took a few tries) before it would restart again.

Bill

···

On Mon, Mar 26, 2018 at 1:36 AM, Christian Mueller <christian.mueller@anonymised.com> wrote:

Hi

Did you add the plain text password with the proper prefix plain: like so

plain:mypassword

Cheers

On Mon, Mar 26, 2018 at 9:35 AM, William Graves <graveswr@anonymised.com> wrote:

Thanks, Brad. I just tried it with tomcat 8.5…same behavior. Java is version 8 build 161, which is passing the install filters. Machine is Win 10.Pro X64 bit version. 24 GB of Ram, so that can’t be it. Likewise terabyte SSD as main drive, so shouldn’t be problems there. We manually move the <*.war> file into the <tomcat/webapps> directory, where it is successfully recognized by the JVM resulting in the automatic creation of the directory containing the data space.

I’m unfamiliar with . Will it do anything useful if I can’t get by the login for geoserver?

Bill


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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

Geoserver-users@anonymised.comrge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Sun, Mar 25, 2018 at 11:32 PM, <bradh@anonymised.com> wrote:

I can’t say I’ve seen this – although not tried with Tomcat 9. Can you try it with Tomcat 8 or 8.5?

Do you have any other authentication modules (e.g. geofence) loaded?

Brad

Hi

is correct.

Do you see some java stack trace in catalina.out when you try to login ?

Cheers

···

On Mon, Mar 26, 2018 at 11:20 AM, William Graves <graveswr@anonymised.com> wrote:

Hi Christian,

We did make the following substitution for test purposes: no joy.

For the file: <…/webapps>geoserver>data>security>usergroup>default>users.xml

—>Content:

we substituted:

So we tried. Did we get the plain: in the wrong place or something?

From the Tomcat manager, after a couple of attempts, we could stop the geoserver, but it was more difficult (i.e., took a few tries) before it would restart again.

Bill

On Mon, Mar 26, 2018 at 1:36 AM, Christian Mueller <christian.mueller@anonymised.com.5602…solutions.at> wrote:

Hi

Did you add the plain text password with the proper prefix plain: like so

plain:mypassword

Cheers

On Mon, Mar 26, 2018 at 9:35 AM, William Graves <graveswr@anonymised.com> wrote:

Thanks, Brad. I just tried it with tomcat 8.5…same behavior. Java is version 8 build 161, which is passing the install filters. Machine is Win 10.Pro X64 bit version. 24 GB of Ram, so that can’t be it. Likewise terabyte SSD as main drive, so shouldn’t be problems there. We manually move the <*.war> file into the <tomcat/webapps> directory, where it is successfully recognized by the JVM resulting in the automatic creation of the directory containing the data space.

I’m unfamiliar with . Will it do anything useful if I can’t get by the login for geoserver?

Bill


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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

Geoserver-users@anonymised.comrge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Sun, Mar 25, 2018 at 11:32 PM, <bradh@anonymised.com> wrote:

I can’t say I’ve seen this – although not tried with Tomcat 9. Can you try it with Tomcat 8 or 8.5?

Do you have any other authentication modules (e.g. geofence) loaded?

Brad

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

The geofence module is a complicating factor if you had it installed. Not a consideration in this case if you don’t have it installed.

Do you see anything relevant (messages, exceptions) in the tomcat or geoserver logs?

Brad

So, I wanted to thank everyone who helped. I finally got GeoServer to boot using the following formula:

  1. Do the direct install…the one based upon an <*.exe> file. Be sure you are administrator. Do this on top of Windows 10 without TomCat. I will try to get the TomCat version working next.

  2. Be sure to use Java 8…Java 10 fails.

  3. Be sure to offset the TCP port number. The default: 8080, interferes with Skype or some such thing. People seem to be using <http://localhost:1025/geoserver> to initiate their admin session.

  4. When you log in as administrator, don’t use Firefox the first time. Explorer works for the first login, after which Firefox seems to start working.

Thanks again for the help.

Bill

···

On Mon, Mar 26, 2018 at 1:36 AM, Christian Mueller <christian.mueller@anonymised.com> wrote:

Hi

Did you add the plain text password with the proper prefix plain: like so

plain:mypassword

Cheers

On Mon, Mar 26, 2018 at 9:35 AM, William Graves <graveswr@anonymised.com> wrote:

Thanks, Brad. I just tried it with tomcat 8.5…same behavior. Java is version 8 build 161, which is passing the install filters. Machine is Win 10.Pro X64 bit version. 24 GB of Ram, so that can’t be it. Likewise terabyte SSD as main drive, so shouldn’t be problems there. We manually move the <*.war> file into the <tomcat/webapps> directory, where it is successfully recognized by the JVM resulting in the automatic creation of the directory containing the data space.

I’m unfamiliar with . Will it do anything useful if I can’t get by the login for geoserver?

Bill


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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

Geoserver-users@anonymised.comrge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Sun, Mar 25, 2018 at 11:32 PM, <bradh@anonymised.com> wrote:

I can’t say I’ve seen this – although not tried with Tomcat 9. Can you try it with Tomcat 8 or 8.5?

Do you have any other authentication modules (e.g. geofence) loaded?

Brad