[GeoNetwork-users] Deploy Exception

Hi All,

Just wondering if anyone could help here. I'm just in the process of installing GeoNetwork under JBoss (3.2.6) on a Linux platform (Java 1.5.0), and have noticed an exception when the application is deployed (as JBoss starts up). The top of the stack trace is given below, but I'm afraid the exception (NotSerializable) doesn't mean much to me in this context.

I'm hoping this might be the cause of a javascript error message ("Sorry. There was an error") which appears when invoking the home page on our server:

   http://81.29.75.200:8080/geonetwork

Has anyone seen this exception before? If so, is it serious, or something I can ignore?

Thanks in advance,

Andy
----------------------------------

2008-01-25 14:21:35,007 ERROR [jeeves.engine] - Raised exception while starting appl handler. Skipped.
2008-01-25 14:21:35,007 ERROR [jeeves.engine] - Handler : org.fao.geonet.Geonetwork
2008-01-25 14:21:35,007 ERROR [jeeves.engine] - Exception : javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: com.k_int.util.Repository.CollectionDirectory]
2008-01-25 14:21:35,007 ERROR [jeeves.engine] - Message : null
2008-01-25 14:21:35,009 ERROR [jeeves.engine] - Stack : javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: com.k_int.util.Repository.CollectionDirectory]
        at org.jnp.interfaces.NamingContext.bind(NamingContext.java:500)
        at org.jnp.interfaces.NamingContext.bind(NamingContext.java:461)
        at org.fao.geonet.kernel.search.SearchManager.initZ3950(SearchManager.java:145)
        at org.fao.geonet.kernel.search.SearchManager.<init>(SearchManager.java:77)
        at org.fao.geonet.Geonetwork.start(Geonetwork.java:111)
        at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:409)
        at jeeves.server.JeevesEngine.init(JeevesEngine.java:140)
        at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:65)
        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
        ...

Hi All,

Having recently installed Geoserver on our linux box, I'm now just in the process of loading some of the sample data via the GAST facility. We're using PostgreSQL

However, when I click Import, I'm getting a "<null>" alert dialog and the output below being printed to the application server log.

This is after I entered (what I believe to be) the default authentication details to allow this to happen (ie. admin/admin). I'm still unclear as to why this authentication is necessary, but it progresses it on from the "You need to authenticate" message I was getting.

Any advice would be much appreciated, as the <null> message has currently got me stumped!

Many thanks in advance.

Andy
-------------------------------------------------------

2008-01-29 14:15:43,548 INFO [jeeves.request] - HTML Request (from 81.29.75.200) : /geonetwork/srv/en/xml.user.login
2008-01-29 14:15:43,548 DEBUG [jeeves.request] - Method : GET
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Content type : null
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Accept : application/xml
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Session created for client : 81.29.75.200
2008-01-29 14:15:43,549 INFO [jeeves.service] - Dispatching : xml.user.login
2008-01-29 14:15:43,549 DEBUG [jeeves.service] - -> parameters are :
<request>
  <password>admin</password>
  <username>admin</username>
</request>
2008-01-29 14:15:43,549 ERROR [jeeves.service] - Exception when executing service
2008-01-29 14:15:43,549 ERROR [jeeves.service] - (C) Exc : java.lang.NullPointerException
2008-01-29 14:15:43,551 DEBUG [jeeves.service] - Raised exception while executing service
<error id="error">
  <message />
  <class>NullPointerException</class>
  <stack>
    <at class="org.fao.geonet.services.login.Login" file="Login.java" line="67" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="372" 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="88" method="doGet" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="697" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="810" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain" file="ApplicationFilterChain.java" line="237" method="internalDoFilter" />
  </stack>
  <request>
    <language>en</language>
    <service>xml.user.login</service>
  </request>
</error>

Are you sure your data connection to the Postgres DB is working? Looks
like the null pointer exception arises from a lack of a DB connection.
Can you login through the Geonetwork web interface with your
credentials?

Could you send the relevant lines of your config.xml file? In my case,
it I am using MySQL but have previously used Postgres. It will be
something like this..

    <resource enabled="true">
      <name>main-db</name>
  
<provider>jeeves.resources.dbms.DbmsPool</provider>
      <config>
        <user>YOUR USER</user>
        <password>YOUR PASSWORD</password>
        <driver>com.mysql.jdbc.Driver</driver>
        <url>jdbc:mysql://YOUR SERVER:YOUR
PORT/geonetwork</url>
        <poolSize>10</poolSize>
        <reconnectTime>3600</reconnectTime>
      </config>
    </resource>

Authentication is necessary, as far as I understand, because GAST does
not access the database directly, but rather through Geonetwork itself.
I am sure Jeroen will be able to add more here. Also, are you using
Tomcat or Jetty?

Best regards,
jason

-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of
Andrew Chamberlain
Sent: Tuesday, January 29, 2008 2:47 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Sample Data Import Issue

Hi All,

Having recently installed Geoserver on our linux box, I'm now just in
the process of loading some of the sample data via the GAST facility.
We're using PostgreSQL

However, when I click Import, I'm getting a "<null>" alert dialog and
the output below being printed to the application server log.

This is after I entered (what I believe to be) the default
authentication details to allow this to happen (ie. admin/admin). I'm
still unclear as to why this authentication is necessary, but it
progresses it on from the "You need to authenticate" message I was
getting.

Any advice would be much appreciated, as the <null> message has
currently got me stumped!

Many thanks in advance.

Andy
-------------------------------------------------------

2008-01-29 14:15:43,548 INFO [jeeves.request] - HTML Request (from
81.29.75.200) : /geonetwork/srv/en/xml.user.login
2008-01-29 14:15:43,548 DEBUG [jeeves.request] - Method : GET
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Content type : null
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Accept :
application/xml
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Session created for
client : 81.29.75.200
2008-01-29 14:15:43,549 INFO [jeeves.service] - Dispatching :
xml.user.login
2008-01-29 14:15:43,549 DEBUG [jeeves.service] - -> parameters are :
<request>
  <password>admin</password>
  <username>admin</username>
</request>
2008-01-29 14:15:43,549 ERROR [jeeves.service] - Exception when
executing service
2008-01-29 14:15:43,549 ERROR [jeeves.service] - (C) Exc :
java.lang.NullPointerException
2008-01-29 14:15:43,551 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message />
  <class>NullPointerException</class>
  <stack>
    <at class="org.fao.geonet.services.login.Login" file="Login.java"
line="67" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="372" 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="88" method="doGet" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="697" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="810" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain"
file="ApplicationFilterChain.java" line="237" method="internalDoFilter"
/>
  </stack>
  <request>
    <language>en</language>
    <service>xml.user.login</service>
  </request>
</error>

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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

Hi Jason,

Thank you for your reply. I've checked my database connection (using the psql client on the command line), and it seems to be fine.

No, I'm currently unable to log in via the Geonetwork web interface. When summoning our geonetwork interface (http://81.29.75.200:8080/geonetwork), I get a couple of javascript alert dialogues: "Sorry. There was an error." and then "null". I then get "The requested operation could not be performed." when I try to log in using admin/admin. This is also the case when I try the username/password specified for the database connection in the config.xml (I wasn't sure if the two login's used the same details).

The relevant section from our config file is as follows:

<resource enabled="true">
   <name>main-db</name>
   <provider>jeeves.resources.dbms.DbmsPool</provider>
   <config>
      <user>csw</user>
      <password></the password/></password>
      <driver>org.postgresql.Driver</driver>
      <url>jdbc:postgresql://81.29.75.200:5432/geonetwork</url>
      <poolSize>10</poolSize>
   </config>
</resource>

The only difference is a <reconnectTime> element, but inserting this didn't make any difference.

I'm encouraged to hear that you've used Geonetwork with PostgreSQL before. I was having fears after reading that some people were having trouble with this combination.

I'm using JBoss 3.2.6 with Java 1.5.0.

Not sure if any of this helps. I've noticed an exception in the log when geonetwork gets deployed (see below), but wasn't sure if it's the culprit.

Thanks,

Andy

ERROR [jeeves.engine] - Raised exception while starting appl handler. Skipped.
ERROR [jeeves.engine] - Handler : org.fao.geonet.Geonetwork
ERROR [jeeves.engine] - Exception : javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: com.k_int.util.Repository.CollectionDirectory]
ERROR [jeeves.engine] - Message : null
ERROR [jeeves.engine] - Stack : javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: com.k_int.util.Repository.CollectionDirectory]
...

----------------------------------------------------------------------------------

Pickering, Jason wrote:

Are you sure your data connection to the Postgres DB is working? Looks
like the null pointer exception arises from a lack of a DB connection.
Can you login through the Geonetwork web interface with your
credentials?

Could you send the relevant lines of your config.xml file? In my case,
it I am using MySQL but have previously used Postgres. It will be
something like this..

    <resource enabled="true">
      <name>main-db</name>
  
<provider>jeeves.resources.dbms.DbmsPool</provider>
      <config>
        <user>YOUR USER</user>
        <password>YOUR PASSWORD</password>
        <driver>com.mysql.jdbc.Driver</driver>
        <url>jdbc:mysql://YOUR SERVER:YOUR
PORT/geonetwork</url>
        <poolSize>10</poolSize>
        <reconnectTime>3600</reconnectTime>
      </config>
    </resource>

Authentication is necessary, as far as I understand, because GAST does
not access the database directly, but rather through Geonetwork itself.
I am sure Jeroen will be able to add more here. Also, are you using
Tomcat or Jetty?

Best regards,
jason

-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of
Andrew Chamberlain
Sent: Tuesday, January 29, 2008 2:47 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Sample Data Import Issue

Hi All,

Having recently installed Geoserver on our linux box, I'm now just in the process of loading some of the sample data via the GAST facility. We're using PostgreSQL

However, when I click Import, I'm getting a "<null>" alert dialog and the output below being printed to the application server log.

This is after I entered (what I believe to be) the default authentication details to allow this to happen (ie. admin/admin). I'm still unclear as to why this authentication is necessary, but it progresses it on from the "You need to authenticate" message I was
getting.

Any advice would be much appreciated, as the <null> message has currently got me stumped!

Many thanks in advance.

Andy
-------------------------------------------------------

2008-01-29 14:15:43,548 INFO [jeeves.request] - HTML Request (from 81.29.75.200) : /geonetwork/srv/en/xml.user.login
2008-01-29 14:15:43,548 DEBUG [jeeves.request] - Method : GET
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Content type : null
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Accept : application/xml
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Session created for client : 81.29.75.200
2008-01-29 14:15:43,549 INFO [jeeves.service] - Dispatching : xml.user.login
2008-01-29 14:15:43,549 DEBUG [jeeves.service] - -> parameters are :
<request>
  <password>admin</password>
  <username>admin</username>
</request>
2008-01-29 14:15:43,549 ERROR [jeeves.service] - Exception when executing service
2008-01-29 14:15:43,549 ERROR [jeeves.service] - (C) Exc : java.lang.NullPointerException
2008-01-29 14:15:43,551 DEBUG [jeeves.service] - Raised exception while executing service
<error id="error">
  <message />
  <class>NullPointerException</class>
  <stack>
    <at class="org.fao.geonet.services.login.Login" file="Login.java" line="67" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="372" 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="88" method="doGet" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="697" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="810" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain" file="ApplicationFilterChain.java" line="237" method="internalDoFilter"
/>
  </stack>
  <request>
    <language>en</language>
    <service>xml.user.login</service>
  </request>
</error>

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
  

Hi Andrew,

I have not used JBoss, so not idea about the deployment error. I have
seen similar error messages with Tomcat, but the procedure below
resolved it in my case.

I am assuming you were able to initiate the database with GAST?

After that, clean out the lucene directory and let lucene rebuild the
indexes.

This is my procedure.

1) Stop the application server completely, if this is possible.
2) Remove everything in \geonetwork\WEB-INF\lucene directory
3) Start the application server again.

You should see that lucene will start to rebuild the indexes with some
files like _4fd.cfs, _4fj.cfs, deletable, segments.

If you do not have any data in your geonetwork database, this should
proceed very quickly. Closely monitor the geonetwork log and if you
still have problems. Now try and log in.

I would recommend that Inus also try the same procedure (next mail on
the listserv)

Regards,
Jason

-----Original Message-----
From: Andrew Chamberlain [mailto:andyc@anonymised.com]
Sent: Tuesday, January 29, 2008 8:43 PM
To: Pickering, Jason
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Sample Data Import Issue

Hi Jason,

Thank you for your reply. I've checked my database connection (using
the psql client on the command line), and it seems to be fine.

No, I'm currently unable to log in via the Geonetwork web interface.
When summoning our geonetwork interface
(http://81.29.75.200:8080/geonetwork), I get a couple of javascript
alert dialogues: "Sorry. There was an error." and then "null". I then
get "The requested operation could not be performed." when I try to log
in using admin/admin. This is also the case when I try the
username/password specified for the database connection in the
config.xml (I wasn't sure if the two login's used the same details).

The relevant section from our config file is as follows:

<resource enabled="true">
   <name>main-db</name>
   <provider>jeeves.resources.dbms.DbmsPool</provider>
   <config>
      <user>csw</user>
      <password></the password/></password>
      <driver>org.postgresql.Driver</driver>
      <url>jdbc:postgresql://81.29.75.200:5432/geonetwork</url>
      <poolSize>10</poolSize>
   </config>
</resource>

The only difference is a <reconnectTime> element, but inserting this
didn't make any difference.

I'm encouraged to hear that you've used Geonetwork with PostgreSQL
before. I was having fears after reading that some people were having
trouble with this combination.

I'm using JBoss 3.2.6 with Java 1.5.0.

Not sure if any of this helps. I've noticed an exception in the log
when geonetwork gets deployed (see below), but wasn't sure if it's the
culprit.

Thanks,

Andy

ERROR [jeeves.engine] - Raised exception while starting appl handler.
Skipped.
ERROR [jeeves.engine] - Handler : org.fao.geonet.Geonetwork
ERROR [jeeves.engine] - Exception :
javax.naming.CommunicationException [Root exception is
java.io.NotSerializableException:
com.k_int.util.Repository.CollectionDirectory]
ERROR [jeeves.engine] - Message : null
ERROR [jeeves.engine] - Stack :
javax.naming.CommunicationException [Root exception is
java.io.NotSerializableException:
com.k_int.util.Repository.CollectionDirectory]
...

------------------------------------------------------------------------
----------

Pickering, Jason wrote:

Are you sure your data connection to the Postgres DB is working? Looks
like the null pointer exception arises from a lack of a DB connection.
Can you login through the Geonetwork web interface with your
credentials?

Could you send the relevant lines of your config.xml file? In my case,
it I am using MySQL but have previously used Postgres. It will be
something like this..

    <resource enabled="true">
      <name>main-db</name>
  
<provider>jeeves.resources.dbms.DbmsPool</provider>
      <config>
        <user>YOUR USER</user>
        <password>YOUR PASSWORD</password>
        <driver>com.mysql.jdbc.Driver</driver>
        <url>jdbc:mysql://YOUR SERVER:YOUR
PORT/geonetwork</url>
        <poolSize>10</poolSize>
        <reconnectTime>3600</reconnectTime>
      </config>
    </resource>

Authentication is necessary, as far as I understand, because GAST does
not access the database directly, but rather through Geonetwork

itself.

I am sure Jeroen will be able to add more here. Also, are you using
Tomcat or Jetty?

Best regards,
jason

-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of
Andrew Chamberlain
Sent: Tuesday, January 29, 2008 2:47 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Sample Data Import Issue

Hi All,

Having recently installed Geoserver on our linux box, I'm now just in
the process of loading some of the sample data via the GAST facility.

We're using PostgreSQL

However, when I click Import, I'm getting a "<null>" alert dialog and
the output below being printed to the application server log.

This is after I entered (what I believe to be) the default
authentication details to allow this to happen (ie. admin/admin). I'm

still unclear as to why this authentication is necessary, but it
progresses it on from the "You need to authenticate" message I was
getting.

Any advice would be much appreciated, as the <null> message has
currently got me stumped!

Many thanks in advance.

Andy
-------------------------------------------------------

2008-01-29 14:15:43,548 INFO [jeeves.request] - HTML Request (from
81.29.75.200) : /geonetwork/srv/en/xml.user.login
2008-01-29 14:15:43,548 DEBUG [jeeves.request] - Method : GET
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Content type : null
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Accept :
application/xml
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Session created for
client : 81.29.75.200
2008-01-29 14:15:43,549 INFO [jeeves.service] - Dispatching :
xml.user.login
2008-01-29 14:15:43,549 DEBUG [jeeves.service] - -> parameters are :
<request>
  <password>admin</password>
  <username>admin</username>
</request>
2008-01-29 14:15:43,549 ERROR [jeeves.service] - Exception when
executing service
2008-01-29 14:15:43,549 ERROR [jeeves.service] - (C) Exc :
java.lang.NullPointerException
2008-01-29 14:15:43,551 DEBUG [jeeves.service] - Raised exception

while

executing service
<error id="error">
  <message />
  <class>NullPointerException</class>
  <stack>
    <at class="org.fao.geonet.services.login.Login" file="Login.java"
line="67" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="372" 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="88" method="doGet" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"

line="697" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"

line="810" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain"
file="ApplicationFilterChain.java" line="237"

method="internalDoFilter"

/>
  </stack>
  <request>
    <language>en</language>
    <service>xml.user.login</service>
  </request>
</error>

------------------------------------------------------------------------

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
  

Hi Jason,

Your suggestion had me going back to basics. I recreated the database and ran the Setup from the GAST facility. I knew I had run this before, so wanted to try again to see if anything had changed. It had. It couldn't now find the Postgres driver (org.postgresql.Driver) class. That will teach me for purging duplicate libraries. Having fixed that one, I tried the Setup again and this time got the following message:

"Cyclic reference found:
[Relations, Categories, Settings, Languages, Sources, IsoLanguages, IsoLanguagesDes, regions, RegionsDes, Users, Operations, OperationsDes, Groups, GroupsDes, ...]"

I can't see the whole alert as it stretches off the screen (I'm working via a VNC session). However, when I check the database, it seems that 19 tables and 21 indicies have been created after all. Is this the full set? Either way, it seems that the postgres connection is good.

Now when I try to import some sample data (using admin/admin for authentication instead of my database login details - I assume they're not the same?), I get the following output from the GAST:

131042 [Thread-4] WARN cookie.CookieSpec - Invalid cookie state: domain not specified
131053 [Thread-4] WARN httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
*** Error is:
<error id="error">
  <message />
  <class>NullPointerException</class>
  <stack>
    <at class="org.fao.geonet.services.login.Login" file="Login.java" line="67" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="372" 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="88" method="doGet" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="697" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="810" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain" file="ApplicationFilterChain.java" line="237" method="internalDoFilter" />
  </stack>
  <request>
    <language>en</language>
    <service>xml.user.login</service>
  </request>
</error>
java.lang.Exception:
        at org.fao.gast.lib.ServiceLib.checkError(ServiceLib.java:82)
        at org.fao.gast.lib.ServiceLib.login(ServiceLib.java:53)
        at org.fao.gast.gui.panels.database.sample.Worker.login(Worker.java:125)
        at org.fao.gast.gui.panels.database.sample.Worker.executeJob(Worker.java:96)
        at org.fao.gast.gui.panels.database.sample.Worker.run(Worker.java:73)
        at java.lang.Thread.run(Thread.java:595)

This is different from before, so I think we're making progress.

I tried the procedure you suggested involving the lucern directory, but the deployment exception remains. I'm guessing that's a seperate issue.

Thanks again,

Andy

---------------------------------------------------------------

Pickering, Jason wrote:

Hi Andrew,

I have not used JBoss, so not idea about the deployment error. I have
seen similar error messages with Tomcat, but the procedure below
resolved it in my case.

I am assuming you were able to initiate the database with GAST?

After that, clean out the lucene directory and let lucene rebuild the
indexes.

This is my procedure.

1) Stop the application server completely, if this is possible. 2) Remove everything in \geonetwork\WEB-INF\lucene directory
3) Start the application server again.

You should see that lucene will start to rebuild the indexes with some
files like _4fd.cfs, _4fj.cfs, deletable, segments.

If you do not have any data in your geonetwork database, this should
proceed very quickly. Closely monitor the geonetwork log and if you
still have problems. Now try and log in.

I would recommend that Inus also try the same procedure (next mail on
the listserv)

Regards,
Jason

-----Original Message-----
From: Andrew Chamberlain [mailto:andyc@anonymised.com] Sent: Tuesday, January 29, 2008 8:43 PM
To: Pickering, Jason
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Sample Data Import Issue

Hi Jason,

Thank you for your reply. I've checked my database connection (using the psql client on the command line), and it seems to be fine.

No, I'm currently unable to log in via the Geonetwork web interface. When summoning our geonetwork interface (http://81.29.75.200:8080/geonetwork), I get a couple of javascript alert dialogues: "Sorry. There was an error." and then "null". I then get "The requested operation could not be performed." when I try to log in using admin/admin. This is also the case when I try the username/password specified for the database connection in the config.xml (I wasn't sure if the two login's used the same details).

The relevant section from our config file is as follows:

<resource enabled="true">
   <name>main-db</name>
   <provider>jeeves.resources.dbms.DbmsPool</provider>
   <config>
      <user>csw</user>
      <password></the password/></password>
      <driver>org.postgresql.Driver</driver>
      <url>jdbc:postgresql://81.29.75.200:5432/geonetwork</url>
      <poolSize>10</poolSize>
   </config>
</resource>

The only difference is a <reconnectTime> element, but inserting this didn't make any difference.

I'm encouraged to hear that you've used Geonetwork with PostgreSQL before. I was having fears after reading that some people were having trouble with this combination.

I'm using JBoss 3.2.6 with Java 1.5.0.

Not sure if any of this helps. I've noticed an exception in the log when geonetwork gets deployed (see below), but wasn't sure if it's the culprit.

Thanks,

Andy

ERROR [jeeves.engine] - Raised exception while starting appl handler. Skipped.
ERROR [jeeves.engine] - Handler : org.fao.geonet.Geonetwork
ERROR [jeeves.engine] - Exception : javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: com.k_int.util.Repository.CollectionDirectory]
ERROR [jeeves.engine] - Message : null
ERROR [jeeves.engine] - Stack : javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: com.k_int.util.Repository.CollectionDirectory]
...

------------------------------------------------------------------------
----------

Pickering, Jason wrote:
  

Are you sure your data connection to the Postgres DB is working? Looks
like the null pointer exception arises from a lack of a DB connection.
Can you login through the Geonetwork web interface with your
credentials?

Could you send the relevant lines of your config.xml file? In my case,
it I am using MySQL but have previously used Postgres. It will be
something like this..

    <resource enabled="true">
      <name>main-db</name>
  
<provider>jeeves.resources.dbms.DbmsPool</provider>
      <config>
        <user>YOUR USER</user>
        <password>YOUR PASSWORD</password>
        <driver>com.mysql.jdbc.Driver</driver>
        <url>jdbc:mysql://YOUR SERVER:YOUR
PORT/geonetwork</url>
        <poolSize>10</poolSize>
        <reconnectTime>3600</reconnectTime>
      </config>
    </resource>

Authentication is necessary, as far as I understand, because GAST does
not access the database directly, but rather through Geonetwork
    

itself.
  

I am sure Jeroen will be able to add more here. Also, are you using
Tomcat or Jetty?

Best regards,
jason

-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of
Andrew Chamberlain
Sent: Tuesday, January 29, 2008 2:47 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Sample Data Import Issue

Hi All,

Having recently installed Geoserver on our linux box, I'm now just in the process of loading some of the sample data via the GAST facility.
    
We're using PostgreSQL

However, when I click Import, I'm getting a "<null>" alert dialog and the output below being printed to the application server log.

This is after I entered (what I believe to be) the default authentication details to allow this to happen (ie. admin/admin). I'm
    
still unclear as to why this authentication is necessary, but it progresses it on from the "You need to authenticate" message I was
getting.

Any advice would be much appreciated, as the <null> message has currently got me stumped!

Many thanks in advance.

Andy
-------------------------------------------------------

2008-01-29 14:15:43,548 INFO [jeeves.request] - HTML Request (from 81.29.75.200) : /geonetwork/srv/en/xml.user.login
2008-01-29 14:15:43,548 DEBUG [jeeves.request] - Method : GET
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Content type : null
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Accept : application/xml
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Session created for client : 81.29.75.200
2008-01-29 14:15:43,549 INFO [jeeves.service] - Dispatching : xml.user.login
2008-01-29 14:15:43,549 DEBUG [jeeves.service] - -> parameters are :
<request>
  <password>admin</password>
  <username>admin</username>
</request>
2008-01-29 14:15:43,549 ERROR [jeeves.service] - Exception when executing service
2008-01-29 14:15:43,549 ERROR [jeeves.service] - (C) Exc : java.lang.NullPointerException
2008-01-29 14:15:43,551 DEBUG [jeeves.service] - Raised exception
    

while
  

executing service
<error id="error">
  <message />
  <class>NullPointerException</class>
  <stack>
    <at class="org.fao.geonet.services.login.Login" file="Login.java" line="67" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="372" 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="88" method="doGet" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
    
line="697" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
    
line="810" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain" file="ApplicationFilterChain.java" line="237"
    

method="internalDoFilter"
  

/>
  </stack>
  <request>
    <language>en</language>
    <service>xml.user.login</service>
  </request>
</error>

------------------------------------------------------------------------
  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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 can't speak to the deployment exception, but I've gotten the "cyclic reference" exception several times when using PostgreSQL and when using MySQL. It's never caused any problems, and it doesn't seem to be anything to worry about.

---
A. Soroka / DSS R & D / the University of Virginia Library

On Jan 30, 2008, at 12:40 PM, Andrew Chamberlain wrote:

Having fixed that
one, I tried the Setup again and this time got the following message:

"Cyclic reference found:
[Relations, Categories, Settings, Languages, Sources, IsoLanguages,
IsoLanguagesDes, regions, RegionsDes, Users, Operations, OperationsDes,
Groups, GroupsDes, ...]"

I can't see the whole alert as it stretches off the screen (I'm working
via a VNC session). However, when I check the database, it seems that
19 tables and 21 indicies have been created after all. Is this the full
set? Either way, it seems that the postgres connection is good.

Hi Andy,

I have seen the cyclic references as well, but they seem to be harmless.

I am still not convinced that Geonetwork is actually connected to a
database.

After running the setup, did you shut down the application server, clean
out the lucene directory, and then let the indexes rebuild? After that,
were you able to login via the web interface? Did you see any null
pointer references when Geonetwork starts up?

The HTTP error below I have never seen and have no clue about.

Regards,
JPP

-----Original Message-----
From: Andrew Chamberlain [mailto:andyc@anonymised.com]
Sent: Wednesday, January 30, 2008 6:41 PM
To: Pickering, Jason
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Sample Data Import Issue

Hi Jason,

Your suggestion had me going back to basics. I recreated the database
and ran the Setup from the GAST facility. I knew I had run this before,

so wanted to try again to see if anything had changed. It had. It
couldn't now find the Postgres driver (org.postgresql.Driver) class.
That will teach me for purging duplicate libraries. Having fixed that
one, I tried the Setup again and this time got the following message:

"Cyclic reference found:
[Relations, Categories, Settings, Languages, Sources, IsoLanguages,
IsoLanguagesDes, regions, RegionsDes, Users, Operations, OperationsDes,
Groups, GroupsDes, ...]"

I can't see the whole alert as it stretches off the screen (I'm working
via a VNC session). However, when I check the database, it seems that
19 tables and 21 indicies have been created after all. Is this the full

set? Either way, it seems that the postgres connection is good.

Now when I try to import some sample data (using admin/admin for
authentication instead of my database login details - I assume they're
not the same?), I get the following output from the GAST:

131042 [Thread-4] WARN cookie.CookieSpec - Invalid cookie state: domain

not specified
131053 [Thread-4] WARN httpclient.HttpMethodBase - Going to buffer
response body of large or unknown size. Using getResponseBodyAsStream
instead is recommended.
*** Error is:
<error id="error">
  <message />
  <class>NullPointerException</class>
  <stack>
    <at class="org.fao.geonet.services.login.Login" file="Login.java"
line="67" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="372" 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="88" method="doGet" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="697" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="810" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain"
file="ApplicationFilterChain.java" line="237" method="internalDoFilter"
/>
  </stack>
  <request>
    <language>en</language>
    <service>xml.user.login</service>
  </request>
</error>
java.lang.Exception:
        at org.fao.gast.lib.ServiceLib.checkError(ServiceLib.java:82)
        at org.fao.gast.lib.ServiceLib.login(ServiceLib.java:53)
        at
org.fao.gast.gui.panels.database.sample.Worker.login(Worker.java:125)
        at
org.fao.gast.gui.panels.database.sample.Worker.executeJob(Worker.java:96
)
        at
org.fao.gast.gui.panels.database.sample.Worker.run(Worker.java:73)
        at java.lang.Thread.run(Thread.java:595)

This is different from before, so I think we're making progress.

I tried the procedure you suggested involving the lucern directory, but
the deployment exception remains. I'm guessing that's a seperate issue.

Thanks again,

Andy

---------------------------------------------------------------

Pickering, Jason wrote:

Hi Andrew,

I have not used JBoss, so not idea about the deployment error. I have
seen similar error messages with Tomcat, but the procedure below
resolved it in my case.

I am assuming you were able to initiate the database with GAST?

After that, clean out the lucene directory and let lucene rebuild the
indexes.

This is my procedure.

1) Stop the application server completely, if this is possible.
2) Remove everything in \geonetwork\WEB-INF\lucene directory
3) Start the application server again.

You should see that lucene will start to rebuild the indexes with some
files like _4fd.cfs, _4fj.cfs, deletable, segments.

If you do not have any data in your geonetwork database, this should
proceed very quickly. Closely monitor the geonetwork log and if you
still have problems. Now try and log in.

I would recommend that Inus also try the same procedure (next mail on
the listserv)

Regards,
Jason

-----Original Message-----
From: Andrew Chamberlain [mailto:andyc@anonymised.com]
Sent: Tuesday, January 29, 2008 8:43 PM
To: Pickering, Jason
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Sample Data Import Issue

Hi Jason,

Thank you for your reply. I've checked my database connection (using
the psql client on the command line), and it seems to be fine.

No, I'm currently unable to log in via the Geonetwork web interface.
When summoning our geonetwork interface
(http://81.29.75.200:8080/geonetwork), I get a couple of javascript
alert dialogues: "Sorry. There was an error." and then "null". I then

get "The requested operation could not be performed." when I try to

log

in using admin/admin. This is also the case when I try the
username/password specified for the database connection in the
config.xml (I wasn't sure if the two login's used the same details).

The relevant section from our config file is as follows:

<resource enabled="true">
   <name>main-db</name>
   <provider>jeeves.resources.dbms.DbmsPool</provider>
   <config>
      <user>csw</user>
      <password></the password/></password>
      <driver>org.postgresql.Driver</driver>
      <url>jdbc:postgresql://81.29.75.200:5432/geonetwork</url>
      <poolSize>10</poolSize>
   </config>
</resource>

The only difference is a <reconnectTime> element, but inserting this
didn't make any difference.

I'm encouraged to hear that you've used Geonetwork with PostgreSQL
before. I was having fears after reading that some people were having

trouble with this combination.

I'm using JBoss 3.2.6 with Java 1.5.0.

Not sure if any of this helps. I've noticed an exception in the log
when geonetwork gets deployed (see below), but wasn't sure if it's the

culprit.

Thanks,

Andy

ERROR [jeeves.engine] - Raised exception while starting appl handler.
Skipped.
ERROR [jeeves.engine] - Handler : org.fao.geonet.Geonetwork
ERROR [jeeves.engine] - Exception :
javax.naming.CommunicationException [Root exception is
java.io.NotSerializableException:
com.k_int.util.Repository.CollectionDirectory]
ERROR [jeeves.engine] - Message : null
ERROR [jeeves.engine] - Stack :
javax.naming.CommunicationException [Root exception is
java.io.NotSerializableException:
com.k_int.util.Repository.CollectionDirectory]
...

------------------------------------------------------------------------

----------

Pickering, Jason wrote:
  

Are you sure your data connection to the Postgres DB is working?

Looks

like the null pointer exception arises from a lack of a DB

connection.

Can you login through the Geonetwork web interface with your
credentials?

Could you send the relevant lines of your config.xml file? In my

case,

it I am using MySQL but have previously used Postgres. It will be
something like this..

    <resource enabled="true">
      <name>main-db</name>
  
<provider>jeeves.resources.dbms.DbmsPool</provider>
      <config>
        <user>YOUR USER</user>
        <password>YOUR PASSWORD</password>
        <driver>com.mysql.jdbc.Driver</driver>
        <url>jdbc:mysql://YOUR SERVER:YOUR
PORT/geonetwork</url>
        <poolSize>10</poolSize>
        <reconnectTime>3600</reconnectTime>
      </config>
    </resource>

Authentication is necessary, as far as I understand, because GAST

does

not access the database directly, but rather through Geonetwork
    

itself.
  

I am sure Jeroen will be able to add more here. Also, are you using
Tomcat or Jetty?

Best regards,
jason

-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of
Andrew Chamberlain
Sent: Tuesday, January 29, 2008 2:47 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Sample Data Import Issue

Hi All,

Having recently installed Geoserver on our linux box, I'm now just in

the process of loading some of the sample data via the GAST facility.
    
We're using PostgreSQL

However, when I click Import, I'm getting a "<null>" alert dialog and

the output below being printed to the application server log.

This is after I entered (what I believe to be) the default
authentication details to allow this to happen (ie. admin/admin).

I'm

    
still unclear as to why this authentication is necessary, but it
progresses it on from the "You need to authenticate" message I was
getting.

Any advice would be much appreciated, as the <null> message has
currently got me stumped!

Many thanks in advance.

Andy
-------------------------------------------------------

2008-01-29 14:15:43,548 INFO [jeeves.request] - HTML Request (from
81.29.75.200) : /geonetwork/srv/en/xml.user.login
2008-01-29 14:15:43,548 DEBUG [jeeves.request] - Method : GET
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Content type : null
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Accept :
application/xml
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Session created for
client : 81.29.75.200
2008-01-29 14:15:43,549 INFO [jeeves.service] - Dispatching :
xml.user.login
2008-01-29 14:15:43,549 DEBUG [jeeves.service] - -> parameters are :
<request>
  <password>admin</password>
  <username>admin</username>
</request>
2008-01-29 14:15:43,549 ERROR [jeeves.service] - Exception when
executing service
2008-01-29 14:15:43,549 ERROR [jeeves.service] - (C) Exc :
java.lang.NullPointerException
2008-01-29 14:15:43,551 DEBUG [jeeves.service] - Raised exception
    

while
  

executing service
<error id="error">
  <message />
  <class>NullPointerException</class>
  <stack>
    <at class="org.fao.geonet.services.login.Login" file="Login.java"

line="67" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="372" 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="88" method="doGet" />
    <at class="javax.servlet.http.HttpServlet"

file="HttpServlet.java"

    
line="697" method="service" />
    <at class="javax.servlet.http.HttpServlet"

file="HttpServlet.java"

    
line="810" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain"
file="ApplicationFilterChain.java" line="237"
    

method="internalDoFilter"
  

/>
  </stack>
  <request>
    <language>en</language>
    <service>xml.user.login</service>
  </request>
</error>

------------------------------------------------------------------------

  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
  

Hi Jason,

Yes, I'm inclined to agree with you about the non-connection, but it's hard to fathom why.

Just to check, the only thing in the lucerne directory was a binary "segments" file of 20 bytes. Is this all you'd expect in there?

Otherwise, I did as you suggest:

1) applied the Setup through the GAST facility
2) stopped the application server
3) cleaned out the lucerne directory (ie. deleted the "segments" file)
4) restart the application server

