[GeoNetwork-users] Import Sample Data

Hello list,

I have installed GN 2.1 with Jetty and PostgreSQL 8.1 on an Ubuntu Server. Everything is working fine.

I would like to have some sample data for a presentation. That's why I tried to install the sample data and metadata using GAST. But there is an error massage on installing the data: "You need to authenticate". What? Where?

-----------
0 [Thread-1] WARN cookie.CookieSpec - Invalid cookie state: domain not specified
267 [Thread-1] INFO httpclient.HttpMethodDirector - Authentication requested but doAuthentication is disabled
267 [Thread-1] WARN httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
*** Error is:
<error id="service-not-allowed">
<message>Service not allowed</message>
<class>ServiceNotAllowedEx</class>
<stack>
<at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="369" method="dispatch" />
<at class="jeeves.server.JeevesEngine" file="JeevesEngine.java" line="600" method="dispatch" />
<at class="jeeves.server.sources.http.JeevesServlet" file="JeevesServlet.java" line="163" method="execute" />
<at class="jeeves.server.sources.http.JeevesServlet" file="JeevesServlet.java" line="98" method="doPost" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="616" method="service" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="689" method="service" />
<at class="org.mortbay.jetty.servlet.ServletHolder" file="ServletHolder.java" line="427" method="handle" />
<at class="org.mortbay.jetty.servlet.WebApplicationHandler" file="WebApplicationHandler.java" line="473" method="dispatch" />
<at class="org.mortbay.jetty.servlet.ServletHandler" file="ServletHandler.java" line="568" method="handle" />
<at class="org.mortbay.http.HttpContext" file="HttpContext.java" line="1565" method="handle" />
</stack>
<object>mef.import</object>
<request>
<language>en</language>
<service>mef.import</service>
</request>
</error>
java.lang.Exception: You need to authenticate
at org.fao.gast.lib.ServiceLib.checkError(ServiceLib.java:77)
at org.fao.gast.gui.panels.database.sample.Worker.send(Worker.java:147)
at org.fao.gast.gui.panels.database.sample.Worker.executeJob(Worker.java:110)
at org.fao.gast.gui.panels.database.sample.Worker.run(Worker.java:73)
at java.lang.Thread.run(Thread.java:619)
-------------

Best regards,

Christian

http://www.ufz.de

Hi Christian,

When you want to load sample data using GAST, GAST logs in on your geonetwork
and loads the data.
To allow GAST to login,it needs to fill in the username and password in your
geonetwork, this is the authentication. You can configure this in the
"Options" of the GAST tool.
As you use Jetty, you can choose 'embedded' server for server configuration.
Fill in your geonetwork username and password into the "account"
configuration. This will have been standardly set to admin-admin.

dien

-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of
Christian Gadge
Sent: Friday, October 19, 2007 11:02 AM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Import Sample Data

Hello list,

I have installed GN 2.1 with Jetty and PostgreSQL 8.1 on an Ubuntu Server.
Everything is working fine.

I would like to have some sample data for a presentation. That's why I tried
to install the sample data and metadata using GAST. But there is an error
massage on installing the data: "You need to authenticate". What? Where?

-----------
0 [Thread-1] WARN cookie.CookieSpec - Invalid cookie state: domain not
specified
267 [Thread-1] INFO httpclient.HttpMethodDirector - Authentication requested
but doAuthentication is disabled
267 [Thread-1] WARN httpclient.HttpMethodBase - Going to buffer response
body of large or unknown size. Using getResponseBodyAsStream instead is
recommended.
*** Error is:
<error id="service-not-allowed">
<message>Service not allowed</message>
<class>ServiceNotAllowedEx</class>
<stack>
<at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="369" method="dispatch" />
<at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="600" method="dispatch" />
<at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="163" method="execute" />
<at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="98" method="doPost" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="616" method="service" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="689" method="service" />
<at class="org.mortbay.jetty.servlet.ServletHolder"
file="ServletHolder.java" line="427" method="handle" />
<at class="org.mortbay.jetty.servlet.WebApplicationHandler"
file="WebApplicationHandler.java" line="473" method="dispatch" />
<at class="org.mortbay.jetty.servlet.ServletHandler"
file="ServletHandler.java" line="568" method="handle" />
<at class="org.mortbay.http.HttpContext" file="HttpContext.java"
line="1565" method="handle" />
</stack>
<object>mef.import</object>
<request>
<language>en</language>
<service>mef.import</service>
</request>
</error>
java.lang.Exception: You need to authenticate
at org.fao.gast.lib.ServiceLib.checkError(ServiceLib.java:77)
at
org.fao.gast.gui.panels.database.sample.Worker.send(Worker.java:147)
at
org.fao.gast.gui.panels.database.sample.Worker.executeJob(Worker.java:110)
at org.fao.gast.gui.panels.database.sample.Worker.run(Worker.java:73)
at java.lang.Thread.run(Thread.java:619)
-------------

Best regards,

Christian

http://www.ufz.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
#####################################################################################
DISCLAIMER
#####################################################################################

This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s)named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by persons other than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer.

#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared.
#####################################################################################

Hi,
I've been having the same problem on GN 2.1 / Ubuntu Feisty / MySQL /
Tomcat. Have you been able to get around this?

Regards,
Paul Grzeszczak

