[GeoNetwork-users] Problem Update Ubuntu Festy to Gutsy

Hello,

I have update my server on ubuntu festy with tomcat5.5, Java1.5.0.11
to the gutsy.release with tomcat5.5 and java automaticaly updated to Java
1.5.0.13

After the update geonetwork work fine but not the geoserver.
He do not want to start !
And after a day work of research, i still do not know why !
I have the message above :

ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/vfny/geoserver/global/prefs.xml
30 oct. 2007 16:50:20 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml
30 oct. 2007 16:50:20 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
30 oct. 2007 16:50:20 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/geoserver] suite aux erreurs
précédentes

I try to install JAVA1.6 but the probleme is the same.
Did i must to force go back to JAVA1.5.0.11 ?
Any ideas ?

Thank you for your help !

Fabien Bachraty
--
View this message in context: http://www.nabble.com/Problem-Update-Ubuntu-Festy-to-Gutsy-tf4719405s18419.html#a13491474
Sent from the geonetwork-users mailing list archive at Nabble.com.

I am running on a very similar setup. and have not had any trouble (other than my continuing problems with Geonetwork).

Could you send me a complete log dump of your catalina log file? If it is big, please send to me directly, and I will try and see if there is anything going on and post back to the mailing list.

This is actually problem with Geoserver, and not geonetwork.

Best regards,
Jason

-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net on behalf of FBachraty
Sent: Tue 10/30/2007 5:01 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Problem Update Ubuntu Festy to Gutsy

Hello,

I have update my server on ubuntu festy with tomcat5.5, Java1.5.0.11
to the gutsy.release with tomcat5.5 and java automaticaly updated to Java
1.5.0.13

After the update geonetwork work fine but not the geoserver.
He do not want to start !
And after a day work of research, i still do not know why !
I have the message above :

ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/vfny/geoserver/global/prefs.xml
30 oct. 2007 16:50:20 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml
30 oct. 2007 16:50:20 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
30 oct. 2007 16:50:20 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/geoserver] suite aux erreurs
précédentes

I try to install JAVA1.6 but the probleme is the same.
Did i must to force go back to JAVA1.5.0.11 ?
Any ideas ?

Thank you for your help !

Fabien Bachraty
--
View this message in context: http://www.nabble.com/Problem-Update-Ubuntu-Festy-to-Gutsy-tf4719405s18419.html#a13491474
Sent from the geonetwork-users mailing list archive at Nabble.com.

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

Thank you for your answer Jason,

sure it's a problem with geoserver and not geonetwork.

I also post my problem on the geoserver forum

but unfortunaly the problem still remain.

In fact i try also to install the next release of geoserver the 1.5.4 but it
also don't start
(the prefs.xml message disapear with the 1.5.4 but the GRAVE: Error
listenerStart remain )
But if i use the embeded jetty with the 1.5.4 the geosever work and the
1.5.3 release coming from the geonetwork 2.1 work also with jetty so i think
that my java environement is good.

I suspect a problem with tomcat 5.5 on gusty.
But it is strange that geonetwork and intermap work very well !

That the complete catalina log file resulting from the tomcat5.5 start.
It is not very long.

31 oct. 2007 15:21:48 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
31 oct. 2007 15:21:48 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8180
31 oct. 2007 15:21:48 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 659 ms
31 oct. 2007 15:21:48 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
31 oct. 2007 15:21:48 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
31 oct. 2007 15:21:49 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
31 oct. 2007 15:21:52 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/vfny/geoserver/global/prefs.xml
31 oct. 2007 15:21:53 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml
31 oct. 2007 15:21:53 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
31 oct. 2007 15:21:53 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/geoserver] suite aux erreurs
précédentes
31 oct. 2007 15:21:56 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8180
31 oct. 2007 15:21:56 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
31 oct. 2007 15:21:56 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/20 config=null
31 oct. 2007 15:21:56 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
31 oct. 2007 15:21:56 org.apache.catalina.startup.Catalina start
INFO: Server startup in 8033 ms

Don't hesitate to ask me more detail :wink:
Really thank you for your time.

Fabien bachraty

Pickering, Jason wrote:

I am running on a very similar setup. and have not had any trouble (other
than my continuing problems with Geonetwork).

Could you send me a complete log dump of your catalina log file? If it is
big, please send to me directly, and I will try and see if there is
anything going on and post back to the mailing list.

This is actually problem with Geoserver, and not geonetwork.

Best regards,
Jason

--
View this message in context: http://www.nabble.com/Problem-Update-Ubuntu-Festy-to-Gutsy-tf4719405s18419.html#a13510553
Sent from the geonetwork-users mailing list archive at Nabble.com.

In fact i see that my catalina log is not complete !

I update my tomcat5,5 configuration to replace the catalina.out pipe to
catalina.txt file

and very interesting information appear :

Someone understand what's happen with java-1.5.0-sun-1.5.0.13 ?

I don't :wink:
Maybe the more simple is to force the use of the java 1.5.0.11 i have on my
ubuntu festy release ?
What are you thinking about ?