But sadly still unable to login via the web interface (still getting those javascript error alerts as soon as the interface loads in the browser). Judging from the log (see below for the relevant excerpt), it seems that the database details are being read alright - although I'm not sure if they're used at this stage:

...
2008-02-01 17:57:14,324 INFO [jeeves.engine] - Loading : /usr/local/jboss-3.2.6/server/default/deploy/geonetwork.war/WEB-INF/config.xml
2008-02-01 17:57:14,370 INFO [jeeves.engine] - Initializing general configuration...
2008-02-01 17:57:14,375 INFO [jeeves.engine] - Initializing defaults...
2008-02-01 17:57:14,375 INFO [jeeves.engine] - Default local is :true
2008-02-01 17:57:14,387 INFO [jeeves.engine] - Initializing resources...
2008-02-01 17:57:14,387 INFO [jeeves.engine] - Adding resource : main-db
2008-02-01 17:57:14,464 INFO [jeeves.engine] - Initializing services...
2008-02-01 17:57:14,464 INFO [jeeves.engine] - Adding service : main.home
...

There was no null pointer references logged while Geonetwork was deploying, but I'm still getting that NotSerializableException. Not sure if it's relevent, but it's straight after the lucerne index gets rebuilt:

2008-02-01 17:57:16,052 INFO [jeeves.apphand] - - Search...
exception while opening lucene index, going to rebuild it: /usr/local/geonetwork/web/geonetwork/WEB-INF/lucene/segments (No such file or directory)
rebuilding lucene index
2008-02-01 17:57:16,157 ERROR [jeeves.engine] - Raised exception while starting appl handler. Skipped.
2008-02-01 17:57:16,157 ERROR [jeeves.engine] - Handler : org.fao.geonet.Geonetwork
2008-02-01 17:57:16,157 ERROR [jeeves.engine] - Exception : javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: com.k_int.util.Repository.CollectionDirectory]
2008-02-01 17:57:16,158 ERROR [jeeves.engine] - Message : null
2008-02-01 17:57:16,159 ERROR [jeeves.engine] - Stack : javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: com.k_int.util.Repository.CollectionDirectory]
        at org.jnp.interfaces.NamingContext.bind(NamingContext.java:500)
        at org.jnp.interfaces.NamingContext.bind(NamingContext.java:461)
        at org.fao.geonet.kernel.search.SearchManager.initZ3950(SearchManager.java:145)
        at org.fao.geonet.kernel.search.SearchManager.<init>(SearchManager.java:77)
        at org.fao.geonet.Geonetwork.start(Geonetwork.java:111)
...

I'll continue investigating, but if any of this rings as suspicious, then please shout!

Thanks,

Andy

------------------------------------------------------------------------

Pickering, Jason wrote:

Hi Andy,

I have seen the cyclic references as well, but they seem to be harmless.

I am still not convinced that Geonetwork is actually connected to a
database.

After running the setup, did you shut down the application server, clean
out the lucene directory, and then let the indexes rebuild? After that,
were you able to login via the web interface? Did you see any null
pointer references when Geonetwork starts up?

The HTTP error below I have never seen and have no clue about.

Regards,
JPP

-----Original Message-----
From: Andrew Chamberlain [mailto:andyc@anonymised.com] Sent: Wednesday, January 30, 2008 6:41 PM
To: Pickering, Jason
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Sample Data Import Issue

Hi Jason,

Your suggestion had me going back to basics. I recreated the database and ran the Setup from the GAST facility. I knew I had run this before,

so wanted to try again to see if anything had changed. It had. It couldn't now find the Postgres driver (org.postgresql.Driver) class. That will teach me for purging duplicate libraries. Having fixed that one, I tried the Setup again and this time got the following message:

"Cyclic reference found:
[Relations, Categories, Settings, Languages, Sources, IsoLanguages, IsoLanguagesDes, regions, RegionsDes, Users, Operations, OperationsDes, Groups, GroupsDes, ...]"

I can't see the whole alert as it stretches off the screen (I'm working via a VNC session). However, when I check the database, it seems that 19 tables and 21 indicies have been created after all. Is this the full

set? Either way, it seems that the postgres connection is good.

Now when I try to import some sample data (using admin/admin for authentication instead of my database login details - I assume they're not the same?), I get the following output from the GAST:

131042 [Thread-4] WARN cookie.CookieSpec - Invalid cookie state: domain

not specified
131053 [Thread-4] WARN httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
*** Error is:
<error id="error">
  <message />
  <class>NullPointerException</class>
  <stack>
    <at class="org.fao.geonet.services.login.Login" file="Login.java" line="67" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="372" 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="88" method="doGet" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="697" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="810" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain" file="ApplicationFilterChain.java" line="237" method="internalDoFilter"
/>
  </stack>
  <request>
    <language>en</language>
    <service>xml.user.login</service>
  </request>
</error>
java.lang.Exception:
        at org.fao.gast.lib.ServiceLib.checkError(ServiceLib.java:82)
        at org.fao.gast.lib.ServiceLib.login(ServiceLib.java:53)
        at org.fao.gast.gui.panels.database.sample.Worker.login(Worker.java:125)
        at org.fao.gast.gui.panels.database.sample.Worker.executeJob(Worker.java:96
)
        at org.fao.gast.gui.panels.database.sample.Worker.run(Worker.java:73)
        at java.lang.Thread.run(Thread.java:595)

This is different from before, so I think we're making progress.

I tried the procedure you suggested involving the lucern directory, but the deployment exception remains. I'm guessing that's a seperate issue.

Thanks again,

Andy

---------------------------------------------------------------

Pickering, Jason wrote:
  

Hi Andrew,

I have not used JBoss, so not idea about the deployment error. I have
seen similar error messages with Tomcat, but the procedure below
resolved it in my case.

I am assuming you were able to initiate the database with GAST?

After that, clean out the lucene directory and let lucene rebuild the
indexes.

This is my procedure.

1) Stop the application server completely, if this is possible. 2) Remove everything in \geonetwork\WEB-INF\lucene directory
3) Start the application server again.

You should see that lucene will start to rebuild the indexes with some
files like _4fd.cfs, _4fj.cfs, deletable, segments.

If you do not have any data in your geonetwork database, this should
proceed very quickly. Closely monitor the geonetwork log and if you
still have problems. Now try and log in.

I would recommend that Inus also try the same procedure (next mail on
the listserv)

Regards,
Jason

-----Original Message-----
From: Andrew Chamberlain [mailto:andyc@anonymised.com] Sent: Tuesday, January 29, 2008 8:43 PM
To: Pickering, Jason
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Sample Data Import Issue

Hi Jason,

Thank you for your reply. I've checked my database connection (using the psql client on the command line), and it seems to be fine.

No, I'm currently unable to log in via the Geonetwork web interface. When summoning our geonetwork interface (http://81.29.75.200:8080/geonetwork), I get a couple of javascript alert dialogues: "Sorry. There was an error." and then "null". I then
    
get "The requested operation could not be performed." when I try to
    

log
  

in using admin/admin. This is also the case when I try the username/password specified for the database connection in the config.xml (I wasn't sure if the two login's used the same details).

The relevant section from our config file is as follows:

<resource enabled="true">
   <name>main-db</name>
   <provider>jeeves.resources.dbms.DbmsPool</provider>
   <config>
      <user>csw</user>
      <password></the password/></password>
      <driver>org.postgresql.Driver</driver>
      <url>jdbc:postgresql://81.29.75.200:5432/geonetwork</url>
      <poolSize>10</poolSize>
   </config>
</resource>

The only difference is a <reconnectTime> element, but inserting this didn't make any difference.

I'm encouraged to hear that you've used Geonetwork with PostgreSQL before. I was having fears after reading that some people were having
    
trouble with this combination.

I'm using JBoss 3.2.6 with Java 1.5.0.

Not sure if any of this helps. I've noticed an exception in the log when geonetwork gets deployed (see below), but wasn't sure if it's the
    
culprit.

Thanks,

Andy