Christian Gadge <christian.gadge@anonymised.com>
Sent by: geonetwork-users-bounces@lists.sourceforge.net
2007-10-19 05:02 AM

To
geonetwork-users@lists.sourceforge.net
cc

Subject
[GeoNetwork-users] Import Sample Data

Hello list,

I have installed GN 2.1 with Jetty and PostgreSQL 8.1 on an Ubuntu Server.
Everything is working fine.

I would like to have some sample data for a presentation. That's why I
tried to install the sample data and metadata using GAST. But there is an
error massage on installing the data: "You need to authenticate". What?
Where?

-----------
0 [Thread-1] WARN cookie.CookieSpec - Invalid cookie state: domain not
specified
267 [Thread-1] INFO httpclient.HttpMethodDirector - Authentication
requested but doAuthentication is disabled
267 [Thread-1] WARN httpclient.HttpMethodBase - Going to buffer response
body of large or unknown size. Using getResponseBodyAsStream instead is
recommended.
*** Error is:
<error id="service-not-allowed">
  <message>Service not allowed</message>
  <class>ServiceNotAllowedEx</class>
  <stack>
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="369" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="600" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="163" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="98" method="doPost" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="616" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="689" method="service" />
    <at class="org.mortbay.jetty.servlet.ServletHolder"
file="ServletHolder.java" line="427" method="handle" />
    <at class="org.mortbay.jetty.servlet.WebApplicationHandler"
file="WebApplicationHandler.java" line="473" method="dispatch" />
    <at class="org.mortbay.jetty.servlet.ServletHandler"
file="ServletHandler.java" line="568" method="handle" />
    <at class="org.mortbay.http.HttpContext" file="HttpContext.java"
line="1565" method="handle" />
  </stack>
  <object>mef.import</object>
  <request>
    <language>en</language>
    <service>mef.import</service>
  </request>
</error>
java.lang.Exception: You need to authenticate
        at org.fao.gast.lib.ServiceLib.checkError(ServiceLib.java:77)
        at
org.fao.gast.gui.panels.database.sample.Worker.send(Worker.java:147)
        at
org.fao.gast.gui.panels.database.sample.Worker.executeJob(Worker.java:110)
        at
org.fao.gast.gui.panels.database.sample.Worker.run(Worker.java:73)
        at java.lang.Thread.run(Thread.java:619)
-------------

Best regards,

Christian

http://www.ufz.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

I struggled with the same problem but with PostGreSQL instead of MySQL
and finally got it to work. You need to click on Options in the top left
corner of the GAST GUI and provide your Geonetwork admin authentication
there.

Gavin Fleming

-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of
pgrzeszc@anonymised.com
Sent: 30 October 2007 02:43 PM
To: Christian Gadge
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Import Sample Data

Hi,
I've been having the same problem on GN 2.1 / Ubuntu Feisty / MySQL /
Tomcat. Have you been able to get around this?

Regards,
Paul Grzeszczak

Christian Gadge <christian.gadge@anonymised.com>
Sent by: geonetwork-users-bounces@lists.sourceforge.net
2007-10-19 05:02 AM

To
geonetwork-users@lists.sourceforge.net
cc

Subject
[GeoNetwork-users] Import Sample Data

Hello list,

I have installed GN 2.1 with Jetty and PostgreSQL 8.1 on an Ubuntu
Server.
Everything is working fine.

I would like to have some sample data for a presentation. That's why I
tried to install the sample data and metadata using GAST. But there is
an
error massage on installing the data: "You need to authenticate". What?
Where?

-----------
0 [Thread-1] WARN cookie.CookieSpec - Invalid cookie state: domain not
specified
267 [Thread-1] INFO httpclient.HttpMethodDirector - Authentication
requested but doAuthentication is disabled
267 [Thread-1] WARN httpclient.HttpMethodBase - Going to buffer
response
body of large or unknown size. Using getResponseBodyAsStream instead is
recommended.
*** Error is:
<error id="service-not-allowed">
  <message>Service not allowed</message>
  <class>ServiceNotAllowedEx</class>
  <stack>
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="369" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="600" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="163" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="98" method="doPost" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="616" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="689" method="service" />
    <at class="org.mortbay.jetty.servlet.ServletHolder"
file="ServletHolder.java" line="427" method="handle" />
    <at class="org.mortbay.jetty.servlet.WebApplicationHandler"
file="WebApplicationHandler.java" line="473" method="dispatch" />
    <at class="org.mortbay.jetty.servlet.ServletHandler"
file="ServletHandler.java" line="568" method="handle" />
    <at class="org.mortbay.http.HttpContext" file="HttpContext.java"
line="1565" method="handle" />
  </stack>
  <object>mef.import</object>
  <request>
    <language>en</language>
    <service>mef.import</service>
  </request>
</error>
java.lang.Exception: You need to authenticate
        at org.fao.gast.lib.ServiceLib.checkError(ServiceLib.java:77)
        at
org.fao.gast.gui.panels.database.sample.Worker.send(Worker.java:147)
        at
org.fao.gast.gui.panels.database.sample.Worker.executeJob(Worker.java:11
0)
        at
org.fao.gast.gui.panels.database.sample.Worker.run(Worker.java:73)
        at java.lang.Thread.run(Thread.java:619)
-------------

Best regards,

Christian

http://www.ufz.de

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork