geoportal-support Mailing List for Geoportal Server
Brought to you by:
mhogeweg
You can subscribe to this list here.
2012 |
Jan
(9) |
Feb
(6) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: <kie...@gm...> - 2012-02-21 10:26:23
|
Hello geoportal support, we installed a Geoportal Server and configured it for simple authentication. Next, we attempted to insert a MD_Metadata xml via http post applying the Transaction.Insert operation of the CSW. The CSW returned a http 401: 21.02.2012 09:11:45 org.apache.commons.httpclient.HttpMethodDirector processWWWAuthChallenge INFO: No credentials available for BASIC 'Geoportal'@freshmon:8082 Exception in thread "main" java.net.ConnectException: http status code 401 Do you know how to login / logout? I could give the example, how it works with the GeoNetwork CSW. There we send a http post with unsername and password to a special url (http://freshmon/geonetwork/srv/en/xml.user.login), do the Transaction.Insert http post (to url: http://freshmon/geonetwork/srv/en/csw) and finally logout to a certain logout uri (http://freshmon/geonetwork/srv/en/xml.user.logout). How does this authentication stuff works for Geoportal Server CSW? We are NOT interested in doing it manually by using the Webapp-GUI, but want to do it programmatically using our own simple post client. Kind regards, Kieran -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de |
From: Grøtan B. O. <Bjo...@NG...> - 2012-02-16 22:51:16
|
Ok - I'll try that tomorrow. If this is the case, then the installation documentation must be updated. Only thing it mentions when using Oracle is adding 2 lines of configuration. And yes, we're using ojdbc6.jar. I don't like to much to put it into <TOMCAT>/lib as per installation guidelines - I usually prefer to let each war-file supply the jars it needs outside those supplied by tomcat and other appservers. Regards Bjørn Ove -----Original Message----- From: Min Seong Kang [mailto:mk...@es...] Sent: Thu 2/16/2012 11:17 PM To: Grøtan Bjørn Ove; geo...@li... Subject: RE: geoportal - problems when using oracledb OK. I think I understand your issue now. In the context xml (geoportal.xml), change parameter name "username" to "user" if you are using Oracle ojdbc6.jar. That is the way you configure context xml for the specific jar file. If it works, it is just a matter of configuration, not a bug. Min Seong Kang -----Original Message----- From: Grøtan Bjørn Ove [mailto:Bjo...@ng...] Sent: Thursday, February 16, 2012 1:55 PM To: Min Seong Kang; geo...@li... Subject: RE: geoportal - problems when using oracledb No LDAP - just simple authentication with user in xml-file. Also - I found a workaround. Seems the jndi-lookup doesn't fetch username/password from geoportal.xml (Catalina/localhost). When I put username/password as part of the jdbc-url (in geoportal.xml) it worked fine. I'm ok for now - but might be a bug somewhere? How is geoportal built from source? ant? maven? Regards Bjørn Ove Grøtan -----Original Message----- From: Min Seong Kang [mailto:mk...@es...] Sent: Thu 2/16/2012 8:19 PM To: Grøtan Bjørn Ove; geo...@li... Subject: RE: geoportal - problems when using oracledb Bjorn, To understand your issue better... Do you have any LDAP to handle users or you set it up with a single admin account option in gpt.xml? If you can share your gpt.xml, it would be better to look at the issue. Regards, Min Seong Kang From: Grøtan Bjørn Ove [mailto:Bjo...@NG...] Sent: Wednesday, February 15, 2012 6:16 AM To: geo...@li... Subject: [Geoportal-support] geoportal - problems when using oracledb I'm experiencing same problems as described here: http://sourceforge.net/projects/geoportal/forums/forum/1096643/topic/4580689?message=10332588 My difference is - I did not use user 'geoportal' but 'geoportal10'. It seems geoportal doesn't use my password from geoportal.xml (<CATALINA_HOME>\conf\Catalina\localhost) since I very well can connect to same url with user/pwd in geoportal.xml using Oracle SQLDeveloper from same host. I'm running geoportal 1.2 on Tomcat 6.0.35 at localhost:8080 (for testing purposes of course, not production). I can login just fine using simple auth, but when I click Administration-tab, I get same ORA-error as described in link above. Please advice. Best regards Bjørn Ove Grøtan |
From: Min S. K. <mk...@es...> - 2012-02-16 22:18:08
|
OK. I think I understand your issue now. In the context xml (geoportal.xml), change parameter name "username" to "user" if you are using Oracle ojdbc6.jar. That is the way you configure context xml for the specific jar file. If it works, it is just a matter of configuration, not a bug. Min Seong Kang -----Original Message----- From: Grøtan Bjørn Ove [mailto:Bjo...@ng...] Sent: Thursday, February 16, 2012 1:55 PM To: Min Seong Kang; geo...@li... Subject: RE: geoportal - problems when using oracledb No LDAP - just simple authentication with user in xml-file. Also - I found a workaround. Seems the jndi-lookup doesn't fetch username/password from geoportal.xml (Catalina/localhost). When I put username/password as part of the jdbc-url (in geoportal.xml) it worked fine. I'm ok for now - but might be a bug somewhere? How is geoportal built from source? ant? maven? Regards Bjørn Ove Grøtan -----Original Message----- From: Min Seong Kang [mailto:mk...@es...] Sent: Thu 2/16/2012 8:19 PM To: Grøtan Bjørn Ove; geo...@li... Subject: RE: geoportal - problems when using oracledb Bjorn, To understand your issue better... Do you have any LDAP to handle users or you set it up with a single admin account option in gpt.xml? If you can share your gpt.xml, it would be better to look at the issue. Regards, Min Seong Kang From: Grøtan Bjørn Ove [mailto:Bjo...@NG...] Sent: Wednesday, February 15, 2012 6:16 AM To: geo...@li... Subject: [Geoportal-support] geoportal - problems when using oracledb I'm experiencing same problems as described here: http://sourceforge.net/projects/geoportal/forums/forum/1096643/topic/4580689?message=10332588 My difference is - I did not use user 'geoportal' but 'geoportal10'. It seems geoportal doesn't use my password from geoportal.xml (<CATALINA_HOME>\conf\Catalina\localhost) since I very well can connect to same url with user/pwd in geoportal.xml using Oracle SQLDeveloper from same host. I'm running geoportal 1.2 on Tomcat 6.0.35 at localhost:8080 (for testing purposes of course, not production). I can login just fine using simple auth, but when I click Administration-tab, I get same ORA-error as described in link above. Please advice. Best regards Bjørn Ove Grøtan |
From: Grøtan B. O. <Bjo...@NG...> - 2012-02-16 21:58:43
|
No LDAP - just simple authentication with user in xml-file. Also - I found a workaround. Seems the jndi-lookup doesn't fetch username/password from geoportal.xml (Catalina/localhost). When I put username/password as part of the jdbc-url (in geoportal.xml) it worked fine. I'm ok for now - but might be a bug somewhere? How is geoportal built from source? ant? maven? Regards Bjørn Ove Grøtan -----Original Message----- From: Min Seong Kang [mailto:mk...@es...] Sent: Thu 2/16/2012 8:19 PM To: Grøtan Bjørn Ove; geo...@li... Subject: RE: geoportal - problems when using oracledb Bjorn, To understand your issue better... Do you have any LDAP to handle users or you set it up with a single admin account option in gpt.xml? If you can share your gpt.xml, it would be better to look at the issue. Regards, Min Seong Kang From: Grøtan Bjørn Ove [mailto:Bjo...@NG...] Sent: Wednesday, February 15, 2012 6:16 AM To: geo...@li... Subject: [Geoportal-support] geoportal - problems when using oracledb I'm experiencing same problems as described here: http://sourceforge.net/projects/geoportal/forums/forum/1096643/topic/4580689?message=10332588 My difference is - I did not use user 'geoportal' but 'geoportal10'. It seems geoportal doesn't use my password from geoportal.xml (<CATALINA_HOME>\conf\Catalina\localhost) since I very well can connect to same url with user/pwd in geoportal.xml using Oracle SQLDeveloper from same host. I'm running geoportal 1.2 on Tomcat 6.0.35 at localhost:8080 (for testing purposes of course, not production). I can login just fine using simple auth, but when I click Administration-tab, I get same ORA-error as described in link above. Please advice. Best regards Bjørn Ove Grøtan |
From: Min S. K. <mk...@es...> - 2012-02-16 19:19:46
|
Bjorn, To understand your issue better... Do you have any LDAP to handle users or you set it up with a single admin account option in gpt.xml? If you can share your gpt.xml, it would be better to look at the issue. Regards, Min Seong Kang From: Grøtan Bjørn Ove [mailto:Bjo...@NG...] Sent: Wednesday, February 15, 2012 6:16 AM To: geo...@li... Subject: [Geoportal-support] geoportal - problems when using oracledb I'm experiencing same problems as described here: http://sourceforge.net/projects/geoportal/forums/forum/1096643/topic/4580689?message=10332588 My difference is - I did not use user 'geoportal' but 'geoportal10'. It seems geoportal doesn't use my password from geoportal.xml (<CATALINA_HOME>\conf\Catalina\localhost) since I very well can connect to same url with user/pwd in geoportal.xml using Oracle SQLDeveloper from same host. I'm running geoportal 1.2 on Tomcat 6.0.35 at localhost:8080 (for testing purposes of course, not production). I can login just fine using simple auth, but when I click Administration-tab, I get same ORA-error as described in link above. Please advice. Best regards Bjørn Ove Grøtan |
From: Grøtan B. O. <Bjo...@NG...> - 2012-02-15 14:28:38
|
I'm experiencing same problems as described here: http://sourceforge.net/projects/geoportal/forums/forum/1096643/topic/4580689?message=10332588 <http://sourceforge.net/projects/geoportal/forums/forum/1096643/topic/4580689?message=10332588> My difference is - I did not use user 'geoportal' but 'geoportal10'. It seems geoportal doesn't use my password from geoportal.xml (<CATALINA_HOME>\conf\Catalina\localhost) since I very well can connect to same url with user/pwd in geoportal.xml using Oracle SQLDeveloper from same host. I'm running geoportal 1.2 on Tomcat 6.0.35 at localhost:8080 (for testing purposes of course, not production). I can login just fine using simple auth, but when I click Administration-tab, I get same ORA-error as described in link above. Please advice. Best regards Bjørn Ove Grøtan |
From: Pratik S. <ps...@es...> - 2012-01-26 17:31:17
|
Hello Geoportal Team! |
From: Teddy M. <tma...@es...> - 2012-01-26 17:30:06
|
This is a test |
From: Christine W. <ce...@es...> - 2012-01-26 17:29:10
|
Hi Friends! From: Marten Hogeweg [mailto:mho...@es...] Sent: Thursday, January 26, 2012 9:22 AM To: geo...@li... Subject: [Geoportal-support] hello world Please reply |
From: Min S. K. <mk...@es...> - 2012-01-26 17:28:15
|
Hello team. coolkang |
From: Clive R. <CR...@es...> - 2012-01-26 17:26:35
|
echo Clive Reece, PhD | Project Manager / Consultant | Esri From: Marten Hogeweg [mailto:mho...@es...] Sent: Thursday, January 26, 2012 11:22 AM To: geo...@li... Subject: [Geoportal-support] hello world Please reply |
From: Marten H. <mho...@es...> - 2012-01-26 17:22:45
|
Please reply |
From: Pratik S. <ps...@es...> - 2012-01-26 17:17:30
|
From: Clive R. <CR...@es...> - 2012-01-26 16:42:01
|
Hello world Clive Reece, PhD | Sr Project Manager / Consultant ESRI | 880 Blue Gentian Road, Suite 200 | Saint Paul, MN 55121 T 909-793-2853, ext. 8376 | M 651-402-6029 cr...@es...<mailto:cr...@es...> | esri.com |
From: Marten H. <mho...@es...> - 2012-01-26 07:48:45
|