failed Cannot access JTS:length as anonymous"

32 views
Skip to first unread message
Assigned to lorenzo...@geosolutionsgroup.com by me

Gabriel Molina Perez

unread,
Mar 21, 2024, 9:37:18 AMMar 21
to mapstore-users
Hello, I have implemented a mapstore2 app with integrated geoserver for user management and everything seems to work fine except for geoprocesses and widgets.

When I try to execute an operation, for example a counter, I get this error.

Captura de pantalla 2024-03-21 133357.png

Would anyone know what he means?

Thank you

Gabriel Molina Perez

unread,
Mar 25, 2024, 4:38:04 AMMar 25
to mapstore-users
In my last test I inserted a wfs service from a non-integrated geoserver.

The result has been satisfactory, the cash has worked correctly.

But I am interested in knowing why when integrating geoserver it does not recognize the authenticated MapStore user, which continues to give the same error.

Any clue or help will be greatly appreciated.

Thank you very much in advance.

The integration was carried out following the steps of: https://mapstore2.readthedocs.io/en/latest/developer-guide/integrations/users/geoserver/ 

Lorenzo Natali

unread,
Mar 29, 2024, 4:47:47 AMMar 29
to mapstore-users
Hi, 
You will probably have to configure WPS to properly allow users to execute WPS process. 
Look at the GeoServer documentation here:

Gabriel Molina Perez

unread,
May 8, 2024, 7:43:08 AMMay 8
to mapstore-users

I finally got the solution. Indeed it was the configuration of the services in GeoServer, the correct configuration in the image:


PixPin_2024-03-01_16-49-27.png



Thanks for the help, Lorenzo.

However, now I have another problem. And I need to give access to some data when accessing without MapStore/GeoServer authentication. In GeoServer I have everything with access to any role, both in layers and in services. But I think there must be some kind of access so that shared maps can be accessed without authenticating to the MapStore interfaces. Now I'm totally baffled.

Lorenzo Natali

unread,
May 8, 2024, 8:35:13 AMMay 8
to mapstore-users
Hi,
I don't know if I understood properly. 
Do you need to make some layers public on GeoServer? In this case it is more a GeoServer layer security problem than a MapStore problem. 



If you are using standard security, you should set read rule to "grant to any role" the access (that means also unauthenticated roles).Or the analogue thing working with GeoFence. 
Reply all
Reply to author
Forward
0 new messages