06-17-2022 11:28 AM
I am trying to start vanilla version of ACS7.2 on a linux server. I have unpackWARs true. I have placed alfresco and share context in tomcat/conf/Catalina/localhost. When I start tomcat, it says this for alfresco and share:
java.lang.IllegalArgumentException: The main resource set specified [/opt/alfresco/tomcat/webapps/alfresco] is not valid
I checked webapps and alfresco.war is not unpacked. Here is the snippet of exception: SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/opt/alfresco/tomcat/conf/Catalina/localhost/alfresco.xml]
java.lang.IllegalStateException: Error starting child........... Caused by: java.lang.IllegalArgumentException: The main resource set specified [/opt/alfresco/tomcat/webapps/alfresco] is not valid.
I tried to unzip alfresco and share and it still show same error.
Did anyone some across same issue?
06-17-2022 11:56 AM
May be a clue , check if you have appropriate permissions applied to the war files and appropriate user is being used to start the services. Clean the work directory first before you restart.
You can also refer detailed steps here: https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html
and compare if you are missing anything.
General permission mapping example: https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html#fi...
06-17-2022 11:56 AM
May be a clue , check if you have appropriate permissions applied to the war files and appropriate user is being used to start the services. Clean the work directory first before you restart.
You can also refer detailed steps here: https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html
and compare if you are missing anything.
General permission mapping example: https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html#fi...
06-17-2022 12:42 PM
Thanks Abhinav. Permissions did the trick. I had 777. Setting to 775 worked. Doesnt it sound weird?
06-18-2022 03:32 AM
Glad to hear that. I would say weird behavior if the permission was recursively set. I am not sure if you checked that.
You can try setting 777 instead of 775 using the same commands i shared and see what happens just to cross check.
Explore our Alfresco products with the links below. Use labels to filter content by product module.