Very thank you

Here the real catalina log !

----------------------------------
- GEOSERVER_DATA_DIR: /usr/local/geonetworkbeta/web/geoserver/data
----------------------------------
31 oct. 2007 15:55:53 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/vfny/geoserver/global/prefs.xml
31 oct. 2007 15:55:54 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml
31 oct. 15:55:54 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'wms' defined in URL
[jar:file:/usr/local/geonetworkbeta/web/geoserver/WEB-INF/lib/wms-1.5.3.jar!/applicationContext.xml]:
Can't resolve reference to bean 'config' while setting property 'constructor
argument'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'config' defined in URL
[jar:file:/usr/local/geonetworkbeta/web/geoserver/WEB-INF/lib/main-1.5.3.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/libawt.so: Can't load IA
32-bit .so on a IA 32-bit platform
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'config' defined in URL
[jar:file:/usr/local/geonetworkbeta/web/geoserver/WEB-INF/lib/main-1.5.3.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/libawt.so: Can't load IA
32-bit .so on a IA 32-bit platform
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/libawt.so: Can't load IA
32-bit .so on a IA 32-bit platform
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
....
31 oct. 2007 15:55:54 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
31 oct. 2007 15:55:54 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/geoserver] suite aux erreurs
précédentes

FBachraty wrote:

Thank you for your answer Jason,

sure it's a problem with geoserver and not geonetwork.

I also post my problem on the geoserver forum

but unfortunaly the problem still remain.

In fact i try also to install the next release of geoserver the 1.5.4 but
it also don't start
(the prefs.xml message disapear with the 1.5.4 but the GRAVE: Error
listenerStart remain )
But if i use the embeded jetty with the 1.5.4 the geosever work and the
1.5.3 release coming from the geonetwork 2.1 work also with jetty so i
think that my java environement is good.

I suspect a problem with tomcat 5.5 on gusty.
But it is strange that geonetwork and intermap work very well !

That the complete catalina log file resulting from the tomcat5.5 start.
It is not very long.

31 oct. 2007 15:21:48 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
31 oct. 2007 15:21:48 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8180
31 oct. 2007 15:21:48 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 659 ms
31 oct. 2007 15:21:48 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
31 oct. 2007 15:21:48 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
31 oct. 2007 15:21:49 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
31 oct. 2007 15:21:52 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/vfny/geoserver/global/prefs.xml
31 oct. 2007 15:21:53 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml
31 oct. 2007 15:21:53 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
31 oct. 2007 15:21:53 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/geoserver] suite aux erreurs
précédentes
31 oct. 2007 15:21:56 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8180
31 oct. 2007 15:21:56 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
31 oct. 2007 15:21:56 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/20 config=null
31 oct. 2007 15:21:56 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
31 oct. 2007 15:21:56 org.apache.catalina.startup.Catalina start
INFO: Server startup in 8033 ms

Don't hesitate to ask me more detail :wink:
Really thank you for your time.

Fabien bachraty

Pickering, Jason wrote:

I am running on a very similar setup. and have not had any trouble (other
than my continuing problems with Geonetwork).

Could you send me a complete log dump of your catalina log file? If it is
big, please send to me directly, and I will try and see if there is
anything going on and post back to the mailing list.

This is actually problem with Geoserver, and not geonetwork.

Best regards,
Jason

--
View this message in context: http://www.nabble.com/Problem-Update-Ubuntu-Festy-to-Gutsy-tf4719405s18419.html#a13511450
Sent from the geonetwork-users mailing list archive at Nabble.com.

By default, Tomcat security is enabled with Ubuntu.

Add the following file to your /etc/tomcat5.5/policy.d/ directory. I called mine 99geoeserver.policy

grant codeBase "file:/usr/share/tomcat5.5/webapps/geoserver/-" {
  permission java.security.AllPermission;
};

I must say, that I am using the latest beta version of geoserver, and not the one that ships with Geonetwork. However, it should not matter. If so, please let me know!

Best regards,
Jason

-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net on behalf of FBachraty
Sent: Wed 10/31/2007 4:10 PM
To: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Problem Update Ubuntu Festy to Gutsy

In fact i see that my catalina log is not complete !

I update my tomcat5,5 configuration to replace the catalina.out pipe to
catalina.txt file

and very interesting information appear :

Someone understand what's happen with java-1.5.0-sun-1.5.0.13 ?

I don't :wink:
Maybe the more simple is to force the use of the java 1.5.0.11 i have on my
ubuntu festy release ?
What are you thinking about ?

Very thank you

Here the real catalina log !

