[GeoNetwork-devel] Login throttle?

Is there some kind of throttle to logins from the same user? Like you can't
login again (as admin, in my case) before some time has elapsed?

I'm asking this because I have a program that appends metadata records to GN
as new images are created in another database. This is all done through GN
services, called through http requests:

.../geonetwork/srv/en/xml.user.login
.../geonetwork/srv/en/mef.import
.../geonetwork/srv/en/xml.user.logout

It works well enough if do login, append a bunch of records and then logout.

But I get an error if I try to login/logout before apending each record:

HTTP Error 500: Internal Server Error.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Login-throttle-tp4989051.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi

Did you check the log file, should contain some useful information about error. AFAIK should not be a problem repeating this process: login/append a record/logout.

Anyway if you have a set of records to import should be more efficient login/import all records/logout.

Regards,
Jose García

On Wed, Jul 18, 2012 at 1:58 PM, apontes <apontes@anonymised.com.882…> wrote:

Is there some kind of throttle to logins from the same user? Like you can’t
login again (as admin, in my case) before some time has elapsed?

I’m asking this because I have a program that appends metadata records to GN
as new images are created in another database. This is all done through GN
services, called through http requests:

…/geonetwork/srv/en/xml.user.login
…/geonetwork/srv/en/mef.import
…/geonetwork/srv/en/xml.user.logout

It works well enough if do login, append a bunch of records and then logout.

But I get an error if I try to login/logout before apending each record:

HTTP Error 500: Internal Server Error.


View this message in context: http://osgeo-org.1560.n6.nabble.com/Login-throttle-tp4989051.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

Thank you for the quick answer.

In fact, checking the log, the error occurs with the import service: *ERROR
[jeeves.service] - Service not allowed : mef.import*.
I had assumed it was related to login because that was the only thing
varying between processes.

I'm appending an excerpt of the log.
http://osgeo-org.1560.n6.nabble.com/file/n4989078/GN_log.txt GN_log.txt The
exact same process, with the exact same file, failing once and succeeding a
little bit later. Failed when there were concurrent metadata inserts and
succeeded when running isolatedly.

So let me change my question: *is it possible to have concurrent metadata
inserts or is this a problem*?

In our environment we have multiple instances of applications creating
images, each one of them multi-threaded, and each image generated should
correspond to a metadata record in GN.

For the initial load, I had a process that logged in, inserted multiple
records and the logged out, but that is not the day-to-day operation.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Login-throttle-tp4989051p4989078.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.