[opencms-dev] deploy of opencms on SUN application server

Claus Priisholm cpr at codedroids.com
Thu Jun 22 07:53:38 CEST 2006


I am not familiar with SUNOne AS  but keep in mind that OpenCms need to 
be able to write to its webapp directory, i.e. file system permissions 
and security policy must allow that.

HUGO JAVIER VIGOYA OBANDO wrote:
> Hi all,
> 
> I have been trying to do the deploy of opencms on SUNOne Application 
> Server but this has not been possible.
> 
> I am working with Solaris 10, JES 2005 Q4 in where the Application 
> Server version is 8.1. The opencms version is 6.2.1.
> 
> I do the deploy with help of Admin Console of Application Server, next I 
> execute the setup wizard of opencms but when it change the step 7 to 
> step 8, appears the following error:
> 
> 
> [#|2006-06-21T15:53:41.691-0500|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.stream.err|_ThreadID=13;|Exception 
> in thread "OpenCms: Setup workplace import" |#]
> 
> [#|2006-06-21T15:53:41.710-0500|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.stream.err|_ThreadID=13;|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(CmsSetupWorkplaceImportThread.java:216) 
> 
> |#]
> 
> [#|2006-06-21T15:53:43.804-0500|SEVERE|sun-appserver-ee8.1_02|javax.enterprise.system.container.web|_ThreadID=12;|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_005f8b_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:336) 
> 
>        at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
>        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
>        at sun.reflect.GeneratedMethodAccessor92.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:165) 
> 
>        at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257) 
> 
>        at 
> org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.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(ApplicationFilterChain.java:157) 
> 
>        at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263) 
> 
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
>        at 
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225) 
> 
>        at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173) 
> 
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
>        at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) 
> 
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
>        at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
>        at 
> com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226) 
> 
>        at 
> com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071) 
> 
> |#]
> 
> _________________________________________________________________
> Charla con tus amigos en lĂ­nea mediante MSN Messenger: 
> http://messenger.latam.msn.com/
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 

-- 
Claus Priisholm, CodeDroids ApS
Phone: +45 48 22 46 46
cpr (you know what) codedroids.com - http://www.codedroids.com
cpr (you know what) interlet.dk - http://www.interlet.dk
--
Javadocs and other OpenCms stuff: 
http://www.codedroids.com/community/opencms




More information about the opencms-dev mailing list