ERROR [jeeves.engine] - Raised exception while starting appl handler. Skipped.
ERROR [jeeves.engine] - Handler : org.fao.geonet.Geonetwork
ERROR [jeeves.engine] - Exception : javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: com.k_int.util.Repository.CollectionDirectory]
ERROR [jeeves.engine] - Message : null
ERROR [jeeves.engine] - Stack : javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: com.k_int.util.Repository.CollectionDirectory]
...

------------------------------------------------------------------------
  

----------

Pickering, Jason wrote:
  

Are you sure your data connection to the Postgres DB is working?
      

Looks
  

like the null pointer exception arises from a lack of a DB
      

connection.
  

Can you login through the Geonetwork web interface with your
credentials?

Could you send the relevant lines of your config.xml file? In my
      

case,
  

it I am using MySQL but have previously used Postgres. It will be
something like this..

    <resource enabled="true">
      <name>main-db</name>
  
<provider>jeeves.resources.dbms.DbmsPool</provider>
      <config>
        <user>YOUR USER</user>
        <password>YOUR PASSWORD</password>
        <driver>com.mysql.jdbc.Driver</driver>
        <url>jdbc:mysql://YOUR SERVER:YOUR
PORT/geonetwork</url>
        <poolSize>10</poolSize>
        <reconnectTime>3600</reconnectTime>
      </config>
    </resource>

Authentication is necessary, as far as I understand, because GAST
      

does
  

not access the database directly, but rather through Geonetwork
    

itself.
  

I am sure Jeroen will be able to add more here. Also, are you using
Tomcat or Jetty?

Best regards,
jason

-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of
Andrew Chamberlain
Sent: Tuesday, January 29, 2008 2:47 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Sample Data Import Issue

Hi All,

Having recently installed Geoserver on our linux box, I'm now just in
      
the process of loading some of the sample data via the GAST facility.
    
We're using PostgreSQL

However, when I click Import, I'm getting a "<null>" alert dialog and
      
the output below being printed to the application server log.

This is after I entered (what I believe to be) the default authentication details to allow this to happen (ie. admin/admin).
      

I'm
  

still unclear as to why this authentication is necessary, but it progresses it on from the "You need to authenticate" message I was
getting.

Any advice would be much appreciated, as the <null> message has currently got me stumped!

Many thanks in advance.

Andy
-------------------------------------------------------

2008-01-29 14:15:43,548 INFO [jeeves.request] - HTML Request (from 81.29.75.200) : /geonetwork/srv/en/xml.user.login
2008-01-29 14:15:43,548 DEBUG [jeeves.request] - Method : GET
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Content type : null
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Accept : application/xml
2008-01-29 14:15:43,549 DEBUG [jeeves.request] - Session created for client : 81.29.75.200
2008-01-29 14:15:43,549 INFO [jeeves.service] - Dispatching : xml.user.login
2008-01-29 14:15:43,549 DEBUG [jeeves.service] - -> parameters are :
<request>
  <password>admin</password>
  <username>admin</username>
</request>
2008-01-29 14:15:43,549 ERROR [jeeves.service] - Exception when executing service
2008-01-29 14:15:43,549 ERROR [jeeves.service] - (C) Exc : java.lang.NullPointerException
2008-01-29 14:15:43,551 DEBUG [jeeves.service] - Raised exception
    

while
  

executing service
<error id="error">
  <message />
  <class>NullPointerException</class>
  <stack>
    <at class="org.fao.geonet.services.login.Login" file="Login.java"
      
line="67" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="372" 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="88" method="doGet" />
    <at class="javax.servlet.http.HttpServlet"
      

file="HttpServlet.java"
  

line="697" method="service" />
    <at class="javax.servlet.http.HttpServlet"
      

file="HttpServlet.java"
  

line="810" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain" file="ApplicationFilterChain.java" line="237"
    

method="internalDoFilter"
  

/>
  </stack>
  <request>
    <language>en</language>
    <service>xml.user.login</service>
  </request>
</error>

------------------------------------------------------------------------
  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
  

Hi Jason,

Just to let you know, I've turned on the PostgreSQL logging of connections, and there does seem to be a connection being made successfully. This is the relevent excerpt from the log (written out when the web interface is summoned for the first time):

  LOG: connection authorized: user=csw database=geonetwork

Admittedly, I should have done this earlier to confirm the status of the connection.

So given this, is there anything else which springs to mind that may be causing the exceptions output when summoning the Geonetwork servlet home page? This exception is accompanied by 2 javascript alerts in the browser; "Sorry. There was an error" and "null". For completion, the full output is provided below (apologies for the verboseness, but just thought I'd be thorough).

Thanks again,

Andy

------------------------------------------------------------------------------
2008-02-04 12:44:39,208 INFO [jeeves.request] - HTML Request (from 81.149.82.182) : /geonetwork/srv/en/main.home
2008-02-04 12:44:39,209 DEBUG [jeeves.request] - Method : GET
2008-02-04 12:44:39,209 DEBUG [jeeves.request] - Content type : null
2008-02-04 12:44:39,209 DEBUG [jeeves.request] - Accept : text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2008-02-04 12:44:39,209 INFO [jeeves.service] - Dispatching : main.home
2008-02-04 12:44:39,209 DEBUG [jeeves.service] - -> no input parameters
2008-02-04 12:44:39,209 INFO [jeeves.service] - -> dispatching to output for : main.home
2008-02-04 12:44:39,266 ERROR [jeeves.service] - Exception executing gui service : java.lang.NullPointerException
2008-02-04 12:44:39,266 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.util.Env.exec(Env.java:53)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.java:119)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.java:103)
    at jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.java:584)
    at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:378)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,266 INFO [jeeves.webapp.main.home] - Returning search data
2008-02-04 12:44:39,266 ERROR [jeeves.service] - Exception executing gui service : java.lang.NullPointerException
2008-02-04 12:44:39,267 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.keywords.Get.exec(Get.java:55)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.java:119)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.java:104)
    at jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.java:584)
    at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:378)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

reconnecting: 21940>=1 ms since last connection
reconnecting: 5>=1 ms since last connection
2008-02-04 12:44:39,293 ERROR [jeeves.service] - Exception executing gui service : java.lang.NullPointerException
2008-02-04 12:44:39,293 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.util.Sources.exec(Sources.java:50)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.java:119)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.java:104)
    at jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.java:584)
    at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:378)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,293 ERROR [jeeves.service] - Exception executing gui service : java.lang.NullPointerException
2008-02-04 12:44:39,294 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.metadata.GetLatestUpdated.exec(GetLatestUpdated.java:76)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.java:119)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.java:104)
    at jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.java:584)
    at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:378)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,294 ERROR [jeeves.service] - Exception executing gui service : java.lang.NullPointerException
2008-02-04 12:44:39,294 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.metadata.GetRandom.exec(GetRandom.java:82)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.java:119)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.java:104)
    at jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.java:584)
    at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:378)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,302 INFO [jeeves.service] - -> transforming with stylesheet : /usr/local/jboss-3.2.6/server/default/deploy/geonetwork.war/xsl/main-page.xsl
2008-02-04 12:44:39,915 INFO [jeeves.service] - -> end transformation for : main.home
2008-02-04 12:44:39,915 INFO [jeeves.service] - -> output ended for : main.home
2008-02-04 12:44:39,915 INFO [jeeves.service] - -> dispatch ended for : main.home
2008-02-04 12:44:40,944 INFO [jeeves.engine] - === Starting system ========================================
2008-02-04 12:44:40,944 INFO [jeeves.engine] - Java version : 1.5.0_11-b03
2008-02-04 12:44:40,944 INFO [jeeves.engine] - Java vendor : Sun Microsystems Inc.
2008-02-04 12:44:40,945 INFO [jeeves.engine] - XSLT factory : org.apache.xalan.transformer.TransformerIdentityImpl
2008-02-04 12:44:40,945 INFO [jeeves.engine] - Path : /usr/local/jboss-3.2.6/server/default/deploy/intermap.war/
2008-02-04 12:44:40,945 INFO [jeeves.engine] - BaseURL : intermap
2008-02-04 12:44:40,945 INFO [jeeves.engine] - Loading : /usr/local/jboss-3.2.6/server/default/deploy/intermap.war/WEB-INF/config.xml
2008-02-04 12:44:40,948 INFO [jeeves.engine] - Initializing general configuration...
2008-02-04 12:44:40,948 INFO [jeeves.engine] - Initializing defaults...
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Default local is :true
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Initializing resources...
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Initializing services...
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : map.getMain.embedded
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : mapServers.getServices
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : mapServers.getServices.embedded
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : mapServers.getServicesExt
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : mapServers.getServices.xml
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : map.addServices
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : map.addServices.embedded
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : map.addServicesExt
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : mapContexts.get
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : mapServers.listServers
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : mapServers.listServers.embedded
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : mapServers.listServers.xml
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : map.getLayers.embedded
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : map.layers.deleteLayer
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : map.layers.getOrder
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.layers.setOrder
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.layers.moveUp
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.layers.moveDown
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.layers.setTransparency
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.layers.toggleVisibility
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.action
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.move
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.setScale
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.update
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.setAoi
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.unsetAoi
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.fullExtent
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.zoomToService
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.reset
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.identify
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.service.getLegend
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.service.wmsConfigForm
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.service.wmsConfig
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.service.showExtents
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.service.setExtents
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.service.showError
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.service.wmsLayerInfo
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.refresh
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.getPrintImage
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.setContext
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.getFeatures
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : wmc.setContext
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : wmc.setContextFromURL
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.layers.getInspectorData
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : geonet.getGeonetRecords
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.layers.add
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Adding service : static.form.pdf
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Adding service : create.pdf
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Initializing schedules...
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Initializing profiles...
2008-02-04 12:44:40,956 INFO [jeeves.engine] - Found handler : org.wfp.vam.intermap.Intermap
2008-02-04 12:44:40,956 INFO [jeeves.engine] - --- Starting handler --------------------------------------

