Running GeoServer on Apache TOMEE 7.0.3

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Running GeoServer on Apache TOMEE 7.0.3

Cavender, Mark E. - US

Hi,

 

I am having trouble deploying a Geoserver war to Apache TOMEE 7.0.3 (it is based on Tomcat 8.5.4).  Has anyone tried it?  When I try it, I get the following error message.  I don’t think that we use Spring security.  Is there some configuration that needs to be done.  Thanks in advance for help.

 

Mark Cavender

 

 

05-Jan-2018 10:01:18.663 INFO [localhost-startStop-1] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /geoserver-2.12.1-war

05-Jan-2018 10:01:18.770 INFO [localhost-startStop-1] org.apache.openejb.util.JarExtractor.extract Extracting jar: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver.war

05-Jan-2018 10:01:36.877 INFO [localhost-startStop-1] org.apache.openejb.util.JarExtractor.extract Extracted path: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver

05-Jan-2018 10:01:49.572 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.deployments.classpath.filter.systemapps=false'

05-Jan-2018 10:01:49.650 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:49.722 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.935 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.963 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.980 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.981 INFO [localhost-startStop-1] org.apache.openejb.config.DeploymentsResolver.loadFromClasspath Searched 5 classpath urls in 2401 milliseconds.  Average 480 milliseconds per url.

05-Jan-2018 10:01:54.874 INFO [localhost-startStop-1] org.apache.openejb.config.ConfigurationFactory.configureApplication Configuring enterprise application: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war

05-Jan-2018 10:02:00.264 INFO [localhost-startStop-1] org.apache.openejb.config.AppInfoBuilder.build Enterprise application "C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war" loaded.

05-Jan-2018 10:02:00.267 INFO [localhost-startStop-1] org.apache.openejb.assembler.classic.Assembler.createApplication Assembling app: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war

05-Jan-2018 10:02:00.281 INFO [localhost-startStop-1] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /geoserver

05-Jan-2018 10:02:11.107 INFO [localhost-startStop-1] org.apache.openejb.cdi.CdiBuilder.initSingleton Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@1184ab05

05-Jan-2018 10:02:11.130 INFO [localhost-startStop-1] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container is starting...

05-Jan-2018 10:02:11.134 INFO [localhost-startStop-1] org.apache.webbeans.plugins.PluginLoader.startUp Adding OpenWebBeansPlugin : [CdiPlugin]

05-Jan-2018 10:02:11.369 INFO [localhost-startStop-1] org.apache.webbeans.config.BeansDeployer.validateInjectionPoints All injection points were validated successfully.

05-Jan-2018 10:02:11.370 INFO [localhost-startStop-1] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container has started, it took 240 ms.

05-Jan-2018 10:02:13.491 INFO [localhost-startStop-1] sun.reflect.DelegatingMethodAccessorImpl.invoke At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

05 Jan 10:02:18 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05-Jan-2018 10:02:20.670 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'XStreamPersisterInitializer', but ApplicationContext is unset.

05-Jan-2018 10:02:20.674 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:20.690 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:20.690 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05 Jan 10:02:20 WARN [geoserver.logging] - log4jConfigFile 'DEFAULT_LOGGING.properties' couldn't be found in the data dir, so GeoServer will install the various logging config file into the data dir, and then try to find it again.

log4j:WARN File option not set for appender [geoserverlogfile].

log4j:WARN Are you using FileAppender instead of ConsoleAppender?

