Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
2 replies Latest Post - ‏2013-01-20T16:05:55Z by SystemAdmin
SystemAdmin
SystemAdmin
2327 Posts
ACCEPTED ANSWER

Pinned topic Worklight 5.0.5 Server Could Not Start

‏2013-01-17T15:55:46Z |
Upgrade from 5.0.0.3 to 5.0.5. A new worklight.war is generated and deployed. When start server, get this log and worklight.war could not be started:

Jan 17, 2013 10:38:30 AM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance.
Jan 17, 2013 10:38:30 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler
Jan 17, 2013 10:38:30 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler
Jan 17, 2013 10:38:30 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 17, 2013 10:38:30 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler
Jan 17, 2013 10:38:30 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler
Jan 17, 2013 10:38:30 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler
Jan 17, 2013 10:38:30 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler
Jan 17, 2013 10:42:09 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: F:\Java\jdk1.6.0_33\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;F:\Java\jdk1.6.0_33\bin;C:\RBFG\WXF;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\rbfg\6f\6f72\CScriptNative;c:\rbfg\6f\6f74;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;.
Jan 17, 2013 10:42:09 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler
Jan 17, 2013 10:42:09 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler
Jan 17, 2013 10:42:09 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 746 ms
Jan 17, 2013 10:42:09 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 17, 2013 10:42:09 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.29
Jan 17, 2013 10:42:09 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive F:\apache-tomcat-7.0.29\webapps\worklight.war
Jan 17, 2013 10:42:12 AM com.worklight.server.bundle.project.JeeProjectActivator contextInitialized
INFO: FWLST0001I: Worklight home folder is F:\apache-tomcat-7.0.29\worklight.home\worklight
Jan 17, 2013 10:42:12 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@16ef71: display name org.springframework.context.support.FileSystemXmlApplicationContext@16ef71; startup date Thu Jan 17 10:42:12 EST 2013; root of context hierarchy
Jan 17, 2013 10:42:12 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL
Jan 17, 2013 10:42:12 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL
Jan 17, 2013 10:42:12 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL
Jan 17, 2013 10:42:12 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL
Jan 17, 2013 10:42:12 AM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'gadgetCustomizedResourcesRoot': replacing [Generic bean: class http://com.worklight.core.util.WorkingDirectory; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL with [Generic bean: class http://com.worklight.core.util.WorkingDirectory; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL
Jan 17, 2013 10:42:12 AM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'gadgetResourcesRoot': replacing [Generic bean: class http://com.worklight.core.util.WorkingDirectory; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL with [Generic bean: class http://com.worklight.core.util.WorkingDirectory; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL
Jan 17, 2013 10:42:12 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context org.springframework.context.support.FileSystemXmlApplicationContext@16ef71: org.springframework.beans.factory.support.DefaultListableBeanFactory@16ea269
Jan 17, 2013 10:42:12 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@16ea269: defining beans txManager,mailingService,WorkLightNotice,rssBrokerUtils,audit,GenericDAO,propertiesDAO,clusterSynchronizationDAO,taskManager,worklightAuthenticationService,authenticationDAO,identityAssociationCleanupTask,ClusterDataSynchronizationTask,invocationContextManager,notificationDAO,dataAccessService,shellResourcesService,pushReportsService,coreServiceManager,adapterManager,deployService,notificationDispatcher,factProcessingTask,notificationCleanupTask,WSSecurityService,gadgetDAO,widgetService,gfwProps,gadgetEnvironmentManager,gadgetResourcesRoot,gadgetCustomizedResourcesRoot,appVersionAccessService,DeployableFolderCleanupTask,applicationMetadataService,worklight-direct,rssBrokerDS,brokerSessionFactory,gadgetsServing,previewServing,worklightConsole; root of factory hierarchy
Jan 17, 2013 10:42:14 AM org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean createNativeEntityManagerFactory
INFO: Building JPA container EntityManagerFactory for persistence unit 'WorklightPU'
Jan 17, 2013 10:42:29 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@1a32fd1: display name org.springframework.context.support.FileSystemXmlApplicationContext@1a32fd1; startup date Thu Jan 17 10:42:29 EST 2013; root of context hierarchy
Jan 17, 2013 10:42:33 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL
Jan 17, 2013 10:42:33 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context org.springframework.context.support.FileSystemXmlApplicationContext@1a32fd1: org.springframework.beans.factory.support.DefaultListableBeanFactory@1b030d8
Jan 17, 2013 10:42:33 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1b030d8: defining beans reportServiceManager,reportService,reportsDS,reportsBrokerDS,reportsSessionFactory,gadgetReportsDAO,notificationReportsDao,gadgetReportsService,analyticsFactService; root of factory hierarchy
Jan 17, 2013 10:42:34 AM org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean createNativeEntityManagerFactory
INFO: Building JPA container EntityManagerFactory for persistence unit 'WorklightReportsPU'
Jan 17, 2013 10:42:34 AM com.worklight.report.impl.GadgetReportsServiceImpl loadProperties
INFO: FWLSE3005I: Application raw reports are enabled.
Jan 17, 2013 10:42:34 AM com.worklight.server.bundle.project.JeeProjectActivator contextInitialized
INFO: FWLST0002I: ========= Project /worklight started
Jan 17, 2013 10:42:34 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Jan 17, 2013 10:42:34 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/worklight] startup failed due to previous errors
Jan 17, 2013 10:42:34 AM org.springframework.context.support.AbstractApplicationContext doClose
INFO: Closing org.springframework.context.support.FileSystemXmlApplicationContext@1a32fd1: display name org.springframework.context.support.FileSystemXmlApplicationContext@1a32fd1; startup date Thu Jan 17 10:42:29 EST 2013; root of context hierarchy
Jan 17, 2013 10:42:34 AM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1b030d8: defining beans reportServiceManager,reportService,reportsDS,reportsBrokerDS,reportsSessionFactory,gadgetReportsDAO,notificationReportsDao,gadgetReportsService,analyticsFactService; root of factory hierarchy
Jan 17, 2013 10:42:34 AM org.springframework.orm.jpa.AbstractEntityManagerFactoryBean destroy
INFO: Closing JPA EntityManagerFactory for persistence unit 'WorklightReportsPU'
Jan 17, 2013 10:42:34 AM org.springframework.context.support.AbstractApplicationContext doClose
INFO: Closing org.springframework.context.support.FileSystemXmlApplicationContext@16ef71: display name org.springframework.context.support.FileSystemXmlApplicationContext@16ef71; startup date Thu Jan 17 10:42:12 EST 2013; root of context hierarchy
Jan 17, 2013 10:42:34 AM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@16ea269: defining beans txManager,mailingService,WorkLightNotice,rssBrokerUtils,audit,GenericDAO,propertiesDAO,clusterSynchronizationDAO,taskManager,worklightAuthenticationService,authenticationDAO,identityAssociationCleanupTask,ClusterDataSynchronizationTask,invocationContextManager,notificationDAO,dataAccessService,shellResourcesService,pushReportsService,coreServiceManager,adapterManager,deployService,notificationDispatcher,factProcessingTask,notificationCleanupTask,WSSecurityService,gadgetDAO,widgetService,gfwProps,gadgetEnvironmentManager,gadgetResourcesRoot,gadgetCustomizedResourcesRoot,appVersionAccessService,DeployableFolderCleanupTask,applicationMetadataService,worklight-direct,rssBrokerDS,brokerSessionFactory,gadgetsServing,previewServing,worklightConsole; root of factory hierarchy
Jan 17, 2013 10:42:34 AM org.springframework.orm.jpa.AbstractEntityManagerFactoryBean destroy
INFO: Closing JPA EntityManagerFactory for persistence unit 'WorklightPU'
Jan 17, 2013 10:42:34 AM com.worklight.server.bundle.project.JeeProjectActivator contextDestroyed
INFO: FWLST0004I: ========= Project /worklight stopped
Jan 17, 2013 10:42:34 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory F:\apache-tomcat-7.0.29\webapps\docs
Jan 17, 2013 10:42:34 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory F:\apache-tomcat-7.0.29\webapps\examples
Jan 17, 2013 10:42:34 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory F:\apache-tomcat-7.0.29\webapps\host-manager
Jan 17, 2013 10:42:34 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory F:\apache-tomcat-7.0.29\webapps\manager
Jan 17, 2013 10:42:34 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory F:\apache-tomcat-7.0.29\webapps\ROOT
Jan 17, 2013 10:42:34 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler
Jan 17, 2013 10:42:34 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler
Jan 17, 2013 10:42:34 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 24961 ms

Please help!

Jerry
  • IdanAdar
    IdanAdar
    741 Posts
    ACCEPTED ANSWER

    Re: Worklight 5.0.5 Server Could Not Start

    ‏2013-01-20T06:14:40Z  in response to SystemAdmin
    Hi Jerry,

    Have you made sure to undeploy/remove the previous .war file?
    There can be only 1.

    Idan Adar
    QA Engineer
    IBM Worklight Mobile Platform
    • SystemAdmin
      SystemAdmin
      2327 Posts
      ACCEPTED ANSWER

      Re: Worklight 5.0.5 Server Could Not Start

      ‏2013-01-20T16:05:55Z  in response to IdanAdar
      Thanks, Idan

      Find out the issue. The update process is failed to update Worklight database. When server starts, APIs in Worklight swallow exception detail. Recreate all tables cleans this error.

      Jerry