Hi Andrew,
Have been out of the office for a few days, so apologies for the late
response. Nothing springs to mind, except the possibility that your
database has not be initialized with GAST. It seems though that you were
able to do this right`?

Regards,
JPP

-----Original Message-----
From: Andrew Chamberlain [mailto:andyc@anonymised.com]
Sent: Monday, February 04, 2008 1:13 PM
To: Pickering, Jason
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Sample Data Import Issue

Hi Jason,

Just to let you know, I've turned on the PostgreSQL logging of
connections, and there does seem to be a connection being made
successfully. This is the relevent excerpt from the log (written out
when the web interface is summoned for the first time):

  LOG: connection authorized: user=csw database=geonetwork

Admittedly, I should have done this earlier to confirm the status of the

connection.

So given this, is there anything else which springs to mind that may be
causing the exceptions output when summoning the Geonetwork servlet home

page? This exception is accompanied by 2 javascript alerts in the
browser; "Sorry. There was an error" and "null". For completion, the
full output is provided below (apologies for the verboseness, but just
thought I'd be thorough).

Thanks again,

Andy

------------------------------------------------------------------------
------
2008-02-04 12:44:39,208 INFO [jeeves.request] - HTML Request (from
81.149.82.182) : /geonetwork/srv/en/main.home
2008-02-04 12:44:39,209 DEBUG [jeeves.request] - Method : GET
2008-02-04 12:44:39,209 DEBUG [jeeves.request] - Content type : null
2008-02-04 12:44:39,209 DEBUG [jeeves.request] - Accept :
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5
2008-02-04 12:44:39,209 INFO [jeeves.service] - Dispatching : main.home
2008-02-04 12:44:39,209 DEBUG [jeeves.service] - -> no input parameters
2008-02-04 12:44:39,209 INFO [jeeves.service] - -> dispatching to
output for : main.home
2008-02-04 12:44:39,266 ERROR [jeeves.service] - Exception executing gui

service : java.lang.NullPointerException
2008-02-04 12:44:39,266 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.util.Env.exec(Env.java:53)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at
jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.jav
a:119)
    at
jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.ja
va:103)
    at
jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.j
ava:584)
    at
jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:37
8)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at
jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at
jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
lValve.java:66)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:158)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
    at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,266 INFO [jeeves.webapp.main.home] - Returning
search data
2008-02-04 12:44:39,266 ERROR [jeeves.service] - Exception executing gui

service : java.lang.NullPointerException
2008-02-04 12:44:39,267 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.keywords.Get.exec(Get.java:55)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at
jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.jav
a:119)
    at
jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.ja
va:104)
    at
jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.j
ava:584)
    at
jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:37
8)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at
jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at
jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
lValve.java:66)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:158)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
    at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
    at java.lang.Thread.run(Thread.java:595)

reconnecting: 21940>=1 ms since last connection
reconnecting: 5>=1 ms since last connection
2008-02-04 12:44:39,293 ERROR [jeeves.service] - Exception executing gui

service : java.lang.NullPointerException
2008-02-04 12:44:39,293 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.util.Sources.exec(Sources.java:50)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at
jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.jav
a:119)
    at
jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.ja
va:104)
    at
jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.j
ava:584)
    at
jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:37
8)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at
jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at
jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
lValve.java:66)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:158)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
    at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,293 ERROR [jeeves.service] - Exception executing gui

service : java.lang.NullPointerException
2008-02-04 12:44:39,294 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at
org.fao.geonet.guiservices.metadata.GetLatestUpdated.exec(GetLatestUpdat
ed.java:76)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at
jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.jav
a:119)
    at
jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.ja
va:104)
    at
jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.j
ava:584)
    at
jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:37
8)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at
jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at
jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
lValve.java:66)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:158)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
    at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,294 ERROR [jeeves.service] - Exception executing gui

service : java.lang.NullPointerException
2008-02-04 12:44:39,294 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at
org.fao.geonet.guiservices.metadata.GetRandom.exec(GetRandom.java:82)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at
jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.jav
a:119)
    at
jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.ja
va:104)
    at
jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.j
ava:584)
    at
jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:37
8)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at
jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at
jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
lValve.java:66)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:158)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
    at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
    at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,302 INFO [jeeves.service] - -> transforming
with stylesheet :
/usr/local/jboss-3.2.6/server/default/deploy/geonetwork.war/xsl/main-pag
e.xsl
2008-02-04 12:44:39,915 INFO [jeeves.service] - -> end
transformation for : main.home
2008-02-04 12:44:39,915 INFO [jeeves.service] - -> output ended for
: main.home
2008-02-04 12:44:39,915 INFO [jeeves.service] - -> dispatch ended for
: main.home
2008-02-04 12:44:40,944 INFO [jeeves.engine] - === Starting system

2008-02-04 12:44:40,944 INFO [jeeves.engine] - Java version :
1.5.0_11-b03
2008-02-04 12:44:40,944 INFO [jeeves.engine] - Java vendor : Sun
Microsystems Inc.
2008-02-04 12:44:40,945 INFO [jeeves.engine] - XSLT factory :
org.apache.xalan.transformer.TransformerIdentityImpl
2008-02-04 12:44:40,945 INFO [jeeves.engine] - Path :
/usr/local/jboss-3.2.6/server/default/deploy/intermap.war/
2008-02-04 12:44:40,945 INFO [jeeves.engine] - BaseURL : intermap
2008-02-04 12:44:40,945 INFO [jeeves.engine] - Loading :
/usr/local/jboss-3.2.6/server/default/deploy/intermap.war/WEB-INF/config
.xml
2008-02-04 12:44:40,948 INFO [jeeves.engine] - Initializing general
configuration...
2008-02-04 12:44:40,948 INFO [jeeves.engine] - Initializing defaults...
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Default local is
:true
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Initializing
resources...
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Initializing services...
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service :
map.getMain.embedded
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service :
mapServers.getServices
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service :
mapServers.getServices.embedded
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service :
mapServers.getServicesExt
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service :
mapServers.getServices.xml
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service :
map.addServices
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service :
map.addServices.embedded
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service :
map.addServicesExt
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service :
mapContexts.get
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service :
mapServers.listServers
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service :
mapServers.listServers.embedded
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service :
mapServers.listServers.xml
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service :
map.getLayers.embedded
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service :
map.layers.deleteLayer
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service :
map.layers.getOrder
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service :
map.layers.setOrder
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service :
map.layers.moveUp
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service :
map.layers.moveDown
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service :
map.layers.setTransparency
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service :
map.layers.toggleVisibility
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service :
map.action
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service :
map.move
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service :
map.setScale
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service :
map.update
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.setAoi
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.unsetAoi
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.fullExtent
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.zoomToService
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.reset
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.identify
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.service.getLegend
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.service.wmsConfigForm
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.service.wmsConfig
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.service.showExtents
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service :
map.service.setExtents
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
map.service.showError
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
map.service.wmsLayerInfo
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
map.refresh
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
map.getPrintImage
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
map.setContext
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
map.getFeatures
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
wmc.setContext
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
wmc.setContextFromURL
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
map.layers.getInspectorData
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
geonet.getGeonetRecords
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service :
map.layers.add
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Adding service :
static.form.pdf
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Adding service :
create.pdf
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Initializing
schedules...
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Initializing profiles...
2008-02-04 12:44:40,956 INFO [jeeves.engine] - Found handler :
org.wfp.vam.intermap.Intermap
2008-02-04 12:44:40,956 INFO [jeeves.engine] - --- Starting handler
--------------------------------------

Hi Jason,

Thanks for getting back (no problem with delay - been out myself).

Yes. The GAST must certainly have connected with the database alright because the Database Setup works fine, and all the tables are (seemably) created okay. This is most baffling because it seems that both components - the webapp and GAST - are connecting alright. My next step would be to trap and interrogate the exact SQL which is being executed when the web interface is loaded (when the first errors appear).

I say 'would' above because I've now installed Tomcat alongside JBoss (obviously on a different port), and this - as you'd expect - works fine. It uses the same database and same version of Java, just a different server. This isn't particularly elegant for us as we already have web services running on JBoss. We're therefore now having to run effectively two servlet engines concurrently, even though one of them's also a J2EE application server. However, I do understand that GeoNetwork was never advertised to run under JBoss, so it simply boils down to being an architectural issue of our own!

Many thanks for your help. I will continue to investigate the JBoss issue (for the above reason) and post any solution I find here on this mailing list.

Best regards,

Andy

---------------------------------------------------------------

Pickering, Jason wrote:

Hi Andrew,
Have been out of the office for a few days, so apologies for the late
response. Nothing springs to mind, except the possibility that your
database has not be initialized with GAST. It seems though that you were
able to do this right`?