05 Jan 10:02:36 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05 Jan 10:02:36 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'GeoServerSecurityProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:38.112 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.extensionNames bean lookup error

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rememberMeServices' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Cannot resolve reference to bean 'geoServerSecurityManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)

                at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:923)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:804)

                at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:558)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:432)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:395)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:389)

                at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1177)

                at org.geoserver.platform.GeoServerExtensions.extensionNames(GeoServerExtensions.java:211)

                at org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:126)

                at org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:332)

                at org.geoserver.config.GeoServerLoaderProxy.lookupGeoServerLoader(GeoServerLoaderProxy.java:76)

                at org.geoserver.config.GeoServerLoaderProxy.setApplicationContext(GeoServerLoaderProxy.java:44)

                at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:121)

                at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:97)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

                at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:235)

                at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:702)

                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:527)

                at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)

                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)

                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)

                at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)

                at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)

                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)

                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:652)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:590)

                at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:1000)

                at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:721)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1299)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1125)

                at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)

                at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)

                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5105)

                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

                at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)

                at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)

                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

                at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

                at java.lang.Thread.run(Thread.java:748)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)

                ... 60 more

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)

                at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)

                ... 69 more

Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:166)

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:193)

                at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:81)

                at org.geoserver.security.password.MasterPasswordConfig.clone(MasterPasswordConfig.java:52)

                at org.geoserver.security.GeoServerSecurityManager.loadConfig(GeoServerSecurityManager.java:2844)

                at org.geoserver.security.GeoServerSecurityManager.loadMasterPasswordConfig(GeoServerSecurityManager.java:2835)

                at org.geoserver.security.GeoServerSecurityManager.<init>(GeoServerSecurityManager.java:309)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

                at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

                at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)

                ... 71 more

Caused by: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

                at java.lang.Class.forName0(Native Method)

                at java.lang.Class.forName(Class.java:348)

                at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:683)

                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1863)

                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1746)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2037)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:428)

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:163)

                ... 82 more


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Running GeoServer on Apache TOMEE 7.0.3

geowolf
Hi,
it seems nobody has experiences to share about TomEE, in case you are still interested it's also possible
to fund core contributors to work on it, figure out what can be done, make eventual changes, and document
whatever step needs to be taken. See:


Cheers
Andrea


On Fri, Jan 5, 2018 at 5:24 PM, Cavender, Mark E. - US <[hidden email]> wrote:

Hi,

 

I am having trouble deploying a Geoserver war to Apache TOMEE 7.0.3 (it is based on Tomcat 8.5.4).  Has anyone tried it?  When I try it, I get the following error message.  I don’t think that we use Spring security.  Is there some configuration that needs to be done.  Thanks in advance for help.

 

Mark Cavender

 

 

05-Jan-2018 10:01:18.663 INFO [localhost-startStop-1] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /geoserver-2.12.1-war

05-Jan-2018 10:01:18.770 INFO [localhost-startStop-1] org.apache.openejb.util.JarExtractor.extract Extracting jar: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver.war

05-Jan-2018 10:01:36.877 INFO [localhost-startStop-1] org.apache.openejb.util.JarExtractor.extract Extracted path: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver

05-Jan-2018 10:01:49.572 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.deployments.classpath.filter.systemapps=false'

05-Jan-2018 10:01:49.650 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:49.722 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.935 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.963 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.980 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.981 INFO [localhost-startStop-1] org.apache.openejb.config.DeploymentsResolver.loadFromClasspath Searched 5 classpath urls in 2401 milliseconds.  Average 480 milliseconds per url.

05-Jan-2018 10:01:54.874 INFO [localhost-startStop-1] org.apache.openejb.config.ConfigurationFactory.configureApplication Configuring enterprise application: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war

05-Jan-2018 10:02:00.264 INFO [localhost-startStop-1] org.apache.openejb.config.AppInfoBuilder.build Enterprise application "C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war" loaded.

05-Jan-2018 10:02:00.267 INFO [localhost-startStop-1] org.apache.openejb.assembler.classic.Assembler.createApplication Assembling app: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war

05-Jan-2018 10:02:00.281 INFO [localhost-startStop-1] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /geoserver

05-Jan-2018 10:02:11.107 INFO [localhost-startStop-1] org.apache.openejb.cdi.CdiBuilder.initSingleton Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@1184ab05

05-Jan-2018 10:02:11.130 INFO [localhost-startStop-1] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container is starting...

05-Jan-2018 10:02:11.134 INFO [localhost-startStop-1] org.apache.webbeans.plugins.PluginLoader.startUp Adding OpenWebBeansPlugin : [CdiPlugin]

