[opencms-dev] OpenCms Cannot startup

chen416 chen.qian at ogilvy.com
Fri Oct 14 04:16:34 CEST 2011


Hello,

I have installed OpenCms 7.5.3 on WAS7, and everytime I tried to start the
CMS, I got the following errors on the log. Please help. Thanks.

[11. 10. 12   11:40:14:918 KST] 0000001e init          I
org.opencms.db.CmsDriverManager init . Driver manager init  : phase 4 -
connecting to the database
[11. 10. 12   11:40:14:958 KST] 0000001e CmsDriverMana W
org.opencms.db.CmsDbSqlException <init> An SQL error occurred when executing
the following query: . 
                                 org.opencms.db.CmsDbSqlException: An SQL
error occurred when executing the following query: . 
	at org.opencms.db.generic.CmsUserDriver.existsGroup(CmsUserDriver.java:710)
	at
org.opencms.db.generic.CmsUserDriver.internalCreateDefaultGroups(CmsUserDriver.java:2025)
	at
org.opencms.db.generic.CmsUserDriver.fillDefaults(CmsUserDriver.java:763)
	at org.opencms.db.CmsDriverManager.init(CmsDriverManager.java:4681)
	at org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2742)
	at
org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:157)
	at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1126)
	at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1290)
	at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1739)
	at
org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
	at
com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1707)
	at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:380)
	at
com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:299)
	at
com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
	at
com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
	at
com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731)
	at
com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
	at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
	at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:610)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266)
	at
com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4672)
	at
com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4760)
	at
com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1271)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2043)
	at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439)
	at
com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
	at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382)
	at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:653)
	at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:615)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
	at sun.reflect.GeneratedMethodAccessor208.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
	at
javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1085)
	at
javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:966)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
	at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1332)
	at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
	at
com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1225)
	at
com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181)
	at
com.ibm.ws.management.connector.ipc.CallRouter.route(CallRouter.java:242)
	at
com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink.doWork(IPCConnectorInboundLink.java:353)
	at
com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink$IPCConnectorReadCallback.complete(IPCConnectorInboundLink.java:595)
	at
com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
Caused by: java.sql.SQLException: Configuration file not found
	at
org.apache.commons.dbcp.PoolingDriver.getConnectionPool(PoolingDriver.java:133)
	at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:171)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at org.opencms.db.CmsSqlManager.getConnectionByUrl(CmsSqlManager.java:104)
	at
org.opencms.db.generic.CmsSqlManager.getConnection(CmsSqlManager.java:231)
	at
org.opencms.ocee.db.generic.CmsSqlManager.getConnection(CmsSqlManager.java:148)
	at org.opencms.db.generic.CmsUserDriver.existsGroup(CmsUserDriver.java:692)
	... 64 more
-- 
View this message in context: http://old.nabble.com/OpenCms-Cannot-startup-tp32649773p32649773.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list