Regards,
JPP

-----Original Message-----
From: Andrew Chamberlain [mailto:andyc@anonymised.com] Sent: Monday, February 04, 2008 1:13 PM
To: Pickering, Jason
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Sample Data Import Issue

Hi Jason,

Just to let you know, I've turned on the PostgreSQL logging of connections, and there does seem to be a connection being made successfully. This is the relevent excerpt from the log (written out when the web interface is summoned for the first time):

  LOG: connection authorized: user=csw database=geonetwork

Admittedly, I should have done this earlier to confirm the status of the

connection.

So given this, is there anything else which springs to mind that may be causing the exceptions output when summoning the Geonetwork servlet home

page? This exception is accompanied by 2 javascript alerts in the browser; "Sorry. There was an error" and "null". For completion, the full output is provided below (apologies for the verboseness, but just thought I'd be thorough).

Thanks again,

Andy

------------------------------------------------------------------------
------
2008-02-04 12:44:39,208 INFO [jeeves.request] - HTML Request (from 81.149.82.182) : /geonetwork/srv/en/main.home
2008-02-04 12:44:39,209 DEBUG [jeeves.request] - Method : GET
2008-02-04 12:44:39,209 DEBUG [jeeves.request] - Content type : null
2008-02-04 12:44:39,209 DEBUG [jeeves.request] - Accept : text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5
2008-02-04 12:44:39,209 INFO [jeeves.service] - Dispatching : main.home
2008-02-04 12:44:39,209 DEBUG [jeeves.service] - -> no input parameters
2008-02-04 12:44:39,209 INFO [jeeves.service] - -> dispatching to output for : main.home
2008-02-04 12:44:39,266 ERROR [jeeves.service] - Exception executing gui

service : java.lang.NullPointerException
2008-02-04 12:44:39,266 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.util.Env.exec(Env.java:53)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.jav
a:119)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.ja
va:103)
    at jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.j
ava:584)
    at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:37
8)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at
jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
lValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:158)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,266 INFO [jeeves.webapp.main.home] - Returning search data
2008-02-04 12:44:39,266 ERROR [jeeves.service] - Exception executing gui

service : java.lang.NullPointerException
2008-02-04 12:44:39,267 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.keywords.Get.exec(Get.java:55)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.jav
a:119)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.ja
va:104)
    at jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.j
ava:584)
    at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:37
8)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at
jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
lValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:158)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
    at java.lang.Thread.run(Thread.java:595)

reconnecting: 21940>=1 ms since last connection
reconnecting: 5>=1 ms since last connection
2008-02-04 12:44:39,293 ERROR [jeeves.service] - Exception executing gui

service : java.lang.NullPointerException
2008-02-04 12:44:39,293 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.util.Sources.exec(Sources.java:50)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.jav
a:119)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.ja
va:104)
    at jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.j
ava:584)
    at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:37
8)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at
jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
lValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:158)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,293 ERROR [jeeves.service] - Exception executing gui

service : java.lang.NullPointerException
2008-02-04 12:44:39,294 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at org.fao.geonet.guiservices.metadata.GetLatestUpdated.exec(GetLatestUpdat
ed.java:76)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.jav
a:119)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.ja
va:104)
    at jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.j
ava:584)
    at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:37
8)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at
jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
lValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:158)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,294 ERROR [jeeves.service] - Exception executing gui

service : java.lang.NullPointerException
2008-02-04 12:44:39,294 ERROR [jeeves.service] - (C) Stack trace is :
java.lang.NullPointerException
    at
org.fao.geonet.guiservices.metadata.GetRandom.exec(GetRandom.java:82)
    at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.jav
a:119)
    at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.ja
va:104)
    at jeeves.server.dispatchers.ServiceManager.dispatchOutput(ServiceManager.j
ava:584)
    at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:37
8)
    at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:600)
    at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
    at
jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
lValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:158)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
    at java.lang.Thread.run(Thread.java:595)

2008-02-04 12:44:39,302 INFO [jeeves.service] - -> transforming with stylesheet : /usr/local/jboss-3.2.6/server/default/deploy/geonetwork.war/xsl/main-pag
e.xsl
2008-02-04 12:44:39,915 INFO [jeeves.service] - -> end transformation for : main.home
2008-02-04 12:44:39,915 INFO [jeeves.service] - -> output ended for : main.home
2008-02-04 12:44:39,915 INFO [jeeves.service] - -> dispatch ended for : main.home
2008-02-04 12:44:40,944 INFO [jeeves.engine] - === Starting system ========================================
2008-02-04 12:44:40,944 INFO [jeeves.engine] - Java version :
1.5.0_11-b03
2008-02-04 12:44:40,944 INFO [jeeves.engine] - Java vendor : Sun Microsystems Inc.
2008-02-04 12:44:40,945 INFO [jeeves.engine] - XSLT factory : org.apache.xalan.transformer.TransformerIdentityImpl
2008-02-04 12:44:40,945 INFO [jeeves.engine] - Path : /usr/local/jboss-3.2.6/server/default/deploy/intermap.war/
2008-02-04 12:44:40,945 INFO [jeeves.engine] - BaseURL : intermap
2008-02-04 12:44:40,945 INFO [jeeves.engine] - Loading : /usr/local/jboss-3.2.6/server/default/deploy/intermap.war/WEB-INF/config
.xml
2008-02-04 12:44:40,948 INFO [jeeves.engine] - Initializing general configuration...
2008-02-04 12:44:40,948 INFO [jeeves.engine] - Initializing defaults...
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Default local is
:true
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Initializing
resources...
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Initializing services...
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : map.getMain.embedded
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : mapServers.getServices
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : mapServers.getServices.embedded
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : mapServers.getServicesExt
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : mapServers.getServices.xml
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : map.addServices
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : map.addServices.embedded
2008-02-04 12:44:40,949 INFO [jeeves.engine] - Adding service : map.addServicesExt
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : mapContexts.get
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : mapServers.listServers
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : mapServers.listServers.embedded
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : mapServers.listServers.xml
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : map.getLayers.embedded
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : map.layers.deleteLayer
2008-02-04 12:44:40,950 INFO [jeeves.engine] - Adding service : map.layers.getOrder
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.layers.setOrder
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.layers.moveUp
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.layers.moveDown
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.layers.setTransparency
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.layers.toggleVisibility
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.action
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service :
map.move
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.setScale
2008-02-04 12:44:40,951 INFO [jeeves.engine] - Adding service : map.update
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.setAoi
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.unsetAoi
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.fullExtent
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.zoomToService
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.reset
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.identify
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.service.getLegend
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.service.wmsConfigForm
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.service.wmsConfig
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.service.showExtents
2008-02-04 12:44:40,952 INFO [jeeves.engine] - Adding service : map.service.setExtents
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.service.showError
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.service.wmsLayerInfo
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.refresh
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.getPrintImage
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.setContext
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.getFeatures
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : wmc.setContext
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : wmc.setContextFromURL
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.layers.getInspectorData
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : geonet.getGeonetRecords
2008-02-04 12:44:40,953 INFO [jeeves.engine] - Adding service : map.layers.add
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Adding service : static.form.pdf
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Adding service : create.pdf
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Initializing
schedules...
2008-02-04 12:44:40,954 INFO [jeeves.engine] - Initializing profiles...
2008-02-04 12:44:40,956 INFO [jeeves.engine] - Found handler : org.wfp.vam.intermap.Intermap
2008-02-04 12:44:40,956 INFO [jeeves.engine] - --- Starting handler --------------------------------------

Hi All,

I'm just trying to use GeoNetwork with Oracle, and have come up against an error when I setup the database for a second time. I did this because I wanted to watch the gast.log (which I didn't the first time) to understand what happened at each stage (having previously used a Postgres database, I knew the old database would first be erased). The sequence of events are:

1) Setup Database (Success)
2) Import Sample Data (Success)
3) Setup Database (Success)
4) Import Sample Data...

ORA -08177: can’t *serialize* *access* *for* *this* *transaction*.

Is there any reason this might be happening? I tried restarting GAST, but to no avail.

Any ideas would be much appreciated.

Many thanks,

Andy