05-Jan-2018 10:02:11.369 INFO [localhost-startStop-1] org.apache.webbeans.config.BeansDeployer.validateInjectionPoints All injection points were validated successfully.

05-Jan-2018 10:02:11.370 INFO [localhost-startStop-1] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container has started, it took 240 ms.

05-Jan-2018 10:02:13.491 INFO [localhost-startStop-1] sun.reflect.DelegatingMethodAccessorImpl.invoke At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

05 Jan 10:02:18 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05-Jan-2018 10:02:20.670 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'XStreamPersisterInitializer', but ApplicationContext is unset.

05-Jan-2018 10:02:20.674 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:20.690 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:20.690 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05 Jan 10:02:20 WARN [geoserver.logging] - log4jConfigFile 'DEFAULT_LOGGING.properties' couldn't be found in the data dir, so GeoServer will install the various logging config file into the data dir, and then try to find it again.

log4j:WARN File option not set for appender [geoserverlogfile].

log4j:WARN Are you using FileAppender instead of ConsoleAppender?

05 Jan 10:02:36 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05 Jan 10:02:36 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'GeoServerSecurityProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:38.112 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.extensionNames bean lookup error

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rememberMeServices' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Cannot resolve reference to bean 'geoServerSecurityManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)

                at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:923)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:804)

                at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:558)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:432)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:395)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:389)

                at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1177)

                at org.geoserver.platform.GeoServerExtensions.extensionNames(GeoServerExtensions.java:211)

                at org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:126)

                at org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:332)

                at org.geoserver.config.GeoServerLoaderProxy.lookupGeoServerLoader(GeoServerLoaderProxy.java:76)

                at org.geoserver.config.GeoServerLoaderProxy.setApplicationContext(GeoServerLoaderProxy.java:44)

                at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:121)

                at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:97)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

                at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:235)

                at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:702)

                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:527)

                at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)

                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)

                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)

                at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)

                at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)

                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)

                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:652)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:590)

                at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:1000)

                at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:721)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1299)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1125)

                at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)

                at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)

                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5105)

                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

                at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)

                at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)

                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

                at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

                at java.lang.Thread.run(Thread.java:748)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)

                ... 60 more

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)

                at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)

                ... 69 more

Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:166)

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:193)

                at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:81)

                at org.geoserver.security.password.MasterPasswordConfig.clone(MasterPasswordConfig.java:52)

                at org.geoserver.security.GeoServerSecurityManager.loadConfig(GeoServerSecurityManager.java:2844)

                at org.geoserver.security.GeoServerSecurityManager.loadMasterPasswordConfig(GeoServerSecurityManager.java:2835)

                at org.geoserver.security.GeoServerSecurityManager.<init>(GeoServerSecurityManager.java:309)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

                at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

                at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)

                ... 71 more

Caused by: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

                at java.lang.Class.forName0(Native Method)

                at java.lang.Class.forName(Class.java:348)

                at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:683)

                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1863)

                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1746)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2037)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:428)

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:163)

                ... 82 more


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users




--

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Running GeoServer on Apache TOMEE 7.0.3

geowolf
Aaah that's awesome, thank you!
I'm cc'ing the mailing list so that this gets archived and can be searched for other interested people to find.

Anyone reading has time and interest to to turn this into a tutorial page like the JBoss one?

Cheers
Andrea


On Mon, Jan 15, 2018 at 3:21 PM, Cavender, Mark E. - US <[hidden email]> wrote:

I figured out how to install geoserver on Apache TOMEE for anyone interested. 

 

Installing GeoServer on Apache TOMEE 7.0.2

Geoserver is an open source project that allows geographic data/tiles to be served to a graphics device such as a browser.  It is installed/placed as a war file in Apache TOMEE.  Perform the steps below and start Apache Tomee.  At this point, the installation will be complete.

