1 Reply Latest reply on Sep 30, 2012 9:29 PM by Sham HC

    Failed to access system.id: /home/crx/../system.id java.io.FileNotFoundException

    steve_dayman

      I have deployed crx-exploere_crx and crx-launchpad inside jboss5.1. I am able to enter the license details. I do not yet have a website to display and cannot validate past this point.

       

      I've noticed that in $JBOSS_HOME/bin/crx-quickstart/logs/crx/error.log there is a warning about 'permission denied' in my 'home' directory which I have defined to be /home/crx.

      JBOSS is beign run as a user called 'web' and this user is the owner of all files under /home/crx. It looks like there is no system.id file in my directory structure at all.

       

      Is this something I should be concerned with or should I ignore this warning? I would create the file myself, but the path isn't complete in the warning message and I'm not sure which directory this needs..

       

      28.09.2012 11:16:49 *WARN * CRXRepositoryImpl: Failed to access system.id: /home/crx/../system.id (Logger.java, line 363)

      java.io.FileNotFoundException: /home/crx/../system.id (Permission denied)

              at java.io.FileOutputStream.open(Native Method)

              at java.io.FileOutputStream.<init>(FileOutputStream.java:194)

              at java.io.FileOutputStream.<init>(FileOutputStream.java:145)

              at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:179)

              at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1250)

              at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1265)

              at com.day.crx.core.CRXRepositoryImpl.determineSystemId(CRXRepositoryImpl.java:910)

              at com.day.crx.core.CRXRepositoryImpl.getCustomRepositoryDescriptors(CRXRepositoryImpl.java: 888)

              at org.apache.jackrabbit.core.RepositoryImpl.initRepositoryDescriptors(RepositoryImpl.java:1 281)

              at com.day.crx.core.CRXRepositoryImpl.initRepositoryDescriptors(CRXRepositoryImpl.java:862)

              at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:291)

              at com.day.crx.core.CRXRepositoryImpl.<init>(CRXRepositoryImpl.java:225)

              at com.day.crx.core.CRXRepositoryImpl.<init>(CRXRepositoryImpl.java:267)

              at com.day.crx.core.CRXRepositoryImpl.create(CRXRepositoryImpl.java:185)

              at com.day.crx.j2ee.CRXRepositoryStartupServlet.createRepository(CRXRepositoryStartupServlet .java:172)

              at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServl et.java:413)

              at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.startup(RepositoryStartupServlet.java :242)

              at com.day.crx.j2ee.CRXRepositoryStartupServlet.startup(CRXRepositoryStartupServlet.java:147 )

              at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.init(RepositoryStartupServlet.java:21 5)

              at javax.servlet.GenericServlet.init(GenericServlet.java:212)

              at com.day.crx.j2ee.CRXRepositoryStartupServlet.init(CRXRepositoryStartupServlet.java:126)

              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)

              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)

              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)

              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo yment.java:310)

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja va:142)

              at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

              at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

              at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

              at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

              at $Proxy38.start(Unknown Source)

              at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:42)

              at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:37)

              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim pleControllerContextAction.java:62)