[opencms-dev] Deployment of OpenCMS on shared hosting

Puneet Mathur puneet.mathur at hytechpro.com
Fri Apr 17 09:12:25 CEST 2009


Hello,

 

I would like to take some help on deploying the OpenCMS on shared hosting.

 

I am trying to deploying on GoDaddy shared hosting environment which has
correct version of tomcat and Java installed.

 

I tried to deploy the war file and start the setup process which didn't run
because of limited access. I then extracted the war file on my local linux
system and uploaded the extracted folders in the webapp folder of tomcat. I
also modified by database setting to connect to the database. I separately
uploaded the database for which I made the settings. Now when I am trying to
browse the site, I am getting HTTP status 500 with the following exception:

exception 

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

 
org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:290)

 
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:127)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

                sun.reflect.GeneratedMethodAccessor240.invoke(Unknown
Source)

 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

                java.lang.reflect.Method.invoke(Method.java:585)

 
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)

                java.security.AccessController.doPrivileged(Native Method)

                javax.security.auth.Subject.doAsPrivileged(Subject.java:517)

 
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:266)

 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:15
7)

 

I tried to search on the mailing list but couldn't identify exact reason. If
somebody can provide me any pointer to the solution, it will be great.

 

Also, on the Godaddy shared hosting, I just have the permission to write in
/tmp directory, so Log4j logs are being written in /tmp folder which is not
accessible or available to us.

 

The same process I did at two of my local windows PCs and it worked. So, it
has something do with the shared hosting environment which I am suspecting.

 

Thanks in advance for your help.

 

Regards,

Puneet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090417/9e15caa9/attachment.htm>


More information about the opencms-dev mailing list