Step-by-step guide

 

  1. Download the latest war file from geoserver.org
  2. Place the war file in the webapps directory of Apache Tomee
  3. Edit the $TOMEE_DIR/conf/context.xml file and add

               <Resources cachingAllowed="true" cacheMaxSize="100000" />  before </Context>

  1. Edit the $TOMEE_DIR/conf/system.properties and add the following line anywhere in the file. 

              openejb.classloader.forced-load=org.apache.commons.lang

              This will allow the classloader to allow the Spring Application Framework to execute properly.

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andrea Aime
Sent: Thursday, January 11, 2018 9:07 AM
To: Cavender, Mark E. - US <[hidden email]>
Cc: [hidden email]
Subject: Re: [Geoserver-users] Running GeoServer on Apache TOMEE 7.0.3

 

Hi,

it seems nobody has experiences to share about TomEE, in case you are still interested it's also possible

to fund core contributors to work on it, figure out what can be done, make eventual changes, and document

whatever step needs to be taken. See:

 

 

Cheers

Andrea

 

 

On Fri, Jan 5, 2018 at 5:24 PM, Cavender, Mark E. - US <[hidden email]> wrote:

Hi,

 

I am having trouble deploying a Geoserver war to Apache TOMEE 7.0.3 (it is based on Tomcat 8.5.4).  Has anyone tried it?  When I try it, I get the following error message.  I don’t think that we use Spring security.  Is there some configuration that needs to be done.  Thanks in advance for help.

 

Mark Cavender

 

 

05-Jan-2018 10:01:18.663 INFO [localhost-startStop-1] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /geoserver-2.12.1-war

05-Jan-2018 10:01:18.770 INFO [localhost-startStop-1] org.apache.openejb.util.JarExtractor.extract Extracting jar: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver.war

05-Jan-2018 10:01:36.877 INFO [localhost-startStop-1] org.apache.openejb.util.JarExtractor.extract Extracted path: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver

05-Jan-2018 10:01:49.572 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.deployments.classpath.filter.systemapps=false'

05-Jan-2018 10:01:49.650 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:49.722 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.935 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.963 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.980 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.981 INFO [localhost-startStop-1] org.apache.openejb.config.DeploymentsResolver.loadFromClasspath Searched 5 classpath urls in 2401 milliseconds.  Average 480 milliseconds per url.

05-Jan-2018 10:01:54.874 INFO [localhost-startStop-1] org.apache.openejb.config.ConfigurationFactory.configureApplication Configuring enterprise application: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war

05-Jan-2018 10:02:00.264 INFO [localhost-startStop-1] org.apache.openejb.config.AppInfoBuilder.build Enterprise application "C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war" loaded.

05-Jan-2018 10:02:00.267 INFO [localhost-startStop-1] org.apache.openejb.assembler.classic.Assembler.createApplication Assembling app: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war

05-Jan-2018 10:02:00.281 INFO [localhost-startStop-1] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /geoserver

05-Jan-2018 10:02:11.107 INFO [localhost-startStop-1] org.apache.openejb.cdi.CdiBuilder.initSingleton Existing thread singleton service in SystemInstance(): [hidden email]

05-Jan-2018 10:02:11.130 INFO [localhost-startStop-1] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container is starting...

05-Jan-2018 10:02:11.134 INFO [localhost-startStop-1] org.apache.webbeans.plugins.PluginLoader.startUp Adding OpenWebBeansPlugin : [CdiPlugin]

05-Jan-2018 10:02:11.369 INFO [localhost-startStop-1] org.apache.webbeans.config.BeansDeployer.validateInjectionPoints All injection points were validated successfully.

05-Jan-2018 10:02:11.370 INFO [localhost-startStop-1] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container has started, it took 240 ms.

05-Jan-2018 10:02:13.491 INFO [localhost-startStop-1] sun.reflect.DelegatingMethodAccessorImpl.invoke At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

05 Jan 10:02:18 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05-Jan-2018 10:02:20.670 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'XStreamPersisterInitializer', but ApplicationContext is unset.

05-Jan-2018 10:02:20.674 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:20.690 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:20.690 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05 Jan 10:02:20 WARN [geoserver.logging] - log4jConfigFile 'DEFAULT_LOGGING.properties' couldn't be found in the data dir, so GeoServer will install the various logging config file into the data dir, and then try to find it again.

