cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco server start failing (read only mode)

matt_thomas
Champ in-the-making
Champ in-the-making
Alfresco server start failing + will not unpack war file.

The server has been idle for a few months now, but has not been altered in any way since it was last working.

Steps taken:

-deleted directories under alf_data
-dropped and recreated the mysql database
-removed the webapps/alfresco directory
-restarted the alfresco server.


Alfresco.log :

05:45:25,063 WARN  [org.alfresco.repo.admin.patch.PatchExecuter] Patches cannot be applied to a read-only system.  Possible incompatibilities may exist betwe
en the application code and the existing data.
05:45:25,070 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
05:45:25,076 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Failed to start modules
        at org.alfresco.repo.module.ModuleComponentHelper.startModules(ModuleComponentHelper.java:239)
        at org.alfresco.repo.module.ModuleServiceImpl.startModules(ModuleServiceImpl.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

etc etc

culminating at:



      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:448)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        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:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.alfresco.repo.security.permissions.AccessDeniedException: Access Denied.  The system is currently in read-only mode.
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
Has an Enterprise trial expired?

What's in the rest of the start-up (i.e. the bits you cut out)?

Mike

matt_thomas
Champ in-the-making
Champ in-the-making
Hi Mike

Yes it was a problem with the license. I regenerated the licence, deployed it and it worked fine.
Sorry, that was a silly mistake.

Thanks