[opencms-dev] OpenCms deployment error in JBOSS

Kesarkar, Dipak dipak.kesarkar at capgemini.com
Wed Feb 18 09:34:57 CET 2009


Hi,

 

I am trying to deploy OpenCms 7.0.5 under JBOSS 5.0.0. After all the
OpenCms modules are imported, it encounter following error

"Critical error during OpenCms initialization: Unable to read the
OpenCms XML configuration."

 

Stack trace

 

17 Feb 2009 12:24:12,652 ERROR [g.opencms.main.OpenCmsListener:  91]
Critical error during OpenCms initialization: Unable to read the OpenCms
XML configuration.

org.opencms.main.CmsInitException: Critical error during OpenCms
initialization: Unable to read the OpenCms XML configuration.

            at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:964)

            at
org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1310)

            at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1735)

            at
org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java
:87)

            at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
ava:3910)

            at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4393
)

            at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInt
ernal(TomcatDeployment.java:367)

            at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(To
mcatDeployment.java:146)

            at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploymen
t.java:460)

            at
org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

            at
org.jboss.web.deployers.WebModule.start(WebModule.java:96)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

            at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:597)

            at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:157)

            at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

            at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)

            at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

            at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:20
6)

            at $Proxy36.start(Unknown Source)

            at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(S
tartStopLifecycleAction.java:42)

            at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(S
tartStopLifecycleAction.java:37)

            at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simple
InstallAction(SimpleControllerContextAction.java:62)

            at
org.jboss.dependency.plugins.action.AccessControllerContextAction.instal
l(AccessControllerContextAction.java:71)

            at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(Ab
stractControllerContextActions.java:51)

            at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractC
ontrollerContext.java:348)

            at
org.jboss.system.microcontainer.ServiceControllerContext.install(Service
ControllerContext.java:286)

            at
org.jboss.dependency.plugins.AbstractController.install(AbstractControll
er.java:1598)

            at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractC
ontroller.java:934)

            at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:1062)

            at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:984)

            at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:822)

            at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:553)

            at
org.jboss.system.ServiceController.doChange(ServiceController.java:688)

            at
org.jboss.system.ServiceController.start(ServiceController.java:460)

            at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:14
6)

            at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:1
04)

            at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:4
5)

            at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.inte
rnalDeploy(AbstractSimpleRealDeployer.java:62)

            at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(Abs
tractRealDeployer.java:50)

            at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWra
pper.java:171)

            at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersIm
pl.java:1439)

            at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst
(DeployersImpl.java:1157)

            at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst
(DeployersImpl.java:1178)

            at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImp
l.java:1098)

            at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractC
ontrollerContext.java:348)

            at
org.jboss.dependency.plugins.AbstractController.install(AbstractControll
er.java:1598)

            at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractC
ontroller.java:934)

            at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:1062)

            at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:984)

            at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:822)

            at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:553)

            at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImp
l.java:781)

            at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerIm
pl.java:545)

            at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfi
le(ProfileServiceBootstrap.java:304)

            at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(Pro
fileServiceBootstrap.java:205)

            at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405
)

            at org.jboss.Main.boot(Main.java:209)

            at org.jboss.Main$1.run(Main.java:547)

            at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.NullPointerException

            at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:944)

            at
org.apache.commons.digester.Digester.parse(Digester.java:1765)

            at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(C
msConfigurationManager.java:507)

            at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(C
msConfigurationManager.java:342)

            at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:962)

            ... 61 more

 

 

Does anybody know the reason of this problem?

Is any configuration in JBOSS missing?

 

 

Thanks,

Dipak

</PRE><p style="font-family:arial;color:indigo" style="font-size:13px">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</p><PRE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20090218/ecd60efc/attachment.html>


More information about the opencms-dev mailing list