----------------------------------
- GEOSERVER_DATA_DIR: /usr/local/geonetworkbeta/web/geoserver/data
----------------------------------
31 oct. 2007 15:55:53 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/vfny/geoserver/global/prefs.xml
31 oct. 2007 15:55:54 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml
31 oct. 15:55:54 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'wms' defined in URL
[jar:file:/usr/local/geonetworkbeta/web/geoserver/WEB-INF/lib/wms-1.5.3.jar!/applicationContext.xml]:
Can't resolve reference to bean 'config' while setting property 'constructor
argument'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'config' defined in URL
[jar:file:/usr/local/geonetworkbeta/web/geoserver/WEB-INF/lib/main-1.5.3.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/libawt.so: Can't load IA
32-bit .so on a IA 32-bit platform
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'config' defined in URL
[jar:file:/usr/local/geonetworkbeta/web/geoserver/WEB-INF/lib/main-1.5.3.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/libawt.so: Can't load IA
32-bit .so on a IA 32-bit platform
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/libawt.so: Can't load IA
32-bit .so on a IA 32-bit platform
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
....
31 oct. 2007 15:55:54 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
31 oct. 2007 15:55:54 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/geoserver] suite aux erreurs
précédentes

FBachraty wrote:

Thank you for your answer Jason,

sure it's a problem with geoserver and not geonetwork.

I also post my problem on the geoserver forum

but unfortunaly the problem still remain.

In fact i try also to install the next release of geoserver the 1.5.4 but
it also don't start
(the prefs.xml message disapear with the 1.5.4 but the GRAVE: Error
listenerStart remain )
But if i use the embeded jetty with the 1.5.4 the geosever work and the
1.5.3 release coming from the geonetwork 2.1 work also with jetty so i
think that my java environement is good.

I suspect a problem with tomcat 5.5 on gusty.
But it is strange that geonetwork and intermap work very well !

That the complete catalina log file resulting from the tomcat5.5 start.
It is not very long.

31 oct. 2007 15:21:48 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
31 oct. 2007 15:21:48 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8180
31 oct. 2007 15:21:48 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 659 ms
31 oct. 2007 15:21:48 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
31 oct. 2007 15:21:48 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
31 oct. 2007 15:21:49 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
31 oct. 2007 15:21:52 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/vfny/geoserver/global/prefs.xml
31 oct. 2007 15:21:53 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background
/usr/share/tomcat5.5/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml
31 oct. 2007 15:21:53 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
31 oct. 2007 15:21:53 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/geoserver] suite aux erreurs
précédentes
31 oct. 2007 15:21:56 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8180
31 oct. 2007 15:21:56 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
31 oct. 2007 15:21:56 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/20 config=null
31 oct. 2007 15:21:56 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
31 oct. 2007 15:21:56 org.apache.catalina.startup.Catalina start
INFO: Server startup in 8033 ms

Don't hesitate to ask me more detail :wink:
Really thank you for your time.

Fabien bachraty

Pickering, Jason wrote:

I am running on a very similar setup. and have not had any trouble (other
than my continuing problems with Geonetwork).

Could you send me a complete log dump of your catalina log file? If it is
big, please send to me directly, and I will try and see if there is
anything going on and post back to the mailing list.

This is actually problem with Geoserver, and not geonetwork.

Best regards,
Jason

--
View this message in context: http://www.nabble.com/Problem-Update-Ubuntu-Festy-to-Gutsy-tf4719405s18419.html#a13511450
Sent from the geonetwork-users mailing list archive at Nabble.com.

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

Hello Jason

Thank you for this idea :wink:

But in fact i do an update of my ubuntu and the policy stay unchanged, i
have already the authorization set to allpermission.

In fact looking at my google friend i find that many people have the same
problem than me with the gusty tomcat i will reinstall it manually with the
latest official source.

I will inform you of the result :wink:

Best regards.

Pickering, Jason wrote:

By default, Tomcat security is enabled with Ubuntu.

Add the following file to your /etc/tomcat5.5/policy.d/ directory. I
called mine 99geoeserver.policy

grant codeBase "file:/usr/share/tomcat5.5/webapps/geoserver/-" {
  permission java.security.AllPermission;
};

I must say, that I am using the latest beta version of geoserver, and not
the one that ships with Geonetwork. However, it should not matter. If so,
please let me know!

Best regards,
Jason

--
View this message in context: http://www.nabble.com/Problem-Update-Ubuntu-Festy-to-Gutsy-tf4719405s18419.html#a13582802
Sent from the geonetwork-users mailing list archive at Nabble.com.

Problem is resolved !

In fact the tomcat5.5 installation on the gusty release seems to be buggy.

I uninstall tomcat 5.5 and i install the 5.5.25 release manualy from
http://tomcat.apache.org/download-55.cgi
and all work !

Thank you for you help.

FBachraty wrote:

Hello Jason

Thank you for this idea :wink:

But in fact i do an update of my ubuntu and the policy stay unchanged, i
have already the authorization set to allpermission.

In fact looking at my google friend i find that many people have the same
problem than me with the gusty tomcat i will reinstall it manually with
the latest official source.

I will inform you of the result :wink:

Best regards.

--
View this message in context: http://www.nabble.com/Problem-Update-Ubuntu-Festy-to-Gutsy-tf4719405s18419.html#a13585382
Sent from the geonetwork-users mailing list archive at Nabble.com.