[opencms-dev] Newbie Install Help : Permissions

Sam Batschelet sam at westbranchresort.com
Sat Oct 7 15:12:18 CEST 2006




> On 10/6/06 12:14 PM, "Sam Batschelet" <sam at westbranchresort.com> wrote:
> 
>> I am running into a small problem with installation of opencms and was
>> hoping for a little insight.  When I go through the setup I am flagged
>> as not having correct permissions more specifically " OpenCms cannot
>> be installed without read and write privileges for path
>> /opt/SUNWappserver/domains/domain1/applications/j2ee-modules/opencms/!
>> Please check you are running your servlet container with the right
>> user and privileges."
>> 
>> Now I am new to both war deployments and opencms so I guess my
>> question is what privileges are they referring to.  I have changed
>> physical folder permissions but it must be more involved than that.  I
>> am sorry for the newbie question but a little help would be greatly
> appreciated.
>> 
> Ok upon doing some more research I have figured out how to correct the perms
> issue flagged on install but now I have run into another error when setup
> trys to install modules and hangs.  I was hoping that someone who is more
> experienced with reading these logs could tell me where I have the perm
> issue with mods.  Thank you!
> 
> MySQL 4.1
> Sun Application Server 8
> FC1
> Tomcat4
> java1.4.2

>On 10/7/06 1:20 AM, "Jonathan Woods" <jonathan.woods at scintillance.com> wrote:
> 
> At first sight, it looks as though it's an issue with Java-level security,
> and therefore something to do with Java permissions set by the app server.
> Are these under your control?  App server documentation might tell you how
> to alter them.
> 
> Jon 

Jon,
  Thanks for taking the time to reply yes after a few hours of reading some
of the code and error logs I found that the Sun App Server has almost no
perms set for applications.  Which is good for security but not great for a
newbie.  So I have hacked my way to this final issue which I searched
through the mailing list and google all last night to no avail.  It seems to
be a known issue but I really can't seem to resolve it.  This one doesn't
seem to be a permission issue although I still don't understand exactly
which XML config it can't real as there are a few XML docs.  Has anyone seen
this error again I don't need my hand held here just some insight.  Thanks
again Jon for helping, in trade I moved your top post :). Thanks in advance!

Opencms_init.log highlights

06 Oct 2006 20:58:49,975 ERROR [ache.commons.digester.Digester:1060] End
event threw exception
java.lang.IllegalAccessException: Class
org.apache.commons.beanutils.MethodUtils can not access a member of class
org.opencms.loader.A_CmsXmlDocumentLoader with modifiers "public"
       
06 Oct 2006 20:58:49,999 ERROR [  org.opencms.main.OpenCmsCore: 299]
Critical error during OpenCms initialization: Unable to read the OpenCms XML
configuration.

06 Oct 2006 20:58:50,000 ERROR [g.opencms.main.OpenCmsListener:  91]
org.opencms.main.CmsInitException: Critical error during OpenCms
initialization: Unable to read the OpenCms XML configuration.

-Sam










More information about the opencms-dev mailing list