[Geoserver-users] Geoserver on Ubuntu Tomcat 5.5

I am trying to deploy the geoserver war file into Tomcat 5.5 running on Ubuntu. The standalone geoserver version works fine in its own directory, but when I try to deploy the war file, it fails trying to startup the /geoserver path in Tomcat manager. The following lines in tomcat log appear to point out some kind of permission issue (bold line below), but I cannot figure out why or how to solve it:

GRAVE: Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘validation’ defined in URL [jar:file:/var/lib/tomcat5/webapps/geoserver/WEB-INF/lib/validation-1.4.0.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:/var/lib/tomcat5/webapps/geoserver/WEB-INF/lib/main-1.4.0.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Error creating xml config reader; nested exception is org.vfny.geoserver.global.ConfigurationException: java.security.AccessControlException: access denied (java.lang.RuntimePermission preferences)

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘config’ defined in URL [jar:file:/var/lib/tomcat5/webapps/geoserver/WEB-INF/lib/main-1.4.0.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Error creating xml config reader; nested exception is org.vfny.geoserver.global.ConfigurationException: java.security.AccessControlException: access denied (java.lang.RuntimePermission preferences)

org.springframework.beans.factory.BeanInitializationException: Error creating xml config reader; nested exception is org.vfny.geoserver.global.ConfigurationException: java.security.AccessControlException: access denied (java.lang.RuntimePermission preferences)

org.vfny.geoserver.global.ConfigurationException: java.security.AccessControlException: access denied (java.lang.RuntimePermission preferences)

Any suggestion would be much appreciated, thank you.

Do you have any data in there? Is the catalog.xml present?

Alex

On 2/9/07, Aitor Calero Garcia <aitor.calero@anonymised.com> wrote:

I am trying to deploy the geoserver war file into Tomcat 5.5 running on
Ubuntu. The standalone geoserver version works fine in its own directory,
but when I try to deploy the war file, it fails trying to startup the
/geoserver path in Tomcat manager. The following lines in tomcat log appear
to point out some kind of permission issue (bold line below), but I cannot
figure out why or how to solve it:

GRAVE: Context initialization failed

org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'validation' defined in URL
[jar:file:/var/lib/tomcat5/webapps/geoserver/WEB-INF/lib/validation-1.4.0.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:/var/lib/tomcat5/webapps/geoserver/WEB-INF/lib/main-1.4.0.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanInitializationException:
Error creating xml config reader; nested exception is
org.vfny.geoserver.global.ConfigurationException:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission preferences)

org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'config' defined in URL
[jar:file:/var/lib/tomcat5/webapps/geoserver/WEB-INF/lib/main-1.4.0.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanInitializationException:
Error creating xml config reader; nested exception is
org.vfny.geoserver.global.ConfigurationException:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission preferences)

org.springframework.beans.factory.BeanInitializationException:
Error creating xml config reader; nested exception is
org.vfny.geoserver.global.ConfigurationException:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission preferences)

org.vfny.geoserver.global.ConfigurationException:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission preferences)

Any suggestion would be much appreciated, thank you.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users