[GeoNetwork-users] Issue on Ubuntu and Tomcat

I already installed a node on Centos with Tomcat and mySQL. Now I'm trying to
install GeoNetwork on Ubuntu with Tomcat and Postgres.
With GN 2.2 and GN 2.4 I have the same problem. Tailing the catalina.out
file I have the following error. Any suggestion?
Thank you very much for your help.
Bye

Paolo

99596 [http-8080-6] INFO jeeves.request -

99597 [http-8080-6] INFO jeeves.request - HTML Request (from 130.192.92.135)
: /geonetwork/srv/en/main.home
99597 [http-8080-6] DEBUG jeeves.request - Method : GET
99597 [http-8080-6] DEBUG jeeves.request - Content type : null
99597 [http-8080-6] DEBUG jeeves.request - Accept :
application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
99597 [http-8080-6] DEBUG jeeves.request - Session id is
C56D3EAE8FE5416A50529A8C213FDDE9
99598 [http-8080-6] DEBUG jeeves.request - Session created for client :
130.192.92.135
99606 [http-8080-6] INFO jeeves.service - Dispatching : main.home
99606 [http-8080-6] DEBUG jeeves.service - -> no input parameters
99606 [http-8080-6] INFO jeeves.service - -> dispatching to output for :
main.home
99931 [http-8080-6] INFO jeeves.service - -> transforming with stylesheet :
/usr/local/geonetwork/web/geonetwork/xsl/main-page.xsl
Recoverable error
XTRE0540: Ambiguous rule match for /
Matches both "document-node()" on line 13 of
file:/usr/local/geonetwork/web/geonetwork/xsl/main-page.xsl
and "document-node()" on line 34 of
file:/usr/local/geonetwork/web/geonetwork/xsl/main.xsl
100980 [http-8080-6] INFO jeeves.service - -> end transformation for :
main.home
100980 [http-8080-6] INFO jeeves.service - -> output ended for : main.home
100980 [http-8080-6] INFO jeeves.service - -> dispatch ended for : main.home
Update: SETTING DEFAULT CONTEXT

--
View this message in context: http://n2.nabble.com/Issue-on-Ubuntu-and-Tomcat-tp3310768p3310768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Paolo,

the messages about "Recoverable error" occur in various places since Xalan
was replaced by Saxon for XSLT transformations. Generally this does not mean
that the transformation actually fails or that some problem result.

In GN2.2 it was still Xalan, however; so I think it is not likely you see
exactly this same error in your log for GN2.2.

Still I guess you wouldn't post this if all went well for you. What are the
symptoms of the problem you're having ?

Kind regards
Heikki Doeleman

On Thu, Jul 23, 2009 at 6:39 PM, Paolo Pasquali <paolo.pasquali@anonymised.com>wrote:

I already installed a node on Centos with Tomcat and mySQL. Now I'm trying
to
install GeoNetwork on Ubuntu with Tomcat and Postgres.
With GN 2.2 and GN 2.4 I have the same problem. Tailing the catalina.out
file I have the following error. Any suggestion?
Thank you very much for your help.
Bye

Paolo

99596 [http-8080-6] INFO jeeves.request -

99597 [http-8080-6] INFO jeeves.request - HTML Request (from
130.192.92.135)
: /geonetwork/srv/en/main.home
99597 [http-8080-6] DEBUG jeeves.request - Method : GET
99597 [http-8080-6] DEBUG jeeves.request - Content type : null
99597 [http-8080-6] DEBUG jeeves.request - Accept :

application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
99597 [http-8080-6] DEBUG jeeves.request - Session id is
C56D3EAE8FE5416A50529A8C213FDDE9
99598 [http-8080-6] DEBUG jeeves.request - Session created for client :
130.192.92.135
99606 [http-8080-6] INFO jeeves.service - Dispatching : main.home
99606 [http-8080-6] DEBUG jeeves.service - -> no input parameters
99606 [http-8080-6] INFO jeeves.service - -> dispatching to output for :
main.home
99931 [http-8080-6] INFO jeeves.service - -> transforming with stylesheet :
/usr/local/geonetwork/web/geonetwork/xsl/main-page.xsl
Recoverable error
XTRE0540: Ambiguous rule match for /
Matches both "document-node()" on line 13 of
file:/usr/local/geonetwork/web/geonetwork/xsl/main-page.xsl
and "document-node()" on line 34 of
file:/usr/local/geonetwork/web/geonetwork/xsl/main.xsl
100980 [http-8080-6] INFO jeeves.service - -> end transformation for :
main.home
100980 [http-8080-6] INFO jeeves.service - -> output ended for : main.home
100980 [http-8080-6] INFO jeeves.service - -> dispatch ended for :
main.home
Update: SETTING DEFAULT CONTEXT

