We are attempting to deploy a webapp using Cayenne to an environment on a shared server therefore we do not have access to most of the filesystem including the Tomcat files. When deploying I am getting the following error because (at least it looks like) Cayenne is attempting to read a file from the tomcat directory. Of course the process does not have permission. Is this a fair assesment? Is there a work around here? thx, jason
22136 [Thread-3] ERROR conf.Configuration - Error initializing shared
Configuration
java.security.AccessControlException: access denied
(java.io.FilePermission /home/tomcat/.cayenne/cayenne-log.properties
read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at
java.security.AccessController.checkPermission(AccessController.java:401)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
at java.io.File.exists(File.java:677)
at
org.objectstyle.cayenne.util.ResourceLocator.findFileInHomeDir(ResourceLocator.java:133)
at
org.objectstyle.cayenne.util.ResourceLocator.findResource(ResourceLocator.java:217)
at
org.objectstyle.cayenne.conf.Configuration.configCommonLogging(Configuration.java:137)
at
org.objectstyle.cayenne.conf.Configuration.configLogging(Configuration.java:272)
at
org.objectstyle.cayenne.conf.Configuration.init(Configuration.java:238)
at
org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.java:214)
at
org.objectstyle.cayenne.conf.BasicServletConfiguration.initConfig(BasicServletConfiguration.java:82)
at
com.deint.frameworkx.struts.bridge.cayenne.action.CayenneActionServlet.init(CayenneActionServlet.java:50)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:632)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:590)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:707)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:536)
This archive was generated by hypermail 2.0.0 : Fri Apr 18 2003 - 14:00:33 EDT