[opencms-dev] Newbie Install Help : Permissions

Sam Batschelet sam at westbranchresort.com
Sat Oct 7 00:39:39 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

############### BEGIN LOG ###################

#|2006-10-06T18:30:56.726-0400|WARNING|sun-appserver-pe8.2|javax.enterprise.
system.stream.err|_ThreadID=12;|
Exception in thread "OpenCms: Setup workplace import" |#]

[#|2006-10-06T18:30:56.741-0400|WARNING|sun-appserver-pe8.2|javax.enterprise
.system.stream.err|_ThreadID=12;|java.security.AccessControlException:
access denied (java.lang.RuntimePermission setIO)
        at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:264)
        at 
java.security.AccessController.checkPermission(AccessController.java:427)
        at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
        at java.lang.System.checkIO(System.java:207)
        at java.lang.System.setOut(System.java:147)
        at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportT
hread.java:216)
|#]

[#|2006-10-06T18:30:58.809-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.
system.container.web|_ThreadID=13;|StandardWrapperValve[jsp]:
Servlet.service() for servlet jsp threw exception
java.lang.IllegalThreadStateException
        at java.lang.Thread.start(Thread.java:571)
        at 
org.opencms.setup.CmsSetupBean.prepareStep8b(CmsSetupBean.java:1352)
        at 
org.apache.jsp.setup.step_005f8b_005fdata_005fimport_jsp._jspService(step_00
5f8b_005fdata_005fimport_jsp.java:54)
        at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
36)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
        at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at 
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
        at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:16
5)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:257)
        at 
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilter
Chain.java:55)
        at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain
.java:161)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:263)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
        at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:225)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:173)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170
)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:132)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
        at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
        at 
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTa
sk.java:604)
        at 
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask
.java:475)
        at 
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadT
ask.java:371)
        at 
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
        at 
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
        at 
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:
83)
|#]






More information about the opencms-dev mailing list