--
View this message in context:
http://n2.nabble.com/Issue-on-Ubuntu-and-Tomcat-tp3310768p3310768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

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

Heikki,
the symptoms are that as soon as I restart Tomcat the java cpu usage goes to
100% and keep there. The other thing is that intermap cannot load the map.
The message is:
Exception 'Result of expression 'li1' [undefined] is not an object.'

Though these two things I guess are not related, they happen both with GN
2.2 and 2.4. When I installed GN 2.2 on Centos I didn't have the cpu issue
while the map issue I solved it (this time I can't).

The "recoverable error" was the only thing I found until now.
Thanks for your reply. Any suggestion is welcome.
Bye

Paolo

Heikki Doeleman wrote:

Paolo,

the messages about "Recoverable error" occur in various places since Xalan
was replaced by Saxon for XSLT transformations. Generally this does not
mean
that the transformation actually fails or that some problem result.

In GN2.2 it was still Xalan, however; so I think it is not likely you see
exactly this same error in your log for GN2.2.

Still I guess you wouldn't post this if all went well for you. What are
the
symptoms of the problem you're having ?

Kind regards
Heikki Doeleman

On Thu, Jul 23, 2009 at 6:39 PM, Paolo Pasquali
<paolo.pasquali@anonymised.com>wrote:

I already installed a node on Centos with Tomcat and mySQL. Now I'm
trying
to
install GeoNetwork on Ubuntu with Tomcat and Postgres.
With GN 2.2 and GN 2.4 I have the same problem. Tailing the catalina.out
file I have the following error. Any suggestion?
Thank you very much for your help.
Bye

Paolo

99596 [http-8080-6] INFO jeeves.request -

99597 [http-8080-6] INFO jeeves.request - HTML Request (from
130.192.92.135)
: /geonetwork/srv/en/main.home
99597 [http-8080-6] DEBUG jeeves.request - Method : GET
99597 [http-8080-6] DEBUG jeeves.request - Content type : null
99597 [http-8080-6] DEBUG jeeves.request - Accept :

application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
99597 [http-8080-6] DEBUG jeeves.request - Session id is
C56D3EAE8FE5416A50529A8C213FDDE9
99598 [http-8080-6] DEBUG jeeves.request - Session created for client :
130.192.92.135
99606 [http-8080-6] INFO jeeves.service - Dispatching : main.home
99606 [http-8080-6] DEBUG jeeves.service - -> no input parameters
99606 [http-8080-6] INFO jeeves.service - -> dispatching to output for :
main.home
99931 [http-8080-6] INFO jeeves.service - -> transforming with stylesheet
:
/usr/local/geonetwork/web/geonetwork/xsl/main-page.xsl
Recoverable error
XTRE0540: Ambiguous rule match for /
Matches both "document-node()" on line 13 of
file:/usr/local/geonetwork/web/geonetwork/xsl/main-page.xsl
and "document-node()" on line 34 of
file:/usr/local/geonetwork/web/geonetwork/xsl/main.xsl
100980 [http-8080-6] INFO jeeves.service - -> end transformation for :
main.home
100980 [http-8080-6] INFO jeeves.service - -> output ended for :
main.home
100980 [http-8080-6] INFO jeeves.service - -> dispatch ended for :
main.home
Update: SETTING DEFAULT CONTEXT

--
View this message in context:
http://n2.nabble.com/Issue-on-Ubuntu-and-Tomcat-tp3310768p3310768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

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

------------------------------------------------------------------------------
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/Issue-on-Ubuntu-and-Tomcat-tp3310768p3314360.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Ciao Pasquale,
are you using tomcat from repository? I installed GN on 2 different Ubuntu Server ( 8.04 LTS 64bit ) using Java and PostgreSQL from
repository and Tomcat from official site and all was fine.
The only issue I can recall was on a virtual server, but the CPU usage was related to a kernel problem.

Bye
Luca

Paolo Pasquali ha scritto:

Heikki,
the symptoms are that as soon as I restart Tomcat the java cpu usage goes to
100% and keep there. The other thing is that intermap cannot load the map.
The message is:
Exception 'Result of expression 'li1' [undefined] is not an object.'

Though these two things I guess are not related, they happen both with GN
2.2 and 2.4. When I installed GN 2.2 on Centos I didn't have the cpu issue
while the map issue I solved it (this time I can't).

The "recoverable error" was the only thing I found until now.
Thanks for your reply. Any suggestion is welcome.
Bye

Paolo
  
--
ME Luca Casagrande
Open Source GIS analyst and developer

Gfosservices SA

http://www.gfosservices.com
skype: lucacasagrande
email: luca.casagrande[at]gmail.com

Hi Luca,
no issues with Tomcat for months except with the GN webapp. Tomcat is 6.0.18
and JVM 1.6.0_10-b33 from repository.
Ciao

Paolo

Luca Casagrande-2 wrote:

Ciao Pasquale,
are you using tomcat from repository? I installed GN on 2 different
Ubuntu Server ( 8.04 LTS 64bit ) using Java and PostgreSQL from
repository and Tomcat from official site and all was fine.
The only issue I can recall was on a virtual server, but the CPU usage
was related to a kernel problem.

Bye
Luca

Paolo Pasquali ha scritto:

Heikki,
the symptoms are that as soon as I restart Tomcat the java cpu usage goes
to
100% and keep there. The other thing is that intermap cannot load the
map.
The message is:
Exception 'Result of expression 'li1' [undefined] is not an object.'

Though these two things I guess are not related, they happen both with GN
2.2 and 2.4. When I installed GN 2.2 on Centos I didn't have the cpu
issue
while the map issue I solved it (this time I can't).

The "recoverable error" was the only thing I found until now.
Thanks for your reply. Any suggestion is welcome.
Bye

Paolo
  
--
ME Luca Casagrande
Open Source GIS analyst and developer

Gfosservices SA

http://www.gfosservices.com
skype: lucacasagrande
email: luca.casagrande[at]gmail.com

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

--
View this message in context: http://n2.nabble.com/Issue-on-Ubuntu-and-Tomcat-tp3310768p3314443.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

One step forward.
I found out that the Blue Marble tiff was corrupt so intermap couldn't load
it.
So I commented it out and intermap now loads only the boundaries.
But while opening the map viewer the java cpu usage goes again 100%.

Paolo

Paolo Pasquali wrote:

Hi Luca,
no issues with Tomcat for months except with the GN webapp. Tomcat is
6.0.18 and JVM 1.6.0_10-b33 from repository.
Ciao

Paolo

Luca Casagrande-2 wrote:

Ciao Pasquale,
are you using tomcat from repository? I installed GN on 2 different
Ubuntu Server ( 8.04 LTS 64bit ) using Java and PostgreSQL from
repository and Tomcat from official site and all was fine.
The only issue I can recall was on a virtual server, but the CPU usage
was related to a kernel problem.

Bye
Luca

Paolo Pasquali ha scritto:

Heikki,
the symptoms are that as soon as I restart Tomcat the java cpu usage
goes to
100% and keep there. The other thing is that intermap cannot load the
map.
The message is:
Exception 'Result of expression 'li1' [undefined] is not an object.'

Though these two things I guess are not related, they happen both with
GN
2.2 and 2.4. When I installed GN 2.2 on Centos I didn't have the cpu
issue
while the map issue I solved it (this time I can't).

The "recoverable error" was the only thing I found until now.
Thanks for your reply. Any suggestion is welcome.
Bye

Paolo
  
--
ME Luca Casagrande
Open Source GIS analyst and developer

Gfosservices SA

http://www.gfosservices.com
skype: lucacasagrande
email: luca.casagrande[at]gmail.com

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

--
View this message in context: http://n2.nabble.com/Issue-on-Ubuntu-and-Tomcat-tp3310768p3315742.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.