log4j:WARN File option not set for appender [geoserverlogfile].

log4j:WARN Are you using FileAppender instead of ConsoleAppender?

05 Jan 10:02:36 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05 Jan 10:02:36 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'GeoServerSecurityProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:38.112 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.extensionNames bean lookup error

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rememberMeServices' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Cannot resolve reference to bean 'geoServerSecurityManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)

                at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:923)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:804)

                at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:558)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:432)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:395)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:389)

                at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1177)

                at org.geoserver.platform.GeoServerExtensions.extensionNames(GeoServerExtensions.java:211)

                at org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:126)

                at org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:332)

                at org.geoserver.config.GeoServerLoaderProxy.lookupGeoServerLoader(GeoServerLoaderProxy.java:76)

                at org.geoserver.config.GeoServerLoaderProxy.setApplicationContext(GeoServerLoaderProxy.java:44)

                at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:121)

                at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:97)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

                at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:235)

                at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:702)

                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:527)

                at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)

                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)

                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)

                at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)

                at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)

                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)

                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:652)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:590)

                at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:1000)

                at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:721)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1299)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1125)

                at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)

                at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)

                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5105)

                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

                at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)

                at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)

                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

                at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

                at java.lang.Thread.run(Thread.java:748)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)

                ... 60 more

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)

                at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)

                ... 69 more

Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:166)

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:193)

                at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:81)

                at org.geoserver.security.password.MasterPasswordConfig.clone(MasterPasswordConfig.java:52)

                at org.geoserver.security.GeoServerSecurityManager.loadConfig(GeoServerSecurityManager.java:2844)

                at org.geoserver.security.GeoServerSecurityManager.loadMasterPasswordConfig(GeoServerSecurityManager.java:2835)

                at org.geoserver.security.GeoServerSecurityManager.<init>(GeoServerSecurityManager.java:309)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

                at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

                at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)

                ... 71 more

Caused by: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

                at java.lang.Class.forName0(Native Method)

                at java.lang.Class.forName(Class.java:348)

                at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:683)

                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1863)

                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1746)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2037)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:428)

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:163)

                ... 82 more


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



 

--

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313
fax: <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272
mob: <a href="tel:+39%20339%20884%204549" value="+393398844549" target="_blank">+39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

 




--

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Running GeoServer on Apache TOMEE 7.0.3

Phil Scadden

Excellent thanks. I tried and couldn’t get it working. Will give it another go.

 

From: Andrea Aime [mailto:[hidden email]]
Sent: Tuesday, 16 January 2018 3:55 a.m.
To: Cavender, Mark E. - US <[hidden email]>; GeoServer Mailing List List <[hidden email]>
Subject: Re: [Geoserver-users] Running GeoServer on Apache TOMEE 7.0.3

 

Aaah that's awesome, thank you!

I'm cc'ing the mailing list so that this gets archived and can be searched for other interested people to find.

 

Anyone reading has time and interest to to turn this into a tutorial page like the JBoss one?

 

Cheers

Andrea

 

 

On Mon, Jan 15, 2018 at 3:21 PM, Cavender, Mark E. - US <[hidden email]> wrote:

I figured out how to install geoserver on Apache TOMEE for anyone interested. 

 

Installing GeoServer on Apache TOMEE 7.0.2

Geoserver is an open source project that allows geographic data/tiles to be served to a graphics device such as a browser.  It is installed/placed as a war file in Apache TOMEE.  Perform the steps below and start Apache Tomee.  At this point, the installation will be complete.

Step-by-step guide

 

  1. Download the latest war file from geoserver.org
  2. Place the war file in the webapps directory of Apache Tomee
  3. Edit the $TOMEE_DIR/conf/context.xml file and add

               <Resources cachingAllowed="true" cacheMaxSize="100000" />  before </Context>

  1. Edit the $TOMEE_DIR/conf/system.properties and add the following line anywhere in the file. 

              openejb.classloader.forced-load=org.apache.commons.lang

              This will allow the classloader to allow the Spring Application Framework to execute properly.

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andrea Aime
Sent: Thursday, January 11, 2018 9:07 AM
To: Cavender, Mark E. - US <[hidden email]>
Cc: [hidden email]
Subject: Re: [Geoserver-users] Running GeoServer on Apache TOMEE 7.0.3

 

