Hi all,
Upon removing a plugin (GeoFence), GeoServer is returning a 404 response
from the base GeoServer url and admin gui. I seems like some dependencies
were lost (see error trace below), namely,
the javax/transaction/TransactionManager. I followed the default GeoFence
installation then removed the jar files in the zipped packages, I was very
careful to only remove jar files that were added when unpacking packages.
My questions:
1. Is there a file missing and, if so, how can I replace it?
2. Is there a config file somewhere that's pointing to the wrong place, or
a missing file?
Thanks all for your valuable feedback.
Best,
Todd
org.geoserver.platform.GeoServerExtensions.extensionNames bean lookup error
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'hibSessionFactory': Failed to introspect bean
class [org.springframework.orm.hibernate3.LocalSessionFactoryBean] for
lookup method metadata: could not find class that it depends on;
nested exception is java.lang.NoClassDefFoundError:
javax/transaction/TransactionManager
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:269)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1118)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1091)
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:403)
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:206)
at
org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:124)
at
org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:131)
at
org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:147)
at
org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:327)
at
org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:310)
at
org.vfny.geoserver.crs.GeoserverWKTOperationFactory.getDefinitionsURL(GeoserverWKTOperationFactory.java:45)
at
org.geotools.referencing.factory.epsg.CoordinateOperationFactoryUsingWKT.createBackingStore(CoordinateOperationFactoryUsingWKT.java:178)
at
org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:133)
at
org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:235)
at
org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119)
at
org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:788)
at
org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:611)
at
org.geotools.factory.FactoryRegistry.lambda$getFactories$0(FactoryRegistry.java:310)
at
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at
java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
at
java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$220(StreamSpliterators.java:294)
at
java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
at
java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161)
at
java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300)
at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
at org.geotools.resources.LazySet.exists(LazySet.java:121)
at org.geotools.resources.LazySet$Iter.hasNext(LazySet.java:146)
at
org.geoserver.GeoserverInitStartupListener.disposeAuthorityFactories(GeoserverInitStartupListener.java:422)
at
org.geoserver.GeoserverInitStartupListener.contextDestroyed(GeoserverInitStartupListener.java:288)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4776)
at
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5390)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1768)
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:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at
org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:613)
at
org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:524)
at
org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:510)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:247)
... 48 more
Caused by: java.lang.ClassNotFoundException:
javax.transaction.TransactionManager
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
... 55 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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users