Hello,
On 10/30/2014 03:14 PM, Giancarlo Birello wrote:
> here http://v2p2dev.to.cnr.it/doku.php (in the middle of the page) my
> stepbystep installation guide for Taverna 2.5.4 with tomcat7 and Ubuntu
> 12.04.
> Maybe this can be useful to solve problem ... or not .. :-)
I went through the explanation (and all the other Taverna - Tomcat
installation instructions I found) and have still the same problems on
my own system. My Taverna server can't start up although it is deployed.
I tried different Java version (7,8), Tomcat versions (7,8), Taverna
versions (2.5.5, 2.4.4), combinations of that on different machines
(cluster, PC) now.
The outcome is stable, and the Taverna starting error always the same.
Because the different versions of the sub systems (Java, Tomcat,
Taverna) didn't influence my problem I have stayed with the most current
versions and post the error logs of those.
catalina.out
03-Nov-2014 15:28:33.600 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version:
Apache Tomcat/8.0.14
03-Nov-2014 15:28:33.602 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server built:
Sep 24 2014 09:01:51
03-Nov-2014 15:28:33.602 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server number:
8.0.14.0
03-Nov-2014 15:28:33.602 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
03-Nov-2014 15:28:33.602 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Version:
3.11.10-21-desktop
03-Nov-2014 15:28:33.603 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
03-Nov-2014 15:28:33.603 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:
1.8.0_05-b13
03-Nov-2014 15:28:33.603 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:
Oracle Corporation
03-Nov-2014 15:28:33.779 INFO [main]
org.apache.catalina.core.AprLifecycleListener.init The APR based Apache
Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path:
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
03-Nov-2014 15:28:34.072 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio-8080"]
03-Nov-2014 15:28:34.086 INFO [main]
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a
shared selector for servlet write/read
03-Nov-2014 15:28:34.093 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio-8500"]
03-Nov-2014 15:28:34.323 INFO [main]
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a
shared selector for servlet write/read
03-Nov-2014 15:28:34.324 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["ajp-nio-8009"]
03-Nov-2014 15:28:34.325 INFO [main]
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a
shared selector for servlet write/read
03-Nov-2014 15:28:34.326 INFO [main]
org.apache.catalina.startup.Catalina.load Initialization processed in 806 ms
03-Nov-2014 15:28:34.354 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
Catalina
03-Nov-2014 15:28:34.354 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
Engine: Apache Tomcat/8.0.14
03-Nov-2014 15:28:34.387 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web
application archive /home/jh129/Documents/Dana Farber/Work/Riker
Redesign - Workflow
Manager/Taverna/apache-tomcat-8.0.14/webapps/taverna_server.war
03-Nov-2014 15:28:41.228 INFO [localhost-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars 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.
03-Nov-2014 15:28:44.934 SEVERE [localhost-startStop-1]
org.apache.catalina.core.StandardContext.startInternal Error listenerStart
03-Nov-2014 15:28:44.943 SEVERE [localhost-startStop-1]
org.apache.catalina.core.StandardContext.startInternal Context
[/taverna_server] startup failed due to previous errors
03-Nov-2014 15:28:44.953 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web
application archive /home/jh129/Documents/Dana Farber/Work/Riker
Redesign - Workflow
Manager/Taverna/apache-tomcat-8.0.14/webapps/taverna_server.war has
finished in 10,566 ms
...
tavserv.out:
20141103T152841.353 INFO ContextLoader ContextLoader - Root
WebApplicationContext: initialization started
20141103T152841.451 INFO XmlWebApplicationContext
AbstractApplicationContext - Refreshing Root WebApplicationContext:
startup date [Mon Nov 03 15:28:41 EST 2014]; root of context hierarchy
20141103T152841.532 INFO XmlBeanDefinitionReader
XmlBeanDefinitionReader - Loading XML bean definitions from
ServletContext resource [/WEB-INF/secure.xml]
20141103T152841.689 INFO XmlBeanDefinitionReader
XmlBeanDefinitionReader - Loading XML bean definitions from
ServletContext resource [/WEB-INF/webappBeans.xml]
20141103T152841.770 INFO XmlBeanDefinitionReader
XmlBeanDefinitionReader - Loading XML bean definitions from class path
resource [META-INF/cxf/cxf.xml]
20141103T152841.800 INFO XmlBeanDefinitionReader
XmlBeanDefinitionReader - Loading XML bean definitions from
ServletContext resource [/WEB-INF/providers.xml]
20141103T152841.818 INFO XmlBeanDefinitionReader
XmlBeanDefinitionReader - Loading XML bean definitions from
ServletContext resource [/WEB-INF/beans.xml]
20141103T152842.604 INFO SpringSecurityCoreVersion
SpringSecurityCoreVersion - You are running with Spring Security Core
3.1.4.RELEASE
20141103T152842.605 INFO SecurityNamespaceHandler
SecurityNamespaceHandler - Spring Security 'config' module version is
3.1.4.RELEASE
20141103T152842.667 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'permitAll' for /
20141103T152842.668 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'permitAll' for /rest
20141103T152842.669 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'permitAll' for /rest/
20141103T152842.669 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'permitAll' for /rest/policy
20141103T152842.670 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'permitAll' for /rest/policy/
20141103T152842.670 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'permitAll' for /services/**
20141103T152842.671 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'permitAll' for /soap/**
20141103T152842.671 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'hasRole('ROLE_tavernauser')' for /soap/**
20141103T152842.672 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'hasRole('ROLE_tavernasuperuser')' for /admin
20141103T152842.672 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'hasRole('ROLE_tavernasuperuser')' for /admin/**
20141103T152842.672 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute
'hasAnyRole('ROLE_tavernauser','ROLE_tavernaworkflow')' for /rest/**
20141103T152842.673 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'hasRole('ROLE_tavernauser')' for /feed
20141103T152842.674 INFO FilterInvocationSecurityMetadataSourceParser
FilterInvocationSecurityMetadataSourceParser - Creating access control
expression attribute 'hasRole('ROLE_tavernauser')' for /feed/**
20141103T152842.696 INFO HttpSecurityBeanDefinitionParser
HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root
bean: class
[org.springframework.security.web.access.channel.ChannelProcessingFilter];
scope=; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null, order = 100, Root bean: class
[org.springframework.security.web.context.SecurityContextPersistenceFilter];
scope=; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null, order = 200, Root bean: class
[org.springframework.security.web.authentication.www.BasicAuthenticationFilter];
scope=; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null, order = 1200, Root bean: class
[org.springframework.security.web.savedrequest.RequestCacheAwareFilter];
scope=; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null, order = 1300, Root bean: class
[org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter];
scope=; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null, order = 1400, Root bean: class
[org.springframework.security.web.authentication.AnonymousAuthenticationFilter];
scope=; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null, order = 1700, Root bean: class
[org.springframework.security.web.session.SessionManagementFilter];
scope=; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null, order = 1800, Root bean: class
[org.springframework.security.web.access.ExceptionTranslationFilter];
scope=; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null, order = 1900,
<org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>,
order = 2000]
20141103T152843.207 INFO PropertySourcesPlaceholderConfigurer
PropertiesLoaderSupport - Loading properties file from ServletContext
resource [/WEB-INF/tavernaserver.properties]
20141103T152843.323 INFO DefaultListableBeanFactory
DefaultListableBeanFactory - Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@21984171:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,webapp,webapp.support,capabilities,webapp.policyView,contentsDescriptorBuilder,webapp.state,webapp.invocationCounter,webapp.perfLogger,run.coreView.prototype,run.directoryView.prototype,run.listenersView.prototype,run.singleListenerView.prototype,run.propertyView.prototype,run.inputView.prototype,run.securityView.prototype,run.interactionFeed.prototype,feed,admin,IdentityMapper,passwordEncoder,userStore,pmf,transactionAspect,systemPrereqs,dataSource,contextualizer,usageRecordSink,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,default-factory-properties,URThreads,worker.securityContext,passwordIssuer,certificateChainFetcher,localworker.state,worker.policy,worker.rundb,cn.email,cn.sms,cn.twitter,worker.runDAO,org.springframework.scheduling.support.ScheduledMethodRunnable#0,org.springframework.sch
e
duling.config.IntervalTask#0,org.springframework.scheduling.support.ScheduledMethodRunnable#1,org.springframework.scheduling.config.IntervalTask#1,org.springframework.scheduling.support.ScheduledMethodRunnable#2,org.springframework.scheduling.config.IntervalTask#2,org.springframework.scheduling.config.ContextLifecycleScheduledTaskRegistrar#0,notificationFabric,dispatch.email,dispatch.twitter,dispatch.xmpp,dispatch.sms,dispatch.atom,worker.notifier,fileUtils,x500Utils,taskScheduler,JCECheck,interactionFeed,atomFeedHandler,atomEntryHandler,authProvider,workflowInternalAuthProvder,velocity,abdera,ExceptionProvider.BadInputPortName,ExceptionProvider.BadPropertyValue,ExceptionProvider.BadStateChange,ExceptionProvider.FilesystemAccess,ExceptionProvider.GeneralFailure,ExceptionProvider.IllegalArgument,ExceptionProvider.ImplementationProblem,ExceptionProvider.InvalidCredential,ExceptionProvider.NoCreate,ExceptionProvider.Overloaded,ExceptionProvider.NoCredential,ExceptionProvider.NoDestroy,E
x
ceptionProvider.NoDirectoryEntry,ExceptionProvider.NoListener,ExceptionProvider.NoUpdate,ExceptionProvider.NotOwner,ExceptionProvider.UnknownRun,ExceptionProvider.JAXBException,ExceptionProvider.AccessDenied,ExceptionProvider.NegotiationFailed,MessagingProvider.File,MessagingProvider.FileConcatenation,MessagingProvider.FileSegment,MessagingProvider.InputStream,MessagingProvider.T2flow,MessagingProvider.Permission,Provider.RuntimeExceptionRemapping,MessagingProvider.ZipStream,Interceptor.FlushThreadLocalCache,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,localWorkerFactory,servletContextPropertyConfigurer,master_SOAP,root_REST,master_REST,AtomFeed,AdministrationInterface,jsonProvider,jsonNamespaceMap,root_facade,URI-Rewriter-Thunk,
o
rg.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.PortResolverImpl#0,org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.context.HttpSessionSecurityContextRepository#0,org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy#0,org.s
p
ringframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.channel.ChannelDecisionManagerImpl#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint#0,org.springframework.security.userDetailsServiceFactory,org.springframework.security.web.DefaultSecurityFilterChain#0,org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,security.override.properties,MBeanServer,mbeanExporter,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,localworker.factory];
root of factory hierarchy
20141103T152844.925 INFO DefaultListableBeanFactory
DefaultSingletonBeanRegistry - Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@21984171:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,webapp,webapp.support,capabilities,webapp.policyView,contentsDescriptorBuilder,webapp.state,webapp.invocationCounter,webapp.perfLogger,run.coreView.prototype,run.directoryView.prototype,run.listenersView.prototype,run.singleListenerView.prototype,run.propertyView.prototype,run.inputView.prototype,run.securityView.prototype,run.interactionFeed.prototype,feed,admin,IdentityMapper,passwordEncoder,userStore,pmf,transactionAspect,systemPrereqs,dataSource,contextualizer,usageRecordSink,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,default-factory-properties,URThreads,worker.securityContext,passwordIssuer,certificateChainFetcher,localworker.state,worker.policy,worker.rundb,cn.email,cn.sms,cn.twitter,worker.runDAO,org.springframework.scheduling.support.ScheduledMethodRunnable#0,org.springframework.sch
e
duling.config.IntervalTask#0,org.springframework.scheduling.support.ScheduledMethodRunnable#1,org.springframework.scheduling.config.IntervalTask#1,org.springframework.scheduling.support.ScheduledMethodRunnable#2,org.springframework.scheduling.config.IntervalTask#2,org.springframework.scheduling.config.ContextLifecycleScheduledTaskRegistrar#0,notificationFabric,dispatch.email,dispatch.twitter,dispatch.xmpp,dispatch.sms,dispatch.atom,worker.notifier,fileUtils,x500Utils,taskScheduler,JCECheck,interactionFeed,atomFeedHandler,atomEntryHandler,authProvider,workflowInternalAuthProvder,velocity,abdera,ExceptionProvider.BadInputPortName,ExceptionProvider.BadPropertyValue,ExceptionProvider.BadStateChange,ExceptionProvider.FilesystemAccess,ExceptionProvider.GeneralFailure,ExceptionProvider.IllegalArgument,ExceptionProvider.ImplementationProblem,ExceptionProvider.InvalidCredential,ExceptionProvider.NoCreate,ExceptionProvider.Overloaded,ExceptionProvider.NoCredential,ExceptionProvider.NoDestroy,E
x
ceptionProvider.NoDirectoryEntry,ExceptionProvider.NoListener,ExceptionProvider.NoUpdate,ExceptionProvider.NotOwner,ExceptionProvider.UnknownRun,ExceptionProvider.JAXBException,ExceptionProvider.AccessDenied,ExceptionProvider.NegotiationFailed,MessagingProvider.File,MessagingProvider.FileConcatenation,MessagingProvider.FileSegment,MessagingProvider.InputStream,MessagingProvider.T2flow,MessagingProvider.Permission,Provider.RuntimeExceptionRemapping,MessagingProvider.ZipStream,Interceptor.FlushThreadLocalCache,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,localWorkerFactory,servletContextPropertyConfigurer,master_SOAP,root_REST,master_REST,AtomFeed,AdministrationInterface,jsonProvider,jsonNamespaceMap,root_facade,URI-Rewriter-Thunk,
o
rg.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.PortResolverImpl#0,org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.context.HttpSessionSecurityContextRepository#0,org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy#0,org.s
p
ringframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.channel.ChannelDecisionManagerImpl#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint#0,org.springframework.security.userDetailsServiceFactory,org.springframework.security.web.DefaultSecurityFilterChain#0,org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,security.override.properties,MBeanServer,mbeanExporter,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,localworker.factory];
root of factory hierarchy
20141103T152844.930 ERROR ContextLoader ContextLoader - Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'webapp' defined in ServletContext resource
[/WEB-INF/beans.xml]: Cannot resolve reference to bean 'worker.policy'
while setting bean property 'policy'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'worker.policy' defined in ServletContext resource
[/WEB-INF/beans.xml]: Cannot resolve reference to bean
'localworker.state' while setting bean property 'limits'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'localworker.state' defined in
ServletContext resource [/WEB-INF/beans.xml]: Error setting property
values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (1) are:
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException: Property
'defaultExecuteWorkflowScript' threw exception; nested exception is
java.lang.NullPointerException
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5221)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1703)
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: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'worker.policy' defined in ServletContext
resource [/WEB-INF/beans.xml]: Cannot resolve reference to bean
'localworker.state' while setting bean property 'limits'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'localworker.state' defined in
ServletContext resource [/WEB-INF/beans.xml]: Error setting property
values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (1) are:
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException: Property
'defaultExecuteWorkflowScript' threw exception; nested exception is
java.lang.NullPointerException
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
... 28 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'localworker.state' defined in
ServletContext resource [/WEB-INF/beans.xml]: Error setting property
values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (1) are:
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException: Property
'defaultExecuteWorkflowScript' threw exception; nested exception is
java.lang.NullPointerException
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1453)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
... 38 more
Caused by: org.springframework.beans.PropertyBatchUpdateException;
nested PropertyAccessExceptions (1) are:
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException: Property
'defaultExecuteWorkflowScript' threw exception; nested exception is
java.lang.NullPointerException
at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:101)
at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1450)
... 46 more
So far I understand the problem the Spring framework doesn't get
initialized properly. How can that be solved?
I appreciate every help for my issue, couldn't find any solution after
days now.
Regards,
Johann
--
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
------------------------------------------------------------------------------
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/