Topic
1 reply Latest Post - ‏2012-03-17T06:07:46Z by IdanAdar
SystemAdmin
SystemAdmin
106 Posts
ACCEPTED ANSWER

Pinned topic Worklight server startup error

‏2012-03-16T05:49:00Z |
Hi ,
i am getting following execption when i start worklight server from command prompt.
please find the logs below

.java:812)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:78
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)

at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:633)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:558)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa
se.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase
.java:389)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:33
4)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:1041)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java
:774)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:1033)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.
java:291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.StandardService.startInternal(StandardServic
e.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.
java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Mar 16, 2012 11:15:01 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
Mar 16, 2012 11:15:01 AM org.apache.catalina.core.StandardContext postWorkDirect
ory
WARNING: Failed to create work directory [C:\\Program Files\\Worklight\\tomcat\\work
\\Catalina\\localhost\\apps_services] for context [/apps/services]
Mar 16, 2012 11:15:01 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
Mar 16, 2012 11:15:01 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/apps/services] startup failed due to previous errors
Mar 16, 2012 11:15:01 AM org.apache.catalina.startup.HostConfig deployDescriptor

WARNING: A docBase C:\\Program Files\\Worklight\\tomcat\\webapps\\\${worklight.home}\\w
ebapps\\worklight-console-api inside the host appBase has been specified, and wil
l be ignored
Mar 16, 2012 11:15:01 AM org.apache.catalina.core.StandardContext resourcesStart

SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\\Program Files\\Worklight\\ser
ver\\bin\\..\\..\\tomcat\\webapps\\console does not exist or is not a readable directo
ry
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.
java:140)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardConte
xt.java:4836)
at org.apache.catalina.core.StandardContext.startInternal(StandardContex
t.java:5016)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:812)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:78
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)

at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:633)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:558)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa
se.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase
.java:389)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:33
4)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:1041)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java
:774)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:1033)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.
java:291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.StandardService.startInternal(StandardServic
e.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.
java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Mar 16, 2012 11:15:01 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
Mar 16, 2012 11:15:01 AM org.apache.catalina.core.StandardContext postWorkDirect
ory
WARNING: Failed to create work directory [C:\\Program Files\\Worklight\\tomcat\\work
\\Catalina\\localhost\\console] for context [/console]
Mar 16, 2012 11:15:01 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
Mar 16, 2012 11:15:01 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/console] startup failed due to previous errors
Mar 16, 2012 11:15:01 AM org.apache.catalina.startup.HostConfig deployDescriptor

WARNING: A docBase C:\\Program Files\\Worklight\\tomcat\\webapps\\\${worklight.home}\\w
ebapps\\rssb-serving inside the host appBase has been specified, and will be igno
red
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardContext resourcesStart

SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\\Program Files\\Worklight\\ser
ver\\bin\\..\\..\\tomcat\\webapps\\core does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.
java:140)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardConte
xt.java:4836)
at org.apache.catalina.core.StandardContext.startInternal(StandardContex
t.java:5016)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:812)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:78
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)

at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:633)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:558)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa
se.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase
.java:389)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:33
4)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:1041)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java
:774)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:1033)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.
java:291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.StandardService.startInternal(StandardServic
e.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.
java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardContext postWorkDirect
ory
WARNING: Failed to create work directory [C:\\Program Files\\Worklight\\tomcat\\work
\\Catalina\\localhost\\core] for context [/core]
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/core] startup failed due to previous errors
Mar 16, 2012 11:15:02 AM org.apache.catalina.startup.HostConfig deployDescriptor

WARNING: A docBase C:\\Program Files\\Worklight\\tomcat\\webapps\\\${worklight.home}\\w
ebapps\\worklight-ws inside the host appBase has been specified, and will be igno
red
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardContext resourcesStart

SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\\Program Files\\Worklight\\ser
ver\\bin\\..\\..\\tomcat\\webapps\\ws does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.
java:140)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardConte
xt.java:4836)
at org.apache.catalina.core.StandardContext.startInternal(StandardContex
t.java:5016)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:812)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:78
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)

at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:633)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:558)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa
se.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase
.java:389)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:33
4)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:1041)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java
:774)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja
va:1033)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.
java:291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.StandardService.startInternal(StandardServic
e.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.
java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardContext postWorkDirect
ory
WARNING: Failed to create work directory [C:\\Program Files\\Worklight\\tomcat\\work
\\Catalina\\localhost\\ws] for context [/ws]
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/ws] startup failed due to previous errors
Mar 16, 2012 11:15:02 AM org.apache.catalina.core.StandardService startInternal
SEVERE: Failed to start connector [Connectorhttp://HTTP/1.1-0]
org.apache.catalina.LifecycleException: Failed to start component [Connector[HTT
P/1.1-0]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
at org.apache.catalina.core.StandardService.startInternal(StandardServic
e.java:459)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.
java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: org.apache.catalina.LifecycleException: The connector cannot start si
nce the specified port value of [0] is invalid
at org.apache.catalina.connector.Connector.startInternal(Connector.java:
931)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
... 11 more

Regards
Sasil G