Hi,

it seems nobody has experiences to share about TomEE, in case you are still interested it's also possible

to fund core contributors to work on it, figure out what can be done, make eventual changes, and document

whatever step needs to be taken. See:

 

 

Cheers

Andrea

 

 

On Fri, Jan 5, 2018 at 5:24 PM, Cavender, Mark E. - US <[hidden email]> wrote:

Hi,

 

I am having trouble deploying a Geoserver war to Apache TOMEE 7.0.3 (it is based on Tomcat 8.5.4).  Has anyone tried it?  When I try it, I get the following error message.  I don’t think that we use Spring security.  Is there some configuration that needs to be done.  Thanks in advance for help.

 

Mark Cavender

 

 

05-Jan-2018 10:01:18.663 INFO [localhost-startStop-1] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /geoserver-2.12.1-war

05-Jan-2018 10:01:18.770 INFO [localhost-startStop-1] org.apache.openejb.util.JarExtractor.extract Extracting jar: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver.war

05-Jan-2018 10:01:36.877 INFO [localhost-startStop-1] org.apache.openejb.util.JarExtractor.extract Extracted path: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver

05-Jan-2018 10:01:49.572 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.deployments.classpath.filter.systemapps=false'

05-Jan-2018 10:01:49.650 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:49.722 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.935 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.963 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.980 INFO [localhost-startStop-1] org.apache.openejb.util.OptionsLog.info Using 'openejb.default.deployment-module=org.apache.openejb.config.WebModule'

05-Jan-2018 10:01:51.981 INFO [localhost-startStop-1] org.apache.openejb.config.DeploymentsResolver.loadFromClasspath Searched 5 classpath urls in 2401 milliseconds.  Average 480 milliseconds per url.

05-Jan-2018 10:01:54.874 INFO [localhost-startStop-1] org.apache.openejb.config.ConfigurationFactory.configureApplication Configuring enterprise application: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war

05-Jan-2018 10:02:00.264 INFO [localhost-startStop-1] org.apache.openejb.config.AppInfoBuilder.build Enterprise application "C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war" loaded.

05-Jan-2018 10:02:00.267 INFO [localhost-startStop-1] org.apache.openejb.assembler.classic.Assembler.createApplication Assembling app: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war

05-Jan-2018 10:02:00.281 INFO [localhost-startStop-1] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /geoserver

05-Jan-2018 10:02:11.107 INFO [localhost-startStop-1] org.apache.openejb.cdi.CdiBuilder.initSingleton Existing thread singleton service in SystemInstance(): [hidden email]

05-Jan-2018 10:02:11.130 INFO [localhost-startStop-1] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container is starting...

05-Jan-2018 10:02:11.134 INFO [localhost-startStop-1] org.apache.webbeans.plugins.PluginLoader.startUp Adding OpenWebBeansPlugin : [CdiPlugin]

05-Jan-2018 10:02:11.369 INFO [localhost-startStop-1] org.apache.webbeans.config.BeansDeployer.validateInjectionPoints All injection points were validated successfully.

05-Jan-2018 10:02:11.370 INFO [localhost-startStop-1] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container has started, it took 240 ms.

05-Jan-2018 10:02:13.491 INFO [localhost-startStop-1] sun.reflect.DelegatingMethodAccessorImpl.invoke At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

05 Jan 10:02:18 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05-Jan-2018 10:02:20.670 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'XStreamPersisterInitializer', but ApplicationContext is unset.

05-Jan-2018 10:02:20.674 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:20.690 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:20.690 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05 Jan 10:02:20 WARN [geoserver.logging] - log4jConfigFile 'DEFAULT_LOGGING.properties' couldn't be found in the data dir, so GeoServer will install the various logging config file into the data dir, and then try to find it again.

log4j:WARN File option not set for appender [geoserverlogfile].

log4j:WARN Are you using FileAppender instead of ConsoleAppender?

