[opencms-dev] Unable to read the configuration file \opencms\WEB-INF\config\opencms.properties

Avneesh Sisodia avneesh.sisodia at intelegencia.com
Wed May 30 09:31:03 CEST 2012


Hello Everyone,

I am trying to deploy an opencms.war on JBoss AS 7.1.I am using
opencms.7.5.2.jar and it giving error during deployment.

 

12:34:03,318 ERROR [org.opencms.main.OpenCmsCore] (MSC service thread 1-1)
Critical error during OpenCms initialization: Unable to read the
configuration file \opencms\config\config\opencms.properties.:
org.opencms.main.CmsException: Critical error during OpenCms initialization:
Unable to read the configuration file
\opencms\config\config\opencms.properties.

      at
org.opencms.main.OpenCmsCore.setErrorCondition(OpenCmsCore.java:320)
[opencms-7.5.2.jar:]

      at
org.opencms.main.CmsInitException.setErrorCondition(CmsInitException.java:12
1) [opencms-7.5.2.jar:]

      at org.opencms.main.CmsInitException.<init>(CmsInitException.java:92)
[opencms-7.5.2.jar:]

      at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1224)
[opencms-7.5.2.jar:]

      at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1736)
[opencms-7.5.2.jar:]

      at
org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
[opencms-7.5.2.jar:]

      at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContex
t.java:3392) [jbossweb-7.0.13.Final.jar:]

      at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
[jbossweb-7.0.13.Final.jar:]

      at
org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.
java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

      at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceCo
ntrollerImpl.java:1811)

      at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerI
mpl.java:1746)

      at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886) [rt.jar:1.6.0_25]

      at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08) [rt.jar:1.6.0_25]

      at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_25]

 

12:34:03,318 ERROR [org.opencms.main.OpenCmsListener] (MSC service thread
1-1) Critical error during OpenCms initialization: Unable to read the
configuration file \opencms\config\config\opencms.properties.:
org.opencms.main.CmsInitException: Critical error during OpenCms
initialization: Unable to read the configuration file
\opencms\config\config\opencms.properties.

      at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1224)
[opencms-7.5.2.jar:]

      at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1736)
[opencms-7.5.2.jar:]

      at
org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
[opencms-7.5.2.jar:]

      at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContex
t.java:3392) [jbossweb-7.0.13.Final.jar:]

      at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
[jbossweb-7.0.13.Final.jar:]

      at
org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.
java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

      at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceCo
ntrollerImpl.java:1811)

      at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerI
mpl.java:1746)

      at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886) [rt.jar:1.6.0_25]

      at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08) [rt.jar:1.6.0_25]

      at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_25]

Caused by: java.io.FileNotFoundException:
\opencms\config\config\opencms.properties (The system cannot find the path
specified)

      at java.io.FileInputStream.open(Native Method) [rt.jar:1.6.0_25]

      at java.io.FileInputStream.<init>(FileInputStream.java:120)
[rt.jar:1.6.0_25]

      at
org.opencms.util.CmsPropertyUtils.loadProperties(CmsPropertyUtils.java:98)
[opencms-7.5.2.jar:]

      at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1222)
[opencms-7.5.2.jar:]

      ... 10 more

 

12:34:03,381 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (MSC
service thread 1-1) org.tuckey.web.filters.urlrewrite.utils.Log ERROR:
logLevelConf: ERROR

12:34:03,381 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (MSC
service thread 1-1) org.tuckey.web.filters.urlrewrite.UrlRewriteFilter
ERROR: unable to find urlrewrite conf file at /WEB-INF/urlrewrite.xml

12:34:03,397 INFO  [org.jboss.web] (MSC service thread 1-1) JBAS018210:
Registering web context: 

12:34:03,412 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015951: Admin
console listening on http://127.0.0.1:9990

12:34:03,412 ERROR [org.jboss.as] (MSC service thread 1-1) JBAS015875: JBoss
AS 7.1.1.Final "Brontes" started (with errors) in 17141ms - Started 385 of
466 services (2 services failed or missing dependencies, 78 services are
passive or on-demand)

12:34:03,537 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2)
JBAS018559: Deployed "ri-ear-0.0.0.01-SNAPSHOT.ear"

please help me to find out solution for this error.

Thanks,

-Regards

Avneesh Sisodia

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120530/53e0a6fd/attachment.htm>


More information about the opencms-dev mailing list