05 Jan 10:02:36 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05 Jan 10:02:36 INFO [geoserver.platform] - Falling back to embedded data directory: C:\Users\Public\apache-tomee-7.0.4-plume\apache-tomee-plume-7.0.4\webapps\geoserver-2.12.1-war\geoserver\data

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'GeoServerSecurityProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionProvider', but ApplicationContext is unset.

05-Jan-2018 10:02:37.750 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 'ExtensionFilter', but ApplicationContext is unset.

05-Jan-2018 10:02:38.112 WARNING [localhost-startStop-1] org.geoserver.platform.GeoServerExtensions.extensionNames bean lookup error

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rememberMeServices' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Cannot resolve reference to bean 'geoServerSecurityManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)

                at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:923)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:804)

                at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:558)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:432)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:395)

                at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:389)

                at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1177)

                at org.geoserver.platform.GeoServerExtensions.extensionNames(GeoServerExtensions.java:211)

                at org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:126)

                at org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:332)

                at org.geoserver.config.GeoServerLoaderProxy.lookupGeoServerLoader(GeoServerLoaderProxy.java:76)

                at org.geoserver.config.GeoServerLoaderProxy.setApplicationContext(GeoServerLoaderProxy.java:44)

                at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:121)

                at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:97)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

                at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:235)

                at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:702)

                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:527)

                at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)

                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)

                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)

                at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)

                at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)

                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)

                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:652)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:590)

                at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:1000)

                at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:721)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1299)

                at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1125)

                at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)

                at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)

                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5105)

                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

                at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)

                at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)

                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

                at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

                at java.lang.Thread.run(Thread.java:748)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in URL [jar:file:/C:/Users/Public/apache-tomee-7.0.4-plume/apache-tomee-plume-7.0.4/webapps/geoserver-2.12.1-war/geoserver/WEB-INF/lib/gs-main-2.12.1.jar!/applicationSecurityContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)

                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)

                ... 60 more

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.security.GeoServerSecurityManager]: Constructor threw exception; nested exception is org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)

                at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)

                at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)

                ... 69 more

Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:166)

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:193)

                at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:81)

                at org.geoserver.security.password.MasterPasswordConfig.clone(MasterPasswordConfig.java:52)

                at org.geoserver.security.GeoServerSecurityManager.loadConfig(GeoServerSecurityManager.java:2844)

                at org.geoserver.security.GeoServerSecurityManager.loadMasterPasswordConfig(GeoServerSecurityManager.java:2835)

                at org.geoserver.security.GeoServerSecurityManager.<init>(GeoServerSecurityManager.java:309)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

                at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

                at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)

                ... 71 more

Caused by: java.lang.ClassNotFoundException: org.geoserver.security.password.MasterPasswordConfig

                at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

                at java.lang.Class.forName0(Native Method)

                at java.lang.Class.forName(Class.java:348)

                at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:683)

                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1863)

                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1746)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2037)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:428)

                at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:163)

                ... 82 more


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



 

--

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
<a href="https://maps.google.com/?q=Via&#43;di&#43;Montramito&#43;3/A&#43;%0D&#43;55054&#43;%C2%A0Massarosa&amp;entry=gmail&amp;source=g">Via di Montramito 3/A
55054  <a href="https://maps.google.com/?q=Via&#43;di&#43;Montramito&#43;3/A&#43;%0D&#43;55054&#43;%C2%A0Massarosa&amp;entry=gmail&amp;source=g">Massarosa (LU)
phone: <a href="tel:&#43;39%200584%20962313" target="_blank">+39 0584 962313
fax: <a href="tel:&#43;39%200584%20166%200272" target="_blank">+39 0584 1660272
mob: <a href="tel:&#43;39%20339%20884%204549" target="_blank">+39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

 



 

--

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

 

Notice: This email and any attachments are confidential and may not be used, published or redistributed without the prior written consent of the Institute of Geological and Nuclear Sciences Limited (GNS Science). If received in error please destroy and immediately notify GNS Science. Do not copy or disclose the contents.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users